1 2019-05-29 Florian Weimer <fweimer@redhat.com>
3 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
4 * sysdeps/unix/sysv/linux/arm/Makefile
5 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
6 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
7 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
8 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
11 2019-05-31 Florian Weimer <fweimer@redhat.com>
13 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
14 system calls for the arm architecture: breakpoint, get_tls,
15 set_tls, usr26, usr32.
17 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
19 * sysdeps/powerpc/Makefile
20 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
21 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
22 Declare '.machine power7' to get support for ldbrx.
23 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
24 directive based on the directory of the file.
25 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
26 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
27 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
29 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
30 (VADDUQM_V7_V8): Remove.
31 (__STRCASECMP): Replace macros with actual instructions.
32 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
34 (VCLZD_V8_v7): Remove.
35 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
37 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
39 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
41 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
43 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
45 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
47 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
48 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
49 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
50 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
51 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
52 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54 2019-05-28 mansayk <6688000@gmail.com>
57 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
59 2019-05-28 mansayk <6688000@gmail.com>
62 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
63 (abmon): Likewise, but remove the trailing dots.
65 2019-05-28 Joseph Myers <joseph@codesourcery.com>
67 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
69 2019-05-27 Florian Weimer <fweimer@redhat.com>
71 * nptl/nptl-init.c: Add comment.
73 2019-05-24 Florian Weimer <fweimer@redhat.com>
75 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
76 struct in_addr/struct in6_addr alignment.
78 2019-05-23 Joseph Myers <joseph@codesourcery.com>
80 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
81 (F_SEAL_FUTURE_WRITE): New macro.
83 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
85 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
86 * elf/tst-ldconfig-bad-aux-cache.c: New file.
87 * elf/tst-ldconfig_aux-cache.root: New directory.
88 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
89 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
90 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
92 2019-05-22 Zack Weinberg <zackw@panix.com>
94 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
96 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
97 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
99 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
104 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
105 Issue an #error if used with a compiler in SPE-float mode.
106 * sysdeps/powerpc/powerpc32/__longjmp_common.S
107 * sysdeps/powerpc/powerpc32/setjmp_common.S
108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
114 Remove code to preserve SPE register state.
116 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
117 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
118 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
119 Remove __SPE__ ifndefs.
121 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
123 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
124 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
125 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
126 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
127 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
128 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
129 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
130 (INNER_LOOP_ITERS_MEDIUM): New define.
131 (INNER_LOOP_ITERS_SMALL): New define.
132 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
133 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
134 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
135 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
136 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
138 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
140 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
142 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
143 (SEMTIMEDOP_IPC_ARGS): Likewise.
145 2019-05-21 Florian Weimer <fweimer@redhat.com>
148 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
149 before updating __counter field and release it afterwards. Add
151 * iconv/gconv.h (struct __gconv_step): Mention synchronization
152 requirement for __counter member.
154 2019-05-21 Florian Weimer <fweimer@redhat.com>
157 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
158 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
159 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
160 instead of __gconv_release_step.
161 * libio/Makefile (tests): Add tst-wfile-gconv.
162 (tests-container): Add tst-wfile-ascii.
163 (tst-wfile-gconv-ENV): Enable mtrace.
164 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
165 (tests-special): Add tst-wfile-gconv-mem.out.
166 (tst-wfile-gconv.out): Depend on locales.
167 (tst-wfile-gconv-mem.out): Add mtrace rule.
168 * libio/tst-wfile-ascii.c: New file.
169 * libio/tst-wfile-gconv.c: Likewise.
171 2019-05-20 Florian Weimer <fweimer@redhat.com>
174 libio: Remove codecvt vtable.
175 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
177 * libio/iofgetpos.c (_IO_new_fgetpos): Call
178 __libio_codecvt_encoding.
179 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
180 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
181 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
182 * libio/iofwide.c (__libio_codecvt): Remove variable.
183 (_IO_fwide): Do not copy __libio_codecvt.
184 (__libio_codecvt_out): Rename from do_out and export.
185 (do_unshift): Remove function.
186 (__libio_codecvt_in): Rename from do_in and export.
187 (__libio_codecvt_encoding): Rename from do_encoding and export.
188 (do_always_noconv): Remove function.
189 (__libio_codecvt_length): Rename from do_length and export.
190 (do_max_length): Remove function.
191 * libio/libio.h (enum __codecvt_result): Remove definition; moved
193 (struct _IO_codecvt): Remove fields __codecvt_destr,
194 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
195 __codecvt_do_encoding, __codecvt_do_always_noconv,
196 __codecvt_do_length, __codecvt_do_max_length.
197 * libio/libioP.h (enum __codecvt_result): Define; moved from
199 (__libio_codecvt_out, __libio_codecvt_in)
200 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
202 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
203 (_IO_wfile_underflow): Call __libio_codecvt_in.
204 (_IO_wfile_underflow): Likewise.
205 (_IO_wfile_underflow_mmap): Likewise.
206 (_IO_wfile_sync): Call __libio_codecvt_encoding,
207 __libio_codecvt_length.
208 (adjust_wide_data): Call __libio_codecvt_encoding,
210 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
211 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
212 __libio_codecvt_length.
214 2019-05-20 Florian Weimer <fweimer@redhat.com>
216 * support/support.h (support_sbindir_prefix): Declare.
217 (support_install_rootsbindir): Update comment.
218 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
219 * support/support_paths.c (support_sbindir_prefix): Define.
221 2019-05-20 Mike Crowe <mac@mcrowe.com>
223 * support/timespec.c: Add backslash to correct newline in failure
226 * support/timespec.h: Correct confusing comment.
228 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
230 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
232 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
233 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
234 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
235 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
238 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
241 2019-05-20 Joseph Myers <joseph@codesourcery.com>
243 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
244 (NT_ARM_PACG_KEYS): Likewise.
246 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
248 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
249 (tcache_put): Remove redundant assert.
250 (tcache_get): Remove redundant asserts.
251 (__libc_malloc): Check tcache count is not zero.
252 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
254 2019-05-17 Florian Weimer <fweimer@redhat.com>
256 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
258 2019-05-16 Joseph Myers <joseph@codesourcery.com>
260 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
261 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
263 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
265 * sysdeps/unix/sysv/linux/sh/kernel-features.h
266 (__ASSUME_STATX): Likewise.
268 2019-05-16 Florian Weimer <fweimer@redhat.com>
270 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
272 (LINE_PARSER): Do not map IPv4 addresses.
273 (internal_nis_gethostent_r): Remove flags argument. Adjust call
275 (_nss_nis_gethostent_r): Always pass AF_INET to
276 internal_nis_gethostent_r.
277 (internal_gethostbyname2_r): Remove flags argument. Adjust call
279 (_nss_nis_gethostbyname2_r): Adjust call to
280 internal_nis_gethostent_r.
281 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
282 call to internal_nis_gethostent_r.
283 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
285 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
286 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
287 Remove flags argument. Do not map IPv4 addresses.
288 (internal_nisplus_gethostent_r): Adjust call to
289 _nss_nisplus_parse_hostent.
290 (internal_gethostbyname2_r): Remove flags argument. Adjust call
291 to _nss_nisplus_parse_hostent.
292 (_nss_nisplus_gethostbyname2_r): Adjust call to
293 internal_gethostbyname2_r.
294 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
295 Adjust call to internal_gethostbyname2_r.
296 (_nss_nisplus_gethostbyaddr_r): Adjust call to
297 _nss_nisplus_parse_hostent.
298 (_nss_nisplus_gethostbyname4_r): Adjust call to
299 internal_gethostbyname2_r.
301 2019-05-16 Florian Weimer <fweimer@redhat.com>
303 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
305 (LINE_PARSER): Remove address mapping.
306 (EXTRA_ARGS_VALUE): Remove flags argument.
307 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
308 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
309 gethostbyname3_multi.
310 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
311 _nss_files_gethostbyname3_r.
312 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
314 2019-05-16 Florian Weimer <fweimer@redhat.com>
316 * support/support_test_compare_blob.c (report_blob): Report
317 incorrect NULL blobs.
319 2019-05-15 Mark Wielaard <mark@klomp.org>
322 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
323 __libc_once_get (once) and static_buf == NULL.
324 (__dlerror): Check we have a valid key, set result to static_buf
327 2019-05-15 Andreas Schwab <schwab@suse.de>
330 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
332 * libio/Makefile (tests): Add tst-wfile-sync.
333 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
334 * libio/tst-wfile-sync.c: New file.
335 * libio/tst-wfile-sync.input: New file.
337 2019-05-15 Florian Weimer <fweimer@redhat.com>
339 nss: Turn __nss_database_lookup into a compatibility symbol.
340 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
341 __nss_database_lookup.
342 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
343 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
344 __nss_database_lookup.
345 (__nss_next): Move to …
346 * nss/compat-lookup.c (nss_next): … here. Change it to fail
348 (__nss_database_lookup): New function.
349 * nss/Versions (GLIBC_2.0): Update comment.
350 (GLIBC_PRIVATE): Export __nss_database_lookup2.
351 * grp/initgroups.c (internal_getgrouplist): Call
352 __nss_database_lookup2 instead of __nss_database_lookup.
353 * nscd/aicache.c (addhstaiX): Likewise.
354 * nscd/initgrcache.c (addinitgroupsX): Likewise.
355 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
356 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
357 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
358 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
360 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
361 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
364 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
366 * support/support.h (support_install_rootsbindir): New variable.
367 * support/support_paths.c: Likewise.
368 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
370 2019-05-15 Florian Weimer <fweimer@redhat.com>
372 * iconv/gconv.h (__gconv_transliterate): Move declaration …
373 * iconv/gconv_int.h (__gconv_transliterate): … here.
374 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
375 * iconv/skeleton.c: Likewise.
377 2019-05-14 Florian Weimer <fweimer@redhat.com>
379 Linux: Add the tgkill function.
380 * bits/signal_ext.h: New file.
381 * manual/signal.texi (Signaling Another Process): Document tgkill.
382 * signal/Makefile (headers): Add bits/signal_ext.h.
383 * signal/signal.h: Include <bits/signal_ext.h>.
384 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
385 (tst-tgkill): Link with libpthread.
386 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
387 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
388 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
389 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
391 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
392 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
393 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
394 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
395 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
396 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
397 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
398 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
399 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
400 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
401 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
403 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
405 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
414 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
415 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
416 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
417 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
420 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
421 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
423 2019-05-14 Carlos O'Donell <carlos@redhat.com>
425 * manual/search.texi (Tree Search Function): Adjust twalk_r
428 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
431 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
434 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
435 * support/support.h (support_bindir_prefix): New variable.
436 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
438 * config.make.in (bindir): New variable.
440 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
441 (lll_trylock): Call __lll_trylock.
442 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
443 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
444 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
445 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
446 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
447 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
449 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
450 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
451 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
452 lowlevellock-futex.h.
454 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
455 initialization for LLL_LOCK_INITIALIZER different than 0.
456 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
457 Assume LLL_LOCK_INITIALIZER being 0.
458 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
459 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
461 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
462 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
464 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
465 Optimize futex call and add systemtap probe.
467 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
468 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
469 __libc_disable_asynccancel, __librt_enable_asynccancel,
470 __libc_disable_asynccancel, __librt_enable_asynccancel,
471 __librt_disable_asynccancel): Move to ...
472 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
473 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
474 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
475 * sysdeps/generic/single-thread.h: New file.
476 * sysdeps/unix/sysdep.h: Include single-thread.h.
477 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
478 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
480 2019-05-08 Mike FABIAN <mfabian@redhat.com>
483 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
484 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
486 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
487 * localedata/unicode-gen/PropList.txt: Likewise.
488 * localedata/unicode-gen/UnicodeData.txt: Likewise.
489 * localedata/charmaps/UTF-8: Regenerate.
490 * localedata/locales/i18n_ctype: Likewise.
491 * localedata/locales/tr_TR: Likewise.
492 * localedata/locales/translit_circle: Likewise.
493 * localedata/locales/translit_cjk_compat: Likewise.
494 * localedata/locales/translit_combining: Likewise.
495 * localedata/locales/translit_compat: Likewise.
496 * localedata/locales/translit_font: Likewise.
497 * localedata/locales/translit_fraction: Likewise.
499 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
502 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
503 (do_set_tcache_count): Only update if count is small enough.
504 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
506 2019-05-10 Florian Weimer <fweimer@redhat.com>
508 * nptl/sem_close.c (struct walk_closure): Define.
509 (walker): Adjust for __twalk_r.
510 (sem_close): Call __twalk_r.
512 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
514 * support/timespec.c (test_timespec_before_impl,
515 test_timespec_equal_or_after_impl): print timespec member as intmax_t
518 2019-05-09 Mike Crowe <mac@mcrowe.com>
520 * nptl/tst-abstime.c: Use libsupport.
522 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
523 small bug where only tv.tv_usec was checked which could cause an
524 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
527 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
530 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
531 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
533 * nptl/tst-cond11.c: Use libsupport.
535 * support/timespec.h: New file. Provide timespec helper functions
536 along with macros in the style of those in check.h.
537 * support/timespec.c: New file. Implement check functions declared
538 in support/timespec.h.
539 * support/timespec-add.c: New file from gnulib containing
540 timespec_add implementation that handles overflow.
541 * support/timespec-sub.c: New file from gnulib containing
542 timespec_sub implementation that handles overflow.
543 * support/README: Mention timespec.h.
545 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
548 * nptl/Makefile: Move tst-eintr1 to xtests.
550 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
552 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
554 (round_mode): Add definition for TRUNC.
555 * sysdeps/powerpc/fpu/s_trunc.c: New file.
556 * sysdeps/powerpc/fpu/s_truncf.c: New file.
557 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
558 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
559 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
561 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
565 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
567 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
569 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
571 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
573 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
575 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
576 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
577 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
578 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
579 s_truncf-power5+, and s_truncf-ppc64.
580 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
581 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
583 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
586 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
588 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
591 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
593 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
594 s_truncf-power5+, and s_truncf-ppc64.
595 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
597 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
598 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
600 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
601 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
602 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
603 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
604 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
606 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
608 (round_mode): Add definition for ROUND.
609 (round_to_integer_float): Likewise.
610 * sysdeps/powerpc/fpu/s_round.c: New file.
611 * sysdeps/powerpc/fpu/s_roundf.c: New file.
612 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
613 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
614 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
616 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
618 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
620 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
622 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
624 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
626 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
628 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
630 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
631 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
632 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
633 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
634 s_roundf-power5+, and s_roundf-ppc64.
635 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
636 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
638 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
641 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
643 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
646 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
648 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
649 s_roundf-power5+, and s_roundf-ppc64.
650 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
652 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
653 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
655 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
656 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
657 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
658 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
659 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
661 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
663 (round_mode): Add definition for FLOOR.
664 * sysdeps/powerpc/fpu/s_floor.c: New file.
665 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
666 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
667 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
684 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
686 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
687 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
688 s_floorf-power5+, and s_floorf-ppc64.
689 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
690 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
692 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
695 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
697 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
700 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
702 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
703 s_floorf-power5+, and s_floorf-ppc64.
704 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
712 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
713 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
714 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
715 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
717 2019-05-08 Mike Crowe <mac@mcrowe.com>
719 * support/xclock_gettime.c (xclock_gettime): New file. Provide
720 clock_gettime wrapper for use in tests that fails the test rather
721 than returning failure.
723 * support/xtime.h: New file to declare xclock_gettime.
725 * support/Makefile: Add xclock_gettime.c.
727 * support/README: Mention xtime.h.
729 2019-05-08 Florian Weimer <fweimer@redhat.com>
731 malloc/tst-mallocfork2: Use process-shared barriers.
732 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
733 (signal_count, sigusr1_sender_pid): Remove.
734 (iterations): Define constant.
735 (shared): New variable.
736 (sigusr1_received): Update comment.
737 (sigusr1_handler): Do not send SIGSTOP to the sender process.
738 (signal_sender): Optional use barriers to avoid sending signals
739 during irrelevant times.
740 (do_it): Initialize variable shared. Use xfork for error
741 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
742 the iteration count, independent of signal delivery. Check for
743 deadlocks in fork. Introduce barriers for reducing signal
744 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
745 replaced by the barriers. Count signals during fork/free/malloc
747 * malloc/Makefile (tst-mallocfork): Link with libpthread.
749 2019-05-07 Joseph Myers <joseph@codesourcery.com>
751 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
753 (clock_adjtime64) New syscall.
754 (clock_getres_time64) Likewise.
755 (clock_gettime64) Likewise.
756 (clock_nanosleep_time64) Likewise.
757 (clock_settime64) Likewise.
758 (futex_time64) Likewise.
759 (io_pgetevents_time64) Likewise.
760 (io_uring_enter) Likewise.
761 (io_uring_register) Likewise.
762 (io_uring_setup) Likewise.
763 (mq_timedreceive_time64) Likewise.
764 (mq_timedsend_time64) Likewise.
765 (pidfd_send_signal) Likewise.
766 (ppoll_time64) Likewise.
767 (pselect6_time64) Likewise.
768 (recvmmsg_time64) Likewise.
769 (rt_sigtimedwait_time64) Likewise.
770 (sched_rr_get_interval_time64) Likewise.
771 (semtimedop_time64) Likewise.
772 (timer_gettime64) Likewise.
773 (timer_settime64) Likewise.
774 (timerfd_gettime64) Likewise.
775 (timerfd_settime64) Likewise.
776 (utimensat_time64) Likewise.
778 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
781 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
783 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
784 __memmove_thunderx2 to the list of implementations
785 * sysdeps/aarch64/multiarch/memmove.c: Likewise
786 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
787 (__memmove_thunderx2): Rewritten using SIMD ld/st
788 (__memcpy_thunderx2): Fixed handling overlapping cases.
789 Used ldp/stp instead of ldr/str if possible. Made loops
792 2019-05-03 Florian Weimer <fweimer@redhat.com>
794 * misc/tst-tsearch.c (walk_tree): Add more error checking.
796 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
799 * elf/tst-pldd.c (in_str_list): New function.
800 (do_test): Add default names for ld and libc as one option.
802 2019-05-02 Florian Weimer <fweimer@redhat.com>
804 misc: Add twalk_r function.
805 * include/search.h (__twalk_r): Declare.
806 * manual/examples/twalk.c: New file.
807 * manual/search.texi (Tree Search Function): Document twalk_r.
808 * misc/Versions (2.30): Export twalk_r.
809 (GLIBC_PRIVATE): Export __twalk_r.
810 * misc/search.h [__USE_GNU] (twalk_r): Declare.
811 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
812 (twalk_r): Add weak alias.
813 * misc/tst-tsearch.c (struct walk_trace_element): Define.
814 (walk_trace): New variable.
815 (struct twalk_with_twalk_r_closure): Define.
816 (twalk_with_twalk_r_action): New function.
817 (twalk_with_twalk_r): Likewise.
818 (walk_action): Call walk_trace_add.
819 (walk_tree_with): Rename from walk_tree. Add walk argument.
820 (walk_tree): New function.
821 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
822 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
824 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
826 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
827 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
828 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
829 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
830 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
831 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
833 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
835 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
837 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
838 (GLIBC_2.30): Likewise.
839 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
840 (GLIBC_2.30): Likewise.
841 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
842 (GLIBC_2.30): Likewise.
843 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
844 (GLIBC_2.30): Likewise.
845 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
848 (GLIBC_2.30): Likewise.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
850 (GLIBC_2.30): Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
852 (GLIBC_2.30): Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
854 (GLIBC_2.30): Likewise.
855 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
857 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
861 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
862 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
864 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
866 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
868 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
871 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
873 Make mktime etc. compatible with __time64_t
874 Keep these functions compatible with Gnulib while adding
875 __time64_t support. The basic idea is to move private API
876 declarations from include/time.h to time/mktime-internal.h, since
877 the former file cannot easily be shared with Gnulib whereas the
879 Also, do some other minor cleanup while in the neighborhood.
880 * include/time.h: Include stdbool.h, time/mktime-internal.h.
881 (__mktime_internal): Move this prototype to time/mktime-internal.h,
882 since Gnulib needs it.
883 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
884 Move these macros to time/mktime-internal.h, since Gnulib needs them.
885 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
886 (in_time_t_range): New static function.
887 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
888 so that glibc users are not tempted to use __time64_t.
889 * time/mktime-internal.h: Rewrite so that it does both glibc
890 and Gnulib work. Include time.h if not _LIBC.
891 (mktime_offset_t) [!_LIBC]: Define for gnulib.
892 (__time64_t): New type or macro, moved here from
894 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
895 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
897 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
898 New macros, taken from GNulib.
899 (__mktime_internal): New prototype, moved here from include/time.h.
900 * time/mktime.c (mktime_min, mktime_max, convert_time)
901 (ranged_convert, __mktime_internal, __mktime64):
902 * time/timegm.c (__timegm64):
903 Use __time64_t, not time_t.
904 * time/mktime.c: Stop worrying about whether time_t is floating-point.
905 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
907 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
908 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
911 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
913 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
915 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
918 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
919 from `-Wmaybe-uninitialized'.
920 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
922 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
924 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
926 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
927 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
928 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
929 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
930 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
932 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
951 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
952 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
954 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
957 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
958 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
960 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
963 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
966 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
967 s_ceilf-power5+, and s_ceilf-ppc64.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
973 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
974 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
975 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
976 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
978 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
979 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
980 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
982 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
984 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
985 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
986 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
987 (sem_getvalue): Likewise.
989 2019-04-26 Florian Weimer <fweimer@redhat.com>
991 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
992 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
994 2019-04-26 Florian Weimer <fweimer@redhat.com>
996 Makeconfig: Move -Wl,-rpath-link options before library references.
997 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
998 (link-libc): Remove $(link-libc-rpath-link).
1000 2019-04-25 Florian Weimer <fweimer@redhat.com>
1002 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1003 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1004 (+link-static-before-libc): Remove $(CC).
1005 (+link-static, +link-static-tests): Add $(CC).
1006 (+link-before-libc): Remove $(CC).
1007 (+link, +link-pie, +link-pie-printers): Add $(CC).
1009 2019-04-26 Florian Weimer <fweimer@redhat.com>
1011 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1012 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1013 (+link-static-before-libc): Remove $(CC).
1014 (+link-static, +link-static-tests): Add $(CC).
1015 (+link-before-libc): Remove $(CC).
1016 (+link, +link-pie, +link-pie-printers): Add $(CC).
1018 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1021 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1023 2019-04-25 Florian Weimer <fweimer@redhat.com>
1025 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1026 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1027 (bench-link-targets): New variable.
1028 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1030 2019-04-25 Florian Weimer <fweimer@redhat.com>
1032 Also enable BIND_NOW for programs if --enable-bind-now.
1033 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1034 (+link-pie): Use $(link-extra-flags).
1035 (+link-static): Likewise.
1036 [! $(build-pie-default)] (+link): Likewise.
1037 * manual/install.texi (Configuring and compiling): Update
1038 --enable-bind-now description.
1039 * INSTALL: Regenerated.
1041 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1043 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1044 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1046 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1049 * malloc/Makefile (others): Add memusagestat.
1050 ($(objpfx)memusagestat): Delete rule.
1051 (LDLIBS-memusagestat): New variable.
1053 2019-04-24 Florian Weimer <fweimer@redhat.com>
1055 * locale/Makefile (tests-special): Guard setting by
1056 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1057 to run while cross-compiling.
1059 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1062 * elf/Makefile (tests-container): Add tst-pldd.
1063 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1064 (E(find_maps)): Avoid use alloca, use default read file operations
1065 instead of explicit LFS names, and fix infinite loop.
1066 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1067 (get_process_info): Use _Static_assert instead of assert, use default
1068 directory operations instead of explicit LFS names, and free some
1070 * elf/tst-pldd.c: New file.
1072 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1074 * malloc/arena.c (do_set_mallopt_check): Removed.
1076 2019-04-23 Florian Weimer <fweimer@redhat.com>
1078 locale: Add LOCPATH diagnostics to the locale program.
1079 * locale/programs/locale.c (setlocale_failed): New variable.
1080 (try_setlocale): New function.
1081 (quote_string): Likewise.
1082 (setlocale_diagnostics): Likewise.
1083 (main): Call try_setlocale instead of setlocale. Call
1084 setlocale_diagnostics.
1085 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1086 (tst-locale-locpath.out): New target.
1087 * locale/tst-locale-locpath.sh: New file.
1089 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1091 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1094 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1097 * malloc/hooks.c (malloc_check, realloc_check): Use
1098 __builtin_add_overflow on overflow check and adapt to
1099 checked_request2size change.
1100 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1101 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1102 allocation size to PTRDIFF_MAX.
1103 (REQUEST_OUT_OF_RANGE): Remove macro.
1104 (checked_request2size): Change to inline function and limit maximum
1105 requested size to PTRDIFF_MAX.
1106 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1107 maximum allocation size to PTRDIFF_MAX.
1108 (_mid_memalign): Use _int_memalign call for overflow check.
1109 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1110 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1111 limit maximum requested size to PTRDIFF_MAX.
1112 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1113 valloc, pvalloc): Add __attribute_alloc_size__.
1114 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1115 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1116 larger than PTRDIFF_MAX.
1117 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1118 around tests of malloc with negative sizes.
1119 * malloc/tst-posix_memalign.c (do_test): Likewise.
1120 * malloc/tst-pvalloc.c (do_test): Likewise.
1121 * malloc/tst-valloc.c (do_test): Likewise.
1122 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1123 with resulting size allocation larger than PTRDIFF_MAX with
1124 reallocarray_nowarn.
1125 (reallocarray_nowarn): New function.
1126 * NEWS: Mention the malloc function semantic change.
1128 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1130 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1131 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1133 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1134 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1135 * sysdeps/powerpc/fpu/s_fma.c: New file.
1136 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1138 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1139 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1141 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1142 the magic flag store.
1143 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1145 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1147 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1148 Remove rt_sigreturn call.
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1151 Remove rt_sigreturn call.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1157 * support/Makefile (libsupport-routines): Add support_subprocess,
1158 xposix_spawn, xposix_spawn_file_actions_addclose, and
1159 xposix_spawn_file_actions_adddup2.
1160 (tst-support_capture_subprocess-ARGS): New rule.
1161 * support/capture_subprocess.h (support_capture_subprogram): New
1163 * support/support_capture_subprocess.c (support_capture_subprocess):
1164 Refactor to use support_subprocess and support_capture_poll.
1165 (support_capture_subprogram): New function.
1166 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1167 str_to_write_mode, test_common, parse_int, handle_restart,
1168 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1169 (do_test): Add support_capture_subprogram tests.
1170 * support/subprocess.h: New file.
1171 * support/support_subprocess.c: Likewise.
1172 * support/xposix_spawn.c: Likewise.
1173 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1174 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1175 * support/xspawn.h: Likewise.
1177 2019-04-17 Mike Gerow <gerow@google.com>
1179 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1182 2019-04-11 Florian Weimer <fweimer@redhat.com>
1184 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1185 domain with empty string.
1186 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1188 2019-04-11 Florian Weimer <fweimer@redhat.com>
1190 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1192 (alloc_buffer_next): Change return type to non-const. Update
1195 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1197 * manual/time.texi (Formatting Calendar Time): Add missing percent
1198 sign to conversion specifier.
1200 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1201 Kwok Cheung Yeung <kcy@codesourcery.com>
1204 * malloc/mtrace.c: Define prototypes for all hooks.
1205 (set_default_hooks): New function.
1206 (set_trace_hooks): Likewise.
1207 (save_default_hooks): Likewise.
1208 (tr_freehook): Use new s*_hooks functions.
1209 (tr_mallochook): Likewise.
1210 (tr_reallochook): Likewise.
1211 (tr_memalignhook): Likewise.
1213 (muntrace): Likewise.
1215 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1217 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1218 (generic_stpcpy): New function.
1219 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1220 (generic_stpncpy): New function.
1221 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1222 (generic_strcat): New function.
1223 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1224 (generic_strcpy): New function.
1225 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1226 (STUPID_STRNCAT): Remove function.
1227 (generic_strncat): New function.
1228 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1229 (STUPID_STRNCPY): Remove function.
1230 (generic_strncpy): New function.
1231 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1232 (generic_strnlen): New function.
1233 (memchr_strnlen): New function.
1234 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1235 (memchr_strlen): Likewise.
1237 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1239 * benchtests/bench-strstr.c (input): Add realistic input text.
1240 (stupid_strstr): Remove function.
1241 (basic_strstr): Add function.
1242 (twoway_strstr): Add function.
1243 (do_one_test): Add result checking.
1244 (do_test): Use new input text. Remove accidental early matches.
1245 (test_main): Improve range of tests, reduce unaligned cases.
1247 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1249 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1250 (basic_memmem): Add function.
1251 (twoway_memmem): Add function.
1253 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1255 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1256 * benchtests/bench-malloc-thread.c: Likewise.
1257 * benchtests/bench-skeleton.c: Likewise.
1258 * benchtests/bench-strtod.c: Likewise.
1259 * benchtests/bench-timing.h: Likewise.
1261 2019-04-08 Florian Weimer <fweimer@redhat.com>
1263 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1265 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1266 RES_INSECURE2 security checks.
1267 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1268 RES_INSECURE2 handling.
1270 2019-04-08 Florian Weimer <fweimer@redhat.com>
1272 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1273 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1274 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1276 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1277 (tests-internal): Update justification for tst-resolv-res_init,
1278 tst-resolv-res_init-thread.
1279 (tst-res_use_inet6): Remove target.
1280 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1281 * resolv/res_debug.c (p_option): Remove "inet6" support.
1282 * resolv/res_init.c (res_setoptions): Likewise.
1283 * resolv/res_use_inet6.h: Remove file.
1284 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1286 (res_use_inet6): Always return false.
1287 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1288 * resolv/resolv_context.h: Adjust file comment.
1289 (struct resolv_context): Update comment on __next field.
1290 (__resolv_context_put): Update comment.
1291 * resolv/tst-res_use_inet6.c: Remove file.
1292 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1294 (test_cases): Adjust test case.
1295 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1296 (thread_byname2_af_inet6): Use old byname_inet6 code.
1297 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1298 (gai): Remove do_inet6 argument.
1299 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1300 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1301 (thread_gai_unspec_inet6): Remove functions.
1302 (do_test): Adjust thread_funcs.
1303 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1305 (gaih_inet): Do not disable RES_USE_INET6 flag.
1307 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1309 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1310 and remove redundant code.
1312 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1314 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1316 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1324 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1325 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1326 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1327 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1328 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1330 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1332 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1335 Remove wcsrchr optimizations.
1336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1338 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1341 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1343 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1351 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1352 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1353 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1354 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1355 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1357 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1359 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1362 Remove wcschr optimizations.
1363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1365 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1368 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1370 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1378 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1379 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1380 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1381 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1382 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1384 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1386 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1389 Remove wcscpy optimizations.
1390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1392 * include/loop_unroll.h: New file.
1393 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1394 besides generic implementation.
1396 2019-04-03 DJ Delorie <dj@redhat.com>
1398 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1399 snprintf truncating output.
1401 2019-04-02 DJ Delorie <dj@redhat.com>
1403 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1406 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1409 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1411 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1412 (mkreftable): Add rules for the new Japanese era and the new dates.
1414 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1415 Rafal Luzynski <digitalfreak@lingonborough.com>
1417 * time/tst-strftime2.c (date_t): Explicitly define the type.
1418 (dates): Use natural month and year numbers to express a date.
1419 (is_before): New function to compare dates.
1420 (mkreftable): Minor improvements to simplify maintenance.
1421 (do_test): Reflect the changes in dates array.
1424 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1425 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1426 * time/tst-strftime2.c (locales): Likewise.
1427 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1428 2010-04-01, and 2011-04-01.
1429 (mkreftable): Add rules for the new locales and the new dates.
1431 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1433 * localedata/locales/ja_JP: Add comments to era entries.
1435 2019-04-01 DJ Delorie <dj@redhat.com>
1438 * time/strptime_l.c (%Ey): Fix fencepost error.
1439 * time/tst-strftime3.c: New.
1440 * time/Makefile (tests): Add tst-strftime3.
1442 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1444 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1445 conditional branch to DIVBYZERO. Fix unwind info.
1446 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1447 excb after conditional branch to $powerof2. Add missing unop
1448 instructions and .align directives and reorder instructions to
1451 2019-04-01 Richard Henderson <rth@twiddle.net>
1453 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1455 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1458 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1460 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1461 $libc_cv_riscv_float_abi in `test' invocation.
1462 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1464 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1466 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1468 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1470 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1471 (_GET_SI_FPSCR): Likewise.
1472 (_SET_SI_FPSCR): Likewise.
1474 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1476 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1478 (signbit): Use builtin for clang 3.3.
1479 (isinf): Use builtin for clang 3.7.
1481 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1483 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1485 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1487 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1490 2019-03-25 Mike Crowe <mac@mcrowe.com>
1492 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1493 pthread_rwlock_timedrdlock with calls to
1494 pthread_rwlock_timedwrlock to ensure that the latter is tested
1495 too. Use new function name in diagnostic messages too.
1497 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1498 (do_test) Use libsupport test macros rather than hand-coded
1499 conditionals and error messages. Ensure that sem_init returns zero
1500 rather than not -1. Use <support/test-driver.c> rather than
1503 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1504 test macros rather than hand-coded conditionals and error messages.
1505 Use <support/test-driver.c> rather than test-skeleton.c.
1507 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1509 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1511 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1512 (NT_MIPS_MSA): Likewise.
1514 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1516 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1517 * benchtests/README: Update description.
1518 * benchtests/bench-timing.h: Default to hp-timing.
1519 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1520 HP_TIMING_PRINT): Remove.
1521 (HP_TIMING_NOW): Add generic implementation.
1522 (hp_timing_t): Change to uint64_t.
1524 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1526 * nptl/descr.h: Likewise.
1527 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1528 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1529 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1530 Abstract hp-timing usage with RTLD_* macros.
1531 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1532 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1533 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1534 HP_TIMING_NONAVAIL): Likewise.
1535 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1538 HP_SMALL_TIMING_AVAIL): Likewise.
1539 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1540 HP_SMALL_TIMING_AVAIL): Likewise.
1541 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1542 HP_SMALL_TIMING_AVAIL): Likewise.
1543 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1544 HP_SMALL_TIMING_AVAIL): Likewise.
1545 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1547 * sysdeps/generic/hp-timing-common.h: Update comment with
1548 HP_TIMING_AVAIL removal.
1550 * include/random-bits.h: New file.
1551 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1552 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1554 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1555 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1558 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1559 * rt/Makefile (clock-routines): Remove get_clockfreq.
1560 * rt/get_clockfreq.c: Remove file.
1561 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1562 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1565 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1567 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1568 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1569 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1570 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1571 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1573 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1574 pthread_clock_settime.
1575 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1576 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1577 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1578 * elf/rtld.c (_dl_start_final): Likewise.
1579 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1580 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1582 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1583 (_dl_cpuclock_offset): Remove.
1584 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1585 cpuclock_offset_ununsed.
1586 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1587 cpuclock_offset set.
1588 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1589 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1590 * nptl/pthread_clock_gettime.c: Remove file.
1591 * nptl/pthread_clock_settime.c: Likewise.
1592 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1593 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1594 and CLOCK_PROCESS_CPUTIME_ID support.
1595 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1596 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1597 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1598 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1599 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1601 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1603 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1605 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1606 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1607 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1609 * sysdeps/s390/memmem-arch13.S: New file.
1610 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1611 if it is only used as fallback.
1612 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1613 * sysdeps/s390/multiarch/ifunc-impl-list.c
1614 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1616 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1618 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1619 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1620 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1622 * sysdeps/s390/multiarch/ifunc-impl-list.c
1623 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1624 * sysdeps/s390/strstr-arch13.S: New file.
1625 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1626 if it is only used as fallback.
1627 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1629 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1631 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1632 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1633 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1634 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1636 * sysdeps/s390/multiarch/ifunc-impl-list.c
1637 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1638 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1639 S390_IS_ARCH13_MIE3): New defines.
1641 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1643 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1644 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1645 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1646 * sysdeps/s390/configure: Regenerated.
1648 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1650 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1651 Add vxe2, vxp, dflt, sort flags.
1652 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1653 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1655 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1656 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1657 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1658 HWCAP_S390_DFLT): Define.
1660 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1663 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1664 of compiler warning.
1665 * locale/programs/ld-collate.c (collate_output): Likewise.
1667 2019-03-21 DJ Delorie <dj@redhat.com>
1670 * iconv/iconvconfig.c (write_output): Replace floating point math
1671 with integer math to avoid imprecise results.
1672 * locale/programs/ld-collate.c (collate_output): Likewise.
1674 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1676 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1677 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1679 2019-03-20 mansayk <6688000@gmail.com>
1682 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1683 (abday): Likewise, but remove the trailing dots.
1685 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1687 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1689 (HWCAP_PACA): Likewise.
1690 (HWCAP_PACG): Likewise.
1691 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1693 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1695 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1697 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1700 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1702 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1704 (old_getpagesize): New syscall.
1706 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1709 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1710 * localedata/locales/cmn_TW (era): Likewise.
1711 * localedata/locales/hak_TW (era): Likewise.
1712 * localedata/locales/lzh_TW (era): Likewise.
1713 * localedata/locales/nan_TW (era): Likewise.
1715 2019-03-14 Adam Maris <amaris@redhat.com>
1717 * malloc/malloc.c (_int_malloc): Check for large bin list
1718 corruption when inserting unsorted chunk.
1720 2019-03-14 Florian Weimer <fweimer@redhat.com>
1722 Remove obsolete, never-implemented XSI STREAMS declarations.
1723 * manual/terminal.texi (Allocation): Remove portability note and
1725 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1727 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1728 * sysdeps/unix/inet/Subdirs (streams): Remove.
1729 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1730 (conformtest-headers-UNIX98): Likewise.
1731 (conformtest-headers-XOPEN2K): Likewise.
1732 (conformtest-headers-POSIX2008): Likewise.
1733 * posix/compat-streams.c: New file.
1734 * posix/Makefile (routines): Add it.
1735 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1736 getpmsg, isastream, putmsg, putpmsg.
1737 (GLIBC_2.30): New section.
1738 * bits/stropts.h: Remove file.
1739 * bits/xtitypes.h: Likewise.
1740 * conform/data/stropts.h-data: Likewise.
1741 * include/stropts.h: Likewise.
1742 * include/sys/stropts.h: Likewise.
1743 * include/xtitypes.h: Likewise.
1744 * streams/Makefile: Likewise.
1745 * streams/fattach.c: Likewise.
1746 * streams/fdetach.c: Likewise.
1747 * streams/getmsg.c: Likewise.
1748 * streams/getpmsg.c: Likewise.
1749 * streams/isastream.c: Likewise.
1750 * streams/putmsg.c: Likewise.
1751 * streams/putpmsg.c: Likewise.
1752 * streams/stropts.h: Likewise.
1753 * streams/sys/stropts.h: Likewise.
1754 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1755 * sysdeps/s390/bits/xtitypes.h: Likewise.
1756 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1757 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1758 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1759 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1760 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1761 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1762 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1764 * sysdeps/x86/bits/xtitypes.h: Likewise.
1766 2019-03-14 Florian Weimer <fweimer@redhat.com>
1768 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1770 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1771 but not with libnss_files.
1772 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1774 2019-03-14 Zack Weinberg <zackw@panix.com>
1776 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1777 Specify encoding="utf-8" when opening headers to check.
1779 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1781 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1783 (Context.checkout_tar): Handle variable major version for Linux
1786 2019-03-13 Florian Weimer <fweimer@redhat.com>
1789 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1791 2019-03-13 Zack Weinberg <zackw@panix.com>
1793 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1795 * include/inttypes.h: Adjust to match.
1796 * include/stdint.h: New wrapper.
1798 2019-03-13 Zack Weinberg <zackw@panix.com>
1800 * scripts/check-obsolete-constructs.py: New test script.
1801 * scripts/check-installed-headers.sh: Remove tests for
1802 obsolete typedefs, superseded by check-obsolete-constructs.py.
1803 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1804 as a special test. Update commentary.
1805 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1806 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1808 * posix/sys/types.h (__u_intN_t): Remove.
1809 (u_int8_t): Typedef using __uint8_t.
1810 (u_int16_t): Typedef using __uint16_t.
1811 (u_int32_t): Typedef using __uint32_t.
1812 (u_int64_t): Typedef using __uint64_t.
1814 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1816 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1818 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1819 Ignore types other than AT_HWCAP.
1820 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1821 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1823 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1824 in the case of falling back to generic output mechanism.
1825 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1828 2019-03-12 Florian Weimer <fweimer@redhat.com>
1830 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1832 2019-03-12 Florian Weimer <fweimer@redhat.com>
1835 resolv: Enable full ICMP errors for UDP DNS sockets
1836 * resolv/res_enable_icmp.c: New file.
1837 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1838 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1839 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1842 2019-03-11 Mao Han <han_mao@c-sky.com>
1844 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1845 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1847 2019-03-11 Mao Han <han_mao@c-sky.com>
1849 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1850 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1851 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1853 2019-03-11 Mao Han <han_mao@c-sky.com>
1855 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1857 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1860 2019-03-11 Mao Han <han_mao@c-sky.com>
1862 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1863 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1866 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1869 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1870 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1872 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1873 * localedata/unicode-gen/PropList.txt: Likewise.
1874 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1875 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1876 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1877 * localedata/charmaps/UTF-8: Regenerate.
1878 * localedata/locales/i18n_ctype: Likewise.
1879 * localedata/locales/tr_TR: Likewise.
1880 * localedata/locales/translit_circle: Likewise.
1881 * localedata/locales/translit_cjk_compat: Likewise.
1882 * localedata/locales/translit_combining: Likewise.
1883 * localedata/locales/translit_compat: Likewise.
1884 * localedata/locales/translit_font: Likewise.
1885 * localedata/locales/translit_fraction: Likewise.
1887 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1889 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1890 than after operators.
1891 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1892 (setitimer_locked): Likewise.
1893 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1894 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1895 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1896 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1897 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1898 (PPC_CPU_SUPPORTED): Likewise.
1899 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1900 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1901 (stat_overflow): Likewise.
1902 (statfs_overflow): Likewise.
1903 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1904 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1905 (eq_ttyname_r): Likewise.
1906 (run_chroot_tests): Likewise.
1908 2019-03-07 Florian Weimer <fweimer@redhat.com>
1910 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1913 2019-03-07 Martin Liska <mliska@suse.cz>
1915 * math/Makefile: Change location where math-vector-fortran.h is
1917 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1918 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1919 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1920 * scripts/check-installed-headers.sh: Skip Fortran header files.
1921 * scripts/check-wrapper-headers.py: Likewise.
1923 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1925 * nptl/nptl-init.c (__have_futex_clock_realtime,
1926 __have_futex_clock_realtime): Remove definition.
1927 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1928 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1929 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1930 __ASSUME_FUTEX_CLOCK_REALTIME support.
1931 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1933 * sysdeps/unix/sysv/linux/kernel-features.h
1934 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1935 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1938 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1940 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1941 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1942 __GI___wcscpy and wcscpy.
1944 2019-03-04 Florian Weimer <fweimer@redhat.com>
1946 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1948 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1951 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1953 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1954 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1956 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1959 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1960 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1962 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1964 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1966 (do_test): Likewise.
1967 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1968 (do_test_call_varg): Likewise.
1969 (do_test_call_rarg): Likewise.
1970 * sysdeps/ieee754/ldbl-opt/Makefile
1971 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1973 ($(objpfx)tst-nldbl-warn.c): New rule.
1974 ($(objpfx)tst-nldbl-error.c): Likewise.
1975 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1978 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1981 * include/bits/error-ldbl.h: New file.
1982 * include/error.h: Include stdarg.h. Declare internal functions
1983 __error_internal and __error_at_line_internal.
1984 * misc/Makefile (headers): Add bits/error-ldbl.h.
1985 * misc/bits/error-ldbl.h: New file.
1986 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1987 avoid the inclusion of bits/error.h.
1988 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1989 and __nldbl_error_at_line.
1990 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1991 (__nldbl_error, __ndlbl_error_at_line): New functions.
1992 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1993 Redirect error and error_at_line.
1994 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2003 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2004 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2005 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2007 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2010 * include/bits/err-ldbl.h: New file.
2011 * include/err.h: Add prototypes for the internal functions:
2012 __vwarnx_internal and __vwarn_internal.
2013 * misc/Makefile (headers): Add bits/err-ldbl.h.
2014 * misc/bits/err-ldbl.h: New file.
2015 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2016 defined, i.e.: when -mlong-double-64 is in use.
2017 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2018 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2019 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2020 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2021 (VA_CALL): New macro.
2022 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2023 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2025 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2026 declare prototypes for the new functions.
2027 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2036 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2038 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2040 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2042 * sysdeps/ieee754/ldbl-opt/Makefile
2043 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2044 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2045 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2047 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2050 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2051 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2052 * argp/bits/argp-ldbl.h: New file.
2053 * include/argp.h: Include stdarg.h. Add prototypes for internal
2054 functions: __argp_error_internal and __argp_failure_internal.
2055 * include/bits/argp-ldbl.h: New file.
2056 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2057 __nldbl_argp_error and __nldbl_argp_failure.
2058 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2059 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2060 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2061 Redirect argp_error and argp_failure calls.
2062 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2071 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2072 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2075 2019-03-01 Florian Weimer <fweimer@redhat.com>
2078 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2079 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2080 code, to avoid creating an ABI tag note.
2081 (modules-names-nobuild): Add tst-big-note-lib.
2083 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2085 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2086 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2088 2019-03-01 Florian Weimer <fweimer@redhat.com>
2091 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2092 (__netlink_assert_response): Add additional missing newlines.
2094 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2096 * sysdeps/powerpc/powerpc32/dl-machine.c
2097 (__elf_machine_fixup_plt): Use space before '('.
2098 (__process_machine_rela): Likewise.
2099 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2101 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2103 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2105 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2106 (pattern): Likewise.
2108 (check_result): Likewise.
2109 (check_excepts): Likewise.
2110 (check_op): Likewise.
2111 (fail_xr): Likewise.
2112 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2113 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2115 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2118 (__makecontext): Likewise.
2119 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2122 2019-02-28 Florian Weimer <fweimer@redhat.com>
2125 elf: Add test with a local IFUNC resolver.
2126 * elf/ifuncmain9.c: New file.
2127 * elf/ifuncmain9pic.c: Likewise.
2128 * elf/ifuncmain9picstatic.c: Likewise.
2129 * elf/ifuncmain9pie.c: Likewise.
2130 * elf/ifuncmain9static.c: Likewise.
2131 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2132 ifuncmain9static, ifuncmain9picstatic.
2133 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2134 Add ifuncmain9, ifuncmain9pic.
2135 * elf/Makefile [multi-arch && build-shared && have-fpie]
2136 (ifunc-pie-tests): Add ifuncmain9pie.
2137 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2138 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2139 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2141 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2143 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2144 * configure: Regenerated.
2145 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2147 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2150 symbol as __wcspcy instead of wcscpy.
2152 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2154 * include/stdio.h (__renameat2): New hidden prototype.
2155 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2156 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2157 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2158 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2160 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2162 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2165 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2166 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2167 * benchtests/bench-strlen.c (do_test): Likewise.
2168 (test_main): Likewise.
2169 * catgets/gencat.c (read_old): Likewise.
2170 * elf/cache.c (load_aux_cache): Likewise.
2171 * iconvdata/bug-iconv8.c (do_test): Likewise.
2172 * math/test-tgmath-ret.c (do_test): Likewise.
2173 * nis/nis_call.c (rec_dirsearch): Likewise.
2174 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2175 * nptl/tst-audit-threads.c (do_test): Likewise.
2176 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2177 * nss/nss_test1.c (init): Likewise.
2178 * nss/test-netdb.c (test_hosts): Likewise.
2179 * posix/execvpe.c (maybe_script_execute): Likewise.
2180 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2181 * stdio-common/tst-printf.c (do_test): Likewise.
2182 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2183 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2184 * stdlib/qsort.c (STACK_SIZE): Likewise.
2185 * stdlib/test-canon.c (do_test): Likewise.
2186 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2187 * string/memcmp.c (OPSIZ): Likewise.
2188 * string/test-strcpy.c (do_test): Likewise.
2189 (do_random_tests): Likewise.
2190 * string/test-strlen.c (do_test): Likewise.
2191 (test_main): Likewise.
2192 * string/test-strrchr.c (do_test): Likewise.
2193 (do_random_tests): Likewise.
2194 * string/tester.c (test_memrchr): Likewise.
2195 (test_memchr): Likewise.
2196 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2197 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2198 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2199 (read_encoded_value_with_base): Likewise.
2200 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2201 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2202 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2203 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2204 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2205 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2207 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2209 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2210 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2211 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2213 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2215 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2217 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2219 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2220 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2221 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2222 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2223 * time/test_time.c (main): Likewise.
2225 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2227 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2229 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2232 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2235 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2237 * include/wchar.h (__wcscpy): New prototype.
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2239 (__wcscpy): Route internal symbol to generic implementation.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2241 Add internal __wcscpy alias.
2242 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2243 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2244 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2245 * wcsmbs/wcscpy.c (wcscpy): Add
2246 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2247 use generic implementation.
2248 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2250 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2253 * sysdeps/m68k/wcpcpy.c: Remove file.
2254 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2256 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2258 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2259 than after operators.
2260 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2261 * sysdeps/mach/hurd/getcwd.c
2262 (__hurd_canonicalize_directory_name_internal): Likewise.
2263 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2264 (pthread_mutex_consistent): Likewise.
2265 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2267 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2268 (__pthread_mutex_transfer_np): Likewise.
2269 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2270 (__pthread_mutex_unlock): Likewise.
2271 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2272 (mtx_owned_p): Likewise.
2273 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2274 (pthread_mutexattr_getrobust): Likewise.
2275 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2276 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2278 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2279 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2280 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2281 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2282 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2283 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2284 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2286 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2288 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2289 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2290 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2291 (____longjmp_chk): Likewise.
2292 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2295 (INTERNAL_SYSCALL): Likewise.
2296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2297 (INTERNAL_SYSCALL): Likewise.
2298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2299 (__get_clockfreq_via_cpuinfo): Likewise.
2301 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2303 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2304 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2305 (WORD_COPY_BWD): Likewise.
2306 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2309 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2310 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2312 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2314 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2316 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2317 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2318 rather than after operators.
2319 * elf/cache.c (print_cache): Likewise.
2320 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2321 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2322 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2323 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2324 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2325 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2326 (reauth_proc): Likewise.
2327 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2328 (__file_name_split_at): Likewise.
2329 (__directory_name_split_at): Likewise.
2330 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2331 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2332 * iconv/gconv_dl.c (do_print): Likewise.
2333 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2334 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2335 * locale/setlocale.c (new_composite_name): Likewise.
2336 * malloc/memusagestat.c (main): Likewise.
2337 * misc/fstab.c (fstab_convert): Likewise.
2338 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2340 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2341 (getgrent_next_file): Likewise.
2342 (internal_getgrnam_r): Likewise.
2343 (internal_getgrgid_r): Likewise.
2344 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2346 (internal_getgrent_r): Likewise.
2347 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2348 (getpwent_next_nss): Likewise.
2349 (getpwent_next_file): Likewise.
2350 (internal_getpwnam_r): Likewise.
2351 (internal_getpwuid_r): Likewise.
2352 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2354 (getspent_next_nss): Likewise.
2355 (internal_getspnam_r): Likewise.
2356 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2357 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2358 * string/strchr.c (STRCHR): Likewise.
2359 * string/strchrnul.c (STRCHRNUL): Likewise.
2360 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2361 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2362 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2363 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2364 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2366 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2367 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2368 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2369 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2370 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2371 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2372 (open_file): Likewise.
2373 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2374 (pthread_mutexattr_setprotocol): Likewise.
2375 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2376 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2377 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2378 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2379 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2381 (elf_machine_rela): Likewise.
2382 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2383 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2384 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2385 * sysdeps/posix/rename.c (rename): Likewise.
2386 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2387 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2388 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2389 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2390 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2391 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2392 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2394 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2396 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2397 * time/tzfile.c (__tzfile_compute): Likewise.
2399 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2401 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2402 rather than after operators.
2403 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2404 * crypt/md5.c (md5_finish_ctx): Likewise.
2405 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2406 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2407 * elf/cache.c (load_aux_cache): Likewise.
2408 * elf/dl-load.c (open_verify): Likewise.
2409 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2410 * elf/readelflib.c (process_elf_file): Likewise.
2411 * elf/rtld.c (dl_main): Likewise.
2412 * elf/sprof.c (generate_call_graph): Likewise.
2413 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2414 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2415 * hurd/dtable.c (reauth_dtable): Likewise.
2416 * hurd/getdport.c (__getdport): Likewise.
2417 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2418 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2419 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2421 * hurd/hurdioctl.c (fioctl): Likewise.
2422 * hurd/hurdselect.c (_hurd_select): Likewise.
2423 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2424 (STOPSIGS): Likewise.
2425 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2426 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2427 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2428 * hurd/msgportdemux.c (msgport_server): Likewise.
2429 * hurd/setauth.c (_hurd_setauth): Likewise.
2430 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2431 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2432 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2433 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2434 * login/tst-utmp.c (do_check): Likewise.
2435 (simulate_login): Likewise.
2436 * mach/lowlevellock.h (lll_lock): Likewise.
2437 (lll_trylock): Likewise.
2438 * math/test-fenv.c (ALL_EXC): Likewise.
2439 * math/test-fenvinline.c (ALL_EXC): Likewise.
2440 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2441 * nis/nis_call.c (__do_niscall3): Likewise.
2442 * nis/nis_callback.c (cb_prog_1): Likewise.
2443 * nis/nis_defaults.c (searchaccess): Likewise.
2444 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2445 * nis/nis_ismember.c (internal_ismember): Likewise.
2446 * nis/nis_local_names.c (nis_local_principal): Likewise.
2447 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2448 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2450 * nis/ypclnt.c (yp_match): Likewise.
2451 (yp_first): Likewise.
2452 (yp_next): Likewise.
2453 (yp_master): Likewise.
2454 (yp_order): Likewise.
2455 * nscd/hstcache.c (cache_addhst): Likewise.
2456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2457 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2458 (internal_getpwuid_r): Likewise.
2459 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2460 * posix/glob.h (__GLOB_FLAGS): Likewise.
2461 * posix/regcomp.c (peek_token): Likewise.
2462 (peek_token_bracket): Likewise.
2463 (parse_expression): Likewise.
2464 * posix/regexec.c (sift_states_iter_mb): Likewise.
2465 (check_node_accept_bytes): Likewise.
2466 * posix/tst-spawn3.c (do_test): Likewise.
2467 * posix/wordexp-test.c (testit): Likewise.
2468 * posix/wordexp.c (parse_tilde): Likewise.
2469 (exec_comm): Likewise.
2470 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2471 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2472 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2473 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2474 * stdio-common/tst-fileno.c (do_test): Likewise.
2475 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2476 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2477 * stdlib/strtod_l.c (round_and_return): Likewise.
2478 (____STRTOF_INTERNAL): Likewise.
2479 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2480 * string/strcspn.c (STRCSPN): Likewise.
2481 * string/test-memmem.c (simple_memmem): Likewise.
2482 * termios/tcsetattr.c (tcsetattr): Likewise.
2483 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2484 * time/asctime.c (asctime_internal): Likewise.
2485 * time/strptime_l.c (__strptime_internal): Likewise.
2486 * time/sys/time.h (timercmp): Likewise.
2487 * time/tzfile.c (__tzfile_compute): Likewise.
2489 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2492 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2494 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2496 * argp/argp-help.c (__argp_error_internal): New function,
2497 renamed from __argp_error, but that takes a 'mode_flags'
2498 parameter to control the format of long double parameters.
2499 (__argp_error): Converted into a call __argp_error_internal.
2500 (__argp_failure_internal): New function, renamed from
2501 __argp_failure, but that takes a 'mode_flags' parameter.
2502 (__argp_failure): Converted into a call __argp_failure_internal.
2503 * misc/err.c (__vwarnx_internal): New function, renamed from
2504 vwarnx, but that takes a 'mode_flags' parameter.
2505 (vwarnx): Converted into a call to __vwarnx_internal.
2506 (__vwarn_internal): New function, renamed from vwarn, but that
2507 takes a 'mode_flags' parameter.
2508 (vwarn): Converted into a call to __vwarn_internal.
2509 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2510 call to __vfxprintf with 'mode_flags'.
2511 (__error_internal): New function, renamed from error, but that
2512 takes a 'mode_flags' parameter.
2513 (error): Converted into a call to __error_internal.
2514 (__error_at_line_internal): New function, renamed from
2515 error_at_line, but that takes a 'mode_flags' parameter.
2516 (error_at_line): Converted into a call to
2517 __error_at_line_internal.
2518 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2519 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2522 2019-02-20 Martin Liska <mliska@suse.cz>
2524 * math/Makefile: Install math-vector-fortran.h.
2525 * bits/math-vector-fortran.h: New file.
2526 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2528 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2530 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2531 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2533 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2535 * nptl/pthread_mutex_trylock.c: Fix comment.
2537 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2539 * nptl/pthread_tryjoin.c: Fix comment.
2541 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2545 after R_SPARC_H34 case.
2547 2019-02-18 Florian Weimer <fweimer@redhat.com>
2549 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2550 (getanswer): Do not call Dprintf.
2551 (res_gethostbyname2_context): Likewise.
2552 (res_gethostbyaddr_context): Likewise.
2554 2019-02-18 Florian Weimer <fweimer@redhat.com>
2556 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2558 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2560 * libio/stdfiles.c: Update comment.
2561 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2562 set _IO_stdin, _IO_stdout, _IO_stderr.
2563 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2564 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2566 (_IO_deallocate_file): New inline function.
2567 * libio/iolibio.h (_IO_vprintf): Remove definition.
2568 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2569 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2570 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2572 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2573 __builtin_expect. Use _IO_legacy_file.
2575 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2577 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2578 Initialize ctid with a known value and remove update of ctid
2580 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2581 as assumed current value of ctid_ptr.
2583 2019-02-16 Florian Weimer <fweimer@redhat.com>
2585 Check that non-sysdeps headers have wrapper headers.
2586 * scripts/check-wrapper-headers.py: New file.
2587 * Makefile (tests-special): Add check-wrapper-headers.out.
2588 (check-wrapper-headers.out): New target.
2589 * Rules (tests-special): Add check-wrapper-headers.out.
2590 (check-wrapper-headers.out): New target.
2592 2019-02-16 Florian Weimer <fweimer@redhat.com>
2594 Add missing header wrappers under include/.
2595 * include/ar.h: New file.
2596 * include/bits/mqueue2.h: Likewise.
2597 * include/bits/stdio.h: Likewise.
2598 * include/bits/stdio2.h: Likewise.
2599 * include/fstab.h: Likewise.
2600 * include/fts.h: Likewise.
2601 * include/lastlog.h: Likewise.
2602 * include/netinet/icmp6.h: Likewise.
2603 * include/netinet/igmp.h: Likewise.
2604 * include/netinet/ip6.h: Likewise.
2605 * include/re_comp.h: Likewise.
2606 * include/regexp.h: Likewise.
2607 * include/rpcsvc/bootparam.h: Likewise.
2608 * include/rpcsvc/yp_prot.h: Likewise.
2609 * include/sys/random.h: Likewise.
2610 * include/sys/stropts.h: Likewise.
2611 * include/sys/ttychars.h: Likewise.
2612 * include/sys/vfs.h: Likewise.
2613 * include/wait.h: Likewise.
2615 2019-02-16 Florian Weimer <fweimer@redhat.com>
2617 * nptl_db/proc_service.h: Move to ...
2618 * sysdeps/nptl/proc_service.h: ... here.
2619 * nptl_db/thread_db.h: Move to ...
2620 * sysdeps/nptl/thread_db.h: ... here.
2621 * nptl/descr.h: Include <thread_db.h>.
2623 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2625 * io/Makefile (tests): Add tst-lockf.
2626 * io/lockf.c (lockf): Use __fcntl and only define for
2627 !__OFF_T_MATCHES_OFF64_T.
2628 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2629 __OFF_T_MATCHES_OFF64_T case.
2630 * io/tst-lockf.c: New file.
2631 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2632 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2633 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2634 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2635 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2637 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2638 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2641 2019-02-15 Florian Weimer <fweimer@redhat.com>
2644 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2645 pd->result after the thread descriptor has been freed.
2647 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2649 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2650 from function return type.
2652 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2654 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2656 * scripts/test_printers_common.py: Set TERM to a known harmless
2659 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2661 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2662 (xdr_u_int): Likewise.
2663 (xdr_enum): Likewise.
2664 (xdr_bytes): Reword fall-through comment.
2665 (xdr_string): Likewise.
2667 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2670 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2671 (tests): Add tst-join8 tst-join9.
2672 * nptl/lll_timedwait_tid.c: Remove file.
2673 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2674 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2675 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2676 * nptl/pthread_join_common.c (timedwait_tid): New function.
2677 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2679 * nptl/tst-join5.c (thread_join): New function.
2680 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2682 * nptl/tst-join8.c: New file.
2683 * nptl/tst-join9.c: Likewise.
2684 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2685 lll_futex_timed_wait_cancel): Add generic macros.
2686 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2688 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2689 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2690 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2691 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2693 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2695 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2696 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2697 (lll_futex_timed_wait_cancel): New macro.
2699 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2701 * benchtests/Makefile: Add malloc-simple benchmark.
2702 * benchtests/bench-malloc-simple.c: New benchmark.
2704 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2706 * benchtests/bench-memmove.c (do_one_test): Remove unused
2709 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2713 2019-01-13 Jim Wilson <jimw@sifive.com>
2716 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2717 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2719 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2721 * nptl/Makefile (tests): Add tst-unwind-thread.
2722 (CFLAGS-tst-unwind-thread.c): Define.
2723 * nptl/tst-unwind-thread.c: New file.
2724 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2727 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2729 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2731 * nis/nis_call.c (__do_niscall3): Likewise.
2733 * catgets/gencat.c (normalize_line): Use braces around empty
2735 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2736 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2737 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2738 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2739 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2740 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2741 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2744 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2747 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2749 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2750 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2751 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2752 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2753 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2754 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2755 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2756 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2757 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2758 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2759 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2760 * benchtests/bench-bcopy.c: Delete file.
2761 * benchtests/bench-bzero.c: Likewise.
2762 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2763 (simple_memccpy): Remove.
2764 (generic_memccpy): Add function.
2765 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2766 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2767 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2768 (generic_mempcpy): Add new function.
2769 * benchtests/bench-memset.c (simple_bzero): Remove.
2770 (builtin_bzero): Remove.
2771 (builtin_memset): Remove.
2772 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2773 (generic_rawmemchr): Add new function.
2775 2019-02-12 Florian Weimer <fweimer@redhat.com>
2777 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2779 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2782 * elf/Makefile (tests): Add tst-audit13.
2783 (modules-names): Add tst-audit13mod1.
2784 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2786 * elf/tst-audit13.c: New file.
2787 * elf/tst-audit13mod1.c: Likewise.
2789 2019-02-12 Florian Weimer <fweimer@redhat.com>
2792 * elf/rtld.c (unload_audit_module): New function.
2793 (report_audit_module_load_error): Likewise.
2794 (load_audit_module): Likewise. Extracted from dl_main. Call
2795 _dl_close if the laversion symbol cannot be found. Use early
2796 returns for error handling. Add malloc error check. Check for a
2797 zero return value from la_version. Remove spurious comment about
2798 static TLS initialization. Remove useless casts.
2799 (notify_audit_modules_of_loaded_object): New function. Extracted
2801 (load_audit_module): Likewise.
2802 (dl_main): Call load_audit_modules.
2804 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2806 * elf/dl-exception.c (_dl_exception_create_format): Add
2807 fall-through comments.
2808 * elf/ldconfig.c (parse_conf_include): Likewise.
2809 * elf/rtld.c (print_statistics): Likewise.
2810 * locale/programs/charmap.c (parse_charmap): Likewise.
2811 * misc/mntent_r.c (__getmntent_r): Likewise.
2812 * posix/wordexp.c (parse_arith): Likewise.
2813 (parse_backtick): Likewise.
2814 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2815 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2818 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2820 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2821 Use float instead of double.
2823 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2825 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2827 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2829 * sysdeps/powerpc/bits/mathinline.h: Remove.
2831 2019-02-08 Florian Weimer <fweimer@redhat.com>
2833 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2834 * math/bits/math-finite.h: Move to ...
2835 * bits/math-finite.h: ... here.
2837 2019-02-08 Florian Weimer <fweimer@redhat.com>
2839 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2840 * bits/unistd_ext.h: here.
2842 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2845 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2846 * nss/tst-nss-files-hosts-long.c: New file.
2847 * nss/tst-nss-files-hosts-long.root: New directory.
2848 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2849 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2851 2019-02-08 Florian Weimer <fweimer@redhat.com>
2853 * include/bits/unistd_ext.h: Remove file.
2854 * posix/bits/unistd_ext.h: Move to ...
2855 * sysdeps/generic/bits/unistd_ext.h: ... here.
2857 2019-02-08 Florian Weimer <fweimer@redhat.com>
2859 * include/bits/unistd_ext.h: New file.
2861 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2863 * time/tst-strftime2.c: Use array_length macros instead of magic
2866 2019-02-08 Florian Weimer <fweimer@redhat.com>
2869 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2871 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2872 locking if the new do_locking argument is true.
2873 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2874 __run_fork_handlers.
2876 2019-02-08 Florian Weimer <fweimer@redhat.com>
2879 Linux: Add gettid system call wrapper.
2880 * posix/Makefile (headers): Add bits/unistd_ext.h.
2881 * posix/bits/unistd_ext.h: New file.
2882 * posix/unistd.h: Include it.
2883 * manual/process.texi (Process Identification): Document gettid.
2884 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2885 tst-gettid, tst-gettid-kill.
2886 (tst-gettid): Link with $(shared-thread-library).
2887 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2888 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2889 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2890 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2891 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2892 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2894 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2896 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2897 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2899 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2901 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2903 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2905 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2907 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2909 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2911 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2912 (GLIBC_2.30): Likewise.
2913 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2914 (GLIBC_2.30): Likewise.
2915 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2916 (GLIBC_2.30): Likewise.
2917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2918 (GLIBC_2.30): Likewise.
2919 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2922 (GLIBC_2.30): Likewise.
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2924 (GLIBC_2.30): Likewise.
2925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2926 (GLIBC_2.30): Likewise.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2928 (GLIBC_2.30): Likewise.
2929 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2931 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2935 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2936 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2938 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2940 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2942 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2944 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2946 2019-02-08 Florian Weimer <fweimer@redhat.com>
2948 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2949 compatibility symbols.
2951 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2954 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2955 Add compiler barriers and comments.
2957 2019-02-07 Florian Weimer <fweimer@redhat.com>
2959 * include/array_length.h (array_length): Do not use a statement
2960 expression and _Static_assert, so that array_length can be used at
2961 file scope and as a constant expression.
2963 2019-02-07 Florian Weimer <fweimer@redhat.com>
2965 * support/xdlfcn.h (xdlmopen): Declare.
2966 * support/xdlmopen.c: New file.
2967 * support/Makefile (libsupport-routines): Add xdlmopen.
2969 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2971 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2972 before return type, without separate inline.
2973 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2974 * elf/dl-tunables.h (tunable_is_name): Likewise.
2975 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2976 (do_set_top_pad): Likewise.
2977 (do_set_mmap_threshold): Likewise.
2978 (do_set_mmaps_max): Likewise.
2979 (do_set_mallopt_check): Likewise.
2980 (do_set_perturb_byte): Likewise.
2981 (do_set_arena_test): Likewise.
2982 (do_set_arena_max): Likewise.
2983 (do_set_tcache_max): Likewise.
2984 (do_set_tcache_count): Likewise.
2985 (do_set_tcache_unsorted_limit): Likewise.
2986 * nis/nis_subr.c (count_dots): Likewise.
2987 * nptl/allocatestack.c (advise_stack_range): Likewise.
2988 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2990 (reduce_sincos): Likewise.
2991 (do_sincos): Likewise.
2992 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2993 (do_set_elision_enable): Likewise.
2994 (TUNABLE_CALLBACK_FNDECL): Likewise.
2996 2019-02-06 Florian Weimer <fweimer@redhat.com>
2998 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2999 (xdlsym): Use dlerror to detect a NULL symbol.
3001 2019-02-06 Florian Weimer <fweimer@redhat.com>
3003 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3005 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3007 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3009 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3011 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3013 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3014 __wmemcmp and weak alias to wmemcmp.
3016 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3019 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3020 TLS_TCB_AT_TP tls variant.
3021 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3022 Add alignment checks.
3023 * support/Makefile (libsupport-routines): Add xposix_memalign and
3025 * support/support.h: Add xposix_memalign.
3026 * support/xthread.h: Add xpthread_attr_setstack.
3027 * support/xposix_memalign.c: New File.
3028 * support/xpthread_attr_setstack.c: Likewise.
3030 2019-02-05 Florian Weimer <fweimer@redhat.com>
3033 arm: Use "nr" constraint for Systemtap probes, to avoid the
3034 compiler using memory operands for constants, due to the "o"
3035 alternative in the default "nor" constraint.
3036 * include/stap-probe.h [USE_STAP_PROBE]: Include
3037 <stap-probe-machine.h>
3038 * sysdeps/generic/stap-probe-machine.h: New file.
3039 * sysdeps/arm/stap-probe-machine.h: Likewise.
3041 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3043 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3044 with 0, not tcache->entries[tc_idx].
3046 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3049 2019-02-04 Andreas Schwab <schwab@suse.de>
3053 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3054 looking up collating elements match against (wide) character
3055 sequence instead of name. Correct alignment adjustment.
3056 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3057 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3058 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3059 (LOCALES): Add cs_CZ.ISO-8859-2.
3060 * posix/tst-fnmatch4.c: New file.
3061 * posix/tst-fnmatch5.c: New file.
3062 * include/wchar.h (__wmemcmp): Declare.
3063 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3064 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3065 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3066 * sysdeps/s390/wmemcmp.c: Likewise.
3068 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3072 * NEWS: Updated for CVE-2019-7309.
3073 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3074 upper 32 bits of RDX register for x32. Use unsigned Jcc
3075 instructions, instead of signed.
3076 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3077 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3079 2019-02-04 Florian Weimer <fweimer@redhat.com>
3081 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3082 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3083 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3085 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3086 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3087 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3088 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3090 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3092 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3094 (posix_spawn_file_actions_addopen): Likewise.
3095 (posix_spawn_file_actions_addclose): Likewise.
3096 (posix_spawn_file_actions_adddup2): Likewise.
3097 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3099 (posix_spawn_file_actions_addfchdir_np): Likewise.
3101 2019-02-04 David Newall <glibc@davidnewall.com>
3103 elf: Implement --preload option for the dynamic linker.
3104 * elf/rtld.c (preloadarg): New variable.
3105 (handle_preload_list): Pass through “where” argument to
3107 (dl_main): Handle "--preload" and add second call to
3108 handle_preload_list.
3109 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3110 (tst-rtld-preload-OBJS): Set variable.
3111 (tst-rtld-preload.out): New target.
3112 * elf/tst-rtld-preload.sh: New file.
3114 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3116 * Makefile (testrun.sh): Exit in case of incorrect argument.
3118 2019-02-04 Florian Weimer <fweimer@redhat.com>
3120 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3123 2019-02-03 Florian Weimer <fweimer@redhat.com>
3125 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3126 implicit overflow checks.
3128 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3130 * stdlib/isomac.c: Include <unistd.h>.
3132 2019-02-03 Florian Weimer <fweimer@redhat.com>
3134 * include/time.h (__tzfile_default): Use int, not long int, for
3136 * time/tzfile.c (struct ttinfo): Change type of the offset member
3138 (__tzfile_read): Remove useless cast.
3139 (__tzfile_default): Adjust prototype.
3140 * time/tzset.c (tz_rule): Change type of the offset member to int.
3141 (parse_offset): Change the type of the sign variable to int.
3143 2019-02-03 Florian Weimer <fweimer@redhat.com>
3146 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3147 * libio/getchar.c (getchar): Likewise.
3148 * libio/getchar_u.c (getchar_unlocked): Likewise.
3149 * libio/getwchar.c (getwchar): Likewise.
3150 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3151 * libio/iogets.c (_IO_gets): Likewise.
3152 * libio/vscanf.c (_IO_vscanf): Likewise.
3153 * libio/vwscanf.c (__vwscanf): Likewise.
3154 * libio/tst-bz24153.c: New file.
3155 * libio/Makefile (tests): Add it.
3157 2019-02-02 Florian Weimer <fweimer@redhat.com>
3160 * manual/resource.texi (Basic Scheduling Functions): Add
3161 portability note. Change process to task throughout the section.
3162 Remove incorrect comment about sched_yield as it affects
3163 tasks/threads, not entire processes.
3164 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3165 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3167 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3169 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3170 * configure: Regenerated.
3171 * manual/install.texi (Tools for Compilation): Update minimum GCC
3173 * INSTALL: Regenerated.
3175 2019-02-01 Florian Weimer <fweimer@redhat.com>
3177 * support/support_test_compare_string.c
3178 (support_test_compare_string): Use "string" in error message.
3179 * support/tst-test_compare_string.c (do_test): Adjust.
3181 2019-02-01 Florian Weimer <fweimer@redhat.com>
3183 * support/support_format_address_family.c
3184 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3186 2019-02-01 Florian Weimer <fweimer@redhat.com>
3188 * manual/socket.texi (Internet Address Formats): Clarify the byte
3189 order of struct sockaddr_in, struct sockaddr_in6. Document
3190 sin6_flowinfo and sin6_scope_id.
3192 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3194 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3195 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3196 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3197 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3198 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3199 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3201 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3203 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3204 [!MEMCHR](MEMCHR): Set to __memchr.
3205 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3206 Add memchr_generic and memchr_nosimd.
3207 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3208 (__libc_ifunc_impl_list): Add memchr ifuncs.
3209 * sysdeps/aarch64/multiarch/memchr.c: New file.
3210 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3211 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3213 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3215 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3217 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3218 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3219 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3220 Add IS_EMAG check for ifunc dispatch.
3221 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3222 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3224 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3226 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3227 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3229 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3232 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3234 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3236 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3238 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3239 syscall-template file.
3241 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3242 Torvald Riegel <triegel@redhat.com>
3243 Rik Prohaska <prohaska7@gmail.com>
3246 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3247 tst-rwlock-trywrlock-stall.
3248 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3249 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3250 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3251 Set __wrphase_fute to 1 only if we started the write phase.
3252 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3253 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3254 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3255 * support/xpthread_rwlock_destroy.c: New file.
3256 * support/xthread.h: Declare xpthread_rwlock_destroy.
3258 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3260 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3263 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3266 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3267 * libio/fileops.c (_IO_new_file_underflow): Likewise
3268 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3269 * libio/putchar.c (putchar): Likewise.
3270 * libio/putchar_u.c (putchar_unlocked): Likewise.
3271 * libio/putwchar.c (putchar): Likewise.
3272 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3273 * libio/tst-bz24051.c: New test.
3274 * libio/Makefile (tests): Add tst-bz24051
3276 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3279 regex: fix read overrun [BZ #24114]
3280 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3281 https://debbugs.gnu.org/34140
3282 * posix/regexec.c (proceed_next_node):
3283 Do not read past end of input buffer.
3285 2019-01-31 Florian Weimer <fweimer@redhat.com>
3288 * nss/nss_files/files-alias.c (get_next_alias): Handle
3289 continuation line without newline at the end.
3290 * nss/tst-nss-files-alias-truncated.c: New file.
3291 * nss/Makefile [$(build-shared)] (tests): Add
3292 tst-nss-files-alias-truncated.
3293 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3294 * support/namespace.h (struct support_chroot_configuration): Add
3296 (struct support_chroot): Add path_aliases member.
3297 * support/support_chroot.c (support_chroot_create): Handle
3299 (support_chroot_free): Free path_aliases.
3301 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3303 * version.h (RELEASE): Set to "development".
3304 (VERSION): Set to "2.29.9000".
3305 * NEWS: Add section for 2.30.
3307 * version.h (RELEASE): Set to "stable".
3308 (VERSION): Set to "2.29".
3309 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3311 * NEWS: Add the list of bugs fixed in 2.29.
3312 * manual/contrib.texi: Update contributors list with some more
3314 * manual/install.texi: Update latest versions of packages
3316 * INSTALL: Regenerated.
3318 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3320 * po/be.po: Update translations.
3321 * po/bg.po: Likewise.
3322 * po/ca.po: Likewise.
3323 * po/cs.po: Likewise.
3324 * po/da.po: Likewise.
3325 * po/de.po: Likewise.
3326 * po/el.po: Likewise.
3327 * po/eo.po: Likewise.
3328 * po/es.po: Likewise.
3329 * po/fi.po: Likewise.
3330 * po/fr.po: Likewise.
3331 * po/gl.po: Likewise.
3332 * po/hr.po: Likewise.
3333 * po/hu.po: Likewise.
3334 * po/ia.po: Likewise.
3335 * po/id.po: Likewise.
3336 * po/it.po: Likewise.
3337 * po/ja.po: Likewise.
3338 * po/ko.po: Likewise.
3339 * po/lt.po: Likewise.
3340 * po/nb.po: Likewise.
3341 * po/nl.po: Likewise.
3342 * po/pl.po: Likewise.
3343 * po/pt_BR.po: Likewise.
3344 * po/ru.po: Likewise.
3345 * po/rw.po: Likewise.
3346 * po/sk.po: Likewise.
3347 * po/sl.po: Likewise.
3348 * po/sv.po: Likewise.
3349 * po/tr.po: Likewise.
3350 * po/uk.po: Likewise.
3351 * po/vi.po: Likewise.
3352 * po/zh_CN.po: Likewise.
3353 * po/zh_TW.po: Likewise.
3355 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3358 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3359 of $f3 register on $y_is_neg path.
3361 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3364 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3365 sigaltstack.ss_flags.
3367 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3370 * manual/time.texi (strftime): Document "%Ey".
3371 * time/strftime_l.c (__strftime_internal): Set the default width
3372 padding with zero of "%Ey" to 2.
3375 * manual/time.texi (strftime): Document "%EC" and "%EY".
3376 * time/Makefile (tests): Add tst-strftime2.
3377 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3378 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3379 override padding for "%Ey".
3380 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3381 "%Ey" in the subformat as if decorated with that flag.
3382 * time/tst-strftime2.c: New file.
3384 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3386 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3390 * elf/Makefile (tests): Add tst-audit13.
3391 (modules-names): Add tst-audit13mod1.
3392 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3394 * elf/rtld.c (dl_main): Handle invalid audit module version.
3395 * elf/tst-audit13.c: New file.
3396 * elf/tst-audit13mod1.c: Likewise.
3398 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3400 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3401 returned by __hurd_at_flags.
3402 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3403 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3404 directly instead of __hurd_file_name_lookup.
3406 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3408 * scripts/build-many-glibcs.py (Context.checkout): Default
3409 binutils version to 2.32 branch.
3411 2019-01-21 Florian Weimer <fweimer@redhat.com>
3415 resolv: Reject trailing characters in host names
3416 * include/arpa/inet.h (__inet_aton_exact): Declare.
3417 (inet_aton): Remove hidden prototype. No longer used internally.
3418 * nscd/gai.c (__inet_aton): Do not define.
3419 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3420 * nss/digits_dots.c (__inet_aton): Likewise.
3421 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3422 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3423 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3424 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3425 (tst-resolv-trailing): Likewise.
3426 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3428 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3429 Make static. Add endp parameter.
3430 (__inet_aton_exact): New function.
3431 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3432 (__inet_addr): Call inet_aton_end.
3433 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3434 not just IPv6. Call __inet_aton_exact.
3435 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3436 (tests): Make const. Add additional test cases with trailing
3438 (do_test): Use array_length.
3439 * resolv/tst-inet_aton_exact.c: New file.
3440 * resolv/tst-resolv-trailing.c: Likewise.
3441 * resolv/tst-resolv-nondecimal.c: Likewise.
3442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3444 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3448 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3449 Clear the upper 32 bits of RSI register.
3450 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3451 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3452 and tst-size_t-wcsnlen.
3453 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3454 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3456 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3460 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3462 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3463 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3464 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3466 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3470 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3472 * sysdeps/x86_64/strcmp.S: Likewise.
3473 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3474 tst-size_t-strncmp and tst-size_t-wcsncmp.
3475 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3476 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3477 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3479 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3483 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3484 RDX_LP for length. Clear the upper 32 bits of RDX register.
3485 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3486 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3487 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3488 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3490 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3494 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3495 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3496 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3497 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3499 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3504 length. Clear the upper 32 bits of RDX register.
3505 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3506 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3508 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3510 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3512 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3514 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3518 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3519 length. Clear the upper 32 bits of RDX register.
3520 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3521 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3522 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3524 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3525 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3527 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3531 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3532 upper 32 bits of RDX register.
3533 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3534 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3536 * sysdeps/x86_64/x32/test-size_t.h: New file.
3537 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3538 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3540 2019-01-18 Florian Weimer <fweimer@redhat.com>
3543 resolv: Do not send queries for non-host-names in nss_dns.
3544 * resolv/nss_dns/dns-host.c (check_name): New function.
3545 (_nss_dns_gethostbyname2_r): Use it.
3546 (_nss_dns_gethostbyname_r): Likewise.
3547 (_nss_dns_gethostbyname4_r): Likewise.
3549 2019-01-21 Florian Weimer <fweimer@redhat.com>
3551 * resolv/inet_addr.c: Reformat to GNU style.
3552 (__inet_addr, __inet_aton): Update comment.
3554 2019-01-18 Florian Weimer <fweimer@redhat.com>
3556 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3557 ("malloc: Use current (C11-style) atomics for fastbin access").
3558 This commit introduces a substantial performance regression on
3560 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3561 (REMOVE_FB): Define.
3562 (_int_malloc): Use it and reindent.
3563 (_int_free): Use CAS loop with
3564 catomic_compare_and_exchange_val_rel.
3565 (malloc_consolidate): Use atomic_exchange_acq.
3568 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3570 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3572 (LDFLAGS-tst-minsigstksz-2): Likewise.
3573 (LDFLAGS-tst-minsigstksz-3): Likewise.
3574 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3575 (LDFLAGS-tst-minsigstksz-4): Likewise.
3577 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3579 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3582 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3584 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3586 2019-01-16 Zack Weinberg <zackw@panix.com>
3588 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3589 (xget_sigstack_location): New test support functions.
3590 * support/xsigstack.c: New file, implementing them.
3591 * support/tst-xsigstack.c: New test for them.
3592 * support/Makefile: Update.
3594 * signal/tst-minsigstksz-1.c
3595 * signal/tst-minsigstksz-2.c
3596 * signal/tst-minsigstksz-3.c
3597 * signal/tst-minsigstksz-3a.c
3598 * signal/tst-minsigstksz-4.c: New tests.
3599 * signal/Makefile: Run them.
3601 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3603 * po/libc.pot: Regenerate.
3605 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3607 * math/libm-test-fma.inc (fma_test_data): Set
3608 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3610 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3612 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3613 (do_test): Changed __vector __int128_t to __vector unsigned int.
3615 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3618 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3619 stpcpy-avx2 and stpncpy-avx2.
3620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3621 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3622 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3624 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3625 ifunc-strcpy.h}: rename header for a more generic name.
3626 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3627 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3628 AVX unaligned load is fast and vzeroupper is preferred.
3629 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3630 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3631 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3632 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3633 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3634 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3636 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3638 * argp/argp-help.c: Fix typo in comment.
3639 * misc/sys/cdefs.h: Likewise.
3640 * posix/regexec.c (sift_states_iter_mb): Likewise.
3641 * socket/sockatmark.c: Likewise.
3642 * socket/sys/socket.h: Likewise.
3643 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3644 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3645 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3647 * sysdeps/unix/sockatmark.c: Likewise.
3648 * time/strptime_l.c: Likewise.
3650 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3652 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3653 missing space after the cast of "_NL_CURRENT".
3655 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3657 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3658 ifdef to fix read of VSCR.
3659 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3660 tst-ucontext-ppc64-vscr.c to test list.
3661 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3663 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3665 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3668 2019-01-09 Jim Wilson <jimw@sifive.com>
3670 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3672 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3674 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3675 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3676 __memcpy_falkor for ares.
3677 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3679 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3682 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3685 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3686 4_FP_W_TYPEs are used for IEEE quad precision.
3687 * soft-fp/extendhftf2.c: Likewise.
3688 * soft-fp/extendsftf2.c: Likewise.
3689 * soft-fp/extendxftf2.c: Likewise.
3690 * soft-fp/trunctfdf2.c: Likewise.
3691 * soft-fp/trunctfhf2.c: Likewise.
3692 * soft-fp/trunctfsf2.c: Likewise.
3693 * soft-fp/trunctfxf2.c: Likewise.
3694 * sysdeps/alpha/ots_cvttx.c: Likewise.
3695 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3696 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3697 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3698 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3699 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3700 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3701 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3702 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3703 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3704 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3705 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3706 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3707 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3708 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3709 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3710 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3711 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3713 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3716 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3717 code with -fmath-errno.
3718 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3719 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3720 * string/test-strerror-errno.c: New file.
3722 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3725 * localedata/locales/en_US (date_fmt): Add, set to
3726 "%a %d %b %Y %r %Z".
3728 2019-01-07 Florian Weimer <fweimer@redhat.com>
3731 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3732 instead of @var{errno}.
3733 (Parsing of Integers): Likewise.
3734 (Parsing of Floats): Likewise.
3735 * manual/filesys.texi (Working with Directory Trees): Likewise.
3736 (Temporary Files): Likewise.
3737 * manual/job.texi (Terminal Access Functions): Likewise.
3738 * manual/llio.texi (Synchronizing I/O): Likewise.
3739 * manual/math.texi (SVID Random): Likewise.
3740 * manual/message.texi (The catgets Functions): Likewise.
3741 (Translation with gettext): Likewise.
3742 (Locating gettext catalog): Likewise.
3743 (Charset conversion in gettext): Likewise.
3744 * manual/nss.texi (NSS Module Function Internals): Likewise.
3745 * manual/search.texi (Hash Search Function): Likewise.
3746 * manual/setjmp.texi (System V contexts): Likewise.
3747 * manual/time.texi (Sleeping): Likewise.
3748 * manual/users.texi (Lookup User): Likewise.
3749 (Lookup Group): Likewise.
3751 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3753 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3756 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3759 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3760 __builtin_unreachable for default case in switch.
3761 (__ieee754_yn): Likewise.
3762 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3763 (__ieee754_ynl): Likewise.
3764 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3765 (__ieee754_ynl): Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3767 (__ieee754_ynl): Likewise.
3769 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3771 * manual/maint.texi: Use @{ and @}.
3773 2019-01-04 Florian Weimer <fweimer@redhat.com>
3775 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3777 (do_in_chroot_1): Call it.
3779 Improve error reporting in case it is not possible to create a
3780 collision for the PTY name required by the test.
3782 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3784 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3785 lll_wait_tid with timeout.
3786 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3787 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3788 futex_reltimed_wait_cancelable for cancelabla mode.
3789 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3790 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3792 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3793 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3794 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3795 SYSCALL_CANCEL_NCS): New macro.
3796 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3797 (lll_timedwait_tid): Remove macro.
3798 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3800 (lll_timedwait_tid): Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3803 (lll_timedwait_tid): Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3806 (lll_timedwait_tid): Likewise.
3807 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3808 Use INTERNAL_SYSCALL_CANCEL.
3809 * sysdeps/unix/sysv/linux/futex-internal.h
3810 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3811 instead of __pthread_{enable,disable}_asynccancel.
3812 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3813 (lll_futex_wait_cancel): New macro.
3815 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3816 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3818 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3819 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3821 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3822 in backtrace analysis.
3823 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3825 (tf_send): Likewise.
3827 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3828 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3829 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3830 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3831 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3832 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3833 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3834 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3835 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3836 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3837 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3838 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3840 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3841 tst-cancel-wrappers.sh.
3842 (generated): Remove tst-cancel-wrappers.out.
3843 (tst-cancel-wrappers.out): Remove rule.
3844 * nptl/tst-cancel-wrappers.sh: Remove file.
3846 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3848 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3849 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3852 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3855 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3856 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3857 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3858 close-on-exec reset for adddup2 file action.
3859 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3861 2019-01-03 Zack Weinberg <zackw@panix.com>
3863 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3864 parameter. Only use deprecated scanf when __USE_GNU is defined
3865 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3866 than 201103L, whichever is relevant for the language being compiled.
3868 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3869 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3870 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3871 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3872 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3876 * libio/iovswscanf.c
3881 * stdio-common/fscanf.c
3882 * stdio-common/scanf.c
3883 * stdio-common/vfscanf.c
3884 * stdio-common/vfwscanf.c
3885 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3886 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3887 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3888 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3889 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3890 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3891 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3892 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3893 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3894 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3895 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3896 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3897 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3898 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3899 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3901 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3902 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3903 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3905 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3906 with a preprocessor macro.
3908 * stdio-common/bug21.c, stdio-common/scanf14.c:
3909 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3910 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3911 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3912 to xscanf, xfscanf, xsscanf.
3914 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3915 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3916 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3917 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3919 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3920 override feature selection macros or provide definitions of u_char etc.
3921 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3922 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3923 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3926 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3929 bits/termios-misc.h.
3930 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3931 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3932 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3933 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3934 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3935 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3937 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3938 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3939 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3940 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3941 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3942 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3944 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3945 (sysdep_headers): Add termios-misc.h.
3947 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3948 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3949 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3953 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3954 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3955 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3956 TCSAFLUSH): Move to termios-tcflow.h.
3957 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3958 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3960 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3964 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3965 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3966 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3968 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3969 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3970 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3971 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3973 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3974 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3975 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3976 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3980 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3981 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3982 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3983 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3984 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3986 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3987 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3988 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3989 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3994 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3995 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3997 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3998 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3999 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4000 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4001 __MAX_BAUD): Move to termios-baud.h.
4002 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4003 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4004 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4008 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4010 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4011 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4013 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4014 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4015 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4017 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4018 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4020 [USE_MISC] (XTABS): Likewise.
4021 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4022 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4023 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4024 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4026 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4028 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4029 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4030 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4031 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4032 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4033 IUTF8): Move to termios-c_iflag.h.
4034 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4035 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4036 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4039 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4041 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4042 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4043 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4044 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4045 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4046 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4047 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4048 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4049 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4050 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4051 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4052 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4054 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4055 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4056 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4057 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4060 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4062 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4064 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4068 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4070 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4071 _HAVE_C_OSPEED): Define.
4072 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4073 _HAVE_C_OSPEED): Likewise.
4074 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4075 _HAVE_C_OSPEED): Likewise.
4076 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4077 (cfsetospeed): Check for define value instead of existence.
4078 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4079 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4080 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4081 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4082 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4085 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4087 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4088 (TIOCSER_TEMT): Likewise.
4089 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4090 (TEOCSER_TEMT): Likewise.
4092 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4095 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4097 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4099 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4101 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4103 * sysdeps/htl/pt-barrierattr-setpshared.c
4104 (pthread_barrierattr_setpshared): Add stub warning.
4105 * sysdeps/htl/pt-condattr-setpshared.c
4106 (pthread_condattr_setpshared): Likewise.
4107 * sysdeps/htl/pt-mutexattr-setpshared.c
4108 (pthread_mutexattr_setpshared): Likewise.
4109 * sysdeps/htl/pt-rwlockattr-setpshared.c
4110 (pthread_rwlockattr_setpshared): Likewise.
4111 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4112 (pthread_mutexattr_setpshared): Likewise.
4114 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4116 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4117 constants to match with Linux 4.20.
4119 * sysdeps/mips/mips32/libm-test-ulps: Update.
4120 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4122 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4125 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4126 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4127 than __typeof (...) for the a_ptr variable.
4129 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4131 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4132 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4133 * libio/Makefile (tests): Add tst-sprintf-ub and
4135 (CFLAGS-tst-sprintf-ub.c): New variable.
4136 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4137 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4138 destination buffer and check for overflows in fortified mode.
4139 * libio/libioP.h (PRINTF_CHK): New macro.
4140 * libio/tst-sprintf-chk-ub.c: New file.
4141 * libio/tst-sprintf-ub.c: Likewise.
4143 2019-01-02 Florian Weimer <fweimer@redhat.com>
4146 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4149 2019-01-02 Florian Weimer <fweimer@redhat.com>
4151 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4153 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4155 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4158 * sysdeps/unix/sysv/linux/netpacket/packet.h
4159 (PACKET_IGNORE_OUTGOING): New macro.
4161 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4164 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4166 (riscv_flush_icache): New syscall.
4168 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4169 trailing whitespace removed.
4170 * scripts/config.guess: Update to version 2019-01-01.
4171 * scripts/config.sub: Update to version 2019-01-01.
4172 * scripts/move-if-change: Update from gnulib.
4174 * NEWS: Update copyright dates.
4175 * catgets/gencat.c (print_version): Likewise.
4176 * csu/version.c (banner): Likewise.
4177 * debug/catchsegv.sh: Likewise.
4178 * debug/pcprofiledump.c (print_version): Likewise.
4179 * debug/xtrace.sh (do_version): Likewise.
4180 * elf/ldconfig.c (print_version): Likewise.
4181 * elf/ldd.bash.in: Likewise.
4182 * elf/pldd.c (print_version): Likewise.
4183 * elf/sotruss.sh: Likewise.
4184 * elf/sprof.c (print_version): Likewise.
4185 * iconv/iconv_prog.c (print_version): Likewise.
4186 * iconv/iconvconfig.c (print_version): Likewise.
4187 * locale/programs/locale.c (print_version): Likewise.
4188 * locale/programs/localedef.c (print_version): Likewise.
4189 * login/programs/pt_chown.c (print_version): Likewise.
4190 * malloc/memusage.sh (do_version): Likewise.
4191 * malloc/memusagestat.c (print_version): Likewise.
4192 * malloc/mtrace.pl: Likewise.
4193 * manual/libc.texinfo: Likewise.
4194 * nptl/version.c (banner): Likewise.
4195 * nscd/nscd.c (print_version): Likewise.
4196 * nss/getent.c (print_version): Likewise.
4197 * nss/makedb.c (print_version): Likewise.
4198 * posix/getconf.c (main): Likewise.
4199 * scripts/test-installation.pl: Likewise.
4200 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4202 * All files with FSF copyright notices: Update copyright dates
4203 using scripts/update-copyrights.
4204 * locale/programs/charmap-kw.h: Regenerated.
4205 * locale/programs/locfile-kw.h: Likewise.
4207 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4209 * timezone/zdump.c: Update from tzcode 2018i.
4210 * timezone/zic.c: Likewise.
4212 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4214 regex: improve Gnulib port to AIX
4215 From the glibc point of view, this removes duplicate macro
4216 definitions and is obviously safe.
4217 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4218 * posix/regex_internal.h:
4219 (__attribute__, __attribute_warn_unused_result__):
4220 Remove; already defined elsewhere.
4222 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4225 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4226 copying operation. (ncopies had the wrong type, resulting in an
4227 integer wraparound and too few elements being copied.)
4229 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4232 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4233 <asm/syscalls.h> exists with __has_include__ before including it.
4235 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4237 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4240 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4242 * hurd/lookup-retry: Include <unistd.h>.
4243 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4244 Release it on return. Handle "pid" magical lookup retry.
4246 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4249 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4250 (t_fmt_ampm): Likewise.
4251 * localedata/locales/aa_ER (t_fmt): Likewise.
4252 (t_fmt_ampm): Likewise.
4253 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4254 (t_fmt_ampm): Likewise.
4255 * localedata/locales/aa_ET (t_fmt): Likewise.
4256 (t_fmt_ampm): Likewise.
4257 * localedata/locales/am_ET (t_fmt): Likewise.
4258 (t_fmt_ampm): Likewise.
4259 * localedata/locales/byn_ER (t_fmt): Likewise.
4260 (t_fmt_ampm): Likewise.
4261 * localedata/locales/om_ET (t_fmt): Likewise.
4262 (t_fmt_ampm): Likewise.
4263 * localedata/locales/sid_ET (t_fmt): Likewise.
4264 (t_fmt_ampm): Likewise.
4265 * localedata/locales/so_DJ (t_fmt): Likewise.
4266 (t_fmt_ampm): Likewise.
4267 * localedata/locales/so_ET (t_fmt): Likewise.
4268 (t_fmt_ampm): Likewise.
4269 * localedata/locales/so_SO (t_fmt): Likewise.
4270 (t_fmt_ampm): Likewise.
4271 * localedata/locales/ti_ER (t_fmt): Likewise.
4272 (t_fmt_ampm): Likewise.
4273 * localedata/locales/ti_ET (t_fmt): Likewise.
4274 (t_fmt_ampm): Likewise.
4275 * localedata/locales/tig_ER (t_fmt): Likewise.
4276 (t_fmt_ampm): Likewise.
4277 * localedata/locales/wal_ET (t_fmt): Likewise.
4278 (t_fmt_ampm): Likewise.
4280 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4281 * localedata/locales/ar_IN (t_fmt): Likewise.
4282 * localedata/locales/bhb_IN (t_fmt): Likewise.
4283 * localedata/locales/bho_IN (t_fmt): Likewise.
4284 * localedata/locales/bi_VU (t_fmt): Likewise.
4285 * localedata/locales/bn_BD (t_fmt): Likewise.
4286 * localedata/locales/bn_IN (t_fmt): Likewise.
4287 * localedata/locales/brx_IN (t_fmt): Likewise.
4288 * localedata/locales/doi_IN (t_fmt): Likewise.
4289 * localedata/locales/en_HK (t_fmt): Likewise.
4290 (t_fmt_ampm): Likewise.
4291 * localedata/locales/en_IN (t_fmt): Likewise.
4292 * localedata/locales/en_PH (t_fmt): Likewise.
4293 * localedata/locales/gu_IN (t_fmt): Likewise.
4294 * localedata/locales/hi_IN (t_fmt): Likewise.
4295 * localedata/locales/hif_FJ (t_fmt): Likewise.
4296 * localedata/locales/hne_IN (t_fmt): Likewise.
4297 * localedata/locales/kn_IN (t_fmt): Likewise.
4298 * localedata/locales/kok_IN (t_fmt): Likewise.
4299 * localedata/locales/ks_IN (t_fmt): Likewise.
4300 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4301 * localedata/locales/mag_IN (t_fmt): Likewise.
4302 * localedata/locales/mai_IN (t_fmt): Likewise.
4303 * localedata/locales/mjw_IN (t_fmt): Likewise.
4304 * localedata/locales/ml_IN (t_fmt): Likewise.
4305 * localedata/locales/mni_IN (t_fmt): Likewise.
4306 * localedata/locales/mr_IN (t_fmt): Likewise.
4307 * localedata/locales/ms_MY (t_fmt): Likewise.
4308 * localedata/locales/pa_IN (t_fmt): Likewise.
4309 * localedata/locales/raj_IN (t_fmt): Likewise.
4310 * localedata/locales/sa_IN (t_fmt): Likewise.
4311 * localedata/locales/sat_IN (t_fmt): Likewise.
4312 * localedata/locales/sd_IN (t_fmt): Likewise.
4313 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4314 * localedata/locales/tcy_IN (t_fmt): Likewise.
4315 * localedata/locales/the_NP (t_fmt): Likewise.
4316 * localedata/locales/to_TO (t_fmt): Likewise.
4317 * localedata/locales/ur_IN (t_fmt): Likewise.
4319 * localedata/locales/hif_FJ (d_t_fmt): Set to
4320 "%A %d %b %Y %I:%M:%S %p".
4321 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4323 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4324 * localedata/locales/ar_BH (t_fmt): Likewise.
4325 * localedata/locales/ar_DZ (t_fmt): Likewise.
4326 * localedata/locales/ar_EG (t_fmt): Likewise.
4327 * localedata/locales/ar_IQ (t_fmt): Likewise.
4328 * localedata/locales/ar_JO (t_fmt): Likewise.
4329 * localedata/locales/ar_KW (t_fmt): Likewise.
4330 * localedata/locales/ar_LB (t_fmt): Likewise.
4331 * localedata/locales/ar_LY (t_fmt): Likewise.
4332 * localedata/locales/ar_OM (t_fmt): Likewise.
4333 * localedata/locales/ar_QA (t_fmt): Likewise.
4334 * localedata/locales/ar_SD (t_fmt): Likewise.
4335 * localedata/locales/ar_SS (t_fmt): Likewise.
4336 * localedata/locales/ar_SY (t_fmt): Likewise.
4337 * localedata/locales/ar_TN (t_fmt): Likewise.
4338 * localedata/locales/ar_YE (t_fmt): Likewise.
4340 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4341 (t_fmt_ampm): Likewise.
4342 * localedata/locales/gez_ET (t_fmt): Likewise.
4343 (t_fmt_ampm): Likewise.
4345 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4346 (t_fmt_ampm): Likewise.
4347 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4349 * localedata/locales/zh_HK (t_fmt):
4350 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4352 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4353 because this locale does not use the 12-hour clock.
4354 (t_fmt): Set to "%Z %H:%M:%S".
4355 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4357 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4358 because this locale does not use the 12-hour clock.
4359 (t_fmt): Set to "%H:%M:%S %Z".
4360 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4362 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4363 because this locale does not use the 12-hour clock.
4364 (t_fmt): Set to "%T".
4365 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4366 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4368 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4369 because this locale does not use the 12-hour clock.
4370 (t_fmt): Set to "%H:%M:%S %Z".
4371 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4373 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4374 because this locale does not use the 12-hour clock.
4375 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4376 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4378 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4382 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4383 (t_fmt_ampm): Likewise.
4384 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4385 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4386 (d_fmt): Set to "%-d.%-m.%y".
4388 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4390 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4391 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4392 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4394 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4395 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4396 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4398 * support/blob_repeat.c (check_mul_overflow_size_t,
4399 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4401 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4403 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4405 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4407 regex: simplify Gnulib port
4408 This simplifies the code, by removing stuff intended for porting
4409 to Gnulib but no longer needed there.
4410 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4411 uses of libc_hidden_def, weak_alias.
4412 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4413 _Restrict_ except for public-facing headers.
4414 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4415 Remove; already defined elsewhere.
4416 * posix/regex.c, posix/regex_internal.h:
4417 Use __GNUC_PREREQ instead of rolling our own.
4418 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4420 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4422 * benchtests/bench-strlen.c (generic_strlen): New function.
4423 (memchr_strlen): New function.
4425 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4427 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4428 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4429 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4431 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4433 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4435 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4437 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4438 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4439 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4440 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4441 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4442 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4443 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4445 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4448 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4449 PLT reference in libc.so.
4450 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4451 _Q_lltoq and _Q_qtod PLT references in libc.so.
4453 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4455 * benchtests/bench-memchr.c: Cleanup defines.
4456 * benchtests/bench-memcmp.c: Likewise.
4457 * benchtests/bench-memset.c: Likewise.
4458 * benchtests/bench-memset-large.c: Likewise.
4459 * benchtests/bench-memset-walk.c: Likewise.
4460 * benchtests/bench-stpcpy.c: Likewise.
4461 * benchtests/bench-stpncpy.c: Likewise.
4462 * benchtests/bench-strcat.c: Likewise.
4463 * benchtests/bench-strchr.c: Likewise.
4464 * benchtests/bench-strcmp.c: Likewise.
4465 * benchtests/bench-strcpy.c: Likewise.
4466 * benchtests/bench-strcspn.c: Likewise.
4467 * benchtests/bench-string.h: Likewise.
4468 * benchtests/bench-strlen.c: Likewise.
4469 * benchtests/bench-strncat.c: Likewise.
4470 * benchtests/bench-strncmp.c: Likewise.
4471 * benchtests/bench-strncpy.c: Likewise.
4472 * benchtests/bench-strnlen.c: Likewise.
4473 * benchtests/bench-strpbrk.c: Likewise.
4474 * benchtests/bench-strrchr.c: Likewise.
4475 * benchtests/bench-strspn.c: Likewise.
4477 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4479 * stdlib/longlong.h: Update from GCC.
4482 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4483 * configure: Regenerated.
4484 * manual/install.texi (Tools for Compilation): Update minimum GCC
4486 * INSTALL: Regenerated.
4488 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4490 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4492 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4494 * malloc/malloc.c (mremap_chunk): Additional checks.
4496 2018-12-21 Mao Han <han_mao@c-sky.com>
4498 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4499 * scripts/build-many-glibcs.py: Add C-SKY targets.
4500 * sysdeps/csky/Implies: New file.
4501 * sysdeps/csky/Makefile: Likewise.
4502 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4503 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4504 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4505 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4506 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4507 * sysdeps/csky/abiv2/memmove.S: Likewise.
4508 * sysdeps/csky/abiv2/memset.S: Likewise.
4509 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4510 * sysdeps/csky/abiv2/start.S: Likewise.
4511 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4512 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4513 * sysdeps/csky/abiv2/strlen.S: Likewise.
4514 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4515 * sysdeps/csky/abort-instr.h: Likewise.
4516 * sysdeps/csky/atomic-machine.h: Likewise.
4517 * sysdeps/csky/bits/endian.h: Likewise.
4518 * sysdeps/csky/bits/fenv.h: Likewise.
4519 * sysdeps/csky/bits/link.h: Likewise.
4520 * sysdeps/csky/bits/setjmp.h: Likewise.
4521 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4522 * sysdeps/csky/bsd-setjmp.S: Likewise.
4523 * sysdeps/csky/configure: Likewise.
4524 * sysdeps/csky/configure.ac: Likewise.
4525 * sysdeps/csky/dl-machine.h: Likewise.
4526 * sysdeps/csky/dl-procinfo.c: Likewise.
4527 * sysdeps/csky/dl-procinfo.h: Likewise.
4528 * sysdeps/csky/dl-sysdep.h: Likewise.
4529 * sysdeps/csky/dl-tls.h: Likewise.
4530 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4531 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4532 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4533 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4534 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4535 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4536 * sysdeps/csky/fpu/fegetround.c: Likewise.
4537 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4538 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4539 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4540 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4541 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4542 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4543 * sysdeps/csky/fpu/fesetround.c: Likewise.
4544 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4545 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4546 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4547 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4548 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4549 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4550 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4551 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4552 * sysdeps/csky/fpu_control.h: Likewise.
4553 * sysdeps/csky/gccframe.h: Likewise.
4554 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4555 * sysdeps/csky/ldsodefs.h: Likewise.
4556 * sysdeps/csky/libc-tls.c: Likewise.
4557 * sysdeps/csky/linkmap.h: Likewise.
4558 * sysdeps/csky/machine-gmon.h: Likewise.
4559 * sysdeps/csky/memusage.h: Likewise.
4560 * sysdeps/csky/nofpu/Implies: Likewise.
4561 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4562 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4563 * sysdeps/csky/nptl/Makefile: Likewise.
4564 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4565 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4566 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4567 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4568 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4569 * sysdeps/csky/nptl/tls.h: Likewise.
4570 * sysdeps/csky/preconfigure: Likewise.
4571 * sysdeps/csky/sfp-machine.h: Likewise.
4572 * sysdeps/csky/sotruss-lib.c: Likewise.
4573 * sysdeps/csky/stackinfo.h: Likewise.
4574 * sysdeps/csky/sysdep.h: Likewise.
4575 * sysdeps/csky/tininess.h: Likewise.
4576 * sysdeps/csky/tst-audit.h: Likewise.
4577 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4578 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4579 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4580 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4581 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4582 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4583 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4584 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4585 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4586 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4587 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4588 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4589 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4590 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4591 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4592 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4593 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4594 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4595 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4596 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4597 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4598 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4599 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4600 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4601 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4602 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4603 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4604 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4605 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4606 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4607 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4608 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4609 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4610 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4611 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4612 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4613 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4614 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4615 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4616 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4617 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4618 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4619 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4620 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4622 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4624 * include/time.h (__difftime64): Add.
4625 * time/difftime.c (subtract): convert to 64-bit time.
4626 * time/difftime.c (__difftime64): Add.
4627 * time/difftime.c (__difftime): Wrap around __difftime64.
4629 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4631 * manual/examples/add.c: Remove redundant "if not".
4632 * manual/examples/argp-ex1.c: Likewise.
4633 * manual/examples/argp-ex2.c: Likewise.
4634 * manual/examples/argp-ex3.c: Likewise.
4635 * manual/examples/argp-ex4.c: Likewise.
4636 * manual/examples/atexit.c: Likewise.
4637 * manual/examples/db.c: Likewise.
4638 * manual/examples/dir.c: Likewise.
4639 * manual/examples/dir2.c: Likewise.
4640 * manual/examples/execinfo.c: Likewise.
4641 * manual/examples/filecli.c: Likewise.
4642 * manual/examples/filesrv.c: Likewise.
4643 * manual/examples/fmtmsgexpl.c: Likewise.
4644 * manual/examples/genpass.c: Likewise.
4645 * manual/examples/inetcli.c: Likewise.
4646 * manual/examples/inetsrv.c: Likewise.
4647 * manual/examples/isockad.c: Likewise.
4648 * manual/examples/longopt.c: Likewise.
4649 * manual/examples/memopen.c: Likewise.
4650 * manual/examples/memstrm.c: Likewise.
4651 * manual/examples/mkdirent.c: Likewise.
4652 * manual/examples/mkfsock.c: Likewise.
4653 * manual/examples/mkisock.c: Likewise.
4654 * manual/examples/mygetpass.c: Likewise.
4655 * manual/examples/pipe.c: Likewise.
4656 * manual/examples/popen.c: Likewise.
4657 * manual/examples/rprintf.c: Likewise.
4658 * manual/examples/search.c: Likewise.
4659 * manual/examples/select.c: Likewise.
4660 * manual/examples/setjmp.c: Likewise.
4661 * manual/examples/sigh1.c: Likewise.
4662 * manual/examples/sigusr.c: Likewise.
4663 * manual/examples/stpcpy.c: Likewise.
4664 * manual/examples/strdupa.c: Likewise.
4665 * manual/examples/strftim.c: Likewise.
4666 * manual/examples/subopt.c: Likewise.
4667 * manual/examples/swapcontext.c: Likewise.
4668 * manual/examples/termios.c: Likewise.
4669 * manual/examples/testopt.c: Likewise.
4670 * manual/examples/testpass.c: Likewise.
4671 * manual/examples/timeval_subtract.c: Likewise.
4673 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4675 * sysdeps/x86/fpu/math_private.h: New file.
4676 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4678 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4683 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4685 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4686 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4687 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4688 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4690 (_dl_show_auxv): Give a special treatment to
4691 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4692 and AT_L3_CACHEGEOMETRY.
4693 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4694 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4695 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4696 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4698 2018-12-19 Andreas Schwab <schwab@suse.de>
4700 * nscd/connections.c (check_use): Don't abort on invalid len.
4702 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4704 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4705 values in the 64bit value cases.
4707 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4713 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4719 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4722 (__gmtime64_r): Add.
4724 (__gmtime64_r): Add.
4725 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4731 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4734 (__localtime64_r): Add.
4736 (__localtime64_r): Add.
4737 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4739 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4741 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4742 kernel_sigction definition.
4744 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4746 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4748 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4749 __syscall_rt_sigaction.
4750 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4751 (kernel_sigaction): Use Linux generic defintion.
4753 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4754 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4755 (__syscall_rt_sigaction): Remove implementation.
4756 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4758 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4759 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4760 INTERNAL_SYSCALL): Remove definitions.
4761 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4762 action and signal set size.
4763 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4764 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4766 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4767 James Clarke <jrtc27@jrtc27.com>
4770 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4771 Define if SA_RESTORER is defined.
4772 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4773 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4775 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4776 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4778 (HAS_SA_RESTORER): Define.
4779 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4780 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4781 (HAS_SA_RESTORER): Define.
4782 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4783 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4784 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4785 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4786 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4788 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4790 * sysdeps/unix/sysv/linux/kernel-features.h
4791 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4792 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4793 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4794 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4795 (__ASSUME_ST_INO_64_BIT): Likewise.
4796 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4797 <kernel-features.h>.
4798 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4799 Remove conditional code.
4800 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4801 <kernel-features.h>.
4802 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4803 Remove conditional code.
4804 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4805 <kernel-features.h>.
4806 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4807 Remove conditional code.
4808 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4809 <kernel-features.h>.
4810 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4811 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4813 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4815 * sysdeps/s390/multiarch/ifunc-resolve.h
4816 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4817 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4818 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4819 Delete macro definition.
4820 (s390_libc_ifunc_init): Rename to
4821 s390_libc_ifunc_expr_stfle_init.
4822 * sysdeps/s390/bzero: Use
4823 s390_libc_ifunc_expr_stfle_init instead of
4824 s390_libc_ifunc_init.
4825 * sysdeps/s390/memcmp.c: Likewise.
4826 * sysdeps/s390/memcpy.c: Likewise.
4827 * sysdeps/s390/mempcpy.c: Likewise.
4828 * sysdeps/s390/memset.c: Likewise.
4830 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4832 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4833 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4837 * sysdeps/s390/multiarch/Makefile
4838 (sysdep_routines): Remove wmemcmp variants.
4839 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4840 * sysdeps/s390/multiarch/ifunc-impl-list.c
4841 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4842 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4843 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4844 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4845 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4846 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4847 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4848 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4852 * sysdeps/s390/multiarch/Makefile
4853 (sysdep_routines): Remove wmemset variants.
4854 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4855 * sysdeps/s390/multiarch/ifunc-impl-list.c
4856 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4857 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4858 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4859 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4860 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4861 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4862 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4863 * sysdeps/s390/ifunc-wmemset.h: New file.
4865 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4867 * sysdeps/s390/multiarch/Makefile
4868 (sysdep_routines): Remove wmemchr variants.
4869 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4870 * sysdeps/s390/multiarch/ifunc-impl-list.c
4871 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4872 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4873 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4874 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4875 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4876 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4877 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4878 * sysdeps/s390/ifunc-wmemchr.h: New file.
4880 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4882 * sysdeps/s390/multiarch/Makefile
4883 (sysdep_routines): Remove wcscspn variants.
4884 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4885 * sysdeps/s390/multiarch/ifunc-impl-list.c
4886 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4887 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4888 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4889 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4890 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4891 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4892 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4893 * sysdeps/s390/ifunc-wcscspn.h: New file.
4895 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4897 * sysdeps/s390/multiarch/Makefile
4898 (sysdep_routines): Remove wcspbrk variants.
4899 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4900 * sysdeps/s390/multiarch/ifunc-impl-list.c
4901 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4902 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4903 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4904 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4905 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4906 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4907 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4908 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4910 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4912 * sysdeps/s390/multiarch/Makefile
4913 (sysdep_routines): Remove wcsspn variants.
4914 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4915 * sysdeps/s390/multiarch/ifunc-impl-list.c
4916 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4917 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4918 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4919 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4920 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4921 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4922 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4923 * sysdeps/s390/ifunc-wcsspn.h: New file.
4925 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4927 * sysdeps/s390/multiarch/Makefile
4928 (sysdep_routines): Remove wcsrchr variants.
4929 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4930 * sysdeps/s390/multiarch/ifunc-impl-list.c
4931 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4932 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4933 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4934 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4935 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4936 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4937 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4938 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4940 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4942 * sysdeps/s390/multiarch/Makefile
4943 (sysdep_routines): Remove wcschrnul variants.
4944 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4945 * sysdeps/s390/multiarch/ifunc-impl-list.c
4946 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4947 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4948 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4949 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4950 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4951 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4952 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4953 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4955 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4957 * sysdeps/s390/multiarch/Makefile
4958 (sysdep_routines): Remove wcschr variants.
4959 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4960 * sysdeps/s390/multiarch/ifunc-impl-list.c
4961 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4962 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4963 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4964 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4965 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4966 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4967 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4968 * sysdeps/s390/ifunc-wcschr.h: New file.
4970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4972 * sysdeps/s390/multiarch/Makefile
4973 (sysdep_routines): Remove wcsncmp variants.
4974 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4975 * sysdeps/s390/multiarch/ifunc-impl-list.c
4976 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4977 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4978 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4979 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4980 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4981 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4982 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4983 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4985 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4987 * sysdeps/s390/multiarch/Makefile
4988 (sysdep_routines): Remove wcscmp variants.
4989 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4990 * sysdeps/s390/multiarch/ifunc-impl-list.c
4991 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4992 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4993 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4994 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4995 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4996 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4997 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4998 * sysdeps/s390/ifunc-wcscmp.h: New file.
5000 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5002 * sysdeps/s390/multiarch/Makefile
5003 (sysdep_routines): Remove wcsncat variants.
5004 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5005 * sysdeps/s390/multiarch/ifunc-impl-list.c
5006 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5007 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5008 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5009 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5010 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5011 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5012 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5013 * sysdeps/s390/ifunc-wcsncat.h: New file.
5015 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5017 * sysdeps/s390/multiarch/Makefile
5018 (sysdep_routines): Remove wcscat variants.
5019 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5020 * sysdeps/s390/multiarch/ifunc-impl-list.c
5021 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5022 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5023 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5024 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5025 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5026 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5027 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5028 * sysdeps/s390/ifunc-wcscat.h: New file.
5030 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5032 * sysdeps/s390/multiarch/Makefile
5033 (sysdep_routines): Remove wcpncpy variants.
5034 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5035 * sysdeps/s390/multiarch/ifunc-impl-list.c
5036 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5037 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5038 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5039 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5040 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5041 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5042 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5043 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5047 * sysdeps/s390/multiarch/Makefile
5048 (sysdep_routines): Remove wcsncpy variants.
5049 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5050 * sysdeps/s390/multiarch/ifunc-impl-list.c
5051 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5052 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5053 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5054 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5055 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5056 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5057 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5058 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5060 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5062 * sysdeps/s390/multiarch/Makefile
5063 (sysdep_routines): Remove wcpcpy variants.
5064 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5065 * sysdeps/s390/multiarch/ifunc-impl-list.c
5066 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5067 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5068 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5069 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5070 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5071 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5072 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5073 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5075 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5077 * sysdeps/s390/multiarch/Makefile
5078 (sysdep_routines): Remove wcscpy variants.
5079 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5080 * sysdeps/s390/multiarch/ifunc-impl-list.c
5081 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5082 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5083 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5084 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5085 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5086 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5087 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5088 * sysdeps/s390/ifunc-wcscpy.h: New file.
5090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5092 * sysdeps/s390/multiarch/Makefile
5093 (sysdep_routines): Remove wcsnlen variants.
5094 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5095 * sysdeps/s390/multiarch/ifunc-impl-list.c
5096 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5097 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5098 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5099 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5100 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5101 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5102 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5103 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5105 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5107 * sysdeps/s390/multiarch/Makefile
5108 (sysdep_routines): Remove wcslen variants.
5109 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5110 * sysdeps/s390/multiarch/ifunc-impl-list.c
5111 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5112 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5113 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5114 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5115 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5116 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5117 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5118 * sysdeps/s390/ifunc-wcslen.h: New file.
5120 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5122 * sysdeps/s390/multiarch/Makefile
5123 (sysdep_routines): Remove memrchr variants.
5124 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5125 * sysdeps/s390/multiarch/ifunc-impl-list.c
5126 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5127 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5128 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5129 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5130 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5131 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5132 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5133 * sysdeps/s390/ifunc-memrchr.h: New file.
5135 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5137 * sysdeps/s390/multiarch/Makefile
5138 (sysdep_routines): Remove memccpy variants.
5139 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5140 * sysdeps/s390/multiarch/ifunc-impl-list.c
5141 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5142 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5143 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5144 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5145 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5146 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5147 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5148 * sysdeps/s390/ifunc-memccpy.h: New file.
5150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5152 * sysdeps/s390/multiarch/Makefile
5153 (sysdep_routines): Remove rawmemchr variants.
5154 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5155 * sysdeps/s390/multiarch/ifunc-impl-list.c
5156 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5157 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5158 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5159 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5160 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5161 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5162 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5163 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5167 * sysdeps/s390/multiarch/Makefile
5168 (sysdep_routines): Remove memchr variants.
5169 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5170 * sysdeps/s390/multiarch/ifunc-impl-list.c
5171 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5172 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5173 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5174 * sysdeps/s390/multiarch/memchr.c: Move to ...
5175 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5176 * sysdeps/s390/ifunc-memchr.h: New file.
5177 * sysdeps/s390/s390-64/memchr.S: Move to ...
5178 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5179 for 31/64bit and ifunc handling.
5180 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5181 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5182 * sysdeps/s390/s390-32/memchr.S: Likewise.
5184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5186 * sysdeps/s390/multiarch/Makefile
5187 (sysdep_routines): Remove strcspn variants.
5188 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5189 * sysdeps/s390/multiarch/ifunc-impl-list.c
5190 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5191 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5192 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5193 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5194 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5195 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5196 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5197 * sysdeps/s390/ifunc-strcspn.h: New file.
5199 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5201 * sysdeps/s390/multiarch/Makefile
5202 (sysdep_routines): Remove strpbrk variants.
5203 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5204 * sysdeps/s390/multiarch/ifunc-impl-list.c
5205 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5206 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5207 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5208 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5209 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5210 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5211 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5212 * sysdeps/s390/ifunc-strpbrk.h: New file.
5214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5216 * sysdeps/s390/multiarch/Makefile
5217 (sysdep_routines): Remove strspn variants.
5218 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5219 * sysdeps/s390/multiarch/ifunc-impl-list.c
5220 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5221 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5222 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5223 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5224 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5225 * sysdeps/s390/multiarch/strspn.c: Move to ...
5226 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5227 * sysdeps/s390/ifunc-strspn.h: New file.
5229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5231 * sysdeps/s390/multiarch/Makefile
5232 (sysdep_routines): Remove strrchr variants.
5233 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5234 * sysdeps/s390/multiarch/ifunc-impl-list.c
5235 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5236 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5237 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5238 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5239 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5240 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5241 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5242 * sysdeps/s390/ifunc-strrchr.h: New file.
5244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5246 * sysdeps/s390/multiarch/Makefile
5247 (sysdep_routines): Remove strchrnul variants.
5248 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5249 * sysdeps/s390/multiarch/ifunc-impl-list.c
5250 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5251 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5252 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5253 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5254 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5255 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5256 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5257 * sysdeps/s390/ifunc-strchrnul.h: New file.
5259 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5261 * sysdeps/s390/multiarch/Makefile
5262 (sysdep_routines): Remove strchr variants.
5263 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5264 * sysdeps/s390/multiarch/ifunc-impl-list.c
5265 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5266 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5267 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5268 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5269 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5270 * sysdeps/s390/multiarch/strchr.c: Move to ...
5271 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5272 * sysdeps/s390/ifunc-strchr.h: New file.
5274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5276 * sysdeps/s390/multiarch/Makefile
5277 (sysdep_routines): Remove strncmp variants.
5278 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5279 * sysdeps/s390/multiarch/ifunc-impl-list.c
5280 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5281 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5282 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5283 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5284 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5285 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5286 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5287 * sysdeps/s390/ifunc-strncmp.h: New file.
5289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5291 * sysdeps/s390/multiarch/Makefile
5292 (sysdep_routines): Remove strcmp variants.
5293 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5294 * sysdeps/s390/multiarch/ifunc-impl-list.c
5295 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5296 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5297 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5298 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5299 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5300 * sysdeps/s390/ifunc-strcmp.h: New file.
5301 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5302 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5303 for 31/64bit and ifunc handling.
5304 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5305 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5306 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5310 * sysdeps/s390/multiarch/Makefile
5311 (sysdep_routines): Remove strncat variants.
5312 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5313 * sysdeps/s390/multiarch/ifunc-impl-list.c
5314 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5315 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5316 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5317 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5318 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5319 * sysdeps/s390/multiarch/strncat.c: Move to ...
5320 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5321 * sysdeps/s390/ifunc-strncat.h: New file.
5323 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5325 * sysdeps/s390/multiarch/Makefile
5326 (sysdep_routines): Remove strcat variants.
5327 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5328 * sysdeps/s390/multiarch/ifunc-impl-list.c
5329 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5330 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5331 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5332 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5333 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5334 * sysdeps/s390/multiarch/strcat.c: Move to ...
5335 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5336 * sysdeps/s390/ifunc-strcat.h: New file.
5338 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5340 * sysdeps/s390/multiarch/Makefile
5341 (sysdep_routines): Remove stpncpy variants.
5342 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5343 * sysdeps/s390/multiarch/ifunc-impl-list.c
5344 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5345 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5346 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5347 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5348 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5349 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5350 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5351 * sysdeps/s390/ifunc-stpncpy.h: New file.
5353 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5355 * sysdeps/s390/multiarch/Makefile
5356 (sysdep_routines): Remove strncpy variants.
5357 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5358 * sysdeps/s390/multiarch/ifunc-impl-list.c
5359 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5360 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5361 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5362 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5363 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5364 * sysdeps/s390/ifunc-strncpy.h: New file.
5365 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5366 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5367 and adjust ifunc handling.
5368 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5369 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5370 and adjust ifunc handling.
5371 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5372 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5374 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5376 * sysdeps/s390/multiarch/Makefile
5377 (sysdep_routines): Remove stpcpy variants.
5378 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5379 * sysdeps/s390/multiarch/ifunc-impl-list.c
5380 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5381 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5382 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5383 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5384 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5385 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5386 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5387 * sysdeps/s390/ifunc-stpcpy.h: New file.
5389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5391 * sysdeps/s390/multiarch/Makefile
5392 (sysdep_routines): Remove strcpy variants.
5393 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5394 * sysdeps/s390/multiarch/ifunc-impl-list.c
5395 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5396 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5397 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5398 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5399 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5400 * sysdeps/s390/ifunc-strcpy.h: New file.
5401 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5402 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5403 for 31/64bit and ifunc handling.
5404 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5405 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5406 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5408 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5410 * sysdeps/s390/multiarch/Makefile
5411 (sysdep_routines): Remove strnlen variants.
5412 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5413 * sysdeps/s390/multiarch/ifunc-impl-list.c
5414 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5415 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5416 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5417 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5418 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5419 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5420 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5421 * sysdeps/s390/ifunc-strnlen.h: New file.
5423 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5425 * sysdeps/s390/multiarch/Makefile
5426 (sysdep_routines): Remove strlen variants.
5427 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5428 * sysdeps/s390/multiarch/ifunc-impl-list.c
5429 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5430 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5431 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5432 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5433 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5434 * sysdeps/s390/multiarch/strlen.c: Move to ...
5435 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5436 * sysdeps/s390/ifunc-strlen.h: New file.
5438 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5440 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5441 * sysdeps/s390/multiarch/ifunc-impl-list.c
5442 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5443 * sysdeps/s390/ifunc-memmem.h: New file.
5444 * sysdeps/s390/memmem.c: Likewise.
5445 * sysdeps/s390/memmem-c.c: Likewise.
5446 * sysdeps/s390/memmem-vx.c: Likewise.
5448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5450 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5451 * sysdeps/s390/multiarch/ifunc-impl-list.c
5452 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5453 * sysdeps/s390/ifunc-strstr.h: New file.
5454 * sysdeps/s390/strstr.c: Likewise.
5455 * sysdeps/s390/strstr-c.c: Likewise.
5456 * sysdeps/s390/strstr-vx.c: Likewise.
5458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5460 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5461 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5462 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5463 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5465 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5466 * sysdeps/s390/memmove-c.c: New file.
5467 * sysdeps/s390/memmove.c: Likewise.
5468 * sysdeps/s390/multiarch/ifunc-impl-list.c
5469 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5473 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5474 * sysdeps/s390/configure.ac: Add check for z13 support.
5475 * sysdeps/s390/configure: Regenerated.
5477 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5479 * sysdeps/s390/memcopy.h: New file.
5481 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5483 * sysdeps/s390/s390-32/bcopy.S: Remove.
5484 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5486 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5488 * sysdeps/s390/ifunc-memcpy.h: New File.
5489 * sysdeps/s390/memcpy.S: Move to ...
5490 * sysdeps/s390/memcpy-z900.S ... here.
5491 Move implementations from memcpy-s390x.s to here.
5492 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5493 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5494 Remove memcpy/mempcpy variants.
5495 * sysdeps/s390/Makefile (sysdep_routines):
5496 Add memcpy/mempcpy variants.
5497 * sysdeps/s390/multiarch/ifunc-impl-list.c
5498 (__libc_ifunc_impl_list): Adjust ifunc variants for
5500 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5502 * sysdeps/s390/memcpy.c: ... here.
5503 Adjust ifunc variants for memcpy.
5504 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5505 * sysdeps/s390/mempcpy.c: ... here.
5506 Adjust ifunc variants for mempcpy.
5507 * sysdeps/s390/mempcpy.S: Delete file.
5509 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5511 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5512 * sysdeps/s390/memcpy.S: ... here.
5513 Adjust to be usable for 31/64bit.
5514 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5515 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5516 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5517 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5518 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5519 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5520 Adjust to be usable for 31/64bit.
5521 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5522 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5523 * sysdeps/s390/multiarch/memcpy.c: ... here.
5524 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5526 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5528 * sysdeps/s390/ifunc-memcmp.h: New File.
5529 * sysdeps/s390/memcmp.S: Move to ...
5530 * sysdeps/s390/memcmp-z900.S ... here.
5531 Move implementations from memcmp-s390x.s to here.
5532 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5533 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5534 Remove memcmp variants.
5535 * sysdeps/s390/Makefile (sysdep_routines):
5536 Add memcmp variants.
5537 * sysdeps/s390/multiarch/ifunc-impl-list.c
5538 (__libc_ifunc_impl_list): Adjust ifunc variants for
5540 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5542 * sysdeps/s390/memcmp.c: ... here.
5543 Adjust ifunc variants for memcmp.
5545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5547 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5548 * sysdeps/s390/memcmp.S: ... here.
5549 Adjust to be usable for 31/64bit.
5550 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5551 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5552 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5554 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5555 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5556 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5557 Adjust to be usable for 31/64bit.
5558 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5559 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5560 * sysdeps/s390/multiarch/memcmp.c: ... here.
5561 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5565 * sysdeps/s390/s390-32/bzero.S: Delete file.
5566 * sysdeps/s390/s390-64/bzero.S: Likewise.
5567 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5568 * sysdeps/s390/bzero.c: New file.
5569 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5570 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5571 * sysdeps/s390/multiarch/ifunc-impl-list.c
5572 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5574 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5576 * sysdeps/s390/ifunc-memset.h: New File.
5577 * sysdeps/s390/memset.S: Move to ...
5578 * sysdeps/s390/memset-z900.S ... here.
5579 Move implementations from memset-s390x.s to here.
5580 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5581 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5582 Remove memset variants.
5583 * sysdeps/s390/Makefile (sysdep_routines):
5584 Add memset variants.
5585 * sysdeps/s390/multiarch/ifunc-impl-list.c
5586 (__libc_ifunc_impl_list): Adjust ifunc variants for
5588 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5590 * sysdeps/s390/memset.c: ... here.
5591 Adjust ifunc variants for memset.
5593 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5595 * sysdeps/s390/s390-64/memset.S: Move to ...
5596 * sysdeps/s390/memset.S: ... here.
5597 Adjust to be usable for 31/64bit.
5598 * sysdeps/s390/s390-32/memset.S: Delete File.
5599 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5600 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5602 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5603 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5604 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5605 Adjust to be usable for 31/64bit.
5606 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5607 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5608 * sysdeps/s390/multiarch/memset.c: ... here.
5609 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5613 * sysdeps/s390/multiarch/ifunc-resolve.h
5614 (s390_libc_ifunc_init, s390_libc_ifunc,
5615 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5617 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5619 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5620 * sysdeps/s390/configure.ac: Add check for z10 support.
5621 * sysdeps/s390/configure: Regenerated.
5623 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5625 * sysdeps/i386/atomic-machine.h: Merged with ...
5626 * sysdeps/x86_64/atomic-machine.h: To ...
5627 * sysdeps/x86/atomic-machine.h: This. New file.
5629 2018-12-18 Florian Weimer <fweimer@redhat.com>
5631 Rewrite locale/gen-translit.pl in Python.
5632 * locale/Makefile (generated): Add C-translit.h.
5633 (before-compile): Add $(objpfx)C-translit.h.
5634 (C-translit.h): Move to $(objpfx). Create target directory.
5635 Build using Python script.
5636 * locale/gen-translit.py: New file.
5637 * locale/gen-translit.pl: Remove file.
5638 * locale/C-translit.h.in: Change comment character to '#' for
5639 easier parsing without a C preprocessor.
5640 * locale/C-translit.h: Remove generated file.
5641 * manual/install.texi (Tools for Compilation): Do not mention
5643 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5644 Remove locale/C-translit.h.
5645 * scripts/update-copyrights: Likewise.
5646 * INSTALL: Regenerate.
5648 2018-12-18 Florian Weimer <fweimer@redhat.com>
5651 * localedata/locales/bi_VU: Remove executable bit from file.
5653 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5656 (__localtime64): Add.
5657 * manual/maint.texi: Document Y2038 symbol handling.
5659 (__localtime64): Add.
5660 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5662 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5664 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5667 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5668 to allow extra macros from first or second sources.
5669 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5670 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5671 (tests-special): Add $(objpfx)tst-mman-consts.out.
5672 ($(objpfx)tst-mman-consts.out): New makefile target.
5674 2018-12-17 Mao Han <han_mao@c-sky.com>
5676 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5677 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5678 without stat64 system call support.
5679 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5680 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5681 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5682 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5683 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5684 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5685 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5686 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5687 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5688 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5689 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5691 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5693 regex: fix storage-exhaustion error
5695 * posix/regexec.c (get_subexp):
5696 Do not continue if storage is exhausted.
5698 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5700 regex: fix heap-use-after-free error
5702 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5703 https://debbugs.gnu.org/32592
5704 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5705 call extend_buffers which reallocates the re_string_t internal buffer.
5706 Local variable 'buf' was not updated in such case, resulting in
5708 * posix/regexec.c (get_subexp): Update 'buf' after call to
5711 2018-12-15 Florian Weimer <fweimer@redhat.com>
5713 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5714 (minimum_stride_size): Use it.
5715 (support_blob_repeat_allocate): Likewise.
5717 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5719 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5724 2018-12-14 Florian Weimer <fweimer@redhat.com>
5726 * manual/process.texi (Process Creation Concepts): Remove
5727 documentation of process (ID) lifetime. List more process
5728 creation functions. Reference Process Identification section.
5729 (Process Identification): Add information about process ID
5730 lifetime. Describe Linux thread/task IDs.
5731 * manual/signal.texi (Signaling Another Process): Mention that the
5732 signal is always sent to the process.
5734 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5736 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5737 and tst-ldbl-efgcvt.
5738 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5739 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5740 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5741 (fcvt_tests, output_error, output_r_error, do_test): Use the
5742 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5743 select the type of floating-point variables and arguments; to
5744 produce extra tests for double and conversion specifiers for
5745 printf; and to set the names of called functions.
5746 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5747 in tst-efgcvt-template.c.
5748 * misc/tst-ldbl-efgcvt.c: Likewise.
5750 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5752 * nss/Makefile (tst-nss-test3.out): New rule.
5754 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5756 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5759 2018-12-13 fanjinke <fanjinke@hygon.cn>
5761 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5764 2018-12-13 Andreas Schwab <schwab@suse.de>
5767 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5768 (__pthread_rwlock_rdlock_full): Update expected value for
5769 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5770 * nptl/tst-rwlock-pwn.c: New file.
5771 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5773 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5775 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5778 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5780 * benchtests/scripts/compare_bench.py (do_compare): write to
5781 stderr in casestat is not present.
5782 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5783 stderr in case timings field is not present. Also string showing
5784 the output filename goes into the stderr.
5786 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5788 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5789 and ZeroDivisorError exceptions.
5790 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5791 argument to loop through user provided statistics.
5792 * benchtests/scripts/compare_bench.py (main): Include the --stats
5795 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5797 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5800 2018-12-12 Florian Weimer <fweimer@redhat.com>
5802 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5803 clause to copyright header.
5805 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5808 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5809 registers saved in the stack frame.
5810 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5811 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5813 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5815 * include/bits/monetary-ldbl.h: New file.
5816 * include/bits/printf-ldbl.h: Likewise.
5817 * include/bits/stdio-ldbl.h: Likewise.
5818 * include/bits/stdlib-ldbl.h: Likewise.
5819 * include/bits/syslog-ldbl.h: Likewise.
5820 * include/bits/wchar-ldbl.h: Likewise.
5822 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5824 * libio/libio.h: Remove redirection for _IO_vfprintf.
5826 2018-12-11 Andreas Schwab <schwab@suse.de>
5828 * Makerules: Remove all references to abilist-pattern.
5829 (update-all-abi): Simplify find expression.
5831 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5834 * math/auto-libm-test-in: Add new test case.
5835 * math/auto-libm-test-out-pow: Regenerated.
5836 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5838 2018-12-10 DJ Delorie <dj@redhat.com>
5841 * support/test-container.c: Move postclean step to before we
5844 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5846 * scripts/gen-as-const.py (main): Handle --python option.
5847 * scripts/gen-py-const.awk: Remove.
5848 * Makerules (py-const-script): Use gen-as-const.py.
5849 ($(py-const)): Likewise.
5850 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5851 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5852 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5853 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5854 ~PTHREAD_MUTEX_NO_ELISION_NP.
5855 * manual/README.pretty-printers: Update reference to
5858 * scripts/glibcextract.py: New file.
5859 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5860 or tempfile. Import glibcexctract.
5861 (compute_c_consts): Remove. Moved to glibcextract.py.
5862 (gen_test): Update reference to compute_c_consts.
5864 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5865 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5866 * sysdeps/unix/sysv/linux/Makefile
5867 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5868 Redirect stderr as well as stdout.
5870 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5873 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5874 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5875 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5876 ALWAYS_USE_VSYSCALL.
5877 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5878 ALWAYS_USE_VSYSCALL.
5879 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5880 ALWAYS_USE_VSYSCALL.
5882 2018-12-10 Florian Weimer <fweimer@redhat.com>
5885 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5886 offset instead of count for clarity. Fix typo in comment.
5887 (__old_getdents64): Keep track of previous offset. Use it to call
5889 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5890 that d_off is never zero.
5892 2018-12-10 Andreas Schwab <schwab@suse.de>
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5895 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5897 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5898 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5900 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5902 * timezone/private.h: Update from tzcode 2018g.
5903 * timezone/tzfile.h: Likewise.
5904 * timezone/tzselect.ksh: Likewise.
5905 * timezone/zdump.c: Likewise.
5906 * timezone/zic.c: Likewise.
5908 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5911 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5912 (do_test): Adjust buffer size and fix format.
5914 2018-12-07 DJ Delorie <dj@redhat.com>
5917 * malloc/tst-tcfree3.c: New.
5918 * malloc/Makefile: Add it.
5920 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5922 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5924 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5926 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5927 used as a mask for the mode argument of __vfscanf_internal and
5928 __vfwscanf_internal.
5929 * stdio-common/vfscanf-internal.c
5930 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5931 (__strtof128_internal): Define to __wcstof128_internal.
5932 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5933 __strtof128_internal or __wcstof128_internal when the format of
5934 long double is the same as _Float128.
5936 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5938 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5939 * posix/confstr.c (confstr): Rename to __confstr.
5940 (__confstr): Add hidden def.
5941 (confstr): Add weak alias for __confstr.
5942 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5945 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5947 * NEWS: Mention getcpu.
5948 * include/sched.h (__getcpu): New libc_hidden_proto.
5949 * manual/resource.texi: Document getcpu.
5950 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5951 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5952 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5953 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5954 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5955 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5956 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5957 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5958 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5959 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5960 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5961 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5962 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5964 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5965 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5966 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5975 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5976 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5977 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5978 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5979 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5980 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5981 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5983 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5984 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5985 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5988 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5990 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5992 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5994 2018-12-07 Florian Weimer <fweimer@redhat.com>
5997 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5998 * posix/Versions (GLIBC_2.29): Export
5999 posix_spawn_file_actions_addfchdir_np.
6000 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6001 * posix/spawn_faction_destroy.c
6002 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6003 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6004 and the field action.fchdir_action.
6005 * posix/tst-spawn-chdir.c (add_chdir): New function.
6006 (do_test): Add do_fchdir loop. Call add_chdir.
6007 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6008 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6009 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6010 posix_spawn_file_actions_addfchdir_np.
6011 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6013 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6015 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6016 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6018 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6020 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6022 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6024 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6026 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6028 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6029 (GLIBC_2.29): Likewise.
6030 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6031 (GLIBC_2.29): Likewise.
6032 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6033 (GLIBC_2.29): Likewise.
6034 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6035 (GLIBC_2.29): Likewise.
6036 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6039 (GLIBC_2.29): Likewise.
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6041 (GLIBC_2.29): Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6043 (GLIBC_2.29): Likewise.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6045 (GLIBC_2.29): Likewise.
6046 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6048 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6050 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6052 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6053 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6055 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6057 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6059 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6062 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6064 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6065 trailing whitespace removed.
6066 * scripts/config.guess: Update to version 2018-11-28.
6067 * scripts/config.sub: Update to version 2018-11-28.
6068 * scripts/install-sh: Update to version 2018-03-11.20.
6069 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6070 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6072 2018-12-07 Florian Weimer <fweimer@redhat.com>
6076 * inet/tst-if_index-long.c: New file.
6077 * inet/Makefile (tests): Add tst-if_index-long.
6079 2018-12-07 Florian Weimer <fweimer@redhat.com>
6081 * support/check.h (support_record_failure_is_failed): Declare.
6082 * support/descriptors.h: New file.
6083 * support/support_descriptors.c: Likewise.
6084 * support/tst-support_descriptors.c: Likewise.
6085 * support/support_record_failure.c
6086 (support_record_failure_is_failed): New function.
6087 * support/Makefile (libsupport-routines): Add support_descriptors.
6088 (tests): Add tst-support_descriptors.
6090 2018-12-05 Zack Weinberg <zackw@panix.com>
6091 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6093 * stdio-common/vfprintf-internal.c
6094 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6095 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6096 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6097 and __no_long_double.
6098 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6099 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6100 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6101 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6102 and __nldbl_*syslog* functions.
6103 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6104 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6105 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6106 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6107 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6108 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6109 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6110 (__nldbl_vwprintf, __nldbl_wprintf):
6111 Directly call the appropriate __v*printf_internal routine, passing
6112 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6114 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6115 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6116 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6117 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6118 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6119 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6120 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6121 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6122 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6123 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6124 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6125 (__nldbl_syslog, __nldbl_vsyslog):
6126 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6127 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6129 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6132 2018-12-05 Zack Weinberg <zackw@panix.com>
6133 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6136 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6137 Moved here from debug/vsprintf_chk.c.
6138 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6139 and completion logic for the strfile to match exactly what
6140 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6141 _IO_str_init_static_internal instead of maxlen-1.
6142 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6143 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6144 __vsprintf_internal.
6146 * debug/vsprintf_chk.c (__vsprintf_chk)
6147 * debug/sprintf_chk.c (__sprintf_chk):
6148 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6149 'flags' argument is positive, and slen as maxlen. No need to lock
6150 the FILE and/or construct a temporary FILE. Minimize and normalize
6151 header inclusions and variable names. Do not libc_hidden_def anything.
6153 * debug/asprintf_chk.c (__asprintf_chk)
6154 * debug/dprintf_chk.c (__dprintf_chk)
6155 * debug/fprintf_chk.c (__fprintf_chk)
6156 * debug/fwprintf_chk.c (__fwprintf_chk)
6157 * debug/printf_chk.c (__printf_chk)
6158 * debug/snprintf_chk.c (__snprintf_chk)
6159 * debug/swprintf_chk.c (__swprintf_chk)
6160 * debug/vasprintf_chk.c (__vasprintf_chk)
6161 * debug/vdprintf_chk.c (__vdprintf_chk)
6162 * debug/vfprintf_chk.c (__vfprintf_chk)
6163 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6164 * debug/vprintf_chk.c (__vprintf_chk)
6165 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6166 * debug/vswprintf_chk.c (__vswprintf_chk)
6167 * debug/vwprintf_chk.c (__vwprintf_chk)
6168 * debug/wprintf_chk.c (__wprintf_chk):
6169 Directly call the corresponding vxxprintf_internal function, passing
6170 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6171 the FILE and/or construct a temporary FILE. Minimize and normalize
6172 header inclusions and variable names. Do not libc_hidden_def anything.
6174 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6175 __obstack_vprintf_internal.
6176 (__obstack_vprintf_chk): Convert into a wrapper that calls
6177 __obstack_vprintf_internal (these two functions already had the
6178 same code) and move to new file...
6179 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6181 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6182 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6183 * debug/Makefile (routines): Add vobprintf_chk.
6185 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6186 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6187 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6188 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6189 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6190 (__nldbl___obstack_vfprintf_chk):
6191 Directly call the corresponding vxxprintf_internal function,
6192 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6193 duplicate comparison of slen with 0 or maxlen from the corresponding
6194 non-__nldbl function.
6196 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6197 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6198 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6199 Remove libc_hidden_proto.
6201 * stdio-common/vfprintf-internal.c
6202 (__vfprintf_internal, __vfwprintf_internal):
6203 Do not check _IO_FLAGS2_FORTIFY.
6204 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6205 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6206 a comment explaining why it has the maxlen argument.
6207 (_IO_acquire_lock_clear_flags2_fct): Remove.
6208 (_IO_acquire_lock_clear_flags2): Remove.
6209 (_IO_release_lock): Remove conditional statement which will
6211 (_IO_acquire_lock): Remove variable which is now unused.
6212 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6213 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6215 * stdio-common/Makefile (tests): Add tst-bz11319 and
6216 tst-bz11319-fortify2.
6217 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6218 * stdio-common/tst-bz11319-fortify2.c: New file.
6219 * stdio-common/tst-bz11319.c: Likewise.
6221 2018-12-05 Zack Weinberg <zackw@panix.com>
6222 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6224 * misc/syslog.c: Include libioP.h, not iolibio.h.
6225 (__vsyslog_internal): New function with the former body of
6226 __vsyslog_chk; takes mode_flags argument same as
6227 __v*printf_internal. Call __vfprintf_internal directly.
6229 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6230 Remove libc_hidden_def.
6231 (__syslog, __syslog_chk): Use __vsyslog_internal.
6232 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6234 * include/sys/syslog.h: Add multiple inclusion guard.
6235 Add prototype for __vsyslog_internal.
6236 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6238 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6239 Use __vsyslog_internal.
6241 2018-12-05 Zack Weinberg <zackw@panix.com>
6242 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6244 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6245 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6246 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6248 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6249 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6251 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6252 Include wctype.h here if COMPILE_WPRINTF is defined.
6253 Define __vfprintf_internal or __vfwprintf_internal, depending
6255 Temporarily, on entry to this function, update mode_flags
6256 according to the environmental settings corresponding to
6257 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6258 Throughout, check mode_flags instead of __ldbl_is_dbl and
6259 _IO_FLAGS2_FORTIFY on the destination FILE.
6260 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6261 Include vfprintf-internal.c. Don't include wctype.h.
6262 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6263 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6265 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6266 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6268 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6270 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6271 and add mode_flags argument; use __vfprintf_internal.
6272 (__vdprintf): New function. Alias vdprintf to this.
6273 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6274 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6275 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6276 (__obstack_printf): Use __obstack_printf_internal.
6277 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6278 public aliases __vsnprintf and vsnprintf.
6279 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6281 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6282 public aliases _IO_vsprintf and vsprintf.
6283 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6284 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6285 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6286 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6287 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6289 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6290 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6291 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6292 * stdio-common/printf.c: Use __vfprintf_internal.
6294 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6295 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6296 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6299 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6300 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6301 __vfwprintf_internal.
6303 * libio/libio.h: Remove libc_hidden_proto and declaration for
6305 Remove declaration of _IO_vfwprintf.
6306 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6308 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6310 * include/stdio.h: Add prototype for __vasprintf.
6311 (__vsnprintf): Remove declaration, because there are no more
6313 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6314 declaration, because there are no more internal calls.
6316 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6317 __vsnprintf_internal, instead of _IO_vsnprintf.
6318 * argp/argp-help.c (__argp_error, __argp_failure): Use
6319 __vasprintf_internal, instead of _IO_vasprintf.
6320 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6321 redefine, because there are no more internal calls.
6323 2018-12-05 Zack Weinberg <zackw@panix.com>
6324 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6326 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6327 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6328 Include libio/strfile.h instead of libioP.h.
6329 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6330 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6331 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6332 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6333 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6334 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6335 necessary. Do not set __no_long_double. Normalize variable names.
6336 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6337 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6338 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6339 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6340 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6341 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6342 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6343 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6344 Do not set __no_long_double. Normalize variable names.
6346 2018-12-05 Zack Weinberg <zackw@panix.com>
6347 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6349 * stdio-common/isoc99_scanf.c
6350 * stdio-common/isoc99_fscanf.c
6351 * stdio-common/isoc99_sscanf.c
6352 * stdio-common/isoc99_vscanf.c
6353 * stdio-common/isoc99_vfscanf.c
6354 * stdio-common/isoc99_vsscanf.c
6355 * wcsmbs/isoc99_wscanf.c
6356 * wcsmbs/isoc99_fwscanf.c
6357 * wcsmbs/isoc99_swscanf.c
6358 * wcsmbs/isoc99_vwscanf.c
6359 * wcsmbs/isoc99_vfwscanf.c
6360 * wcsmbs/isoc99_vswscanf.c:
6361 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6362 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6363 No need to lock and unlock the FILE passed to that function.
6365 * stdio-common/vfscanf-internal.c
6366 (__vfscanf_internal, __vfwscanf_internal):
6367 Don't look at _IO_FLAGS2_SCANF_STD.
6368 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6369 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6370 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6372 2018-12-05 Zack Weinberg <zackw@panix.com>
6373 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6375 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6376 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6377 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6378 * libio/strfile.h: Add multiple inclusion guard.
6379 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6381 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6382 consistency with the other version of this file.
6383 (ldbl_compat_symbol): New macro.
6384 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6387 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6388 Define __vfscanf_internal or __vfwscanf_internal, depending on
6389 COMPILE_WSCANF; don't define any other public symbols.
6390 Remove errval and code to set errp.
6391 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6392 as the mode_flags argument.
6393 (encode_error, conv_error, input_error): Don't set errval.
6394 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6395 Include vfscanf-internal.c.
6396 * stdio-common/vfscanf.c: New file defining the public entry
6397 point vfscanf, which calls __vfscanf_internal.
6398 * stdio-common/vfwscanf.c: New file defining the public entry
6399 point vfwscanf, which calls __vfwscanf_internal.
6401 * stdio-common/iovfscanf.c: New file.
6402 * stdio-common/iovfwscanf.c: Likewise.
6404 * stdio-common/Makefile (routines): Add vfscanf-internal,
6405 vfwscanf-internal, iovfscanf, iovfwscanf.
6406 * stdio-common/Versions: Mention GLIBC_2.29, so that
6407 it can be used in SHLIB_COMPAT expressions.
6408 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6409 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6410 Call __vfscanf_internal, instead of _IO_vfscanf.
6411 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6413 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6416 * libio/iovsscanf.c: Clean up includes, when possible. Use
6417 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6418 __vfscanf_internal or __vfwscanf_internal directly.
6419 * libio/iovswscanf.c: Likewise.
6420 * libio/swscanf.c: Likewise.
6421 * libio/vscanf.c: Likewise.
6422 * libio/vwscanf.c: Likewise.
6423 * libio/wscanf.c: Likewise.
6424 * stdio-common/isoc99_fscanf.c: Likewise.
6425 * stdio-common/isoc99_scanf.c: Likewise.
6426 * stdio-common/isoc99_sscanf.c: Likewise.
6427 * stdio-common/isoc99_vfscanf.c: Likewise.
6428 * stdio-common/isoc99_vscanf.c: Likewise.
6429 * stdio-common/isoc99_vsscanf.c: Likewise.
6430 * stdio-common/scanf.c: Likewise.
6431 * stdio-common/sscanf.c: Likewise.
6432 * wcsmbs/isoc99_fwscanf.c: Likewise.
6433 * wcsmbs/isoc99_swscanf.c: Likewise.
6434 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6435 * wcsmbs/isoc99_vswscanf.c: Likewise.
6436 * wcsmbs/isoc99_vwscanf.c: Likewise.
6437 * wcsmbs/isoc99_wscanf.c: Likewise.
6439 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6442 (__tz_compute): Replace time_t with __time64_t.
6443 (__tz_convert): Replace time_t* with __time64_t.
6444 (__offtime): Replace time_t* with __time64_t.
6446 (__gmtime_r): Adjust call to __tz_convert.
6449 (__localtime_r): Likewise.
6450 (localtime): Likewise.
6451 * time/offtime.c: Replace time_t with __time64_t.
6452 * time/tzset.c: Likewise.
6454 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6456 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6457 dynamic linker unless [$(run-built-tests) = yes].
6459 2018-12-03 DJ Delorie <dj@delorie.com>
6461 * support/test-container.c (check_for_unshare_hints): New.
6462 (main): Call it if unshare fails. Add support for "su" scriptlet
6465 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6467 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6468 'START' to indicate that start text should be output.
6469 (gen_test): Likewise.
6470 (main): Generate 'START' for first symbol or '--' line, or at end
6471 of input if not previously generated.
6473 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6476 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6477 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6478 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6479 ALWAYS_USE_VSYSCALL.
6481 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6484 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6487 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6490 * locale/programs/localedef.c: Declare boolean hard_links default true.
6491 (options): Add --no-hard-links option.
6492 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6493 * locale/programs/localedef.h: Declare prototype for hard_links.
6494 * locale/programs/locfile.c (write_locale_data): Don't use hard
6495 links if hard_links is false.
6497 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6499 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6501 (__cache_sysconf): Likewise.
6502 (init_cacheinfo): Likewise.
6503 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6504 populate COMMON_CPUID_INDEX_80000007 and
6505 COMMON_CPUID_INDEX_80000008.
6506 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6507 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6508 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6509 (init_cpu_features): Use _Static_assert on
6510 index_arch_Fast_Unaligned_Load.
6511 __get_cpuid_registers and __get_arch_feature. Updated for
6512 cpu_features_basic. Set stepping in cpu_features.
6513 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6514 (FEATURE_INDEX_2): New.
6515 (FEATURE_INDEX_MAX): Changed to enum.
6516 (COMMON_CPUID_INDEX_D_ECX_1): New.
6517 (COMMON_CPUID_INDEX_80000007): Likewise.
6518 (COMMON_CPUID_INDEX_80000008): Likewise.
6519 (cpuid_registers): Likewise.
6520 (cpu_features_basic): Likewise.
6521 (CPU_FEATURE_USABLE): Likewise.
6522 (bit_arch_XXX_Usable): Likewise.
6523 (cpu_features): Use cpuid_registers and cpu_features_basic.
6524 (bit_arch_XXX): Reweritten.
6525 (bit_cpu_XXX): Likewise.
6526 (index_cpu_XXX): Likewise.
6527 (reg_XXX): Likewise.
6528 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6530 (CHECK_CPU_FEATURE): New.
6531 (CHECK_CPU_FEATURE_USABLE): Likewise.
6532 (cpu_kinds): Likewise.
6533 (do_test): Print vendor, family, model and stepping. Check
6534 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6535 (TEST_FUNCTION): Removed.
6536 Include <support/test-driver.c> instead of
6537 "../../test-skeleton.c".
6538 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6539 Check POPCNT instead of POPCOUNT.
6540 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6542 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6544 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6545 there is no element in `consts'.
6547 2018-12-01 Florian Weimer <fweimer@redhat.com>
6549 * support/support_capture_subprocess.c
6550 (support_capture_subprocess): Check that pipe descriptors have
6551 expected values. Close original pipe descriptors in subprocess.
6553 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6556 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6557 attr with __pthread_default_barrierattr.
6558 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6559 attr with __pthread_default_condattr.
6560 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6561 attr with __pthread_default_mutexattr.
6562 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6563 attr with __pthread_default_rwlockattr.
6565 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6567 * manual/tunables.texi (POSIX Thread Tunables): New node.
6568 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6569 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6570 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6571 __pthread_tunables_init.
6572 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6573 (max_adaptive_count): Define.
6574 * nptl/pthread_mutex_conf.c: New file.
6575 * nptl/pthread_mutex_conf.h: New file.
6576 * sysdeps/generic/adaptive_spin_count.h: New file.
6577 * sysdeps/nptl/dl-tunables.list: New file.
6578 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6579 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6580 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6583 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6586 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6587 * stdlib/on_exit.c (__on_exit): Likewise.
6588 * stdlib/Makefile (tests): Add tst-bz20544.
6589 * stdlib/tst-bz20544.c: New test.
6591 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6594 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6595 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6598 2018-11-30 Florian Weimer <fweimer@redhat.com>
6600 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6601 Extend error logging.
6602 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6605 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6607 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6608 __sigismember instead of sigismember.
6609 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6610 cancel_handler): New definitions.
6611 (do_system): Use posix_spawn instead of fork and execl and remove
6613 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6614 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6615 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6616 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6617 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6618 * sysdeps/unix/sysv/linux/system.c: Likewise.
6622 * NEWS: Add new semantic for atfork with popen and system.
6623 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6626 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6629 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6630 modification order when accessing reloc_result->addr.
6631 * include/link.h (reloc_result): Add field init.
6632 * nptl/Makefile (tests): Add tst-audit-threads.
6633 (modules-names): Add tst-audit-threads-mod1 and
6634 tst-audit-threads-mod2.
6635 Add rules to build tst-audit-threads.
6636 * nptl/tst-audit-threads-mod1.c: New file.
6637 * nptl/tst-audit-threads-mod2.c: Likewise.
6638 * nptl/tst-audit-threads.c: Likewise.
6639 * nptl/tst-audit-threads.h: Likewise.
6641 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6643 * scripts/gen-as-const.py: New file.
6644 * scripts/gen-as-const.awk: Remove.
6645 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6647 ($(objpfx)test-as-const-%.c): Likewise.
6649 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6651 * elf/dl-exception.c: Include <_itoa.h>.
6653 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6655 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6656 returned by __f_setlk.
6658 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6659 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6661 * elf/Makefile (tests-internal): Add tst-create_format1.
6662 * elf/dl-exception.c (_dl_exception_create_format): Support
6664 * elf/tst-create_format1.c: New file.
6666 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6668 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6669 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6671 * argp/argp-help.c (__argp_failure): Likewise.
6673 2018-11-29 Mao Han <han_mao@c-sky.com>
6675 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6676 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6677 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6678 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6679 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6680 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6681 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6682 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6683 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6684 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6685 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6686 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6687 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6688 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6689 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6690 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6691 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6692 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6693 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6694 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6695 (R_CKCORE_TLS_TPOFF32): New defines.
6697 2018-11-29 Florian Weimer <fweimer@redhat.com>
6699 * posix/Makefile (before-compile): Remove testcases.h and
6701 (generated): Add testcases.h and ptestcases.h.
6702 (testcases.h, ptestcases.h): Move to $(objpfx).
6703 (runtests.o): Add dependency on testcases.h.
6704 (runptests.o): Add dependency on ptestcases.h.
6705 * posix/testcases.h, posix/ptestcases.h: Remove files.
6706 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6707 not touch posix/testcases.h and posix/ptestcases.h.
6709 2018-11-28 Florian Weimer <fweimer@redhat.com>
6711 support: Add signal support to support_capture_subprocess_check.
6712 * support/capture_subprocess.h (support_capture_subprocess_check):
6713 Adjust comment and rename parameter.
6714 * support/support_capture_subprocess_check.c
6715 (print_actual_status): New function.
6716 (support_capture_subprocess_check): Support negative
6717 status_or_signal. Call print_actual_status.
6718 * support/tst-support_capture_subprocess.c (do_test): Call
6719 support_capture_subprocess_check.
6720 * libio/tst-vtables-common.c (termination_status)
6721 (init_termination_status): Remove.
6722 (check_for_termination): Adjust support_capture_subprocess_check
6724 (do_test): Remove call to init_termination_status.
6726 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6728 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6729 source directory instead of a copy.
6730 (CommandList.create_copy_dir): Remove.
6732 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6734 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6736 2018-11-28 Florian Weimer <fweimer@redhat.com>
6738 * support/support.h (support_quote_string): Do not use str
6741 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6744 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6746 2018-11-27 Florian Weimer <fweimer@redhat.com>
6748 * support/support.h (support_quote_string): Declare.
6749 * support/support_quote_string.c: New file.
6750 * support/tst-support_quote_string.c: Likewise.
6751 * support/Makefile (libsupport-routines): Add
6752 support_quote_string.
6753 (tests): Add tst-support_quote_string.
6755 2018-11-27 Florian Weimer <fweimer@redhat.com>
6759 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6760 descriptor leak in case of ENODEV error.
6762 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6765 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6766 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6767 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6769 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6771 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6772 Error for unknown lines.
6774 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6776 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6777 Touch additional files.
6779 2018-11-26 Florian Weimer <fweimer@redhat.com>
6782 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6785 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6788 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6789 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6790 SHARED. Include sysdep.h.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6792 ALWAYS_USE_VSYSCALL.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6794 ALWAYS_USE_VSYSCALL.
6796 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6799 * nptl/Makefile (tests-static): Add tst-cond11-static.
6801 * nptl/tst-cond11-static.c: New File.
6802 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6803 tst-affinity-static.
6805 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6807 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6808 (USE_VSYSCALL): Likewise.
6809 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6810 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6812 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6817 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6820 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6821 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6824 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6826 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6827 (tst-cet-legacy-1a-ARGS): New.
6828 ($(objpfx)tst-cet-legacy-1a): New target.
6829 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6831 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6833 * conform/conformtest.py (CompileSubTest.__init__): Set
6834 self.run_early to False.
6835 (ExecuteSubTest.__init__): Likewise.
6836 (HeaderTests.run): Try running all non-optional, non-XFAILed
6837 compilation tests in a single execution of the compiler.
6839 * conform/conformtest.py (CompileSubTest): New class.
6840 (ExecuteSubTest): Likewise.
6841 (ElementTest.run): Rename to gen_subtests. Append tests to
6842 self.subtests instead of running them.
6843 (ConstantTest.run): Likewise.
6844 (SymbolTest.run): Likewise.
6845 (TypeTest.run): Likewise.
6846 (TagTest.run): Likewise.
6847 (FunctionTest.run): Likewise.
6848 (VariableTest.run): Likewise.
6849 (MacroFunctionTest.run): Likewise.
6850 (MacroStrTest.run): Likewise.
6851 (HeaderTests.handle_test_line): Generate subtests for tests.
6852 (HeaderTests.run): Run subtests for tests.
6854 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6856 * math/Versions (GLIBC_2.29): Add pow.
6857 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6859 * math/w_pow.c: New file.
6860 * sysdeps/i386/fpu/w_pow.c: New file.
6861 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6863 and add necessary aliases.
6864 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6865 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6866 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6867 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6868 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6869 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6870 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6871 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6872 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6873 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6874 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6875 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6876 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6877 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6878 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6883 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6884 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6885 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6886 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6887 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6888 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6889 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6890 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6892 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6893 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6894 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6896 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6898 * math/Versions (GLIBC_2.29): Add log2.
6899 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6901 * math/w_log2.c: New file.
6902 * sysdeps/i386/fpu/w_log2.c: New file.
6903 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6904 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6905 and add necessary aliases.
6906 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6907 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6908 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6909 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6910 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6911 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6912 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6913 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6914 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6915 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6916 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6917 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6918 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6919 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6920 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6925 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6926 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6927 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6928 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6929 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6930 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6931 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6933 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6935 * math/Versions (GLIBC_2.29): Add log.
6936 * math/w_log_compat.c (__log_compat): Change to versioned compat
6938 * math/w_log.c: New file.
6939 * sysdeps/i386/fpu/w_log.c: New file.
6940 * sysdeps/ia64/fpu/e_log.S: Update.
6941 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6942 and add necessary aliases.
6943 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6944 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6945 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6946 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6947 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6948 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6949 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6950 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6951 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6952 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6953 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6954 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6955 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6956 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6957 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6963 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6964 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6966 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6967 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6968 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6969 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6971 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6972 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6973 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6974 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6976 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6978 * math/Versions (GLIBC_2.29): Add exp and exp2.
6979 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6980 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6981 * math/w_exp_compat.c (__exp_compat): Likewise.
6982 * math/w_exp.c: New file.
6983 * math/w_exp2.c: New file.
6984 * sysdeps/i386/fpu/w_exp.c: New file.
6985 * sysdeps/i386/fpu/w_exp2.c: New file.
6986 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6987 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6988 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6989 and add necessary aliases.
6990 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6991 and add necessary aliases.
6992 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6993 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6994 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6995 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6996 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6997 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6998 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6999 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7000 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7001 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7003 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7004 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7005 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7006 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7007 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7008 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7013 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7014 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7015 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7016 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7017 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7018 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7019 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7020 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7021 (__ieee754_exp): Rename to __exp.
7022 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7023 (__ieee754_exp): Rename to __exp.
7024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7025 (__ieee754_exp): Rename to __exp.
7026 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7028 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7030 2018-11-20 DJ Delorie <dj@redhat.com>
7032 * malloc/malloc.c (tcache_entry): Add key field.
7033 (tcache_put): Set it.
7034 (tcache_get): Likewise.
7035 (_int_free): Check for double free in tcache.
7036 * malloc/tst-tcfree1.c: New.
7037 * malloc/tst-tcfree2.c: New.
7038 * malloc/Makefile: Run the new tests.
7039 * manual/probes.texi: Document memory_tcache_double_free probe.
7041 * dlfcn/dlerror.c (check_free): Prevent double frees.
7043 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7045 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7047 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7049 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7050 in tests. Use names for format arguments.
7051 (ConstantTest.run): Likewise.
7052 (SymbolTest.run): Likewise.
7053 (TypeTest.run): Likewise.
7054 (TagTest.run): Likewise.
7055 (FunctionTest.run): Likewise.
7056 (VariableTest.run): Likewise.
7057 (MacroFunctionTest.run): Likewise.
7058 (MacroStrTest.run): Likewise.
7059 (HeaderTests.__init__): Set self.num_tests.
7060 (HeaderTests.handle_test_line): Set test.num. Increment
7063 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7065 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7066 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7069 2018-11-19 Mao Han <han_mao@c-sky.com>
7071 * scripts/config.guess: Update to version 2018-08-29.
7072 * scripts/config.sub: Update to version 2018-08-29.
7074 2018-11-19 Florian Weimer <fweimer@redhat.com>
7076 support: Print timestamps in timeout handler.
7077 * support/support_test_main.c (print_timestamp): New function.
7078 (signal_handler): Use it to print the termination time and the
7079 time of the last write to standard output.
7081 2018-11-16 Zack Weinberg <zackw@panix.com>
7082 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7084 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7085 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7087 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7088 and add flags argument. Check flags instead of __ldbl_is_dbl when
7089 deciding whether to set is_long_double.
7090 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7091 passing zero for flags argument.
7092 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7094 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7095 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7096 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7097 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7098 variable names. Remove libc_hidden_def/libc_hidden_proto from
7099 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7100 longer called from within the library.
7101 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7102 for __nldbl___vstrfmon_l, declare it explicitly.
7104 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7106 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7108 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7110 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7111 F_SETLK64, F_SETLKW64, respectively.
7112 * sysdeps/mach/hurd/f_setlk.c: New file.
7113 * sysdeps/mach/hurd/f_setlk.h: New file.
7114 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7116 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7117 (__libc_fcntl): Move non-flock operations to...
7118 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7119 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7121 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7123 mktime: DEBUG_MKTIME cleanup
7124 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7125 And it’s no longer needed now that glibc and Gnulib both have
7126 their own testing mechanisms for mktime.
7127 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7129 mktime: fix non-EOVERFLOW errno handling
7131 mktime was not properly reporting failures when the underlying
7132 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7133 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7134 The problem could happen on non-glibc platforms, with Gnulib.
7135 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7136 (tm_diff): ... this simpler function, which does not change errno.
7137 All callers changed to deal with errno themselves.
7138 (ranged_convert, __mktime_internal): Return failure immediately if
7139 the underlying function reports any failure other than EOVERFLOW.
7140 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7143 mktime: fix bug with Y2038 DST transition
7145 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7146 mishandle a DST transition that jumps over the Y2038 boundary.
7147 No such DST transitions are known so this is only a theoretical
7148 bug, but we might as well do things right.
7150 mktime: make more room for overflow
7152 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7153 This is so that we can add tm_diff results to a previous guess,
7154 which will be useful in a later patch.
7156 mktime: simplify offset guess
7158 * time/mktime.c (__mktime_internal): Omit excess precision.
7160 mktime: new test for mktime failure
7162 Based on a test suggested by Albert Aribaud in:
7163 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7164 * time/Makefile (tests): Add bug-mktime4.
7165 * time/bug-mktime4.c: New file.
7167 mktime: fix EOVERFLOW bug
7169 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7170 Include libc-config.h, not config.h, for __set_errno.
7171 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7173 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7175 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7176 __attribute_copy__ to copy attributes from name. Drop static qualifier
7177 to avoid warnings about leaf attribute not having effect on static
7180 2018-11-13 Florian Weimer <fweimer@redhat.com>
7182 * malloc/malloc.c (fastbin_push_entry): New function.
7183 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7184 (REMOVE_FB): Remove macro.
7185 (_int_malloc): Use fastbin_pop_entry and reindent.
7186 (_int_free): Use fastbin_push_entry.
7187 (malloc_consolidate): Use atomic_exchange_acquire.
7189 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7191 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7192 alias attribute, not with strong_alias.
7194 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7195 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7196 with additional parameter thread.
7197 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7198 in terms of __hidden_ver2.
7199 (hidden_tls_def): New macro.
7200 (libc_hidden_tls_def): Likewise.
7201 (rtld_hidden_tls_def): Likewise.
7202 (libm_hidden_tls_def): Likewise.
7203 (libmvec_hidden_tls_def): Likewise.
7204 (libresolv_hidden_tls_def): Likewise.
7205 (librt_hidden_tls_def): Likewise.
7206 (libdl_hidden_tls_def): Likewise.
7207 (libnss_files_hidden_tls_def): Likewise.
7208 (libnsl_hidden_tls_def): Likewise.
7209 (libnss_nisplus_hidden_tls_def): Likewise.
7210 (libutil_hidden_tls_def): Likewise.
7211 (libutil_hidden_tls_def): Likweise.
7212 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7213 libc_hidden_tls_def.
7214 (__sim_disabled_exceptions_thread): Likewise.
7215 (__sim_round_mode_thread): Likewise.
7217 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7218 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7219 copy attributes from name.
7221 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7223 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7224 Use __attribute_copy__ to copy attributes from name.
7226 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7227 with __hidden_ver1 call.
7228 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7229 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7230 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7231 (__cosf): Do not declare here.
7232 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7233 (__sincosf): Do not declare here.
7234 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7235 (__sinf): Do not declare here.
7237 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7238 (__BIG_ENDIAN): Likewise.
7239 (__BYTE_ORDER): Likewise.
7240 (strong_alias): Likewise.
7241 (_strong_alias): Likewise.
7243 2018-11-12 Florian Weimer <fweimer@redhat.com>
7245 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7246 function. Move after the definition of in_smallbin_range. Do not
7247 use __builtin_expect for paths that lead to a noreturn function.
7248 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7249 because it is unclear whether this is in fact an unlikely
7251 (_int_malloc, _int_free): Adjust.
7252 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7254 * malloc/arena.c (heap_trim): Likewise.
7256 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7258 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7259 it, free it if needed.
7260 (reauthenticate): Test and use ccwdir.
7261 (child_init_port): In non-resetids case, test and use ccwdir.
7262 (child_chdir): New nested function to set ccwdir.
7263 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7264 * hurd/hurd/port.h (_hurd_port_move): New function.
7265 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7266 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7267 * hurd/Versions (_hurd_port_move): Export function.
7268 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7270 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7271 of dtablesize for allocating dtable_cloexec.
7273 2018-11-09 Martin Sebor <msebor@redhat.com>
7275 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7276 it's already defined.
7277 (_strong_alias): Use __attribute_copy__.
7278 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7279 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7280 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7281 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7282 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7283 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7284 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7285 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7286 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7287 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7288 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7289 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7290 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7291 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7292 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7293 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7294 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7295 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7296 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7298 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7300 * misc/tst-efgcvt.c: Include support/check.h and
7301 support/test-driver.c. Do not include test-skeleton.c.
7302 (error_count): Remove.
7303 (output_error): Replace increments to error_count with calls to
7304 support_record_failure.
7305 (output_r_error): Likewise.
7306 (special): Likewise.
7307 (do_test): Unconditionally return zero.
7308 (TEST_FUNCTION): Remove.
7310 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7312 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7314 ($(linknamespace-header-tests)): Likewise.
7316 * conform/conformtest.py: New file.
7317 * conform/conformtest.pl: Remove.
7318 * conform/GlibcConform.pm: Likewise.
7319 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7320 (KEYWORDS_C99): Likewise.
7321 (KEYWORDS): Likewise.
7322 * conform/Makefile ($(conformtest-header-tests)): Use
7323 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7324 option. Use --header instead of --headers.
7325 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7327 * conform/data/spawn.h-data: Likewise.
7328 * conform/data/fcntl.h-data (openat): Add space after function
7330 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7331 (wcscasecmp_l): Likewise.
7332 * conform/data/termios.h-data (c_cc): Add space after element
7335 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7337 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7338 instead of manually comparing and reporting mismatching strings.
7339 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7340 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7342 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7344 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7345 __ASSUME_SOCKETCALL.
7346 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7347 (__ASSUME_SOCKETCALL): Remove.
7348 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7349 (__ASSUME_SOCKETCALL): Likewise.
7350 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7351 (__ASSUME_SOCKETCALL): Likewise.
7352 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7353 (__ASSUME_SOCKETCALL): Likewise.
7354 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7355 (__ASSUME_SOCKETCALL): Likewise.
7356 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7357 (__ASSUME_SOCKETCALL): Likewise.
7358 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7359 (__ASSUME_SOCKETCALL): Likewise.
7361 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7364 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7365 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7366 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7367 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7368 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7371 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7374 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7376 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7380 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7381 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7382 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7384 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7386 * support/support_test_compare_string.c
7387 (support_test_compare_string): Fix printf format.
7389 2018-11-07 Florian Weimer <fweimer@redhat.com>
7391 Implement TEST_COMPARE_STRING.
7392 * support/check.h (TEST_COMPARE_STRING): Define.
7393 (support_test_compare_string): Declare.
7394 * support/Makefile (libsupport-routines): Add
7395 support_test_compare_string.
7396 (tests): Add tst-test_compare_string.
7397 * support/support_test_compare_string.c: New file.
7398 * support/tst-test_compare_string.c: Likewise.
7400 2018-11-07 Andreas Schwab <schwab@suse.de>
7403 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7404 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7407 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7410 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7411 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7412 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7413 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7416 2018-11-06 Florian Weimer <fweimer@redhat.com>
7419 * posix/Makefile (routines): Add spawn_faction_addchdir.
7420 (tests): Add tst-spawn-chdir.
7421 * posix/Versions (GLIBC_2.29): Add
7422 posix_spawn_file_actions_addchdir_np.
7423 * posix/spawn_faction_addchdir.c: New file.
7424 * posix/spawn_faction_destroy.c
7425 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7426 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7427 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7429 * posix/tst-spawn-chdir.c: New file.
7430 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7431 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7432 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7433 posix_spawn_file_actions_addchdir_np.
7434 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7436 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7438 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7439 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7441 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7443 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7445 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7447 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7449 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7451 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7452 (GLIBC_2.29): Likewise.
7453 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7454 (GLIBC_2.29): Likewise.
7455 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7456 (GLIBC_2.29): Likewise.
7457 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7458 (GLIBC_2.29): Likewise.
7459 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7462 (GLIBC_2.29): Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7464 (GLIBC_2.29): Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7466 (GLIBC_2.29): Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7468 (GLIBC_2.29): Likewise.
7469 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7471 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7473 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7475 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7476 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7478 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7480 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7482 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7485 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7487 * misc/Makefile (tests): Add tst-ldbl-error.
7488 * misc/tst-ldbl-error.c: New file.
7490 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7492 * misc/Makefile (tests): Add tst-ldbl-warn.
7493 * misc/tst-ldbl-warn.c: New file.
7495 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7497 * argp/Makefile (tests): Add tst-ldbl-argp.
7498 * argp/tst-ldbl-argp.c: New file.
7500 2018-11-05 Arjun Shankar <arjun@redhat.com>
7502 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7503 __gconv_path_elem and call __gconv_get_path unconditionally.
7505 2018-11-05 Andreas Schwab <schwab@suse.de>
7508 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7509 creating the first helper thread failed.
7511 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7513 * sysdeps/mach/hurd/msync.c: New file.
7515 2018-11-02 Florian Weimer <fweimer@redhat.com>
7517 * support/shell-container.c (copy_func): Call
7518 support_copy_file_range instead of copy_file_range to support
7519 cross-device copies.
7521 2018-11-02 Florian Weimer <fweimer@redhat.com>
7523 * support/test-container.c: Include <libc-pointer-arith.h> for
7526 2018-11-01 Zong Li <zong@andestech.com>
7528 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7529 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7530 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7531 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7533 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7534 variable to avoid overlap arguments.
7536 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7538 * posix/bug-regex22.c (main): Use puts with distinct error
7539 messages for unexpected success of re_compile_pattern, not printf
7540 with NULL argument to %s.
7542 * stdio-common/bug22.c: Include <libc-diag.h>.
7543 (do_test): Disable -Wformat-overflow= warnings around fprintf
7544 calls outputting more than INT_MAX characters.
7545 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7546 around printf call with NULL %s argument.
7549 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7550 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7552 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7553 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7554 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7555 (__ASSUME_SENDTO_SYSCALL): Likewise.
7556 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7557 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7559 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7560 (__ASSUME_CONNECT_SYSCALL): Likewise.
7561 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7562 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7563 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7565 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7567 [__LINUX_KERNEL_VERSION >= 0x040400]
7568 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7569 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7572 (setsockopt): Likewise.
7574 2018-11-01 Fredrik Noring <noring@nocrew.org>
7576 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7577 with the ISA override.
7579 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7581 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7584 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7586 * manual/errno.texi (EIEIO): Document how translators should
7587 translate the error message.
7588 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7589 printing trailing whitespaces refused by git.
7590 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7591 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7592 * hurd/Makefile (user-interfaces): Add pci.
7594 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7596 * conform/linknamespace.py: New file.
7597 * conform/linknamespace.pl: Remove file.
7598 * conform/Makefile ($(linknamespace-header-tests)): Use
7599 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7602 2018-10-30 Florian Weimer <fweimer@redhat.com>
7604 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7607 2018-10-30 Florian Weimer <fweimer@redhat.com>
7609 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7611 2018-10-30 Florian Weimer <fweimer@redhat.com>
7613 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7614 support_blob_repeat.
7616 2018-10-30 Florian Weimer <fweimer@redhat.com>
7618 Avoid spurious test failures in stdlib/test-bz22786.
7619 * support/Makefile (libsupport-routines): Add blob_repeat.
7620 (tests): Add tst-support_blob_repeat.
7621 * support/blob_repeat.h: New file.
7622 * support/blob_repeat.c: Likewise.
7623 * support/tst-support_blob_repeat.c: Likewise.
7624 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7625 support_blob_repeat_allocate.
7627 2018-10-30 Andreas Schwab <schwab@suse.de>
7630 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7631 Don't use tail call.
7632 * elf/tst-unwind-main.c: New file.
7633 * elf/Makefile (tests): Add tst-unwind-main.
7634 (CFLAGS-tst-unwind-main.c): Define.
7636 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7639 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7641 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7643 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7645 * conform/glibcconform.py: Do not import shutil.
7646 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7649 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7650 critic_missing for versions before 3.4.
7651 * configure: Regenerated.
7652 * manual/install.texi (Tools for Compilation): Document
7653 requirement for Python to build glibc.
7654 * INSTALL: Regenerated.
7655 * Rules [PYTHON]: Make code unconditional.
7656 * benchtests/Makefile [PYTHON]: Likewise.
7657 * conform/Makefile [PYTHON]: Likewise.
7658 * manual/Makefile [PYTHON]: Likewise.
7659 * math/Makefile [PYTHON]: Likewise.
7661 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7663 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7664 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7665 answer to interrupt_operation, return EIEIO instead of EINTR.
7666 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7667 _hurd_intr_rpc_msg_about_to global point to start of controlled
7668 assembly snippet. Make it check canceled flag.
7669 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7670 the _hurd_intr_rpc_msg_about_to point.
7671 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7672 issue, remove cancel flag check.
7674 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7676 * scripts/build-many-glibcs.py: Remove compatibility for missing
7677 os.cpu_count and re.fullmatch.
7679 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7682 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7683 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7684 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7686 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7688 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7691 2018-10-25 Florian Weimer <fweimer@redhat.com>
7695 XFAIL siginfo_t si_band conform test on sparc64.
7696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7697 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7698 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7699 (conformtest-xfail-conds): Add sparc64-linux.
7700 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7702 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7704 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7706 * elf/elf.h (NT_MIPS_DSP): New macro.
7707 (NT_MIPS_FP_MODE): Likewise.
7709 2018-10-25 Zong Li <zong@andestech.com>
7711 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7712 name by adding the file extension (.so).
7714 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7716 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7717 (test-xfail-ISO11/threads.h/linknamespace,
7718 test-xfail-ISO11/threads.h/conform): Add.
7720 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7722 * math/gen-libm-test.py: Import os.
7723 (ALL_FLOATS_MANUAL): New constant.
7724 (ALL_FLOATS_SUFFIX): Likewise.
7725 (Ulps.all_functions): New function.
7726 (real_all_ulps): Likewise.
7727 (generate_err_table_sub): Likewise.
7728 (generate_err_table): Likewise.
7729 (main): Handle -s and -m options.
7730 * manual/libm-err-tab.pl: Remove.
7731 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7732 instead of libm-err-tab.pl.
7733 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7735 * manual/install.texi (Tools for Compilation): Document
7736 requirement for Python to build manual.
7737 * INSTALL: Regenerated.
7739 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7741 * bits/time64.h: New file.
7742 * include/time.h: Replace internal_time_t with __time64_t.
7743 * posix/bits/types (__time64_t): Add.
7744 * stdlib/Makefile: Add bits/time64.h to includes.
7745 * time/tzfile.c: Replace internal_time_t with __time64_t.
7747 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7749 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7750 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7751 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7752 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7753 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7755 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7756 * posix/spawn_faction_addclose.c
7757 (__posix_spawn_file_actions_addclose): Add hidden definition.
7758 * posix/spawn_faction_adddup2.c
7759 (__posix_spawn_file_actions_adddup2): Likewise.
7760 * posix/spawn_faction_destroy.c
7761 (__posix_spawn_file_actions_destroy): Likewise.
7762 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7764 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7765 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7766 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7768 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7769 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7772 2018-10-24 Andreas Schwab <schwab@suse.de>
7775 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7777 * elf/cache.c (print_cache): Likewise.
7779 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7781 * bits/timesize.h: New file.
7782 * stdlib/Makefile (headers): Add bits/timesize.h.
7783 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7784 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7785 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7786 (__SEM_PAD_AFTER_TIME): Likewise.
7787 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7788 (__SHM_PAD_AFTER_TIME): Likewise.
7789 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7790 (__MSQ_PAD_BEFORE_TIME): Likewise.
7791 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7792 (__SEM_PAD_BEFORE_TIME): Likewise.
7793 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7794 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7795 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7796 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7797 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7798 (__MSQ_PAD_BEFORE_TIME): Likewise.
7799 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7800 (__SEM_PAD_BEFORE_TIME): Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7802 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7803 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7804 (__MSQ_PAD_BEFORE_TIME): Likewise.
7805 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7806 (__SEM_PAD_BEFORE_TIME): Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7808 (__SHM_PAD_BEFORE_TIME): Likewise.
7809 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7810 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7811 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7813 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7815 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7816 USE_RDTSCP is defined.
7817 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7818 USE_RDTSCP is defined.
7820 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7822 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7826 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7827 independently of other flags.
7829 2018-10-23 Florian Weimer <fweimer@redhat.com>
7831 * time/tst-mktime2.c (N_STRINGS): Remove.
7832 (set_timezone): New function.
7833 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7834 (mktime_test1): Report localtime failure and check errno value.
7836 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7837 (do_test): Remove alarm call. Use set_timezone and array_length.
7839 2018-10-23 Andreas Schwab <schwab@suse.de>
7841 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7842 (__start_context): Use END instead of PSEUDO_END.
7844 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7846 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7849 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7853 * wcsmbs/c32rtomb.c: New file.
7854 * wcsmbs/mbrtoc32.c: Likewise.
7855 * wcsmbs/tst-c32-state.c: Likewise.
7856 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7857 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7858 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7859 (tests): Add tst-c32-state.
7860 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7863 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7865 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7866 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7868 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7871 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7872 pair and return 0 in that case, and use saved character to
7873 interpret following character.
7874 * wcsmbs/tst-c16-surrogate.c: New file.
7875 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7876 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7877 Depend on $(gen-locales)
7879 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7882 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7883 (struct siginfo_t): Use correct type for si_band.
7885 2018-10-19 Florian Weimer <fweimer@redhat.com>
7888 * resource/bits/types/struct_rusage.h (struct rusage): Update
7889 comment on struct. Remove extraneous field comment.
7891 2018-10-18 David S. Miller <davem@davemloft.net>
7893 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7894 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7895 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7896 sysdep_routines in subdir elf.
7897 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7898 version for __vdso_clock_gettime.
7899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7901 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7902 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7904 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7906 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7908 * sysdeps/i386/init-arch.h: Removed.
7909 * sysdeps/i386/i586/init-arch.h: Likewise.
7910 * sysdeps/i386/i686/init-arch.h: Likewise.
7911 * sysdeps/i386/i686/hp-timing.h: Likewise.
7912 * sysdeps/x86_64/hp-timing.h: Likewise.
7913 * sysdeps/i386/isa.h: New file.
7914 * sysdeps/i386/i586/isa.h: Likewise.
7915 * sysdeps/i386/i686/isa.h: Likewise.
7916 * sysdeps/x86_64/isa.h: Likewise.
7917 * sysdeps/x86/hp-timing.h: New file.
7918 * sysdeps/x86/init-arch.h: Include <isa.h>.
7920 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7922 * math/libm-test-pow.inc (pow_test_data): Do not allow
7923 divide-by-zero exception for pow(+/- 0, -Inf).
7925 2018-10-17 Zack Weinberg <zackw@panix.com>
7927 * manual/job.texi (Job Control is Optional): Remove node, as
7928 job control has not been optional in quite some time.
7929 (Job Control): Mention briefly that systems older than
7930 POSIX.1-2001 might not support job control.
7931 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7932 defined on systems conforming to POSIX.1-2001.
7934 2018-10-17 Arjun Shankar <arjun@redhat.com>
7937 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7939 * (__gconv_read_conf): Mark function static.
7940 * (once): New static variable.
7941 * (__gconv_load_conf): New function.
7942 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7943 * iconv/gconv_db.c (once): Remove static variable.
7944 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7946 * (__gconv_find_transform): Likewise.
7947 * iconv/tst-iconv-mt.c: New test.
7948 * iconv/Makefile: Add tst-iconv_mt.
7950 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7954 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7955 (shmatt_t): Define as __syscall_ulong_t.
7956 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7957 and [__SHM_PAD_AFTER_TIME].
7958 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7959 Define shm_segsz and associated padding based on
7960 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7961 Use __syscall_ulong_t instead of unsigned long int.
7962 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7964 [__USE_MISC] (struct shm_info): Likewise.
7965 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7966 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7967 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7969 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7970 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7971 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7972 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7973 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7974 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7975 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7979 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7980 (SHMLBA): Remove macro.
7981 (__getpagesize): Remove function declaration.
7982 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7984 (SHMLBA): Remove macro.
7985 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7987 (SHMLBA): Remove macro.
7988 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7990 (SHMLBA): Remove macro.
7991 (__getpagesize): Remove function declaration.
7992 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7994 (SHMLBA): Remove macro.
7995 (__getshmlba): Remove function declaration.
7996 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7997 (SHMLBA): Remove macro.
7998 (__getpagesize): Remove function declaration.
7999 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8000 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8001 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8002 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8003 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8004 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8005 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8006 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8007 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8008 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8010 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8013 * nptl/tst-mutex10.c: New File.
8014 * nptl/Makefile (tests): Add tst-mutex10.
8015 (tst-mutex10-ENV): New variable.
8016 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8017 Ensure that elision path is used if elision is available.
8018 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8020 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8022 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8023 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8024 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8025 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8027 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8028 (__pthread_mutex_cond_lock_adjust): Likewise.
8029 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8031 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8032 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8033 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8034 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8036 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8037 Use atomic_load_relaxed and atomic_store_relaxed.
8038 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8039 Use atomic_store_relaxed.
8041 2018-10-17 Andreas Schwab <schwab@suse.de>
8043 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8044 * crypt/badsalttest.c (TIMEOUT): Likewise.
8045 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8046 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8047 * io/test-lfs.c (TIMEOUT): Likewise.
8048 * libio/tst-atime.c (TIMEOUT): Likewise.
8049 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8050 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8051 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8052 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8053 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8054 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8055 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8056 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8057 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8058 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8059 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8060 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8061 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8062 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8063 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8064 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8065 * nptl/tst-once2.c (TIMEOUT): Likewise.
8066 * nptl/tst-once3.c (TIMEOUT): Likewise.
8067 * nptl/tst-once4.c (TIMEOUT): Likewise.
8068 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8069 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8070 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8071 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8072 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8073 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8074 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8075 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8076 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8077 * posix/tst-chmod.c (TIMEOUT): Likewise.
8078 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8079 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8080 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8081 * posix/tst-regex2.c (TIMEOUT): Likewise.
8082 * posix/tst-waitid.c (TIMEOUT): Likewise.
8083 * rt/tst-aio.c (TIMEOUT): Likewise.
8084 * rt/tst-aio10.c (TIMEOUT): Likewise.
8085 * rt/tst-aio4.c (TIMEOUT): Likewise.
8086 * rt/tst-aio5.c (TIMEOUT): Likewise.
8087 * rt/tst-aio6.c (TIMEOUT): Likewise.
8088 * rt/tst-aio64.c (TIMEOUT): Likewise.
8089 * rt/tst-aio7.c (TIMEOUT): Likewise.
8090 * rt/tst-aio9.c (TIMEOUT): Likewise.
8091 * rt/tst-clock.c (TIMEOUT): Likewise.
8092 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8093 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8094 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8095 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8096 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8097 * rt/tst-timer4.c (TIMEOUT): Likewise.
8098 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8099 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8100 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8101 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8102 * time/tst-ftime.c (TIMEOUT): Likewise.
8103 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8105 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8107 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8108 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8111 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8115 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8116 instead of <bits/wordsize.h>.
8117 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8118 and [__SEM_PAD_AFTER_TIME].
8119 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8120 __syscall_ulong_t instead of unsigned long int.
8121 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8122 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8123 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8124 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8125 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8126 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8127 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8128 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8129 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8130 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8131 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8133 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8135 regex: simplify by using intprops.h
8137 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8138 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8139 intprops.h defines them.
8141 regex: __builtin_expect → __glibc_unlikely
8143 This refactoring was prompted by a problem when the regex code is
8144 used as part of Gnulib and when the builder’s compiler does not grok
8145 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8146 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8147 Although this refactoring does not fix the problem directly,
8148 we might as well have Gawk use the now-preferred glibc style for when
8149 __builtin_expect is unavailable.
8150 * posix/regex_internal.h (BE): Remove.
8151 All uses replaced by __glibc_unlikely or __glibc_likely.
8153 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8157 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8158 instead of <bits/wordsize.h>.
8159 (msgqnum_t): Define as __syscall_ulong_t.
8160 (msglen_t): Likewise.
8161 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8162 and [__MSQ_PAD_AFTER_TIME].
8163 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8164 __syscall_ulong_t instead of unsigned long int.
8165 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8166 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8167 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8169 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8170 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8171 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8172 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8173 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8174 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8175 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8177 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8179 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8180 (struct shmid_ds): Condition padding after time fields on
8182 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8183 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8184 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8186 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8187 (struct semid_ds): Condition padding after time fields on
8189 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8190 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8191 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8192 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8194 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8195 (struct msqid_ds): Condition padding after time fields on
8197 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8198 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8199 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8200 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8202 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8204 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8206 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8208 * libio/tst-readline.c (TIMEOUT): Define.
8210 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8212 mktime fix for Gnulib + coreutils
8214 This fix affects only Gnulib. Problem discovered when
8215 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8217 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8218 Do not define since it is not used. Defining an unused static
8219 function prompts a warning from GCC when Coreutils is configured
8220 with --enable-gcc-warnings.
8222 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8224 * benchtests/scripts/compare_bench.py (main): set float type on
8227 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8230 * localedata/locales/kl_GL (mon): Update, the relative case.
8231 (alt_mon): Add, fill with month names in the nominative case.
8232 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8233 (d_fmt): Set to "%b %d %Y".
8235 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8237 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8238 <bits/mman-linux.h>.
8239 (PROT_READ): Don't define here.
8240 (PROT_WRITE): Likewise.
8241 (PROT_EXEC): Likewise.
8242 (PROT_NONE): Likewise.
8243 (PROT_GROWSDOWN): Likewise.
8244 (PROT_GROWSUP): Likewise.
8245 (MAP_SHARED): Likewise.
8246 (MAP_PRIVATE): Likewise.
8247 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8248 [__USE_MISC] (MAP_FILE): Likewise.
8249 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8250 [__USE_MISC] (MAP_ANON): Likewise.
8251 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8252 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8253 (MCL_CURRENT): Likewise.
8254 (MCL_FUTURE): Likewise.
8255 (MCL_ONFAULT): Likewise.
8256 [__USE_MISC] (MADV_NORMAL): Likewise.
8257 [__USE_MISC] (MADV_RANDOM): Likewise.
8258 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8259 [__USE_MISC] (MADV_WILLNEED): Likewise.
8260 [__USE_MISC] (MADV_DONTNEED): Likewise.
8261 [__USE_MISC] (MADV_FREE): Likewise.
8262 [__USE_MISC] (MADV_REMOVE): Likewise.
8263 [__USE_MISC] (MADV_DONTFORK): Likewise.
8264 [__USE_MISC] (MADV_DOFORK): Likewise.
8265 [__USE_MISC] (MADV_HWPOISON): Likewise.
8266 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8267 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8268 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8269 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8270 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8271 (__MAP_ANONYMOUS): New macro.
8272 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8273 <bits/mman-linux.h> inclusion.
8274 (MAP_FIXED): Likewise.
8275 (MS_SYNC): Likewise.
8276 (MS_ASYNC): Likewise.
8277 (MS_INVALIDATE): Likewise.
8278 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8279 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8280 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8281 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8282 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8283 [__USE_MISC] (MADV_DODUMP): Likewise.
8284 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8285 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8288 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8290 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8291 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8292 Add test-nldbl-redirect.
8293 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8294 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8295 $(objpfx)libnldbl_nonshared.a.
8297 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8299 * support/support.h (support_objdir_elf_ldso): New variable.
8300 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8301 * support/Makefile (CFLAGS-support_paths.c): Add definition
8302 for OBJDIR_ELF_LDSO_PATH.
8303 * support/test-container.c (main): Search for the ld.so
8304 which is also used by the testsuite.
8306 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8309 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8310 should be "sap" rather than "sab".
8311 (day): Fix spelling of Sunday, should be "sapaat" rather than
8314 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8316 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8318 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8321 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8322 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8323 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8325 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8327 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8329 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8331 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8333 (CFLAGS-elision-unlock.c): Likewise.
8334 (CFLAGS-elision-timed.c): Likewise.
8335 (CFLAGS-elision-trylock.c): Likewise.
8336 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8338 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8341 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8342 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8343 new fd_to_filename interface.
8344 * libio/freopen64.c (freopen64): Likewise.
8345 * libio/tst-memstream.h: New file.
8346 * libio/tst-memstream4.c: Likewise.
8347 * libio/tst-wmemstream4.c: Likewise.
8348 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8349 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8350 and remove internal dynamic allocation.
8352 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8354 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8355 (MREMAP_MAYMOVE): Do not define here.
8356 [__USE_GNU] (MREMAP_FIXED): Likewise.
8357 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8358 (MREMAP_MAYMOVE): Define here instead.
8359 [__USE_GNU] (MREMAP_FIXED): Likewise.
8360 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8361 (MREMAP_MAYMOVE): Remove.
8362 [__USE_GNU] (MREMAP_FIXED): Likewise.
8364 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8366 * math/fromfp.h: Do not include <math_private.h>.
8367 * math/s_cacosh_template.c: Likewise.
8368 * math/s_casin_template.c: Likewise.
8369 * math/s_casinh_template.c: Likewise.
8370 * math/s_ccos_template.c: Likewise.
8371 * math/s_cproj_template.c: Likewise.
8372 * math/s_fdim_template.c: Likewise.
8373 * math/s_fmaxmag_template.c: Likewise.
8374 * math/s_fminmag_template.c: Likewise.
8375 * math/s_iseqsig_template.c: Likewise.
8376 * math/s_ldexp_template.c: Likewise.
8377 * math/s_nextdown_template.c: Likewise.
8378 * math/w_log1p_template.c: Likewise.
8379 * math/w_scalbln_template.c: Likewise.
8380 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8381 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8382 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8383 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8384 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8385 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8386 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8387 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8388 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8389 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8390 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8391 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8392 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8393 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8394 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8395 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8396 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8401 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8402 * sysdeps/ieee754/k_standardf.c: Likewise.
8403 * sysdeps/ieee754/k_standardl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8406 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8412 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8413 * sysdeps/ieee754/s_signgam.c: Likewise.
8414 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8415 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8416 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8417 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8418 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8419 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8420 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8421 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8422 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8423 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8424 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8425 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8426 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8427 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8428 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8429 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8430 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8431 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8432 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8433 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8434 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8435 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8436 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8437 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8438 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8439 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8440 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8441 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8442 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8443 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8444 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8445 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8446 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8447 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8448 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8449 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8450 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8452 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8454 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8457 * sysdeps/i386/dl-cet.c: Removed.
8458 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8460 (_dl_runtime_profile_shstk): Likewise.
8461 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8462 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8464 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8467 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8468 do_test_with_invalid_iov): New tests.
8469 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8470 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8471 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8473 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8474 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8475 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8477 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8479 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8480 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8481 (MATH_REDIRECT_BINARY_ARGS): New macro.
8482 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8483 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8484 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8486 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8488 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8489 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8499 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8500 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8505 * sysdeps/generic/math_private_calls.h
8506 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8507 Do not declare and define as an inline function.
8508 * math/divtc3.c (__divtc3): Use copysign functions instead of
8509 __copysign variants.
8510 * math/multc3.c (__multc3): Likewise.
8511 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8512 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8513 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8514 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8516 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8517 (__ieee754_yn): Likewise.
8518 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8519 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8520 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8521 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8522 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8524 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8525 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8531 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8532 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8534 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8535 (__ieee754_ynf): Likewise.
8536 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8537 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8538 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8539 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8541 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8542 (__ieee754_ynl): Likewise.
8543 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8544 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8545 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8548 (__ieee754_ynl): Likewise.
8549 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8552 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8554 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8556 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8557 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8558 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8559 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8560 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8562 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8563 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8564 using MATH_REDIRECT.
8565 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8567 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8570 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8571 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8578 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8579 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8581 (round): Redirect to __round.
8582 (__roundl): Call round instead of __round.
8583 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8585 [_ARCH_PWR5X] (__roundf): Likewise.
8586 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8587 functions instead of __round variants.
8588 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8589 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8591 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8593 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8595 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8598 (__ieee754_expl): Call roundl instead of __roundl.
8600 2018-09-27 Andreas Schwab <schwab@suse.de>
8603 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8604 (do_test): Make st1 static.
8606 2018-09-26 Andreas Schwab <schwab@suse.de>
8609 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8610 * elf/Makefile (tests): Add tst-unwind-ctor.
8611 (modules-names): Add tst-unwind-ctor-lib.
8612 ($(objpfx)tst-unwind-ctor): Depend on
8613 $(objpfx)tst-unwind-ctor-lib.so.
8615 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8617 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8618 file. Most contents moved from ....
8619 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8620 and include <bits/mman-map-flags-generic.h>.
8621 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8622 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8623 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8624 <bits/mman-map-flags-generic.h>.
8625 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8626 macros defined in <bits/mman-map-flags-generic.h>.
8627 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8628 <bits/mman-map-flags-generic.h>.
8629 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8630 defined in <bits/mman-map-flags-generic.h>.
8632 2018-09-26 Andreas Schwab <schwab@suse.de>
8634 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8637 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8638 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8639 Fangrui Song <maskray@google.com>
8642 * config.make.in (have-textrel_ifunc): New define.
8643 * configure.ac: Add check if linker supports textrel relocation with
8645 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8647 (CFLAGS-tst-ifunc-textrel.c): New rule.
8648 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8649 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8650 * elf/tst-ifunc-textrel.c: New file.
8652 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8654 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8655 <bits/procfs-prregset.h>.
8656 (prgregset_t): Define using __prgregset_t.
8657 (prfpregset_t): Define using __prfpregset_t.
8658 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8659 (sysdep_headers): Add bits/procfs-prregset.h.
8660 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8661 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8662 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8663 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8665 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8666 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8667 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8669 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8670 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8671 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8672 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8673 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8674 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8675 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8676 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8677 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8678 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8679 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8680 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8681 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8682 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8683 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8684 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8685 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8686 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8687 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8688 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8689 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8690 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8691 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8692 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8694 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8695 AArch64 version. Include <bits/procfs.h>.
8696 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8697 (sysdep_headers): Add bits/procfs.h.
8698 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8699 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8700 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8701 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8702 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8703 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8704 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8705 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8706 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8707 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8708 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8709 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8710 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8711 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8712 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8713 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8714 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8716 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8718 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8721 2018-09-25 Arjun Shankar <arjun@redhat.com>
8723 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8724 (__gconv_max_path_elem_len): Likewise.
8725 (__gconv_nmodules): Likewise.
8726 (__gconv_get_path): Likewise.
8727 (path_elem): Move to ...
8728 * iconv/gconv_conf.c: ... here.
8729 (__gconv_get_path): Mark function static.
8730 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8731 * iconv/gconv_open.c: ... here.
8733 2018-09-24 Andreas Schwab <schwab@suse.de>
8735 * scripts/haveversions.awk: New file.
8736 * Makerules ($(common-objpfx)Versions.def)
8737 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8738 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8740 * Makeconfig ($(common-objpfx)Versions.def)
8741 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8742 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8744 ($(common-objpfx)Versions.mk): New rule. Include it.
8745 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8746 Emit error if build-obsolete-nsl = yes.
8747 * manual/install.texi (Configuring and compiling): Describe
8748 --enable-obsolete-nsl as unavaiable after version 2.28.
8749 * INSTALL: Regenerate.
8751 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8753 * NEWS: Add note about new TLE support on powerpc64le.
8754 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8755 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8757 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8758 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8759 * sysdeps/powerpc/powerpc32/sysdep.h,
8760 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8761 ABORT_TRANSACTION): Remove macros.
8762 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8763 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8764 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8766 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8767 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8769 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8771 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8774 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8775 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8776 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8777 which is the same as in it_IT.
8778 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8779 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8781 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8783 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8784 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8785 using MATH_REDIRECT.
8786 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8788 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8790 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8792 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8798 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8799 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8800 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8801 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8802 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8803 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8804 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8806 (ceil): Redirect to __ceil.
8807 (floor): Redirect to __floor.
8808 (trunc): Redirect to __trunc.
8809 (__truncl): Call trunc instead of __trunc.
8810 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8812 [_ARCH_PWR5X] (__truncf): Likewise.
8813 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8814 trunc functions instead of __trunc variants.
8815 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8817 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8819 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8821 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8824 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8825 [__i586__ || __pentium__].
8826 [__i486__]: Handle explicitly.
8827 (HAS_CPUID): Define to 1 if above macros are undefined.
8828 (HAS_I586): Likewise.
8829 (HAS_I686): Likewise.
8831 2018-09-20 Florian Weimer <fweimer@redhat.com>
8833 * misc/tst-gethostid.c: New file.
8834 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8835 (tst-gethostid): Link with -ldl.
8837 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8839 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8840 value from gethostbyname_r.
8842 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8844 * stdlib/tst-setcontext9.c (f1): Rename to...
8846 (f1b): New function implementing lower half of f1 in alternate stack.
8848 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8850 Fix mktime localtime offset confusion
8852 * include/time.h (__mktime_internal): The localtime offset is now
8853 of type long int instead of time_t. This is the longstanding type
8854 in glibc, and it is more than enough to represent difference
8855 between localtime and gmtime even if it is 32 bits and time_t is
8856 64. Changing it now will let us avoid an unnecessary change when
8857 time_t is widened to 64 bits on 32-bit platforms.
8858 * time/mktime-internal.h (mktime_offset_t): Now long int.
8860 Merge mktime, timegm from upstream Gnulib
8861 [BZ #23603][BZ #16346]
8862 This fixes some obscure problems with integer overflow.
8863 Although it looks scary, it is almost all a byte-for-byte copy
8864 from Gnulib, and the Gnulib code has been tested reasonably well.
8865 * include/intprops.h: New file, copied from Gnulib.
8866 * include/verify.h, time/mktime-internal.h:
8867 New tiny files, simplified from Gnulib.
8868 * time/mktime.c: Copy from Gnulib. This has the following changes:
8869 Do not include config.h if DEBUG_MKTIME is nonzero.
8870 Include stdbool.h, intprops.h, verify.h.
8871 Include string.h only if needed.
8872 Include stdlib.h on MS-Windows.
8873 Include mktime-internal.h.
8874 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8875 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8876 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8877 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8878 simplify later conditionals; default the others to zero. Use
8879 these conditionals to express only the code needed on the current
8880 platform. In uses of these conditionals, explicitly spell out how
8881 _LIBC affects things, so it’s easier to review from a glibc
8883 (WRAPV): Remove; no longer needed now that we have
8884 systematic overflow checking.
8885 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8886 compartmentalize tzset issues. Move system-dependent tzsettish
8887 code here from mktime.
8888 (verify): Remove; now done by verify.h. All uses changed.
8889 (long_int): Use a more-conservative definition, to avoid
8891 (SHR): Remove, replacing with ...
8892 (shr): New function, which means we needn’t worry about side
8893 effects in args, and conversion analysis is simpler.
8894 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8895 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8896 (time_t_avg, time_t_add_ok): Remove.
8897 (mktime_min, mktime_max): New constants.
8898 (leapyear, isdst_differ): Use bool for booleans.
8899 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8900 Use long_int, not time_t, for mktime differences.
8901 (long_int_avg): New function, replacing time_t_avg.
8902 INT_ADD_WRAPV replaces time_t_add_ok.
8903 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8905 (convert_time): New function.
8906 (ranged_convert): Use it.
8907 (__mktime_internal): Last arg now points to mktime_offset_t, not
8908 time_t. All uses changed. This is a no-op on glibc, where
8909 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8910 offset guess. Directly check for integer overflow instead of
8911 using a heuristic that works only 99.9...% of the time.
8912 Access *OFFSET only once, to avoid an unlikely race if the
8913 compiler delays a load and if this cascades into a signed integer
8915 (mktime): Move tzsettish code to my_tzset, and move
8916 localtime_offset to within mktime so that it doesn’t
8917 need a separate ifdef.
8918 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8919 instead of localtime.
8920 * time/timegm.c: Copy from Gnulib. This has the following changes:
8921 Include mktime-internal.h.
8922 [!_LIBC]: Include config.h and time.h. Do not include
8923 timegm.h or time_r.h. Make __mktime_internal a macro,
8924 and include mktime-internal.h to get its declaration.
8925 (timegm): Temporary is now mktime_offset_t, not time_t.
8926 This affects only Gnulib.
8928 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8931 * string/test-strstr.c (pr23637): New function.
8932 (test_main): Add tests with longer needles.
8933 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8934 * string/strstr.c (AVAILABLE): Likewise.
8936 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8938 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8940 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8942 * NEWS: Mention pow improvements.
8943 * math/Makefile (type-double-routines): Add e_pow_log_data.
8944 * sysdeps/generic/math_private.h (__exp1): Remove.
8945 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8946 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8947 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8949 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8950 (exp_inline): Remove.
8951 (__ieee754_exp): Only single double input is handled.
8952 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8953 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8954 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8955 (__pow_log_data): Define.
8956 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8957 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8958 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8959 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8961 (CFLAGS-e_pow-fma4.c): Likewise.
8963 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8965 Simplify tzfile fstat failure code
8967 * time/tzfile.c (__tzfile_read): Simplify slightly.
8969 Fix tzfile low-memory assertion failure
8971 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8972 when registering time zone abbreviations.
8974 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8976 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8977 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8978 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8979 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8980 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8981 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8982 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8983 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8984 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8986 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8988 (__ceill): Call ceil instead of __ceil.
8989 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8991 (__floorl): Call floor instead of __floor.
8993 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8995 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8996 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8997 using MATH_REDIRECT.
8998 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9000 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9003 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9004 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9007 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9012 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9013 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9016 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9017 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9018 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9020 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9021 functions instead of __ceil variants.
9022 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9023 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9027 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9028 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9030 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9031 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9034 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9036 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9037 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9038 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9039 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9040 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9041 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9042 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9043 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9044 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9045 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9046 (ILL_BADIADDR): Remove constant.
9047 (TRAP_BRANCH): Likewise.
9048 (TRAP_HWBKPT): Likewise.
9050 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9053 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9054 Remove [_MIPS_SIM = _ABIN32] conditional case.
9055 (struct elf_prpsinfo): Likewise.
9058 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9059 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9060 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9062 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9063 elf_prpsinfo): Likewise.
9064 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9065 elf_prpsinfo): Likewise.
9066 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9069 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9070 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9071 using MATH_REDIRECT.
9072 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9074 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9075 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9076 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9077 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9080 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9081 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9084 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9085 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9086 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9087 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9088 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9089 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9090 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9091 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9092 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9097 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9098 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9099 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9100 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9102 * math/e_scalbf.c (invalid_fn): Likewise.
9103 * math/e_scalbl.c (invalid_fn): Likewise.
9104 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9106 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9108 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9109 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9110 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9112 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9114 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9116 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9117 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9119 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9120 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9122 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9123 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9124 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9125 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9126 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9127 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9128 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9129 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9130 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9131 && !NO_MATH_REDIRECT] (floor): Likewise.
9132 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9134 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9137 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9138 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9141 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9146 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9147 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9150 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9151 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9152 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9154 [_ARCH_PWR5X] (__floorf): Likewise.
9155 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9157 [__SSE4_1__] (__floorf): Likewise.
9158 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9159 instead of __floor variants.
9160 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9161 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9162 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9163 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9164 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9165 * math/w_tgamma_compat.c (__tgamma): Likewise.
9166 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9167 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9168 * math/w_tgammal_compat.c (__tgammal): Likewise.
9169 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9172 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9174 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9175 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9177 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9178 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9180 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9186 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9188 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9189 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9190 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9191 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9193 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9195 * elf/Makefile (modules-names-tests): New variable.
9197 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9199 * NEWS: Mention log2 improvements.
9200 * math/Makefile (type-double-routines): Add e_log2_data.
9201 * sysdeps/i386/fpu/e_log2_data.c: New file.
9202 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9203 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9204 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9205 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9207 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9209 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9211 * NEWS: Mention log improvement.
9212 * math/Makefile (type-double-routines): Add e_log_data.
9213 * sysdeps/i386/fpu/e_log_data.c: New file.
9214 * sysdeps/ia64/fpu/e_log_data.c: New file.
9215 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9216 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9217 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9218 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9219 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9220 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9222 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9223 Xuepeng Guo <xuepeng.guo@intel.com>
9226 * sysdeps/i386/start.S: Include <sysdep.h>
9227 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9228 enabled. Add cfi_undefined (eip).
9230 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9232 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9234 (EXTRACT_WORDS64): Likewise.
9235 (INSERT_WORDS64): Likewise.
9236 (GET_FLOAT_WORD): Likewise.
9237 (SET_FLOAT_WORD): Likewise.
9239 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9241 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9242 build, but not for second build if --full-gcc. Use
9243 --enable-languages=all for second build if --full-gcc.
9244 (get_parser): Add --full-gcc option.
9245 (main): Update call to Context.
9247 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9250 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9251 Single Quotation Mark).
9252 (thousands_sep): Likewise.
9253 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9254 * localedata/locales/it_IT (thousands_sep): Use ".".
9255 (grouping): Use "3;3".
9257 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9259 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9260 x86_64 and i686 configs using --enable-obsolete-rpc
9261 --enable-obsolete-nsl.
9263 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9265 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9267 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9269 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9270 Increment size of new_argv by one.
9272 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9275 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9276 * localedata/locales/ar_IN (d_fmt): Likewise.
9277 * localedata/locales/bhb_IN (d_fmt): Likewise.
9278 * localedata/locales/bho_IN (d_fmt): Likewise.
9279 * localedata/locales/bn_BD (d_fmt): Likewise.
9280 * localedata/locales/bn_IN (d_fmt): Likewise.
9281 * localedata/locales/doi_IN (d_fmt): Likewise.
9282 * localedata/locales/gu_IN (d_fmt): Likewise.
9283 * localedata/locales/hi_IN (d_fmt): Likewise.
9284 * localedata/locales/hne_IN (d_fmt): Likewise.
9285 * localedata/locales/kn_IN (d_fmt): Likewise.
9286 * localedata/locales/mag_IN (d_fmt): Likewise.
9287 * localedata/locales/mai_IN (d_fmt): Likewise.
9288 * localedata/locales/mjw_IN (d_fmt): Likewise.
9289 * localedata/locales/ml_IN (d_fmt): Likewise.
9290 * localedata/locales/mni_IN (d_fmt): Likewise.
9291 * localedata/locales/mr_IN (d_fmt): Likewise.
9292 * localedata/locales/pa_IN (d_fmt): Likewise.
9293 * localedata/locales/raj_IN (d_fmt): Likewise.
9294 * localedata/locales/sat_IN (d_fmt): Likewise.
9295 * localedata/locales/sd_IN (d_fmt): Likewise.
9296 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9297 * localedata/locales/ta_IN (d_fmt): Likewise.
9298 * localedata/locales/ta_LK (d_fmt): Likewise.
9299 * localedata/locales/tcy_IN (d_fmt): Likewise.
9300 * localedata/locales/ur_IN (d_fmt): Likewise.
9302 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9303 * localedata/locales/ks_IN (d_fmt): Likewise.
9304 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9306 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9307 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9308 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9309 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9311 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9313 * NEWS: Mention exp and exp2 improvements.
9314 * math/Makefile (libm-support): Remove t_exp.
9315 (type-double-routines): Add math_err and e_exp_data.
9316 * sysdeps/aarch64/libm-test-ulps: Update.
9317 * sysdeps/arm/libm-test-ulps: Update.
9318 * sysdeps/i386/fpu/e_exp_data.c: New file.
9319 * sysdeps/i386/fpu/math_err.c: New file.
9320 * sysdeps/i386/fpu/t_exp.c: Remove.
9321 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9322 * sysdeps/ia64/fpu/math_err.c: New file.
9323 * sysdeps/ia64/fpu/t_exp.c: Remove.
9324 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9325 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9326 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9328 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9329 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9330 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9331 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9332 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9333 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9334 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9335 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9336 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9337 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9341 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9343 * sysdeps/alpha/fpu/math_private.h: Remove.
9345 * sysdeps/generic/math_private.h
9346 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9347 Move this inline function ....
9348 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9349 * include/math.h [!_ISOMAC]: To here....
9351 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9353 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9355 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9356 * include/fenv.h [!_ISOMAC]: ... to here.
9357 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9358 (feraiseexcept): Likewise.
9359 * math/fromfp.h: Do not include <fenv_private.h>.
9360 * math/s_cexp_template.c: Likewise.
9361 * math/s_csin_template.c: Likewise.
9362 * math/s_csinh_template.c: Likewise.
9363 * math/s_ctan_template.c: Likewise.
9364 * math/s_ctanh_template.c: Likewise.
9365 * math/s_iseqsig_template.c: Likewise.
9366 * math/w_acos_compat.c: Likewise.
9367 * math/w_acosf_compat.c: Likewise.
9368 * math/w_acosl_compat.c: Likewise.
9369 * math/w_asin_compat.c: Likewise.
9370 * math/w_asinf_compat.c: Likewise.
9371 * math/w_asinl_compat.c: Likewise.
9372 * math/w_j0_compat.c: Likewise.
9373 * math/w_j0f_compat.c: Likewise.
9374 * math/w_j0l_compat.c: Likewise.
9375 * math/w_j1_compat.c: Likewise.
9376 * math/w_j1f_compat.c: Likewise.
9377 * math/w_j1l_compat.c: Likewise.
9378 * math/w_jn_compat.c: Likewise.
9379 * math/w_jnf_compat.c: Likewise.
9380 * math/w_log10_compat.c: Likewise.
9381 * math/w_log10f_compat.c: Likewise.
9382 * math/w_log10l_compat.c: Likewise.
9383 * math/w_log2_compat.c: Likewise.
9384 * math/w_log2f_compat.c: Likewise.
9385 * math/w_log2l_compat.c: Likewise.
9386 * math/w_log_compat.c: Likewise.
9387 * math/w_logf_compat.c: Likewise.
9388 * math/w_logl_compat.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9394 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9395 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9396 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9397 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9398 * sysdeps/ieee754/k_standardl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9401 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9411 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9412 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9416 * math/w_ilogb_template.c: Include <fenv.h> instead of
9418 * math/w_llogb_template.c: Likewise.
9419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9422 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9424 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9425 * math/fromfp.h: Include <fenv_private.h>.
9426 * math/math-narrow.h: Likewise.
9427 * math/s_cexp_template.c: Likewise.
9428 * math/s_csin_template.c: Likewise.
9429 * math/s_csinh_template.c: Likewise.
9430 * math/s_ctan_template.c: Likewise.
9431 * math/s_ctanh_template.c: Likewise.
9432 * math/s_iseqsig_template.c: Likewise.
9433 * math/w_acos_compat.c: Likewise.
9434 * math/w_acosf_compat.c: Likewise.
9435 * math/w_acosl_compat.c: Likewise.
9436 * math/w_asin_compat.c: Likewise.
9437 * math/w_asinf_compat.c: Likewise.
9438 * math/w_asinl_compat.c: Likewise.
9439 * math/w_ilogb_template.c: Likewise.
9440 * math/w_j0_compat.c: Likewise.
9441 * math/w_j0f_compat.c: Likewise.
9442 * math/w_j0l_compat.c: Likewise.
9443 * math/w_j1_compat.c: Likewise.
9444 * math/w_j1f_compat.c: Likewise.
9445 * math/w_j1l_compat.c: Likewise.
9446 * math/w_jn_compat.c: Likewise.
9447 * math/w_jnf_compat.c: Likewise.
9448 * math/w_llogb_template.c: Likewise.
9449 * math/w_log10_compat.c: Likewise.
9450 * math/w_log10f_compat.c: Likewise.
9451 * math/w_log10l_compat.c: Likewise.
9452 * math/w_log2_compat.c: Likewise.
9453 * math/w_log2f_compat.c: Likewise.
9454 * math/w_log2l_compat.c: Likewise.
9455 * math/w_log_compat.c: Likewise.
9456 * math/w_logf_compat.c: Likewise.
9457 * math/w_logl_compat.c: Likewise.
9458 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9459 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9460 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9461 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9486 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9487 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9488 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9490 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9496 * sysdeps/ieee754/k_standardl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9523 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9527 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9528 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9533 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9535 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9536 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9537 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9538 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9539 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9540 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9541 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9542 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9543 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9544 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9545 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9546 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9547 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9548 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9549 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9550 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9551 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9552 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9553 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9554 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9555 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9556 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9557 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9558 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9559 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9560 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9561 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9562 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9563 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9564 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9565 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9566 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9567 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9569 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9572 * include/stdio.h (__libc_fatal): Mention newline in comment.
9573 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9574 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9576 * nss/nsswitch.c (__nss_next2): Likewise.
9577 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9578 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9579 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9580 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9581 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9582 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9583 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9584 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9585 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9586 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9587 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9588 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9589 (__netlink_assert_response): Likewise.
9591 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9593 * conform/glibcconform.py: New file.
9594 * conform/list-header-symbols.py: Likewise.
9595 * conform/list-header-symbols.pl: Remove.
9596 * conform/Makefile (tests-special): Only add linknamespace tests
9598 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9600 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9603 * support/Makefile (libsupport-routines): Add
9604 support_copy_file_range and xcopy_file_range.
9605 * support/support.h: Include <sys/types.h>.
9606 (support_copy_file_range): New prototype.
9607 * support/support_copy_file_range.c: New file. Copied and
9608 modified from io/copy_file_range-compat.c.
9609 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9610 instead of copy_file_range.
9611 * support/xcopy_file_range.c: New file.
9612 * support/xunistd.h (xcopy_file_range): New prototype.
9614 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9616 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9617 xpthread_create and xpthread_join.
9619 2018-08-30 Florian Weimer <fweimer@redhat.com>
9621 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9623 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9625 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9628 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9630 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9631 and minus_oflow as non-finite.
9633 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9635 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9636 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9637 moved to fenv_private.h except for ...
9638 (TOINT_INTRINSICS): Kept in math_private.h.
9639 (roundtoint): Likewise.
9640 (converttoint): Likewise.
9641 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9642 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9643 * sysdeps/arm/math_private.h: Remove.
9644 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9646 * sysdeps/generic/math_private.h: ... this file. Include
9647 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9648 Include <fenv_private.h>. Remove functions and macros moved to
9650 * sysdeps/i386/fpu/math_private.h: Remove.
9651 * sysdeps/mips/math_private.h: Move to ....
9652 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9653 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9654 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9655 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9656 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9657 * sysdeps/powerpc/fpu/math_private.h: Do not include
9659 * sysdeps/riscv/rvf/math_private.h: Move to ....
9660 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9661 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9663 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9664 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9665 * sysdeps/sparc/fpu/math_private.h: Remove.
9666 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9667 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9668 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9670 * sysdeps/x86_64/fpu/math_private.h: Do not include
9671 <sysdeps/i386/fpu/fenv_private.h>.
9673 2018-08-28 Florian Weimer <fweimer@redhat.com>
9676 * posix/tst-regcomp-truncated.c: New file.
9677 * posix/Makefile (tests): Add it.
9678 (tst-regcomp-truncated.out): Depend on generated locales.
9680 2018-08-28 Florian Weimer <fweimer@redhat.com>
9682 * support/test-container.c (main): Treat unshare failure with
9683 EPERM as an unsupported test.
9685 2018-08-28 Florian Weimer <fweimer@redhat.com>
9688 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9689 * nscd/netgroupcache.c
9690 (addgetnetgrentX): Add tofreep parameter. Do not free
9691 heap-allocated buffer.
9692 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9693 (addgetnetgrentX_ignore): New function.
9694 (addgetnetgrent): Call it.
9695 (readdgetnetgrent): Likewise.
9697 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9699 * string/memmem.c: Use memcmp for first match.
9701 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9704 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9706 2018-08-27 DJ Delorie <dj@redhat.com>
9708 * support/Makefile (others): Don't list programs explicitly as a
9709 dependency of "others".
9711 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9713 * sysdeps/generic/math-tests-trap-force.h: New file.
9714 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9715 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9716 * sysdeps/powerpc/math-tests.h: Remove file.
9717 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9719 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9720 Torvald Riegel <triegel@redhat.com>
9723 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9724 Update r to include the set wake-request flag if waiters are
9725 remaining after spinning.
9727 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9729 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9731 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9734 regex: fix uninitialized memory access
9735 I introduced this bug into gnulib in commit
9736 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9737 eventually it was merged into glibc. The bug was found by
9738 project-repo <bugs@feusi.co> and reported here:
9739 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9740 Diagnosis and draft fix reported by Assaf Gordon here:
9741 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9742 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9743 * posix/regex_internal.c (build_wcs_upper_buffer):
9744 Fix bug when mbrtowc returns 0.
9746 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9748 * po/be.po: Update translation.
9750 2018-08-24 DJ Delorie <dj@delorie.com>
9752 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9755 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9758 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9759 create temporary files in source tree.
9761 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9763 * sysdeps/generic/math-tests-trap.h: New file.
9764 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9765 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9766 * sysdeps/aarch64/math-tests.h: Remove file.
9767 * sysdeps/arm/math-tests.h: Likewise.
9768 * sysdeps/riscv/math-tests.h: Likewise.
9769 * sysdeps/aarch64/math-tests-trap.h: New file.
9770 * sysdeps/arm/math-tests-trap.h: Likewise.
9771 * sysdeps/riscv/math-tests-trap.h: Likewise.
9773 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9775 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9776 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9777 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9778 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9779 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9780 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9781 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9782 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9783 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9784 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9785 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9787 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9788 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9789 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9790 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9791 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9792 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9794 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9796 * sysdeps/generic/math-tests-exceptions.h: New file.
9797 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9798 (EXCEPTION_TESTS_float): Do not define here.
9799 (EXCEPTION_TESTS_double): Likewise.
9800 (EXCEPTION_TESTS_long_double): Likewise.
9801 (EXCEPTION_TESTS_float128): Likewise.
9802 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9804 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9805 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9806 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9807 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9808 * sysdeps/mips/math-tests.h: Likewise.
9809 * sysdeps/nios2/math-tests.h: Likewise.
9810 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9811 (EXCEPTION_TESTS_float): Do not define here.
9812 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9813 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9814 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9816 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9818 * NEWS: Move optimized sinf entry to 2.29.
9820 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9822 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9824 2018-08-22 DJ Delorie <dj@redhat.com>
9826 * Makefile (testroot.pristine): New rules to initialize the
9827 test-in-container "testroot".
9828 * Makerules (all-testsuite): Add tests-container.
9829 * Rules (tests-expected): Add tests-container.
9830 (binaries-all-tests): Likewise.
9831 (tests-container): New, run these tests in the testroot container.
9832 * support/Makefile (others): Add *-container, support_paths.c,
9833 xmkdirp, and links-dso-program.
9834 * support/links-dso-program-c.c: New.
9835 * support/links-dso-program.cc: New.
9836 * support/test-container.c: New.
9837 * support/shell-container.c: New.
9838 * support/echo-container.c: New.
9839 * support/true-container.c: New.
9840 * support/xmkdirp.c: New.
9841 * support/xsymlink.c: New.
9842 * support/support_paths.c: New.
9843 * support/support.h: Add support paths prototypes.
9844 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9846 * nss/tst-nss-test3.c: Convert to test-in-container.
9847 * nss/tst-nss-test3.root/: New.
9849 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9851 regex: port Gnulib code to z/OS POSIX environment
9852 Problem reported by Arnold Robbins in:
9853 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9854 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9857 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9859 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9860 (ROUNDING_TESTS_double): Remove.
9861 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9862 (ROUNDING_TESTS_double): Remove.
9863 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9864 (ROUNDING_TESTS_double): Remove.
9865 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9866 (ROUNDING_TESTS_float): Remove.
9867 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9868 (ROUNDING_TESTS_float): Remove.
9869 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9870 (ROUNDING_TESTS_float): Remove.
9871 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9873 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9874 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9876 * sysdeps/generic/math-tests-rounding.h: New file.
9877 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9878 (ROUNDING_TESTS_float): Do not define here.
9879 (ROUNDING_TESTS_double): Likewise.
9880 (ROUNDING_TESTS_long_double): Likewise.
9881 (ROUNDING_TESTS_float128): Likewise.
9882 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9883 (ROUNDING_TESTS_double): Undefine before defining.
9884 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9885 (ROUNDING_TESTS_double): Undefine before defining.
9886 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9887 (ROUNDING_TESTS_double): Undefine before defining.
9888 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9889 (ROUNDING_TESTS_float): Undefine before defining.
9890 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9891 (ROUNDING_TESTS_float): Undefine before defining.
9892 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9893 (ROUNDING_TESTS_float): Undefine before defining.
9894 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9895 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9897 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9898 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9899 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9900 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9901 (ROUNDING_TESTS_float): Do not define here.
9902 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9903 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9904 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9905 (ROUNDING_TESTS_float): Likewise.
9906 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9907 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9908 * sysdeps/mips/math-tests.h [__mips_soft_float]
9909 (ROUNDING_TESTS_float): Likewise.
9910 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9911 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9912 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9913 (ROUNDING_TESTS_double): Likewise.
9914 (ROUNDING_TESTS_long_double): Likewise.
9916 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9918 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9919 (PF_XDP): New macro.
9920 (AF_XDP): New macro.
9921 (SOL_XDP): New macro.
9923 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9925 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9926 (TCP_INQ): Likewise.
9927 (TCP_CM_INQ): Likewise.
9928 (TCP_REPAIR_ON): Likewise.
9929 (TCP_REPAIR_OFF): Likewise.
9930 (TCP_REPAIR_OFF_NO_WP): Likewise.
9931 (struct tcp_zerocopy_receive): New type.
9933 2018-08-21 Florian Weimer <fweimer@redhat.com>
9935 * support/support.h (support_descriptor_supports_holes): Declare.
9936 * support/Makefile (libsupport-routines): Add
9937 support_descriptor_supports_holes.
9938 * support/support_descriptor_supports_holes.c: New file.
9939 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9940 and stop testing if holes are not supported.
9941 * io/test-lfs.c (do_prepare): Likewise.
9942 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9944 * timezone/tst-tzset.c (create_tz_file): Likewise.
9945 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9947 (do_prepare): Set it.
9948 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9950 2018-08-21 Florian Weimer <fweimer@redhat.com>
9953 * Makeconfig (+cflags): Do not sort (and deduplicate).
9955 2018-08-21 Florian Weimer <fweimer@redhat.com>
9957 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9958 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9960 2018-08-20 Florian Weimer <fweimer@redhat.com>
9962 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9963 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9965 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9967 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9968 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9969 and ssi_arch members.
9971 * elf/elf.c (NT_VMCOREDD): New macro.
9972 (AT_MINSIGSTKSZ): Likewise.
9974 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9977 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9978 s_cosf-ppc64 and s_cosf-power8.
9979 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9980 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9981 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9982 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9989 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9990 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9992 2018-08-17 Florian Weimer <fweimer@redhat.com>
9994 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9996 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9998 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10000 2018-08-16 Florian Weimer <fweimer@redhat.com>
10002 * configure.ac: Add --with-nonshared-cflags option.
10003 * config.make.in (extra-nonshared-cflags): Set variable.
10004 * Makeconfig (CFLAGS-.oS): Use it.
10005 * manual/install.texi (Configuring and compiling): Document
10006 --with-nonshared-cflags.
10007 * configure: Regenerate.
10008 * INSTALL: Likewise.
10010 2018-08-16 Florian Weimer <fweimer@redhat.com>
10012 * Makeconfig (ASFLAGS): Always append required assembler flags.
10014 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10016 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10017 (malloc_consolidate): Likewise.
10019 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10021 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10023 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10025 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10028 * benchtests/bench-strlen.c: Print performance numbers in json.
10030 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10032 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10033 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10034 only for little endian.
10035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10036 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10037 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10038 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10039 Add check for little endian.
10040 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10041 (__strcmp_power9): Add check for little endian.
10042 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10043 Add check for little endian.
10044 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10045 (__strncmp_power9): Add check for little endian.
10046 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10047 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10048 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10049 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10050 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10052 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10054 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10055 [!STRLEN](STRLEN): Set to __strlen.
10056 * sysdeps/aarch64/multiarch/strlen.c: New file.
10057 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10058 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10059 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10060 (__libc_ifunc_impl_list): Add strlen.
10061 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10062 strlen_generic and strlen_asimd.
10064 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10066 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10067 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10068 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10070 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10072 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10074 2018-08-14 Florian Weimer <fweimer@redhat.com>
10077 * include/stdio.h (__vfxprintf): Declare.
10078 * stdio-common/fxprintf.c (__vfxprintf): New function.
10079 (__fxprintf): Call it.
10080 * misc/err.c (convert_and_print): Remove function.
10081 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10082 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10083 * misc/Makefile (tests): Add tst-warn-wide.
10084 * misc/tst-warn-wide.c: New file.
10086 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10087 Szabolcs Nagy <szabolcs.nagy@arm.com>
10089 * NEWS: Mention sinf, cosf, sincosf.
10090 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10091 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10092 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10093 constants rather than including generic sincosf.h.
10094 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10095 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10096 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10097 (reduced_cos): Remove.
10098 (sinf_poly): New function.
10099 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10101 2018-08-14 Florian Weimer <fweimer@redhat.com>
10105 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10106 processing, bail out if no room, and close the stream before
10108 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10109 (tst-nss-files-alias-leak): Link with libdl.
10110 (tst-nss-files-alias-leak.out): Depend on nss_files.
10112 * nss/tst-nss-files-alias-leak.c: New file.
10114 2018-08-14 Florian Weimer <fweimer@redhat.com>
10116 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10117 server_user, stat_user.
10119 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10121 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10123 (io_pgetevents): New syscall.
10126 * manual/install.texi (Configuring and compiling): Do not list
10127 tools used for testing pretty printers here.
10128 (Tools for Compilation): List Python, PExpect and GDB here.
10129 Update descriptions of uses of Perl and Python.
10130 * INSTALL: Regenerate.
10132 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10135 2018-08-13 Florian Weimer <fweimer@redhat.com>
10137 * misc/error.c (error): Add missing va_end call.
10138 (error_at_line): Likewise.
10140 2018-08-13 Florian Weimer <fweimer@redhat.com>
10142 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10144 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10146 * benchtests/scripts/benchout.schema.json (properties): Add
10149 * benchtests/bench-skeleton.c (main): Add duration and
10150 iterations attributes.
10152 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10154 regex: Gnulib unibyte RRI uses bytes not chars
10155 Adjust the non-glibc code to agree with what Gawk needs for
10156 rational range interpretation (RRI) for regular expression ranges.
10157 In unibyte locales, Gawk wants ranges to use the underlying byte
10158 rather than the character code point. This change does not affect
10160 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10161 In unibyte locales, use the byte value rather than
10162 running it through btowc.
10164 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10166 * sysdeps/generic/math-tests-snan.h: New file.
10167 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10168 (SNAN_TESTS_float): Do not define here.
10169 (SNAN_TESTS_double): Likewise.
10170 (SNAN_TESTS_long_double): Likewise.
10171 (SNAN_TESTS_float128): Likewise.
10172 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10173 * sysdeps/i386/fpu/math-tests.h: Remove file.
10174 * sysdeps/ia64/math-tests-snan.h: New file.
10175 * sysdeps/ia64/math-tests.h: Remove file.
10176 * sysdeps/x86/math-tests.h: Likewise.
10177 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10179 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10180 Szabolcs Nagy <szabolcs.nagy@arm.com>
10182 * math/Makefile: Add s_sincosf_data.c.
10183 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10184 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10185 (sincosf_poly): Likewise.
10186 (reduce_small): Likewise.
10187 (reduce_large): Likewise.
10188 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10189 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10190 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10191 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10193 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10194 Szabolcs Nagy <szabolcs.nagy@arm.com>
10196 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10197 (converttoint): Use lround.
10198 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10199 document the semantics when TOINT_INTRINSICS is set.
10200 (converttoint): Likewise.
10201 (TOINT_RINT): Remove.
10202 (TOINT_SHIFT): Remove.
10203 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10206 2018-08-10 Florian Weimer <fweimer@redhat.com>
10209 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10211 (__old_getdents64): Use getdents64. Convert entries without
10213 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10214 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10215 tst-readdir64-compat.
10217 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10219 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10222 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10224 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10225 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10226 code to s390x-mcount.h and #include it.
10227 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10228 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10231 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10233 * stdlib/Versions: Remove __fentry__.
10234 * sysdeps/i386/Versions: Add __fentry__.
10235 * sysdeps/x86_64/Versions: Add __fentry__.
10237 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10239 * sysdeps/s390/Makefile: Register the new tests.
10240 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10241 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10242 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10243 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10244 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10245 * sysdeps/s390/tst-dl-runtime.c: New file.
10247 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10249 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10252 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10254 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10257 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10259 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10262 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10264 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10267 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10269 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10270 Use symbolic offsets for stack variables.
10272 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10274 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10275 Use symbolic offsets for stack variables.
10277 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10279 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10280 Use symbolic offsets for stack variables.
10282 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10284 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10285 Use symbolic offsets for stack variables.
10287 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10289 * math/gen-libm-test.py: New file.
10290 * math/gen-libm-test.pl: Remove.
10291 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10292 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10294 ($(libm-test-c-noauto-obj)): Likewise.
10295 ($(libm-test-c-auto-obj)): Likewise.
10296 ($(libm-test-c-narrow-obj)): Likewise.
10297 (regen-ulps): Likewise.
10298 * math/README.libm-test: Update references to gen-libm-test.pl.
10299 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10300 referencing gen-libm-test.pl.
10301 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10302 * math/libm-test-support.c: Likewise.
10303 * math/libm-test-support.h: Likewise.
10304 * sysdeps/generic/libm-test-ulps: Likewise.
10306 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10308 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10311 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10313 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10314 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10316 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10318 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10320 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10321 __pthread_setspecific): Add hidden proto.
10322 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10323 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10325 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10327 * benchtests/bench-string.h (buf1_size, buf2_size): New
10329 (init_sizes): New function.
10330 (test_init): Use it.
10331 (alloc_buf, exit_error): New functions.
10332 (alloc_bufs): Use ALLOC_BUF.
10333 (realloc_bufs): Remove.
10334 * benchtests/bench-memcmp.c (do_test): Adjust.
10335 * benchtests/bench-memset-large.c (do_test): Likewise.
10336 * benchtests/bench-memset-walk.c (do_test): Likewise.
10337 * benchtests/bench-memset.c (do_test): Likewise.
10338 * benchtests/bench-strncmp.c (do_test): Likewise.
10340 2018-08-06 Andreas Schwab <schwab@suse.de>
10342 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10343 of CONST_THREAD_AREA.
10345 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10347 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10348 (STATE_SAVE_MASK): Likewise.
10349 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10350 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10351 (STATE_SAVE_MASK): Likewise.
10352 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10353 instead of <cpu-features.h>.
10355 2018-08-03 DJ Delorie <dj@redhat.com>
10357 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10358 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10360 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10362 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10364 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10365 after TEST_* calls.
10366 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10367 * math/libm-test-logb.inc (logb_test_data): Likewise.
10369 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10371 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10372 * string/strstr.c (AVAILABLE): Likewise.
10374 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10376 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10378 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10379 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10380 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10382 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10384 * po/be.po: Update translation.
10386 * po/be.po: Update translation.
10388 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10390 * sysdeps/x86/cpu-features-offsets.sym
10391 (rtld_global_ro_offsetof): Removed.
10392 (CPU_FEATURES_SIZE): Likewise.
10393 (CPUID_OFFSET): Likewise.
10394 (CPUID_SIZE): Likewise.
10395 (CPUID_EAX_OFFSET): Likewise.
10396 (CPUID_EBX_OFFSET): Likewise.
10397 (CPUID_ECX_OFFSET): Likewise.
10398 (CPUID_EDX_OFFSET): Likewise.
10399 (FAMILY_OFFSET): Likewise.
10400 (MODEL_OFFSET): Likewise.
10401 (FEATURE_OFFSET): Likewise.
10402 (FEATURE_SIZ): Likewise.
10403 (COMMON_CPUID_INDEX_1): Likewise.
10404 (COMMON_CPUID_INDEX_7): Likewise.
10405 (FEATURE_INDEX_1): Likewise.
10406 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10408 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10410 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10411 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10412 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10413 (install-locales): Depend on install-locale-archive.
10414 (install-locale-archive): Define.
10415 (install-locale-files): Define.
10416 (build-one-locale): Define macro.
10417 * manual/install.texi (Running make install): Document.
10418 * manual/INSTALL: Regenerate.
10420 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10422 * benchtests/scripts/compare_strings.py: Import traceback.
10423 (parse_file): Pretty-print error.
10425 * NEWS: Mention the change.
10426 * elf/dl-tunables.list: Rename tune namespace to cpu.
10427 * sysdeps/powerpc/dl-tunables.list: Likewise.
10428 * sysdeps/x86/dl-tunables.list: Likewise.
10429 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10431 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10432 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10433 * manual/README.tunables: Likewise.
10434 * manual/tunables.texi: Likewise.
10435 * sysdeps/powerpc/cpu-features.c: Likewise.
10436 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10437 (init_cpu_features): Likewise.
10438 * sysdeps/x86/cpu-features.c: Likewise.
10439 * sysdeps/x86/cpu-features.h: Likewise.
10440 * sysdeps/x86/cpu-tunables.c: Likewise.
10441 * sysdeps/x86_64/Makefile: Likewise.
10442 * sysdeps/x86/dl-cet.c: Likewise.
10444 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10447 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10448 [__mips_hard_float].
10449 (FE_UNDERFLOW): Likewise.
10450 (FE_OVERFLOW): Likewise.
10451 (FE_DIVBYZERO): Likewise.
10452 (FE_INVALID): Likewise.
10453 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10454 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10455 (FE_UPWARD): Likewise.
10456 (FE_DOWNWARD): Likewise.
10457 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10458 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10459 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10460 [__mips_hard_float].
10461 (FP_ROUNDMODE): Likewise.
10462 (FP_RND_NEAREST): Likewise.
10463 (FP_RND_ZERO): Likewise.
10464 (FP_RND_PINF): Likewise.
10465 (FP_RND_MINF): Likewise.
10466 (FP_EX_INVALID): Likewise.
10467 (FP_EX_OVERFLOW): Likewise.
10468 (FP_EX_UNDERFLOW): Likewise.
10469 (FP_EX_DIVZERO): Likewise.
10470 (FP_EX_INEXACT): Likewise.
10471 (FP_INIT_ROUNDMODE): Likewise.
10472 * sysdeps/mips/nofpu/fesetenv.c: New file.
10473 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10475 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10477 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10478 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10479 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10480 conditional on [FE_UPWARD].
10482 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10484 regex: fix memory leak in Gnulib
10485 Problem and fix reported by Assaf Gordon in:
10486 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10487 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10488 range_ends members too, as they are defined in 'struct
10489 re_charset_t' even if not _LIBC. This affects only Gnulib.
10491 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10493 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10495 (get_common_indices): This.
10496 (init_cpu_features): Updated.
10498 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10500 * sysdeps/generic/math-tests-snan-payload.h: New file.
10501 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10502 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10503 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10504 * sysdeps/generic/math-tests.h: Include
10505 <math-tests-snan-payload.h>.
10506 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10507 * sysdeps/hppa/math-tests.h: Remove file.
10508 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10509 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10510 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10513 * sysdeps/generic/math-tests-snan-cast.h: New file.
10514 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10515 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10516 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10517 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10519 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10521 * version.h (RELEASE): Set to "development".
10522 (VERSION): Set to "2.28.9000".
10523 * NEWS (2.29): New section.
10525 * version.h (RELEASE): Set to "stable".
10526 (VERSION): Set to "2.28".
10527 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10528 * NEWS: Add the list of bugs fixed in 2.28.
10530 * po/ca.po: Update to latest version.
10531 * po/cs.po: Likewise
10532 * po/da.po: Likewise
10533 * po/el.po: Likewise
10534 * po/eo.po: Likewise
10535 * po/es.po: Likewise
10536 * po/fi.po: Likewise
10537 * po/fr.po: Likewise
10538 * po/gl.po: Likewise
10539 * po/hu.po: Likewise
10540 * po/ia.po: Likewise
10541 * po/id.po: Likewise
10542 * po/it.po: Likewise
10543 * po/ja.po: Likewise
10544 * po/ko.po: Likewise
10545 * po/lt.po: Likewise
10546 * po/nb.po: Likewise
10547 * po/nl.po: Likewise
10548 * po/pt_BR.po: Likewise
10549 * po/ru.po: Likewise
10550 * po/rw.po: Likewise
10551 * po/sk.po: Likewise
10552 * po/sl.po: Likewise
10553 * po/tr.po: Likewise
10554 * po/zh_CN.po: Likewise
10555 * po/zh_TW.po: Likewise
10557 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10559 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10561 (init): ... before initializing libpthread.
10563 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10564 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10565 (__mach_setup_tls): ... new function.
10566 (mach_setup_tls): New alias.
10567 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10568 __mach_setup_thread.
10569 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10570 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10571 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10572 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10574 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10576 * manual/install.texi: Update versions.
10577 * INSTALL: Regenerate.
10579 * manual/contrib.texi (Contributors): Update contributions.
10581 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10583 * po/be.po: Update translations.
10585 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10587 * sysdeps/sh/libm-test-ulps: Update.
10589 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10591 * po/bg.po: Update translations.
10592 * po/de.po: Likewise.
10593 * po/hr.po: Likewise.
10594 * po/pt_BR.po: Likewise.
10595 * po/sv.po: Likewise.
10596 * po/vi.po: Likewise.
10598 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10601 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10602 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10603 (CFLAGS-tst-cet-property-1.o): New.
10604 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10605 ($(objpfx)tst-cet-property-2): Likewise.
10606 ($(objpfx)tst-cet-property-2.out): Likewise.
10607 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10608 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10609 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10610 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10611 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10613 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10616 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10618 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10620 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10621 __sbrk): Do not set attribute_hidden.
10622 * sysdeps/mach/hurd/not-errno.h: New file.
10623 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10624 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10626 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10628 * po/uk.po: Update translations.
10629 * po/cs.po: Likewise.
10630 * po/pl.po: Likewise.
10632 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10634 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10635 parse beyond the note end.
10637 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10639 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10640 kernel does not support OFD locks.
10641 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10643 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10645 * sysdeps/mach/hurd/Versions (libc): Make __access and
10646 __access_noerrno external so they can override the ld symbols.
10647 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10648 __writev, __open64, __access_noerrno extern so they can be overrided.
10649 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10650 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10652 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10654 * po/libc.pot: Regenerate.
10656 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10658 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10660 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10663 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10665 (init_cpu_features): Call get_extended_indices for both Intel
10667 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10668 Remove "for AMD" comment.
10670 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10673 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10674 COMMON_CPUID_INDEX_80000001.
10676 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10678 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10679 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10681 2018-07-26 Florian Weimer <fweimer@redhat.com>
10683 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10684 aliases for symbols not in the implementation namespace.
10686 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10689 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10690 lowercase in LATIN script.
10691 * localedata/Makefile (test-input): Add en_US.UTF-8.
10692 * localedata/en_US.UTF-8.in: New file.
10693 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10694 and restore old tests.
10695 * posix/tst-regexloc.c (do_test): Add back range expression test.
10697 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10699 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10701 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10703 * nptl/threads.h: Move to ...
10704 * sysdeps/nptl/threads.h: ... here.
10705 * sysdeps/hurd/stdc-predef.h: New file.
10707 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10710 tst-cet-setcontext-1 if CET is enabled.
10711 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10712 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10714 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10716 * include/threads.h: Move to ...
10717 * sysdeps/nptl/threads.h: ... here.
10718 * sysdeps/htl/threads.h: New file.
10719 * conform/Makefile (linknamespace-libs-ISO11): Use
10720 static-thread-library instead of linking libpthread.
10721 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10723 2018-07-25 Florian Weimer <fweimer@redhat.com>
10725 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10726 nanoseconds into seconds.
10727 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10728 (do_test): Likewise.
10729 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10730 (do_test): Likewise. Avoid nanosecond overflow and spurious
10731 timeouts due to system load.
10732 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10733 (child_wait): Increment it.
10734 (do_test): Wait as long as necessary until all expected threads
10737 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10738 H.J. Lu <hongjiu.lu@intel.com>
10740 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10742 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10743 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10744 (__push___start_context): New.
10745 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10747 (__getcontext): Record the current shadow stack base. Save the
10748 caller's shadow stack pointer and base.
10749 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10750 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10751 (__push___start_context): New prototype.
10752 (__makecontext): Call __push___start_context to allocate a new
10753 shadow stack, push __start_context onto the new stack as well
10754 as the new shadow stack.
10755 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10757 (__setcontext): Restore the target shadow stack.
10758 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10760 (__swapcontext): Record the current shadow stack base. Save
10761 the caller's shadow stack pointer and base. Restore the target
10763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10764 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10765 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10767 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10769 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10770 tst-setcontext8 and tst-setcontext9.
10771 * stdlib/tst-setcontext6.c: New file.
10772 * stdlib/tst-setcontext7.c: Likewise.
10773 * stdlib/tst-setcontext8.c: Likewise.
10774 * stdlib/tst-setcontext9.c: Likewise.
10776 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10778 * stdlib/Makefile ((tests): Add tst-setcontext5.
10779 * stdlib/tst-setcontext5.c: New file.
10781 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10783 * stdlib/Makefile (tests): Add tst-setcontext4.
10784 * stdlib/tst-setcontext4.c: New file.
10786 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10788 * stdlib/Makefile (tests): Add tst-swapcontext1.
10789 * stdlib/tst-swapcontext1.c: New test.
10791 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10793 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10794 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10795 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10796 and tst-cet-legacy-4c.
10797 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10798 and tst-cet-legacy-mod-4.
10799 (CFLAGS-tst-cet-legacy-2.c): New.
10800 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10801 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10802 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10803 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10804 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10805 ($(objpfx)tst-cet-legacy-1): Likewise.
10806 ($(objpfx)tst-cet-legacy-2): Likewise.
10807 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10808 ($(objpfx)tst-cet-legacy-2a): Likewise.
10809 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10810 ($(objpfx)tst-cet-legacy-4): Likewise.
10811 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10812 ($(objpfx)tst-cet-legacy-4a): Likewise.
10813 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10814 (tst-cet-legacy-4a-ENV): Likewise.
10815 ($(objpfx)tst-cet-legacy-4b): Likewise.
10816 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10817 (tst-cet-legacy-4b-ENV): Likewise.
10818 ($(objpfx)tst-cet-legacy-4c): Likewise.
10819 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10820 (tst-cet-legacy-4c-ENV): Likewise.
10821 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10822 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10823 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10824 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10825 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10826 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10827 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10828 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10829 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10830 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10831 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10833 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10835 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10836 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10838 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10839 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10842 2018-07-25 Andreas Schwab <schwab@suse.de>
10845 * locale/weightwc.h (findidx): Handle the case where usrc is a
10846 prefix of cp but one character too short.
10848 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10850 * NEWS: Add ISO C threads addition.
10852 2018-07-24 Florian Weimer <fweimer@redhat.com>
10854 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10855 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10856 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10859 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10861 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10862 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10863 <sys/prctl.h> and <asm/prctl.h>.
10864 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10865 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10867 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10868 ARCH_CET_LEGACY_BITMAP.
10869 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10870 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10871 * sysdeps/x86/libc-start.c: Include <startup.h>.
10873 2018-07-24 Florian Weimer <fweimer@redhat.com>
10875 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10876 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10878 2018-07-24 Rical Jasan <rj@2c3t.io>
10879 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10880 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10883 * manual/debug.texi: Update adjacent chapter name.
10884 * manual/probes.texi: Likewise.
10885 * manual/threads.texi (ISO C Threads): New section.
10886 (POSIX Threads): Convert to a section.
10888 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10889 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10892 * nptl/Makefile (tests): Add new test files.
10893 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10894 * nptl/tst-cnd-basic.c: Likewise.
10895 * nptl/tst-cnd-broadcast.c: Likewise.
10896 * nptl/tst-cnd-timedwait.c: Likewise.
10897 * nptl/tst-mtx-basic.c: Likewise.
10898 * nptl/tst-mtx-recursive.c: Likewise.
10899 * nptl/tst-mtx-timedlock.c: Likewise.
10900 * nptl/tst-mtx-trylock.c: Likewise.
10901 * nptl/tst-thrd-basic.c: Likewise.
10902 * nptl/tst-thrd-detach.c: Likewise.
10903 * nptl/tst-thrd-sleep.c: Likewise.
10904 * nptl/tst-tss-basic.c: Likewise.
10906 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10909 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10910 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10912 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10931 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10932 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10934 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10935 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10936 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10937 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10938 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10939 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10940 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10941 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10942 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10943 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10945 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10946 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10947 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10948 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10949 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10951 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10953 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10963 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10973 * conform/data/threads.h-data (thread_local): New macro.
10974 (TSS_DTOR_ITERATIONS): Likewise.
10976 (tss_dtor_t): Likewise.
10977 (tss_create): New function.
10978 (tss_get): Likewise.
10979 (tss_set): Likewise.
10980 (tss_delete): Likewise.
10981 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10982 tss_get, and tss_set objects.
10983 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10984 * nptl/tss_create.c: New file.
10985 * nptl/tss_delete.c: Likewise.
10986 * nptl/tss_get.c: Likewise.
10987 * nptl/tss_set.c: Likewise.
10988 * sysdeps/nptl/threads.h (thread_local): New define.
10989 (TSS_DTOR_ITERATIONS): Likewise.
10990 (tss_t): New typedef.
10991 (tss_dtor_t): Likewise.
10992 (tss_create): New prototype.
10993 (tss_get): Likewise.
10994 (tss_set): Likewise.
10995 (tss_delete): Likewise.
10998 * conform/data/threads.h-data (cnd_t): New type.
10999 (cnd_init): New function.
11000 (cnd_signal): Likewise.
11001 (cnd_broadcast): Likewise.
11002 (cnd_wait): Likewise.
11003 (cnd_timedwait): Likewise.
11004 (cnd_destroy): Likewise.
11005 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11006 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11008 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11009 * nptl/cnd_broadcast.c: New file.
11010 * nptl/cnd_destroy.c: Likewise.
11011 * nptl/cnd_init.c: Likewise.
11012 * nptl/cnd_signal.c: Likewise.
11013 * nptl/cnd_timedwait.c: Likewise.
11014 * nptl/cnd_wait.c: Likewise.
11015 * sysdeps/nptl/threads.h (cnd_t): New type.
11016 (cnd_init): New prototype.
11017 (cnd_signa): Likewise.
11018 (cnd_broadcast): Likewise.
11019 (cnd_wait): Likewise.
11020 (cnd_timedwait): Likewise.
11021 (cnd_destroy): Likewise.
11024 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11025 (once_flag): New type.
11026 (call_once): New function.
11027 * nptl/Makefile (libpthread-routines): Add call_once object.
11028 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11029 * nptl/call_once.c: New file.
11030 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11031 (once_flag): New type.
11032 (call_once): New prototype.
11035 * conform/data/threads.h-data (mtx_plain): New constant.
11036 (mtx_recursive): Likewise.
11037 (mtx_timed): Likewise.
11039 (mtx_init): New function.
11040 (mtx_lock): Likewise.
11041 (mtx_timedlock): Likewise.
11042 (mtx_trylock): Likewise.
11043 (mtx_unlock): Likewise.
11044 (mtx_destroy): Likewise.
11045 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11046 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11047 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11048 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11049 * nptl/mtx_destroy.c: New file.
11050 * nptl/mtx_init.c: Likewise.
11051 * nptl/mtx_lock.c: Likewise.
11052 * nptl/mtx_timedlock.c: Likewise.
11053 * nptl/mtx_trylock.c: Likewise.
11054 * nptl/mtx_unlock.c: Likewise.
11055 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11056 (mtx_recursive): Likewise.
11057 (mtx_timed): Likewise.
11059 (mtx_init): New prototype.
11060 (mtx_lock): Likewise.
11061 (mtx_timedlock): Likewise.
11062 (mtx_trylock): Likewise.
11063 (mtx_unlock): Likewise.
11064 (mtx_destroy): Likewise.
11067 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11068 (linknamespace-libs-ISO11): Add libpthread.a.
11069 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11071 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11072 * nptl/Makefile (headers): Add threads.h.
11073 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11074 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11076 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11077 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11078 thrd_join, thrd_sleep, and thrd_yield symbols.
11079 * nptl/descr.h (struct pthread): Add c11 field.
11080 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11081 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11082 routine with expected function prototype.
11083 (__pthread_create_2_1): Add C11 threads check based on attribute
11085 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11086 * nptl/thrd_create.c: New file.
11087 * nptl/thrd_current.c: Likewise.
11088 * nptl/thrd_detach.c: Likewise.
11089 * nptl/thrd_equal.c: Likewise.
11090 * nptl/thrd_exit.c: Likewise.
11091 * nptl/thrd_join.c: Likewise.
11092 * nptl/thrd_priv.h: Likewise.
11093 * nptl/thrd_sleep.c: Likewise.
11094 * nptl/thrd_yield.c: Likewise.
11095 * include/threads.h: Likewise.
11097 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11099 * bits/indirect-return.h: New file.
11100 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11101 * sysdeps/x86/bits/indirect-return.h: Likewise.
11102 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11103 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11104 (swapcontext): Add __INDIRECT_RETURN.
11105 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11106 (prepare_test_buffer): Use it.
11108 2018-07-24 Andreas Schwab <schwab@suse.de>
11111 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11112 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11114 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11116 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11117 Redefine if shadow stack is enabled.
11118 (SYSCALL_ERROR_LABEL): Likewise.
11119 (__vfork): Pop shadow stack and jump back to to caller directly
11120 when shadow stack is in use.
11121 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11122 Redefine if shadow stack is enabled.
11123 (SYSCALL_ERROR_LABEL): Likewise.
11124 (__vfork): Pop shadow stack and jump back to to caller directly
11125 when shadow stack is in use.
11127 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11129 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11132 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11135 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11137 * scripts/build-many-glibcs.py (Context.checkout): Default
11138 binutils version to 2.31 branch.
11140 2018-07-20 Zong Li <zong@andestech.com>
11142 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11143 URL of gcc's tarball.
11145 2018-07-20 Florian Weimer <fweimer@redhat.com>
11148 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11149 not compare an extra byte after the end of the weights.
11151 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11153 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11155 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11157 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11158 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11159 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11160 list of libraries whose stack executability is expected.
11161 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11162 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11164 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11165 libc.so libpthread.so.
11167 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11169 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11171 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11173 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11175 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11177 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11179 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11180 library to improve command line parsing.
11181 (__main__): make schema file as optional parameter (--schema),
11182 defaulting to benchtests/scripts/benchout.schema.json.
11183 (main): move out of the parsing stuff to __main_ and leave it
11184 only as caller of main comparison functions.
11186 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11188 * NEWS: Add a note for Intel CET status.
11189 * manual/install.texi: Likewise.
11190 * INSTALL: Regenerated.
11192 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11195 * localedata/locales/oc_FR (mon): Rename to...
11196 (alt_mon): This, then update October (typo fix).
11197 (mon): New content (genitive case, month names preceded by
11201 * localedata/locales/oc_FR (abday): Update all items.
11202 (day): Update Wednesday and Saturday (typo fixes).
11203 (abmon): Update all items, except May.
11204 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11205 (LC_IDENTIFICATION): Bump the revision number and date.
11206 Keep the "category" entries in alphabetic order.
11207 (LC_ADDRESS): Remove no longer needed comment.
11208 (LC_COLLATE): Use “copy "ca_ES"”.
11209 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11212 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11214 * grp/tst_fgetgrent.c: Include <unistd.h>.
11215 (main): Use mkstemp instead of tmpnam.
11216 * io/test-utime.c (main): Likewise.
11217 * posix/annexc.c (macrofile): Change to modifiable array.
11218 (main): Remove macrofile here.
11219 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11221 (check_header): Do not remove macrofile here.
11222 * posix/bug-getopt1.c: Include <stdlib.h>.
11223 (do_test): Use mkstemp instead of tmpnam.
11224 * posix/bug-getopt2.c: Include <stdlib.h>.
11225 (do_test): Use mkstemp instead of tmpnam.
11226 * posix/bug-getopt3.c: Include <stdlib.h>.
11227 (do_test): Use mkstemp instead of tmpnam.
11228 * posix/bug-getopt4.c: Include <stdlib.h>.
11229 (do_test): Use mkstemp instead of tmpnam.
11230 * posix/bug-getopt5.c: Include <stdlib.h>.
11231 (do_test): Use mkstemp instead of tmpnam.
11232 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11233 (main): Use mkstemp instead of tmpnam.
11234 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11235 (main): Use mkstemp instead of tmpnam.
11236 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11237 (main): use mkstemp instead of tmpnam.
11238 * stdlib/isomac.c (macrofile): Change to modifiable array.
11239 (main): Remove macrofile here.
11240 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11242 (check_header): Do not remove macrofile here.
11244 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11246 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11247 glibc.tune.x86_shstk.
11249 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11251 * NEWS: Mention --enable-cet.
11252 * manual/install.texi: Document --enable-cet.
11253 * INSTALL: Regenerated.
11255 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11257 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11258 Add _CET_NOTRACK before indirect jump to jump table.
11260 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11262 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11263 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11266 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11269 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11272 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11275 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11278 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11280 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11281 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11284 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11286 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11287 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11289 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11291 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11293 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11294 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11297 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11299 * sysdeps/i386/i686/multiarch/memset-sse2.S
11300 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11303 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11305 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11306 indirect jump to jump table.
11308 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11310 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11311 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11313 (MEMCPY): Likewise.
11315 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11317 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11318 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11320 (MEMCPY): Likewise.
11322 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11324 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11325 _CET_NOTRACK before indirect jump to jump table.
11327 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11329 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11330 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11333 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11335 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11336 indirect jump to jump table.
11338 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11341 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11342 (LOCALES): Likewise.
11343 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11344 * localedata/locales/sah_RU: New file.
11345 * localedata/sah_RU.UTF-8.in: New file.
11347 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11349 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11351 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11352 _CET_ENDBR to indirect jump targets and adjust jump destination
11354 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11356 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11357 _CET_ENDBR to indirect jump targets and adjust jump destination
11359 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11361 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11362 _CET_ENDBR to indirect jump targets and adjust jump destination
11365 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11367 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11370 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11372 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11374 (_dl_tlsdesc_undefweak): Likewise.
11375 (_dl_tlsdesc_dynamic): Likewise.
11376 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11377 (_dl_tlsdesc_resolve_rel): Likewise.
11378 (_dl_tlsdesc_resolve_rela): Likewise.
11379 (_dl_tlsdesc_resolve_hold): Likewise.
11380 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11381 (_dl_tlsdesc_undefweak): Likewise.
11382 (_dl_tlsdesc_dynamic): Likewise.
11383 (_dl_tlsdesc_resolve_rela): Likewise.
11384 (_dl_tlsdesc_resolve_hold): Likewise.
11386 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11388 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11390 * sysdeps/x86_64/crti.S (_init): Likewise.
11393 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11396 * localedata/locales/os_RU (mon): Rename to...
11398 (mon): Import from CLDR (genitive case).
11400 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11402 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11403 cet-tunables.h> when CET is enabled.
11405 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11408 * configure.ac: Add --enable-cet.
11409 * configure: Regenerated.
11410 * elf/Makefille (all-built-dso): Add a comment.
11411 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11412 Include <dl-prop.h>.
11413 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11415 * elf/dl-open.c: Include <dl-prop.h>.
11416 (dl_open_worker): Call _dl_open_check.
11417 * elf/rtld.c: Include <dl-prop.h>.
11418 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11420 * sysdeps/generic/dl-prop.h: New file.
11421 * sysdeps/i386/dl-cet.c: Likewise.
11422 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11423 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11424 * sysdeps/x86/cet-tunables.h: Likewise.
11425 * sysdeps/x86/check-cet.awk: Likewise.
11426 * sysdeps/x86/configure: Likewise.
11427 * sysdeps/x86/configure.ac: Likewise.
11428 * sysdeps/x86/dl-cet.c: Likewise.
11429 * sysdeps/x86/dl-procruntime.c: Likewise.
11430 * sysdeps/x86/dl-prop.h: Likewise.
11431 * sysdeps/x86/libc-start.h: Likewise.
11432 * sysdeps/x86/link_map.h: Likewise.
11433 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11435 (_dl_runtime_profile): Likewise.
11436 (_dl_runtime_resolve_shstk): New.
11437 (_dl_runtime_profile_shstk): Likewise.
11438 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11440 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11441 (CFLAGS-.os): Likewise.
11442 (CFLAGS-.op): Likewise.
11443 (CFLAGS-.oS): Likewise.
11444 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11446 (tests-special): Add $(objpfx)check-cet.out.
11447 (cet-built-dso): New.
11448 (+$(cet-built-dso:=.note)): Likewise.
11449 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11450 ($(objpfx)check-cet.out): New.
11451 (generated): Add check-cet.out.
11452 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11454 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11455 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11456 (init_cpu_features): Call get_cet_status to check CET status
11457 and update dl_x86_feature_1 with CET status. Call
11458 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11459 (set_x86_shstk). Disable and lock CET in libc.a.
11460 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11461 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11462 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11463 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11464 (_CET_ENDBR): Define if not defined.
11465 (ENTRY): Add _CET_ENDBR.
11466 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11468 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11470 (_dl_runtime_profile): Likewise.
11472 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11475 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11476 restore r2 on longjmp.
11477 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11479 Added rules to build test tst-setjmp-bug21895-static.
11480 Added module setjmp-bug21895 and rules to build a shared object from it.
11481 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11482 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11484 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11486 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11487 * benchtests/bench-strstr.c: Likewise.
11488 * string/memmem.c (FASTSEARCH): Define.
11489 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11490 Add support for FASTSEARCH.
11491 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11492 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11493 (FASTSEARCH): Define.
11494 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11495 * string/test-strstr.c: Likewise.
11497 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11500 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11502 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11503 H.J. Lu <hongjiu.lu@intel.com>
11505 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11506 (__longjmp): Restore shadow stack pointer if shadow stack is
11507 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11508 isn't defined for __longjmp_cancel.
11509 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11510 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11511 and SHADOW_STACK_POINTER_OFFSET is defined.
11512 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11513 (setjmp): Save shadow stack pointer if shadow stack is enabled
11514 and SHADOW_STACK_POINTER_OFFSET is defined.
11515 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11516 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11517 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11518 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11520 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11521 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11522 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11523 Remove jmp_buf-ssp.sym.
11524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11526 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11527 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11528 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11530 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11531 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11532 (__longjmp): Restore shadow stack pointer if shadow stack is
11533 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11534 isn't defined for __longjmp_cancel.
11535 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11536 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11537 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11539 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11542 * nptl/pthread_create.c: Include <tls-setup.h>.
11543 (__pthread_create_2_1): Call tls_setup_tcbhead.
11544 * sysdeps/generic/tls-setup.h: New file.
11545 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11546 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11547 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11549 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11551 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11552 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11553 (X86_FEATURE_1_SHSTK): Likewise.
11554 (CET_ENABLED): Likewise.
11555 (IBT_ENABLED): Likewise.
11556 (SHSTK_ENABLED): Likewise.
11558 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11561 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11562 (LOCALES): Likewise.
11563 * localedata/dsb_DE.UTF-8.in: New file.
11564 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11566 2018-07-12 Florian Weimer <fweimer@redhat.com>
11568 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11569 __mprotect, not mprotect.
11571 2018-07-11 Florian Weimer <fweimer@redhat.com>
11573 * io/Makefile (headers): Add bits/statx.h.
11575 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11577 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11578 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11580 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11581 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11584 2018-07-10 Florian Weimer <fweimer@redhat.com>
11586 * io/Makefile (routines): Add statx.
11587 (tests-internal): Add tst-statx.
11588 * io/Versions (GLIBC_2.28): Export statx.
11589 * io/bits/statx.h: New file.
11590 * io/sys/stat.h [__USE_GNU]: Include it.
11591 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11592 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11594 * io/statx.c: New file.
11595 * io/statx_generic.: Likewise.
11596 * io/tst-statx.: Likewise.
11597 * include/bits/statx.h: Likewise.
11598 * sysdeps/unix/sysv/linux/kernel-features.h
11599 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11600 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11601 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11602 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11605 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11606 * sysdeps/unix/sysv/linux/statx.c: New file.
11607 * manual/filesys.texi: Note that statx is undocumented.
11608 * sysdeps/**/libc*.abilist: Update.
11610 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11612 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11613 a kernel issue which lead to test failure in some cases.
11615 2018-07-10 Florian Weimer <fweimer@redhat.com>
11618 * posix/regexec.c (check_node_accept_bytes): When comparing
11619 weights, do not compare an extra byte after the end of the
11622 2018-07-10 Florian Weimer <fweimer@redhat.com>
11624 * libio/readline.c: Fix copyright year.
11625 * libio/tst-readline.c Likewise.
11626 * nss/tst-nss-files-hosts-getent.c: Likewise.
11628 2018-07-06 Florian Weimer <fweimer@redhat.com>
11631 * nss/nss_files/files-XXX.c (internal_getent): Use
11632 __libc_readline_unlocked. Seek back to the start of the line if
11633 parsing failes with ERANGE.
11634 (get_contents_ret, get_contents): Remove.
11635 * nss/tst-nss-files-hosts-getent.c: New file.
11636 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11637 (tst-nss-files-hosts-getent): Link with -ldl.
11639 2018-07-06 Florian Weimer <fweimer@redhat.com>
11641 * include/stdio.h (__libc_readline_unlocked): Declare.
11642 (__ftello64, __fseeko64): Declare aliases.
11643 * libio/readline.c: New file.
11644 * libio/tst-readline.c: Likewise.
11645 (routines): Add readline.
11646 (tests-internal): Add tst-readlime.
11647 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11648 __libc_readline_unlocked.
11649 * libio/fseeko.c (__fseeko): Rename from fseeko.
11650 (fseeko): Add alias.
11651 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11652 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11653 (fseeko64): Add alias.
11654 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11655 * libio/ftello64.c (__ftello64): Rename from ftello64.
11656 (ftello64): Add alias.
11658 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11660 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11663 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11665 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11666 Use dl_hwcap without masking.
11667 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11668 Remove HWCAP_CPUID.
11670 2018-07-06 Florian Weimer <fweimer@redhat.com>
11672 * conform/conformtest.pl (checknamespace): Escape literal braces
11673 in regular expressions.
11675 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11677 * sysdeps/x86/cpu-features.c (get_common_indeces):
11678 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11679 * sysdeps/x86/cpu-features.c (init_cpu_features):
11680 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11682 2018-07-05 Florian Weimer <fweimer@redhat.com>
11684 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11686 (CFLAGS-elf-init.oS): Likewise.
11688 2018-07-05 Florian Weimer <fweimer@redhat.com>
11689 Carlos O'Donell <carlos@redhat.com>
11691 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11692 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11693 with stack protector enabled because there is no risk of infinite
11696 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11700 * libc-abis (ABSOLUTE): New ABI.
11701 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11702 * NEWS: Mention the new ABI.
11704 2018-07-05 Florian Weimer <fweimer@redhat.com>
11707 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11708 (RENAME_WHITEOUT): Define.
11709 [__USE_GNU] (renameat2): Declare.
11710 * stdio-common/Makefile (routines): Add renameat2.
11711 (tests): Add tst-renameat2.
11712 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11713 * stdio-common/renameat2.c: New file.
11714 * stdio-common/tst-renameat2.c: Likewise.
11715 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11716 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11718 * sysdeps/unix/sysv/linux/kernel-features.h
11719 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11720 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11721 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11723 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11724 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11725 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11726 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11727 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11728 * include/stdio.h (__renameat): Add alias for renameat.
11729 * stdio-common/renameat.c (__renameat): Rename from renameat.
11730 Add hidden definition and alias.
11731 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11732 * sysdeps/mach/hurd/renameat.c: Likewise.
11733 * sysdeps/**/libc*.abilist: Add renameat2.
11735 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11737 * posix/bug-regex33.c: Fix build after regex sync.
11739 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11742 * localedata/tst-langinfo-setlocale.c: New file.
11743 * localedata/tst-langinfo-setlocale-static.c: New file.
11744 * localedata/tst-langinfo-newlocale.c: New file.
11745 * localedata/tst-langinfo-newlocale-static.c: New file.
11746 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11747 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11748 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11749 (tests-static): Remove tst-langinfo-static. Add
11750 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11751 (tests-special): Remove $(objpfx)tst-langinfo.out,
11752 $(objpfx)tst-langinfo-static.out. Add
11753 $(objpfx)tst-langinfo-setlocale.out,
11754 $(objpfx)tst-langinfo-newlocale.out,
11755 $(objpfx)tst-langinfo-setlocale-static.out,
11756 $(objpfx)tst-langinfo-newlocale-static.out.
11757 ($(objpfx)tst-langinfo.out): Remove.
11758 ($(objpfx)tst-langinfo-static.out): Remove.
11759 ($(objpfx)tst-langinfo-newlocale.out): New target.
11760 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11761 (test-xfail-tst-langinfo-newlocale-static): Add.
11762 ($(objpfx)tst-langinfo-setlocale.out): New target.
11763 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11764 * localedata/tst-langinfo.c: Call test_locale.
11765 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11768 2018-07-04 Florian Weimer <fweimer@redhat.com>
11770 testrun.sh: Implement --tool=strace, --tool=valgrind
11771 * Makefile (testrun-script): Define variable.
11772 (testrun.sh): Use variable.
11773 * manual/install.texi (Tools for Compilation): make 4.0 or later
11775 * configure.ac: Check for make 4.0 or later.
11776 * INSTALL: Regenerate.
11777 * configure: Likewise.
11779 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11785 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11786 * posix/PCRE.tests: Remove invalid test.
11787 * posix/bug-regex28.c: Fix expected values for used syntax.
11788 * posix/bug-regex37.c: New file.
11789 * posix/bug-regex38.c: Likewise.
11790 * posix/regcomp.c: Sync with gnulib.
11791 * posix/regex.c: Likewise.
11792 * posix/regex.h: Likewise.
11793 * posix/regex_internal.c: Likewise.
11794 * posix/regex_internal.h: Likewise.
11795 * posix/regexec.c: Likewise.
11797 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11800 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11801 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11802 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11803 * localedata/unicode-gen/PropList.txt: likewise.
11804 * localedata/unicode-gen/UnicodeData.txt: likewise.
11805 * localedata/charmaps/UTF-8: Regenerate.
11806 * localedata/locales/i18n_ctype: likewise.
11807 * localedata/locales/tr_TR: likewise.
11808 * localedata/locales/translit_circle: likewise.
11809 * localedata/locales/translit_cjk_compat: likewise.
11810 * localedata/locales/translit_combining: likewise.
11811 * localedata/locales/translit_compat: likewise.
11812 * localedata/locales/translit_font: likewise.
11813 * localedata/locales/translit_fraction: likewise.
11815 2018-07-03 Florian Weimer <fweimer@redhat.com>
11818 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11819 * stdio-common/tst-printf.sh: Adjust expected output.
11820 * LICENSES: Update.
11822 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11824 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11827 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11829 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11830 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11831 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11832 * stdio-common/tst-printfsz-islongdouble.c: New file.
11833 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11834 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11835 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11836 [subdir == stdio-common] (tests-internal): Add
11837 test-printf-size-ieee128, and test-printf-size-ibm128.
11838 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11839 (CFLAGS-test-printf-size-ibm128.c): New variables.
11840 [subdir == stdio-common] (tests-special): Add
11841 $(objpfx)test-printf-size-ieee128.out and
11842 $(objpfx)test-printf-size-ibm128.out.
11843 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11844 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11845 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11846 __printf_sizeieee128.
11847 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11849 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11851 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11854 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11856 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11857 (exp2f_inline): Likewise.
11858 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11859 (__math_uflowf): Likewise.
11860 (__math_may_uflowf): Likewise.
11861 (__math_divzerof): Likewise.
11862 (__math_invalidf): Likewise.
11863 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11864 (__math_oflowf): Likewise.
11865 (__math_uflowf): Likewise.
11866 (__math_may_uflowf): Likewise.
11867 (__math_divzerof): Likewise.
11868 (__math_invalidf): Likewise.
11870 2018-06-29 DJ Delorie <dj@redhat.com>
11871 Carlos O'Donell <carlos@redhat.com>
11874 * include/libc-symbols.h: Comment the freeres framework.
11875 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11876 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11877 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11878 * dlfcn/dlerror.c: Include libc-symbols.h
11879 (__dlerror_main_freeres): New function.
11880 * dlfcn/dlfreeres.c: New file.
11881 * dlfcn/sdlfreeres.c: New file.
11882 * include/dlfcn.h: Declare __dlerror_main_freeres.
11883 * malloc/set-freeres.c: Declare __libdl_freeres, and
11884 __libpthread_freeres.
11885 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11886 the releavant libraries are loaded.
11887 * malloc/thread-freeres.c: Add comments.
11888 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11889 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11890 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11891 (__free_stacks): Rename to...
11892 (free_stacks): ...this. Mark static.
11893 (queue_stack): Call free_stacks.
11894 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11895 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11896 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11897 ptr_freeres element from struct.
11898 (pthread_functions): Remove .ptr_freeres from struct initializer.
11899 [SHARED] (nptl_freeres): Remove.
11900 * nptl/nptlfreeres.c: New file.
11902 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11903 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11905 (__free_stacks): Rename to...
11906 (__nptl_stacks_freeres): ...this.
11907 (__shm_directory_freeres): Declare.
11908 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11909 (__nptl_unwind_freeres): ...this.
11910 * resolv/res-close.c: Add comment.
11911 * resolv/resolv_conf.c: Include libc-symbols.h.
11912 * string/strerror_l.c: Include libc-symbols.h.
11913 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11914 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11915 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11916 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11918 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11920 * stdlib/tst-strfmon_l.c: Add tests for long double.
11922 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11925 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11926 * localedata/locales/dsb_DE: New file.
11928 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11931 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11933 (alt_mon): New entry, import from CLDR (nominative case).
11935 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11938 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11940 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11942 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11943 Use vector registers.
11945 * sysdeps/aarch64/multiarch/memmove_falkor.S
11946 (__memcpy_falkor): Use vector registers.
11948 2018-06-29 Martin Sebor <msebor@redhat.com>
11950 * manual/stdio.texi (Customizing Printf): Mention interaction
11951 with GCC built-ins.
11953 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11956 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11957 `st_value' is 0 if `st_shndx' is SHN_ABS.
11958 * elf/tst-absolute-zero.c: New file.
11959 * elf/tst-absolute-zero-lib.c: New file.
11960 * elf/tst-absolute-zero-lib.lds: New file.
11961 * elf/Makefile (tests): Add `tst-absolute-zero'.
11962 (modules-names): Add `tst-absolute-zero-lib'.
11963 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11964 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11965 ($(objpfx)tst-absolute-zero: New dependency.
11967 2018-06-29 Zack Weinberg <zackw@panix.com>
11969 * configure.ac: New command-line option --disable-crypt.
11970 Force --disable-nss-crypt when --disable-crypt is given, with a
11971 warning if it was explicitly enabled.
11972 * configure: Regenerate.
11973 * config.make.in: New boolean substitution variable $(build-crypt).
11974 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11975 when $(build-crypt).
11976 * manual/install.texi: Document --disable-crypt.
11977 * INSTALL: Regenerate.
11979 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11980 which is never set.
11981 * conform/Makefile: Only include libcrypt.a in
11982 linknamespace-libs-xsi and linknamespace-libs-XPG4
11983 when $(build-crypt).
11984 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11985 USE_CRYPT to 1 when $(build-crypt).
11986 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11987 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11988 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11990 2018-06-29 Zack Weinberg <zackw@panix.com>
11992 * crypt/crypt.h, posix/unistd.h: Update comments and
11993 prototypes for crypt and crypt_r.
11995 * manual/crypt.texi (Cryptographic Functions): New initial
11997 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11998 (Unpredictable Bytes): Improve initial exposition. Clarify error
11999 behavior of getentropy and getrandom.
12000 * manual/examples/genpass.c: Generate a salt using getentropy
12001 instead of the current time. Use hash $5$ (SHA-2-256).
12002 * manual/examples/testpass.c: Demonstrate validation against
12003 hashes generated with three different one-way functions.
12005 * manual/intro.texi: crypt.texi does not need an overview
12008 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12009 * manual/terminal.texi: Consistently refer to "passphrases"
12010 * instead of "passwords", and to the "user database" instead
12011 * of the "password database".
12012 * manual/users.texi: Similarly. Add notes about how actual
12013 passphrase hashes are now stored in the shadow database.
12014 Remove 20-year-old junk todo note.
12016 2018-06-29 Zack Weinberg <zackw@panix.com>
12018 * manual/crypt.texi: Use a normal top-level @node declaration.
12019 Move most of the introductory text to the 'crypt' section.
12020 Move the example programs below the @deftypefun for 'crypt_r'.
12021 Move the 'getpass' section...
12022 * manual/terminal.texi: ...here.
12024 2018-06-29 Zack Weinberg <zackw@panix.com>
12025 Florian Weimer <fweimer@redhat.com>
12027 * posix/unistd.h: Do not declare encrypt.
12028 (_XOPEN_CRYPT): Remove macro definition.
12029 (crypt): Declare only for _USE_MISC.
12030 * stdlib/stdlib.h: Do not declare setkey.
12031 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12032 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12034 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12035 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12036 into compat symbols. Don't define initial_perm if it's not
12038 * crypt/cert.c: Link explicitly with the expected versions for
12039 setkey and encrypt. If they are not available at all, mark
12040 the test as unsupported.
12042 * sunrpc/des_crypt.c: Unconditionally block linkage with
12043 cbc_crypt and ecb_crypt for new binaries.
12044 * sunrpc/des_soft.c: Unconditionally block linkage with
12045 des_setparity for new binaries.
12047 * manual/crypt.texi: Remove the entire "DES Encryption"
12048 section. Also remove the paragraph talking about FIPS 140-2
12049 from the introduction.
12050 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12051 of libgcrypt for "real" encryption, not DES.
12052 * manual/conf.texi (Constants for Sysconf): Mention that
12053 _XOPEN_CRYPT is no longer impelemented.
12055 * conform/data/unistd.h-data: Remove crypt function declaration.
12057 2018-06-29 Florian Weimer <fweimer@redhat.com>
12060 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12061 (disallow_malloc_check): Remove variable.
12062 (__malloc_check_init): Adjust.
12063 (malloc_set_state): Update comment.
12064 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12067 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12070 * localedata/locales/ast_ES (mon): Rename to...
12072 (mon): Import from CLDR (genitive case).
12074 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12075 Jakub Sitnicki <jkbs@redhat.com>
12078 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12079 on NLM_F_DUMP_INTR.
12081 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12083 * manual/llio.texi: Remove spurious space.
12085 2018-06-28 Florian Weimer <fweimer@redhat.com>
12088 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12091 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12093 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12094 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12095 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12096 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12097 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12098 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12099 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12101 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12104 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12105 Copy and null-terminate entries that are not terminated, in
12106 addition to empty ones.
12108 2018-06-27 Florian Weimer <fweimer@redhat.com>
12111 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12112 (extend_alloca_account): Remove.
12113 * manual/stdio.texi (Variable Arguments Output): Update comment.
12115 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12117 * nptl/sockperf.c: Remove file.
12119 2018-06-27 Florian Weimer <fweimer@redhat.com>
12122 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12123 scratch_buffer instead of extend_alloca.
12125 2018-06-27 Florian Weimer <fweimer@redhat.com>
12128 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12129 scratch_buffer instead of extend_alloca. Update comments.
12131 2018-06-27 Florian Weimer <fweimer@redhat.com>
12134 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12135 instead of extend_alloca.
12137 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12140 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12141 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12143 * scripts/test-installation.pl: Put temporary files in build
12144 directory, not /tmp.
12145 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12146 (CFLAGS-bug4.c): Likewise.
12147 (CFLAGS-bug5.c): Likewise.
12148 (CFLAGS-test-fseek.c): Likewise.
12149 (CFLAGS-test-popen.c): Likewise.
12150 (CFLAGS-test_rdwr.c): Likewise.
12151 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12153 * stdio-common/bug4.c (main): Likewise.
12154 * stdio-common/bug5.c (main): Likewise.
12155 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12156 * stdio-common/test-popen.c (do_test): Likewise.
12157 * stdio-common/test_rdwr.c (main): Likewise.
12159 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12161 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12162 (sem_open): Set sem.newsem.pad to zero for valgrind.
12164 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12167 * NEWS: Mention fcntl64 addition.
12168 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12169 * login/utmp_file.c: Likewise.
12170 * sysdeps/posix/fdopendir.c: Likewise.
12171 * sysdeps/posix/opendir.c: Likewise.
12172 * sysdeps/unix/pt-fcntl.c: Likewise.
12173 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12174 __fcntl64_nocancel_adjusted): New prototype.
12175 (__fcntl_nocancel_adjusted): Remove prototype.
12176 * io/Makefile (routines): Add fcntl64.
12177 (CFLAGS-fcntl64.c): New rule.
12178 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12179 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12180 * io/fcntl.h (fcntl64): Add prototype and redirect if
12181 __USE_FILE_OFFSET64 is defined.
12182 * io/fcntl64.c: New file.
12183 * manual/llio.text: Add a note for which commands fcntl acts a
12184 cancellation point.
12185 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12186 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12187 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12189 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12190 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12192 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12193 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12194 to __fcntl64_nocancel.
12195 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12196 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12197 to __fcntl64_nocancel.
12198 * sysdeps/generic/not-cancel.h: Likewise.
12199 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12200 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12201 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12202 (fcntl64): New symbol.
12203 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12214 fcntl64): Likewise.
12215 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12217 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12228 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12232 2018-06-26 Florian Weimer <fweimer@redhat.com>
12234 Run thread shutdown functions in an explicit order.
12235 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12237 (__libc_thread_freeres): Call thread shutdown functions
12239 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12240 * include/string.h (__strerror_thread_freeres): Declare.
12241 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12242 arena_thread_freeres. No longer static. Remove thread shutdown
12244 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12246 * resolv/res-close.c (__res_thread_freeres): Renamed from
12247 res_thread_freeres. No longer static. Remove thread shutdown
12249 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12250 * resolv/resolv_conf.c (freeres): Remove incorrect section
12251 attribute and use libc_freeres_fn.
12252 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12253 strerror_thread_freeres. No longer static. Remove thread
12254 shutdown hook registration.
12255 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12256 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12257 shutdown hook registration.
12258 * Makerules (shlib.lds): Do not provide section boundary symbols
12259 for __libc_thread_subfreeres.
12260 * manual/memory.texi (Basic Allocation): Update comment.
12262 2018-06-26 Florian Weimer <fweimer@redhat.com>
12264 Remove always-defined _RPC_THREAD_SAFE_ macro.
12265 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12266 Do not define _RPC_THREAD_SAFE_.
12267 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12269 * sunrpc/clnt_perr.c: Likewise.
12270 * sunrpc/clnt_raw.c: Likewise.
12271 * sunrpc/clnt_simp.c: Likewise.
12272 * sunrpc/key_call.c: Likewise.
12273 * sunrpc/rpc_common.c: Likewise.
12274 * sunrpc/rpc_main.c: Likewise.
12275 * sunrpc/rpc_thread.c: Likewise.
12276 * sunrpc/svc.c: Likewise.
12277 * sunrpc/svc_raw.c: Likewise.
12278 * sunrpc/svc_simple.c: Likewise.
12279 * sumrpc/svcauth_des.c: Likewise.
12281 2018-06-26 Florian Weimer <fweimer@redhat.com>
12283 * libio/Makefile (tests-internal): Add tst-vtables,
12284 tst-vtables-interposed.
12285 * libio/tst-vtables.c: New file.
12286 * libio/tst-vtables-common.c: Likewise.
12287 * libio/tst-vtables-interposed.c: Likewise.
12289 2018-06-26 Florian Weimer <fweimer@redhat.com>
12291 * support/support_test_main.c (support_test_main): Only call
12292 setvbuf if not disables.
12293 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12294 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12296 2018-06-26 Florian Weimer <fweimer@redhat.com>
12299 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12301 2018-06-25 Florian Weimer <fweimer@redhat.com>
12304 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12305 Use struct scratch_buffer instead of extend_alloca.
12307 2018-06-25 Florian Weimer <fweimer@redhat.com>
12310 * nss/getent.c (initgroups_keys): Use dynarray instead of
12313 2018-06-25 Florian Weimer <fweimer@redhat.com>
12316 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12317 Use struct scratch_buffer instead of extend_alloca.
12319 2018-06-25 Florian Weimer <fweimer@redhat.com>
12322 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12323 back to malloc directly, without stack allocations.
12325 2018-06-25 Florian Weimer <fweimer@redhat.com>
12328 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12331 2018-06-25 Florian Weimer <fweimer@redhat.com>
12334 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12336 * nscd/hstcache.c (addhstbyX): Likewise.
12337 * nscd/pwdcache.c (addpwbyX): Likewise.
12338 * nscd/servicescache.c (addservbyX): Likewise.
12340 2018-06-25 Florian Weimer <fweimer@redhat.com>
12343 * nscd/connections.c (read_cmdline): New function.
12344 (restart): Use it. Update comment.
12346 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12349 * localedata/locales/csb_PL (mon): Rename to...
12351 (abmon): Rename to...
12352 (ab_alt_mon): This.
12353 (mon): Add with proper genitive forms, copy from Wikipedia.
12356 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12359 * localedata/locales/csb_PL (mon): Fix typos:
12360 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12361 (yesstr): Add, value is "jo".
12362 (nostr): Add, value is "nié".
12364 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12366 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12367 all log1p and significand functions on m680x0.
12368 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12369 of s_significand.c..
12370 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12371 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12372 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12373 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12374 s_log1p.c and include it..
12376 2018-06-21 Vincent Chen <vincentc@andestech.com>
12378 * elf/elf.h (R_NDS32_NONE): New define.
12379 (R_NDS32_32_RELA): Likewise.
12380 (R_NDS32_COPY): Likewise.
12381 (R_NDS32_GLOB_DAT): Likewise.
12382 (R_NDS32_JUMP_SLOT): Likewise.
12383 (R_NDS32_RELATIVE): Likewise.
12384 (R_NDS32_TLS_TPOFF): Likewise.
12385 (R_NDS32_TLS_DESC): Likewise.
12387 2018-06-21 Mark Wielaard <mark@klomp.org>
12389 * elf/elf.h (R_BPF_MAP_FD): Removed.
12390 (R_BPF_64_64, R_BPF_64_32): New.
12392 2018-06-21 Florian Weimer <fweimer@redhat.com>
12395 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12396 Renamed from libc_feholdsetround_ctx.
12397 (default_libc_feresetround_ctx): Renamed from
12398 libc_feresetround_ctx.
12399 (default_libc_feholdsetround_noex_ctx): Renamed from
12400 libc_feholdsetround_noex_ctx.
12401 (default_libc_feresetround_noex_ctx): Renamed from
12402 libc_feresetround_noex_ctx.
12403 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12404 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12405 forwardning to the old implementations under the new names.
12406 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12407 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12408 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12409 (libc_feresetround_ctx): Forward to default implements for i386
12410 and MATH_SET_BOTH_ROUNDING_MODES.
12411 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12412 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12414 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12416 * string/tst-cmp.c: Include <libc-diag.h>.
12417 (strncmp_max): Disable -Wstringop-overflow= around call to
12419 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12422 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12423 (main): Disable -Wunused-value around call to strpbrk.
12424 * string/bug-strspn1.c: Include <libc-diag.h>.
12425 (main): Disable -Wunused-value around call to strspn.
12427 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12428 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12430 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12431 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12433 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12435 * math/Makefile (libm-calls): Move s_significandF to...
12436 (gen-libm-calls): ... here.
12437 * math/s_significand_template.c: New file.
12438 * math/s_significand.c: Removed.
12439 * math/s_significandf.c: Removed.
12440 * math/s_significandl.c: Removed.
12441 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12442 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12444 * math/e_exp2_template.c (declare_mgen_finite_alias,
12445 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12446 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12447 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12449 2018-06-20 Florian Weimer <fweimer@redhat.com>
12451 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12453 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12456 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12457 floating-point number to strtod functions rather than possibly
12458 negating result of those functions.
12459 * stdio-common/tst-scanf-round.c: New file.
12460 * stdio-common/Makefile (tests): Add tst-scanf-round.
12461 ($(objpfx)tst-scanf-round): Depend on $(libm).
12463 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12465 * sysdeps/mach/hurd/localplt.data: Move to...
12466 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12467 R_386_GLOB_DAT like on Linux i386.
12469 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12471 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12472 (SHM_STAT_ANY): New macro.
12473 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12474 (SHM_STAT_ANY): Likewise.
12475 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12476 (SHM_STAT_ANY): Likewise.
12477 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12478 (SHM_STAT_ANY): Likewise.
12479 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12480 (SHM_STAT_ANY): Likewise.
12481 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12482 (SHM_STAT_ANY): Likewise.
12483 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12484 (SHM_STAT_ANY): Likewise.
12485 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12486 (SHM_STAT_ANY): Likewise.
12487 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12488 (SHM_STAT_ANY): Likewise.
12489 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12490 (SHM_STAT_ANY): Likewise.
12491 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12492 (SHM_STAT_ANY): Likewise.
12493 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12494 (SHM_STAT_ANY): Likewise.
12496 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12497 (SEM_STAT_ANY): New macro.
12498 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12499 (SEM_STAT_ANY): Likewise.
12500 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12501 (SEM_STAT_ANY): Likewise.
12502 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12503 (SEM_STAT_ANY): Likewise.
12504 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12505 (SEM_STAT_ANY): Likewise.
12506 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12507 (SEM_STAT_ANY): Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12509 (SEM_STAT_ANY): Likewise.
12510 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12511 (SEM_STAT_ANY): Likewise.
12512 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12513 (SEM_STAT_ANY): Likewise.
12514 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12515 (SEM_STAT_ANY): Likewise.
12517 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12518 (MSG_STAT_ANY): New macro.
12519 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12520 (MSG_STAT_ANY): Likewise.
12521 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12522 (MSG_STAT_ANY): Likewise.
12523 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12524 (MSG_STAT_ANY): Likewise.
12525 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12526 (MSG_STAT_ANY): Likewise.
12527 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12528 (MSG_STAT_ANY): Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12530 (MSG_STAT_ANY): Likewise.
12531 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12532 (MSG_STAT_ANY): Likewise.
12533 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12534 (MSG_STAT_ANY): Likewise.
12535 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12536 (MSG_STAT_ANY): Likewise.
12538 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12539 (MAP_TYPE): Change value to 0x2b.
12541 2018-06-18 Florian Weimer <fweimer@redhat.com>
12544 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12545 socket with SOCK_CLOEXEC.
12547 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12550 * sysdeps/powerpc/powerpc64/le/Makefile
12551 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12552 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12553 (gnulib-tests): Also add $(f128-loader-link) for
12554 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12556 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12558 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12559 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12561 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12562 (sendfile64): New strong alias.
12563 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12564 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12565 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12566 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12568 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12569 ___pthread_get_cleanup_stack.
12570 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12571 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12572 * mach/shortcut.awk: Make syscall stubs include
12573 <mach-shortcuts-hidden.h> and add hidden definition.
12574 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12575 (__mach_msg): Add hidden prototype.
12576 * mach/msg.c: Include <mach.h>.
12577 (__mach_msg): Add hidden definition.
12578 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12579 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12580 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12581 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12582 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12583 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12584 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12585 prototype and definition.
12586 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12587 hidden target for _hurd_self_sigstate.
12589 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12592 * stdlib/tst-strtod-nan-sign-main.c: New file.
12593 * stdlib/tst-strtod-nan-sign.c: Likewise.
12594 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12595 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12596 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12597 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12598 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12600 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12606 2018-06-14 Florian Weimer <fweimer@redhat.com>
12609 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12610 that the result stays within the ISO-8859-1 range.
12611 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12612 characters are defined in IBM273.
12614 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12616 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12617 __mach_task_self): Remove attribute_hidden.
12619 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12621 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12622 ignore -Wrestrict for one test.
12624 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12625 Szabolcs Nagy <szabolcs.nagy@arm.com>
12627 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12629 2018-06-14 Florian Weimer <fweimer@redhat.com>
12631 * scripts/update-abilist.sh: Accept empty list of files to patch.
12633 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12635 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12636 test-xfail-check-abi-libmachuser): Add.
12637 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12638 __libc_read and __libc_write to __read and __write.
12639 * sysdeps/hurd/include/hurd/port.h: New file.
12640 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12641 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12642 __thread_switch, __evc_wait): Move declarations to...
12643 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12645 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12646 use PLT to call _hurd_self_sigstate.
12648 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12651 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12652 MAX_EXP as overflowing.
12653 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12655 (round_str): Output also whether result overflows in each rounding
12657 * stdlib/tst-strtod-round-data: Add more tests.
12658 * stdlib/tst-strtod-round-data.h: Regenerated.
12659 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12660 (TEST): Handle extra arguments for overflow flags.
12661 (struct test_overflow): New type.
12662 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12663 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12664 (test_in_one_mode): Take argument with overflow information.
12665 (do_test): Update calls to test_in_one_mode.
12667 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12669 * elf/dl-load (_dl_dst_substitute): Correct comment.
12670 (_dl_dst_count): Likewise.
12672 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12673 lll_futex_timed_wait.
12675 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12678 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12680 * math/test-nan-const.c: New file.
12681 * math/Makefile (tests): Add test-nan-const.
12682 (CFLAGS-test-nan-const.c): New variable.
12684 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12686 * benchtests/scripts/compare_strings.py (process_results): Add
12687 funcs argument. Compare only functions which are selected.
12688 (main): Check if base function is among selected functions.
12689 Pass selected functions to process_results.
12690 (__main__): Add -f/--functions argument.
12692 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12693 Hongbo Zhang <hongbo.zhang@linaro.org>
12695 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12696 __memcpy_falkor for phecda core.
12697 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12698 __memmove_falkor for phecda core.
12699 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12700 __memset_falkor for phecda core.
12701 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12703 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12704 macro to identify phecda core.
12706 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12707 Andreas Schwab <schwab@suse.de>
12708 Dmitry V. Levin <ldv@altlinux.org>
12709 Florian Weimer <fweimer@redhat.com>
12716 * elf/dl-dst.h: Remove DL_DST_COUNT.
12717 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12718 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12719 (is_dst): Comment. Support ELF gABI.
12720 (_dl_dst_count): Comment. Simplify and count DSTs.
12721 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12722 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12725 2018-06-12 Zack Weinberg <zackw@panix.com>
12727 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12728 * sysdeps/unix/sysv/linux/dl-sysdep.c
12729 Include not-cancel.h. Use __close_nocancel instead of __close,
12730 __open64_nocancel instead of __open, __read_nocancel instead of
12731 __libc_read, and __write_nocancel instead of __libc_write.
12733 * csu/check_fds.c (check_one_fd)
12734 * sysdeps/posix/fdopendir.c (__fdopendir)
12735 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12736 instead of __fcntl and/or __libc_fcntl.
12738 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12739 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12740 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12741 Use __open64_nocancel instead of __open_nocancel.
12743 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12744 hidden_proto declarations to the end and issue them if either
12745 IS_IN(libc) or IS_IN(rtld).
12746 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12747 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12748 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12749 read_nocancel, waitpid_nocancel, write_nocancel.
12751 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12752 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12753 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12755 * nptl/pt-fcntl.c: New file.
12756 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12757 (libpthread-routines): Add pt-fcntl.
12758 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12759 (__libc_fcntl): Remove attribute_hidden.
12760 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12761 __fcntl_nocancel_adjusted, not fcntl_common.
12762 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12763 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12764 to fcntl_nocancel.c.
12765 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12768 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12770 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12771 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12772 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12773 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12774 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12775 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12776 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12777 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12778 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12779 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12780 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12781 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12782 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12783 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12784 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12785 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12786 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12787 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12788 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12789 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12791 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12792 libpthread-routines.
12793 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12796 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12797 __libc_read, and __write instead of __libc_write. Define
12798 __open64 in addition to __open.
12800 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12804 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12805 to _private_tm[3] and add __glibc_reserved2.
12806 Add _Static_assert of offset of __private_ss == 0x30.
12807 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12808 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12810 2018-06-12 Florian Weimer <fweimer@redhat.com>
12812 x86: Make strncmp usable from rtld.
12813 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12814 __strncmp_ia32 if in libc (and not in rtld).
12815 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12816 strncmp if not in libc (and not to __strncmp_sse2).
12818 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12821 * localedata/locales/gd_GB (mon): Rename to...
12823 (mon): Import from CLDR (genitive case).
12824 * localedata/locales/hsb_DE (mon): Rename to...
12826 (mon): Import from CLDR (genitive case).
12827 * localedata/locales/wa_BE (mon): Rename to...
12829 (mon): Add, fill with the proper genitive forms, but CLDR data
12830 is incomplete; completed according to the comments in this file.
12831 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12833 * localedata/locales/wa_BE (country_name): Reword
12834 "Beljike" -> "Beldjike".
12836 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12839 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12840 cases of non-finite arguments.
12841 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12843 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12846 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12848 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12851 * include/unistd.h (__execvpex): New prototype.
12852 * posix/Makefile (tests): Add tst-spawn4.
12853 (tests-internal): Add tst-spawn4-compat.
12854 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12855 * posix/tst-spawn4-compat.c: New file.
12856 * posix/tst-spawn4.c: Likewise.
12857 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12858 binaries as shell scripts.
12859 * sysdeps/posix/spawni.c (__spawni): Likewise.
12861 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12864 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12865 ($(all-built-dso:=.dynsym): New target.
12866 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12867 ($(objpfx)check-initfini.out): New target.
12868 (generated): Add check-initfini.out.
12869 * scripts/check-initfini.awk: New file.
12870 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12872 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12874 * sysdeps/arm/crti.S (_init): Mark as hidden.
12876 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12878 * sysdeps/i386/crti.S (_init): Mark as hidden.
12880 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12882 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12884 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12886 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12888 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12890 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12892 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12894 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12896 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12898 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12900 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12902 * sysdeps/sh/crti.S (_init): Mark as hidden.
12904 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12906 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12909 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12911 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12912 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12913 and TF redirection to KFtype and KF only when the default
12914 long double type is not the IEEE 128-bit floating point type.
12916 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12918 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12920 (HWCAP_USCAT): Likewise.
12921 (HWCAP_ILRCPC): Likewise.
12922 (HWCAP_FLAGM): Likewise.
12923 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12925 (_dl_aarch64_cap_flags): Add new flag names.
12927 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12928 (MAP_FIXED_NOREPLACE): New macro.
12929 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12930 (MAP_FIXED_NOREPLACE): Likewise.
12931 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12932 (MAP_FIXED_NOREPLACE): Likewise.
12933 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12934 (MAP_FIXED_NOREPLACE): Likewise.
12935 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12936 (MAP_FIXED_NOREPLACE): Likewise.
12937 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12938 (MAP_FIXED_NOREPLACE): Likewise.
12939 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12940 (MAP_FIXED_NOREPLACE): Likewise.
12941 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12942 (MAP_FIXED_NOREPLACE): Likewise.
12943 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12944 (MAP_FIXED_NOREPLACE): Likewise.
12945 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12946 (MAP_FIXED_NOREPLACE): Likewise.
12947 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12948 (MAP_FIXED_NOREPLACE): Likewise.
12949 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12950 (MAP_FIXED_NOREPLACE): Likewise.
12951 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12952 (MAP_FIXED_NOREPLACE): Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12954 (MAP_FIXED_NOREPLACE): Likewise.
12955 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12956 (MAP_FIXED_NOREPLACE): Likewise.
12958 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12961 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12963 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12966 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12968 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12970 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12972 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12974 * benchtests/scripts/compare_string.py: (process_results) Catch
12975 exception in non-existent base_func and catch exception in
12976 non-existent attribute.
12977 (parse_file) Catch exception if input file does not exist.
12979 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12981 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12982 options to avoid diff calculation and omit header, respectively.
12983 (main): process --no-diff and --no-header
12985 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12986 H.J. Lu <hongjiu.lu@intel.com>
12988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12989 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12992 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12993 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12994 and __wcsncmp_sse2.
12995 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12996 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12997 AVX unaligned load is fast and vzeroupper is preferred.
12998 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12999 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13000 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13001 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13002 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13003 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13004 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13005 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13006 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13007 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13010 2018-06-01 Florian Weimer <fweimer@redhat.com>
13012 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13013 configuring with --disable-multi-arch, building with
13014 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13017 2018-06-01 Florian Weimer <fweimer@redhat.com>
13019 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13020 results from building with “-march=x86-64 -mtune=generic
13021 -mfpmath=sse” and running on a Haswell-era CPU.
13023 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13026 * soft-fp/sqrttf2.c: Remove file.
13027 * soft-fp/sqrtdf2.c: Move to ....
13028 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13030 (__sqrtdf2): Make conditional on
13031 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13033 * soft-fp/sqrtsf2.c: Move to ....
13034 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13036 (__sqrtsf2): Make conditional on
13037 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13039 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13040 (gcc-double-routines): Remove sqrtdf2.
13041 (gcc-quad-routines): Remove sqrttf2.
13042 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13043 Do not filter out sqrtsf2 and sqrtdf2.
13044 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13045 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13047 2018-06-01 Florian Weimer <fweimer@redhat.com>
13049 * sysdeps/generic/libcidn.abilist: Remove file.
13051 2018-06-01 Florian Weimer <fweimer@redhat.com>
13054 * libio/strfile.h (struct _IO_str_fields): Rename members to
13055 discourage their use and add comment.
13056 (_IO_STR_DYNAMIC): Remove unused macro.
13057 * libio/strops.c (_IO_str_init_static_internal): Do not use
13058 callback pointers. Call malloc and free.
13059 (_IO_str_overflow): Do not use callback pointers. Call malloc
13061 (enlarge_userbuf): Likewise.
13062 (_IO_str_finish): Call free.
13063 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13064 _allocate_buffer_unused.
13065 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13067 (enlarge_userbuf): Likewise.
13068 (_IO_wstr_finish): Call free.
13069 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13070 _allocate_buffer_unused, _free_buffer_unused.
13071 * libio/memstream.c (__open_memstream): Likewise.
13072 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13073 * libio/wmemstream.c (open_wmemstream): Likewise.
13075 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13077 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13080 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13082 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13083 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13084 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13086 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13088 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13090 2018-05-29 Florian Weimer <fweimer@redhat.com>
13092 * support/Makefile (libsupport-routines): Add
13093 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13094 xpthread_barrierattr_setpshared.
13095 * support/xpthread_barrierattr_destroy.c: New file.
13096 * support/xpthread_barrierattr_init.c: Likewise.
13097 * support/xpthread_barrierattr_setpshared.c: Likewise.
13099 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13102 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13103 _r_debug and update DT_DEBUG for debugger.
13105 2018-05-29 Florian Weimer <fweimer@redhat.com>
13107 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13108 (tst-strtod5i.out): Likewise.
13110 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13112 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13113 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13114 (sparc64-quad-routines): New variable. Moved from ....
13115 [$(subdir) = soft-fp] (sysdep_routines): Add
13116 $(sparc64-quad-routines). Moved from ....
13117 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13118 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13119 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13121 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13122 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13123 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13124 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13125 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13126 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13127 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13128 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13129 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13130 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13131 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13132 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13133 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13134 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13135 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13136 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13137 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13138 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13139 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13140 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13141 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13142 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13143 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13144 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13145 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13146 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13147 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13148 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13149 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13150 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13151 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13152 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13153 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13154 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13155 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13156 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13157 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13158 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13159 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13160 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13161 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13162 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13163 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13164 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13165 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13166 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13167 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13168 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13169 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13170 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13171 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13172 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13173 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13174 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13175 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13176 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13178 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13180 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13181 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13182 (sparc32-quad-routines): New variable. Moved from ....
13183 [$(subdir) = soft-fp] (sysdep_routines): Add
13184 $(sparc32-quad-routines). Moved from ....
13185 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13186 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13188 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13189 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13190 * sysdeps/sparc/sparc32/q_add.c: ... here.
13191 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13192 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13193 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13194 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13195 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13196 * sysdeps/sparc/sparc32/q_div.c: ... here.
13197 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13198 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13199 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13200 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13201 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13202 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13203 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13204 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13205 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13206 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13207 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13208 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13209 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13210 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13211 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13212 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13213 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13214 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13215 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13216 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13217 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13218 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13219 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13220 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13221 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13222 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13223 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13224 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13225 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13226 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13227 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13228 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13229 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13230 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13231 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13232 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13233 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13234 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13235 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13236 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13237 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13238 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13239 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13240 * sysdeps/sparc/sparc32/q_util.c: ... here.
13241 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13242 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13243 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13244 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13246 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13247 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13249 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13250 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13251 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13252 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13254 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13260 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13261 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13263 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13266 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13269 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13271 * sysdeps/sh/Implies: Remove sh/soft-fp.
13272 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13273 * sysdeps/sh/sfp-machine.h: ... here.
13275 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13277 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13278 (__mempcpy_erms): Skip zero length.
13279 (__memmove_erms): Likewise.
13280 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13281 (__memset_erms): Likewise.
13283 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13285 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13286 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13287 Add functions moved from ....
13288 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13289 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13290 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13292 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13293 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13294 * sysdeps/alpha/e_sqrtl.c: ... here.
13295 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13296 * sysdeps/alpha/local-soft-fp.h: ... here.
13297 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13298 * sysdeps/alpha/ots_add.c: ... here.
13299 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13300 * sysdeps/alpha/ots_cmp.c: ... here.
13301 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13302 * sysdeps/alpha/ots_cmpe.c: ... here.
13303 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13304 * sysdeps/alpha/ots_cvtqux.c: ... here.
13305 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13306 * sysdeps/alpha/ots_cvtqx.c: ... here.
13307 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13308 * sysdeps/alpha/ots_cvttx.c: ... here.
13309 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13310 * sysdeps/alpha/ots_cvtxq.c: ... here.
13311 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13312 * sysdeps/alpha/ots_cvtxt.c: ... here.
13313 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13314 * sysdeps/alpha/ots_div.c: ... here.
13315 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13316 * sysdeps/alpha/ots_mul.c: ... here.
13317 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13318 * sysdeps/alpha/ots_nintxq.c: ... here.
13319 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13320 * sysdeps/alpha/ots_sub.c: ... here.
13321 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13322 * sysdeps/alpha/sfp-machine.h: ... here.
13324 2018-05-23 Florian Weimer <fweimer@redhat.com>
13332 Switch to extern IDNA implementation (libidn2).
13333 * libidn: Remove subdirectory.
13334 * LICENSES: Do not mention licensing conditions for the removed
13336 * config.h.in (HAVE_LIBIDN): Remove.
13337 * include/dlfcn.h (__libc_dlopen): Update comment.
13338 * include/idna.h: Remove file.
13339 * inet/Makefile (routines): Add idna.
13340 (tests-static, tests-internal): Add tst-idna_name_classify.
13341 (LOCALES): Generate locales for tests.
13342 (tst-idna_name_classify.out): Depend on generated locales.
13343 * inet/idna_name_classify.c: New file.
13344 * inet/tst-idna_name_classify.c: Likewise.
13345 * inet/net-internal.h (__idna_to_dns_encoding)
13346 (__idna_from_dns_encoding): Declare.
13347 * inet/net-internal.h (enum idna_name_classification): Define.
13348 (__idna_name_classify): Declare.
13349 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13350 __idna_from_dns_encoding.
13351 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13352 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13353 name as a fallback in case of encoding errors.
13354 (getnameinfo): Use DEPRECATED_NI_IDN.
13355 * inet/idna.c: New file.
13356 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13357 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13358 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13359 (modules-names): Add tst-no-libidn2.
13360 (extra-test-objs): Add tst-no-libidn2.os.
13361 (LDFLAGS-tst-no-libidn2.so): Set soname.
13362 (LOCALES): Set, and generate locales.
13363 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13364 (tst-resolv-ai_idn-latin1): Likewise.
13365 (tst-resolv-ai_idn-nolibidn2): Likewise.
13366 (tst-resolv-ai_idn.out): Depend on locales.
13367 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13368 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13370 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13371 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13372 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13373 * resolv/tst-resolv-ai_idn.c: New file.
13374 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13375 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13376 * resolv/tst-no-libidn2.c: Likewise.
13377 * support/support_format_addrinfo.c (format_ai_flags): Do not
13378 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13379 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13380 (gaih_inet): Call __idna_to_dns_encoding and
13381 __idna_from_dns_encoding, and use the original (punycode) name if
13382 __idna_from_dns_encoding fails due to an encoding error.
13383 (getaddrinfo): Use DEPRECATED_AI_IDN.
13384 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13385 * sysdeps/unix/inet/configure: Remove file.
13386 * sysdeps/unix/inet/configure.ac: Likewise.
13388 2018-05-23 Florian Weimer <fweimer@redhat.com>
13390 Implement allocate_once.
13391 * include/allocate_once.h: New file.
13392 * misc/allocate_once.c: Likewise.
13393 * misc/tst-allocate_once.c: Likewise.
13394 * misc/Makefile (routines): Add allocate_once.
13395 (tests-internal): Add tst-allocate_once.
13396 (generated): Add tst-allocate_once.mtrace,
13397 tst-allocate_once-mem.out.
13398 (tests-special): Add tst-allocate_once-mem.out.
13399 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13400 (tst-allocate_once-mem.out): Call mtrace.
13401 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13403 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13406 * string/test-memcpy.c (do_test1): New function.
13407 (test_main): Call it.
13409 2018-05-23 Andreas Schwab <schwab@suse.de>
13413 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13414 (L(preloop_large)): Save initial destination pointer in %r11 and
13415 use it instead of %rax after the loop.
13416 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13418 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13420 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13421 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13422 -I../soft-fp. Moved from ....
13423 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13424 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13425 * sysdeps/aarch64/e_sqrtl.c: ... here.
13426 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13427 * sysdeps/aarch64/sfp-machine.h: ... here.
13429 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13430 -Wmaybe-uninitialized around access to fq[0].
13431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13435 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13436 aliases for non-libc case of versioned symbols.
13437 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13438 (llseek): Define as compat symbol if
13439 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13441 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13442 Make into a compat symbol, disabled for minimum symbol version
13443 GLIBC_2.28 and later.
13444 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13446 2018-05-22 Florian Weimer <fweimer@redhat.com>
13448 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13449 not add -mpreferred-stack-boundary=4.
13450 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13451 (stack-align-test-flags): Likewise.
13452 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13454 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13455 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13456 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13457 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13458 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13459 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13460 (CFLAGS-tst-align2.c): Likewise.
13462 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13464 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13465 (index_arch_Prefer_FSRM): Likewise.
13466 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13467 Also check Prefer_FSRM.
13468 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13469 Also return OPTIMIZE (erms) for Prefer_FSRM.
13471 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13473 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13474 (index_cpu_FSRM): Likewise.
13475 (reg_FSRM): Likewise.
13477 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13479 * math/gen-tgmath-tests.py: Import sys.
13480 (Tests.__init__): Initialize macros_seen.
13481 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13482 if requested to do so for this macro.
13483 (Tests.add_all_tests): Take argument for macro for which to
13485 (Tests.check_macro_list): New function.
13486 (main): Handle check-list argument and argument specifying macro
13487 for which to generate tests.
13488 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13489 [PYTHON] (tgmath3-macro-tests): Likewise.
13490 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13491 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13492 not test-tgmath3.c.
13493 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13494 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13496 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13497 [PYTHON] ($(foreach
13498 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13500 [PYTHON] (tests-special): Add
13501 $(objpfx)test-tgmath3-macro-list.out.
13502 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13504 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13505 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13509 * time/tzset.c (SECSPERDAY): Cast to time_t.
13510 * time/tst-y2039.c: New file.
13511 * time/Makefile (tests): Add tst-y2039.
13513 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13515 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13516 (PREFETCH_ONE_SET): Remove duplicate line.
13518 2018-05-17 Florian Weimer <fweimer@redhat.com>
13520 * sysdeps/generic/math-type-macros-double.h: Include
13521 <math-nan-payload-double.h> after <libm-alias-double.h>.
13522 * sysdeps/generic/math-type-macros-float.h: Include
13523 <math-nan-payload-float.h> after <libm-alias-float.h>.
13524 * sysdeps/generic/math-type-macros-float128.h: Include
13525 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13526 * sysdeps/generic/math-type-macros-ldouble.h: Include
13527 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13529 2018-05-17 Andreas Schwab <schwab@suse.de>
13531 * resolv/res_send.c (__res_context_send): Don't set errno when
13532 returing error after malloc failure.
13534 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13536 * nptl/allocatestack.c (allocate_stack): Remove the
13537 !__ASSUME_PRIVATE_FUTEX paths.
13538 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13539 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13541 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13542 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13543 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13544 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13545 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13546 !__ASSUME_PRIVATE_FUTEX path.
13547 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13548 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13549 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13550 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13551 !__ASSUME_PRIVATE_FUTEX macros.
13552 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13553 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13554 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13555 * sysdeps/unix/sysv/linux/kernel-features.h
13556 (__ASSUME_PRIVATE_FUTEX): Removed.
13558 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13560 * math/Makefile (libm-narrow-fns): Add div.
13561 (libm-test-funcs-narrow): Likewise.
13562 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13563 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13564 * math/gen-auto-libm-tests.c (test_functions): Add div.
13565 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13566 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13567 (NARROW_DIV_TRIVIAL): Likewise.
13568 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13570 (__ddivl): Likewise.
13571 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13573 (CFLAGS-nldbl-ddiv.c): New variable.
13574 (CFLAGS-nldbl-fdiv.c): Likewise.
13575 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13577 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13579 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13580 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13581 * math/auto-libm-test-in: Add tests of div.
13582 * math/auto-libm-test-out-narrow-div: New generated file.
13583 * math/libm-test-narrow-div.inc: New file.
13584 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13587 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13588 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13589 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13598 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13599 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13600 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13601 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13603 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13604 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13605 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13606 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13607 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13608 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13609 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13610 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13611 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13612 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13613 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13614 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13615 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13620 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13622 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13623 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13625 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13626 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13627 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13629 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13632 * nscd/nscd-client.h (sendfileall): Remove prototype.
13633 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13634 (handle_request): Use writeall instead of sendfileall.
13635 * nscd/aicache.c (addhstaiX): Likewise.
13636 * nscd/grpcache.c (cache_addgr): Likewise.
13637 * nscd/hstcache.c (cache_addhst): Likewise.
13638 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13639 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13640 * nscd/pwdcache.c (cache_addpw): Likewise.
13641 * nscd/servicescache.c (cache_addserv): Likewise.
13642 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13643 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13644 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13647 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13649 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13650 Include <string/strncat.c>.
13651 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13653 (__GI___strncat): New hidden alias.
13655 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13657 * sysdeps/mips/mips32/libm-test-ulps: Update.
13658 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13660 2018-05-16 Florian Weimer <fweimer@redhat.com>
13662 * support/Makefile (libsupport-routines): Add support_quote_blob,
13663 support_test_compare_blob.
13664 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13665 * support/check.h (TEST_COMPARE_BLOB): Define.
13666 (support_test_compare_blob): Declare.
13667 * support/support.h (support_quote_blob): Declare.
13668 * support/support_quote_blob.c: New file.
13669 * support/support_test_compare_blob.c: Likewise.
13670 * support/tst-support_quote_blob.c: Likewise.
13671 * support/tst-test_compare_blob.c: Likewise.
13673 2018-05-16 Florian Weimer <fweimer@redhat.com>
13675 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13676 of <strtod_nan_double.h>.
13677 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13678 instead of SET_MANTISSA.
13679 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13680 of include <strtod_nan_float.h>.
13681 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13682 instead of <strtod_nan_ldouble.h>.
13683 * stdlib/strtod_nan_double.h: Move to ...
13684 * sysdeps/generic/math-nan-payload-double.h: ... here.
13685 (FLOAT): Remove definition.
13686 (SET_MANTISSA): Rename to ...
13687 (SET_NAN_PAYLOAD): ... this.
13688 * stdlib/strtod_nan_float.h: Move to ...
13689 * sysdeps/generic/math-nan-payload-float.h: ... here.
13690 (FLOAT): Remove definition.
13691 (SET_MANTISSA): Rename to ...
13692 (SET_NAN_PAYLOAD): ... this.
13693 * sysdeps/generic/math-type-macros-double.h: Include
13694 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13695 instead of <math-svid-compat.h>.
13696 * sysdeps/generic/math-type-macros-float.h: Include
13697 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13698 instead of <math-svid-compat.h>.
13699 * sysdeps/generic/math-type-macros-float128.h: Include
13700 <math-nan-payload-float128.h>.
13701 * sysdeps/generic/math-type-macros-ldouble.h: Include
13702 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13703 instead of <math-svid-compat.h>.
13704 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13705 check for definition.
13706 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13707 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13708 Include <ieee754_float128.h>.
13709 (FLOAT): Remove definition.
13710 (SET_MANTISSA): Rename to ...
13711 (SET_NAN_PAYLOAD): ... this.
13712 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13713 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13714 Do not include <float128_private.h>.
13715 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13717 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13718 (FLOAT): Remove definition.
13719 (SET_MANTISSA): Rename to ...
13720 (SET_NAN_PAYLOAD): ... this.
13721 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13722 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13723 (FLOAT): Remove definition.
13724 (SET_MANTISSA): Rename to ...
13725 (SET_NAN_PAYLOAD): ... this.
13726 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13727 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13728 (FLOAT): Remove definition.
13729 (SET_MANTISSA): Rename to ...
13730 (SET_NAN_PAYLOAD): ... this.
13731 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13732 of "../stdlib/strtod_nan_double.h".
13733 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13734 of "../stdlib/strtod_nan_float.h".
13735 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13736 instead of "../stdlib/strtod_nan_ldouble.h".
13737 * manual/arith.texi (Parsing of Floats): Adjust comment.
13739 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13741 * math/Makefile (libm-narrow-fns): Add mul.
13742 (libm-test-funcs-narrow): Likewise.
13743 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13744 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13745 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13746 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13747 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13748 (NARROW_MUL_TRIVIAL): Likewise.
13749 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13750 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13752 (__dmull): Likewise.
13753 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13755 (CFLAGS-nldbl-dmul.c): New variable.
13756 (CFLAGS-nldbl-fmul.c): Likewise.
13757 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13759 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13761 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13762 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13763 * math/auto-libm-test-in: Add tests of mul.
13764 * math/auto-libm-test-out-narrow-mul: New generated file.
13765 * math/libm-test-narrow-mul.inc: New file.
13766 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13769 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13770 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13771 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13779 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13780 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13781 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13782 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13783 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13785 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13811 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13813 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13814 with *%eax in call.
13816 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13818 * sysdeps/i386/ldsodefs.h: Removed.
13819 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13820 * sysdeps/x86/ldsodefs.h: This.
13821 (La_i86_regs): New.
13822 (La_i86_retval): Likewise.
13823 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13824 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13826 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13828 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13831 2018-05-13 Alan Modra <amodra@gmail.com>
13833 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13834 R_PARISC_TLS_DTPOFF32 reloc addend.
13836 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13838 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13839 * math/math.h: Restrict the prototype definition for the functions
13840 issignaling(_Float128) and iszero(_Float128); and template
13841 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13842 __HAVE_FLOAT128_UNLIKE_LDBL.
13843 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13844 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13845 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13846 __f128() constants; define the type _Float128 as long double;
13847 and reuse long double in __CFLOAT128.
13849 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13851 * sysdeps/generic/math_private.h: Do not include
13853 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13855 * math/fromfp.h: Include <math-barriers.h>.
13856 * math/math-narrow.h: Likewise.
13857 * math/s_nextafter.c: Likewise.
13858 * math/s_nexttowardf.c: Likewise.
13859 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13860 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13861 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13862 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13863 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13864 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13865 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13879 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13880 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13881 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13882 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13883 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13884 * sysdeps/ieee754/k_standardl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13901 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13902 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13905 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13906 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13908 2018-05-11 Florian Weimer <fweimer@redhat.com>
13910 Use 64-bit epoch values in the time zone file parser.
13911 * include/time.h (internal_time_t): Define.
13912 (__tzfile_compute): Use it.
13913 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13915 (transitions): Switch to internal_time_t.
13916 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13918 (__tzfile_compute): Use internal_time_t for timer argument. Check
13919 for truncation before calling __offtime.
13921 2018-05-11 Florian Weimer <fweimer@redhat.com>
13924 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13925 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13927 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13928 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13929 export without --enable-obsolete-rpc.
13930 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13931 symbol. This should not have been exported, ever.
13933 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13936 * localedata/locales/gd_GB (abmon): Fix typo in May:
13937 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13939 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13941 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13942 Use multiple registers to copy data in loop tail.
13944 * sysdeps/aarch64/multiarch/memmove_falkor.S
13945 (__memmove_falkor): Use multiple registers to move data in
13948 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13950 * math/math-underflow.h: New file.
13951 * sysdeps/generic/math_private.h: Do not include <float.h>.
13952 (fabs_tg): Remove macro. Moved to math-underflow.h.
13953 (min_of_type_f): Likewise.
13954 (min_of_type_): Likewise.
13955 (min_of_type_l): Likewise.
13956 (min_of_type_f128): Likewise.
13957 (min_of_type): Likewise.
13958 (math_check_force_underflow): Likewise.
13959 (math_check_force_underflow_nonneg): Likewise.
13960 (math_check_force_underflow_complex): Likewise.
13961 * math/e_exp2_template.c: Include <math-underflow.h>.
13962 * math/k_casinh_template.c: Likewise.
13963 * math/s_catan_template.c: Likewise.
13964 * math/s_catanh_template.c: Likewise.
13965 * math/s_ccosh_template.c: Likewise.
13966 * math/s_cexp_template.c: Likewise.
13967 * math/s_clog10_template.c: Likewise.
13968 * math/s_clog_template.c: Likewise.
13969 * math/s_csin_template.c: Likewise.
13970 * math/s_csinh_template.c: Likewise.
13971 * math/s_csqrt_template.c: Likewise.
13972 * math/s_ctan_template.c: Likewise.
13973 * math/s_ctanh_template.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13986 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13992 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13993 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13994 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13995 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13996 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13997 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13998 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13999 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14000 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14001 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14002 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14003 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14004 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14005 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14042 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14044 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14048 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14051 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14052 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14054 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14057 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14059 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14061 * sysdeps/generic/math-barriers.h: New file.
14062 * sysdeps/generic/math_private.h [!math_opt_barrier]
14063 (math_opt_barrier): Move to math-barriers.h.
14064 [!math_opt_barrier] (math_force_eval): Likewise.
14065 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14066 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14068 (math_force_eval): Likewise.
14069 * sysdeps/alpha/fpu/math-barriers.h: New file.
14070 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14072 (math_force_eval): Likewise.
14073 * sysdeps/x86/fpu/math-barriers.h: New file.
14074 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14076 (math_force_eval): Likewise.
14077 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14078 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14079 multiple-include guard for rename.
14080 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14081 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14083 (math_force_eval): Likewise.
14085 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14089 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14091 * stdlib/Makefile (test-bz22786): New test.
14092 * stdlib/test-bz22786.c: New test.
14094 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14096 * include/math-narrow-eval.h: New file. Contents moved from ....
14097 * sysdeps/generic/math_private.h: ... here.
14098 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14099 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14100 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14101 * stdlib/strtod_l.c: Likewise.
14102 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14103 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14104 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14117 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14118 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14119 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14120 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14121 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14122 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14123 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14124 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14125 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14126 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14127 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14128 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14130 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14132 2018-05-08 Andreas Schwab <schwab@suse.de>
14134 * sysdeps/nptl/internaltypes.h: Fix comment.
14136 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14138 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14139 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14142 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14144 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14145 of I into loop header.
14146 * benchtests/bench-memmove-walk.c
14147 (test_main): Likewise.
14149 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14152 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14153 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14155 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14158 * elf/dl-load.c (open_verify): Fix stack overflow.
14159 * elf/Makefile (tst-big-note): New test.
14160 * elf/tst-big-note-lib.S: New.
14161 * elf/tst-big-note.c: New.
14163 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14165 * scripts/abilist.awk: Ignore absolute symbols.
14166 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14167 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14168 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14169 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14170 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14171 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14172 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14173 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14174 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14175 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14176 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14177 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14259 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14273 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14296 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14301 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14302 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14304 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14322 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14412 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14427 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14440 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14466 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14480 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14483 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14519 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14522 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14523 Use atomic_load_acquire to load __tid.
14525 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14527 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14528 Restore the pointer into %rdx, after syscall and use %rdx,
14529 instead of %rsi, to restore context.
14531 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14533 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14534 Pop the pointer into %rdx after syscall and use %rdx, instead
14535 of %rsi, to restore context.
14537 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14539 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14540 handlers after setjmp.
14541 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14543 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14544 <libc-pointer-arith.h>.
14545 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14546 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14547 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14548 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14549 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14550 * sysdeps/x86/__longjmp_cancel.S: New file.
14551 * sysdeps/x86/longjmp.c: Likewise.
14552 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14554 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14556 * NEWS: Add ustat.h deprecation entry.
14557 * bits/ustat.h: Remove file.
14558 * misc/sys/ustat.h: Likewise.
14559 * misc/ustat.h: Likewise.
14560 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14561 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14562 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14563 compatibility mode.
14564 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14565 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14566 generic Linux implementation.
14568 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14570 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14571 * math/w_expl_compat.c: Likewise.
14572 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14574 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14576 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14578 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14580 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14581 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14582 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14584 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14587 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14588 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14591 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14593 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14595 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14596 * math/w_asin_template.c: Likewise.
14597 * math/w_atanh_template.c: Likewise.
14599 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14601 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14602 to powerpc/powerpc64/be for big-endian.
14603 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14606 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14607 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14608 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14609 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14610 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14611 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14612 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14613 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14614 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14615 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14616 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14617 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14618 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14619 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14620 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14621 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14622 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14623 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14624 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14625 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14626 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14627 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14628 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14629 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14630 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14631 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14632 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14633 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14634 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14635 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14636 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14637 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14639 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14640 adjusted to imply powerpc64 and older processors on powerpc64/be.
14641 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14642 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14643 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14644 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14645 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14646 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14647 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14648 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14649 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14650 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14651 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14652 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14653 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14654 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14655 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14656 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14657 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14658 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14659 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14660 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14661 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14662 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14663 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14664 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14665 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14666 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14667 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14668 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14669 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14670 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14671 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14673 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14674 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14675 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14676 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14678 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14679 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14680 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14681 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14683 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14684 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14685 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14686 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14687 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14688 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14689 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14690 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14691 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14692 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14693 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14695 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14696 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14697 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14698 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14699 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14700 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14701 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14702 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14703 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14704 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14705 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14707 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14708 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14709 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14710 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14711 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14712 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14713 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14714 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14715 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14716 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14717 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14718 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14720 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14721 and adjusted to imply olders processors.
14722 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14723 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14724 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14725 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14726 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14727 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14728 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14729 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14730 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14731 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14732 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14751 powerpc64 and adjusted.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14757 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14759 * sysdeps/tile: Remove.
14760 * sysdeps/unix/sysv/linux/tile: Likewise.
14761 * README (tilegx-*-linux-gnu): Remove from list of supported
14763 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14764 contribution of support for generic Linux kernel syscall
14766 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14767 tilegx configurations.
14768 (Config.install_linux_headers): Do not handle tile.
14769 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14771 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14772 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14773 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14774 conditional undefine and redefine.
14775 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14777 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14778 conditional undefine and redefine.
14780 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14782 * signal/tst-sigaction.c: New file to test BZ #23069.
14783 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14785 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14788 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14789 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14790 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14791 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14793 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14795 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14796 _DIRENT_MATCHES_DIRENT64 is not defined.
14797 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14798 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14800 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14801 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14803 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14805 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14806 version to GCC 8 branch.
14808 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14810 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14811 (check_no_hidden): Use type of original function when declaring
14814 * sysdeps/unix/sysv/linux/sys/ptrace.h
14815 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14816 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14817 (struct __ptrace_seccomp_metadata): New type.
14818 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14819 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14820 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14821 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14822 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14823 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14825 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14827 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14828 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14829 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14830 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14831 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14832 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14833 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14835 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14837 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14839 * dirent/versionsort.c (versionsort): Likewise.
14840 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14841 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14842 * dirent/versionsort64.c (versionsort64): Likewise.
14843 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14844 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14845 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14846 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14847 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14848 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14849 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14850 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14851 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14852 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14855 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14856 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14858 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14860 * elf/elf.h (NT_PPC_PKEY): New macro.
14862 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14865 * localedata/locales/hr_HR: fix thousands_sep and
14868 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14870 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14871 (XTABS): Define to TAB3.
14873 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14875 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14877 * dirent/scandir-tail-common.c: New file.
14878 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14879 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14880 * dirent/scandir.c: Use scandir-tail-common.c.
14881 * dirent/scandirat.c: Likewise.
14882 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14883 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14884 if _DIRENT_MATCHES_DIRENT64 is defined.
14885 * dirent/scandirat64.c (scandirat64): Likewise.
14886 * include/dirent.h (__scandir_tail): Only define iff
14887 _DIRENT_MATCHES_DIRENT64 is not defined.
14888 (__scandir64_tail): Define regardless.
14889 (__scandirat, scandirat64): Remove libc_hidden_proto.
14890 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14891 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14893 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14895 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14896 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14898 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14900 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14902 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14904 (_dl_aarch64_cap_flags): Add asimdfhm.
14906 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14908 * sysdeps/nios2/libm-test-ulps: Update.
14910 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14912 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14913 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14915 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14917 (_DIRENT_MATCHES_DIRENT64): Undef
14918 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14919 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14920 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14921 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14922 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14923 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14924 use getdents64 syscalls as base.
14925 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14926 symbol if required.
14927 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14928 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14929 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14930 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14931 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14932 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14933 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14934 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14936 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14937 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14939 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14941 * scripts/test_printers_common.py (init_test): Disable lock elision.
14943 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14945 * math/test-tgmath.c (count_double, count_float,
14946 count_ldouble, count_cdouble, count_cfloat,
14947 count_cldouble): Use volatile int.
14949 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14951 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14952 (conformtest-xfail-conds): Add i386-gnu.
14953 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14955 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14956 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14957 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14958 msqid_ds.msg_lrpid): Likewise.
14959 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14961 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14962 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14963 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14964 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14966 (struct statvfs64): Likewise.
14967 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14969 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14970 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14971 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14972 instead of wait_queue.
14973 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14974 instead of vm_area_struct.
14975 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14976 struct sched_param definition to it.
14977 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14978 * bits/types/struct_sched_param.h: New file.
14979 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14980 <bits/types/struct_sched_param.h> instead of <sched.h>.
14981 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14982 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14983 generic version but include <bits/pthreadtypes.h> to make struct
14984 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14985 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14987 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14988 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14989 [__USE_XOPEN] (OFDEL): New macro.
14990 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14991 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14992 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14994 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14995 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14996 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14998 * sysdeps/i386/sys/ucontext.h: Likewise.
14999 * sysdeps/m68k/sys/ucontext.h: Likewise.
15000 * sysdeps/mips/sys/ucontext.h: Likewise.
15001 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15002 * sysdeps/mach/hurd/i386/Makefile
15003 (test-xfail-POSIX/fcntl.h/conform): Add.
15004 (test-xfail-POSIX/signal.h/conform): Add.
15005 (test-xfail-POSIX/semaphore.h/conform): Add.
15006 (test-xfail-POSIX/regex.h/conform): Add.
15007 (test-xfail-POSIX/aio.h/conform): Add.
15008 (test-xfail-POSIX/mqueue.h/conform): Add.
15009 (test-xfail-POSIX/sys/types.h/conform): Add.
15010 (test-xfail-UNIX98/fcntl.h/conform): Add.
15011 (test-xfail-UNIX98/netdb.h/conform): Add.
15012 (test-xfail-UNIX98/signal.h/conform): Add.
15013 (test-xfail-UNIX98/semaphore.h/conform): Add.
15014 (test-xfail-UNIX98/regex.h/conform): Add.
15015 (test-xfail-UNIX98/aio.h/conform): Add.
15016 (test-xfail-UNIX98/ftw.h/conform): Add.
15017 (test-xfail-UNIX98/mqueue.h/conform): Add.
15018 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15019 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15020 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15021 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15022 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15023 (test-xfail-UNIX98/sys/types.h/conform): Add.
15024 (test-xfail-UNIX98/stdlib.h/conform): Add.
15025 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15026 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15027 (test-xfail-POSIX2008/netdb.h/conform): Add.
15028 (test-xfail-POSIX2008/signal.h/conform): Add.
15029 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15030 (test-xfail-POSIX2008/regex.h/conform): Add.
15031 (test-xfail-POSIX2008/aio.h/conform): Add.
15032 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15033 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15034 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15035 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15036 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15037 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15038 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15039 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15040 (test-xfail-XOPEN2K/signal.h/conform): Add.
15041 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15042 (test-xfail-XOPEN2K/regex.h/conform): Add.
15043 (test-xfail-XOPEN2K/aio.h/conform): Add.
15044 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15045 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15046 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15047 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15048 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15049 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15050 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15051 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15052 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15053 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15054 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15055 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15056 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15057 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15058 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15059 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15060 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15061 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15062 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15063 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15064 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15065 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15066 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15067 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15068 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15069 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15070 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15072 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15073 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15075 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15077 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15078 --enable-obsolete for powerpc-linux-gnuspe.
15080 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15082 * conform/data/sys/un.h-data: Allow sun_ prefix.
15083 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15085 * sysdeps/mach/include/mach.h: Likewise.
15086 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15087 * sysdeps/mach/include/mach_error.h: Likewise.
15089 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15091 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15092 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15093 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15094 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15096 2018-04-16 Andreas Schwab <schwab@suse.de>
15099 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15101 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15103 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15104 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15106 2018-04-12 DJ Delorie <dj@redhat.com>
15108 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15111 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15113 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15114 (struct kernel_sigaction): Use the same definition on 31bit as is used
15117 2018-04-09 Florian Weimer <fweimer@redhat.com>
15120 * resolv/res_send.c (send_dg): Use designated initializers instead
15121 of assignment to zero-initialize other fields of struct mmsghdr.
15123 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15125 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15126 __READDIR_ALIAS): Undefine after usage.
15127 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15128 __READDIR_R_ALIAS): Likewise.
15129 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15130 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15131 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15132 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15133 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15135 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15136 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15137 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15138 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15139 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15140 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15141 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15142 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15143 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15144 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15145 * sysdeps/unix/sysv/linux/readdir.c: New file.
15146 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15147 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15148 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15150 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15152 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15154 * manual/charset.texi (Converting a Character): Fix typo.
15156 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15160 * sysdeps/arm/libm-test-ulps: Update.
15162 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15163 as base implementation.
15164 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15165 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15166 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15168 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15169 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15170 remove unrequired definitions and update comments.
15171 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15172 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15173 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15174 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15175 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15176 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15177 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15178 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15179 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15180 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15181 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15182 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15183 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15184 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15185 and RESET_SA_RESTORER hooks.
15187 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15189 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15191 2018-04-05 Florian Weimer <fweimer@redhat.com>
15193 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15194 integer overflow, memory leak on error, and indeterminate errno
15195 value. Add a null wide character to terminate the result string.
15196 * manual/charset.texi (Converting a Character): Mention embedded
15197 null bytes in the mbrtowc input string. Explain what happens in
15198 the -2 result case. Do not claim that mbrtowc is simple or
15199 obvious to use. Adjust the description of the code example. Use
15200 @code, not @var, for concrete variables.
15202 2018-04-05 Florian Weimer <fweimer@redhat.com>
15204 * manual/examples/mbstouwcs.c: New file.
15205 * manual/charset.texi (Converting a Character): Include it.
15207 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15209 * include/dirent.h (dirfd): Add hidden proto.
15210 * dirent/dirfd.c (dirfd): Add hidden def.
15211 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15212 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15214 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15216 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15217 sin, cos and sincos to 1 ULP.
15219 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15222 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15224 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15225 * elf/tst-absolute-sym.c: New file.
15226 * elf/tst-absolute-sym-lib.c: New file.
15227 * elf/tst-absolute-sym-lib.lds: New file.
15228 * elf/Makefile (tests): Add `tst-absolute-sym'.
15229 (modules-names): Add `tst-absolute-sym-lib'.
15230 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15231 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15232 ($(objpfx)tst-absolute-sym): New dependency.
15235 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15237 (SYMBOL_ADDRESS): New macro.
15238 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15239 SYMBOL_ADDRESS for symbol address calculation.
15240 * elf/dl-runtime.c (_dl_fixup): Likewise.
15241 (_dl_profile_fixup): Likewise.
15242 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15243 * elf/rtld.c (dl_main): Likewise.
15244 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15245 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15246 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15247 (elf_machine_rela): Likewise.
15248 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15249 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15250 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15251 (elf_machine_rela): Likewise.
15252 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15253 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15254 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15255 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15257 (elf_machine_reloc): Likewise.
15258 (elf_machine_got_rel): Likewise.
15259 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15260 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15261 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15263 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15265 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15266 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15268 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15270 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15275 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15278 2018-04-04 Zack Weinberg <zackw@panix.com>
15280 * sysdeps/generic/internal-signals.h: Include signal.h,
15281 sigsetops.h, and stdbool.h.
15282 (__libc_signal_block_all): Actually block all signals.
15283 (__libc_signal_block_app): Likewise.
15284 (__libc_signal_restore_set): Actually restore the signal mask.
15286 2018-04-04 Florian Weimer <fweimer@redhat.com>
15288 inet: Actually build and run tst-deadline.
15289 * inet/Makefile (tests-internal): Add tst-deadline and do not
15290 overwrite the variable.
15291 (tests-static-internal): Remove variable.
15293 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15296 * bits/uio-ext.h (RWF_APPEND): New.
15297 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15298 * manual/llio.texi: Document RWF_APPEND.
15299 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15300 (RWF_SUPPORTED): Add RWF_APPEND.
15302 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15305 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15306 check for internal nptl signals.
15307 * nptl/sigaction.c (__sigaction): Likewise.
15308 * signal/sigaddset.c (sigaddset): Likewise.
15309 * signal/sigdelset.c (sigdelset): Likewise.
15310 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15311 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15313 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15314 to filter out internal nptl signals.
15315 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15316 also check realtime signals using standard macros.
15317 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15318 __is_internal_signal, __libc_signal_block_all,
15319 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15320 * sysdeps/nptl/sigfillset.c: Remove file.
15321 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15322 Change return to bool.
15323 (__clear_internal_signals): Remove SIGTIMER clean since it is
15324 equal to SIGCANEL on Linux.
15325 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15326 signal set was constructed using standard functions.
15328 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15330 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15331 ifname is too long.
15332 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15333 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15334 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15336 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15337 * signal/sigaddset.c: Include <sigsetopts.h>.
15338 * signal/sigdelset.c: Likewise.
15340 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15344 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15345 logic as sin and cos.
15347 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15349 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15350 inputs. Return correct sign.
15351 (do_sincos): Remove small input check before do_sin, let do_sin set
15356 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15358 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15359 (do_cos_slow): Likewise.
15360 (do_sin_slow): Likewise.
15361 (reduce_and_compute): Likewise.
15366 (sloww1): Likewise.
15367 (sloww2): Likewise.
15369 (bslow1): Likewise.
15370 (bslow2): Likewise.
15371 (cslow2): Likewise.
15373 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15375 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15376 (do_cos): Remove corp parameter and calculations.
15377 (do_sin): Likewise.
15378 (do_sincos): Remove cor variable.
15379 (__sin): Use do_sincos for huge inputs.
15381 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15382 (reduce_and_compute_sincos): Remove unused function.
15384 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15386 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15387 reduce_sincos, improve accuracy to 136 bits.
15388 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15389 (__sin): Use improved reduction and simplified do_sincos calculation.
15391 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15393 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15395 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15396 (do_sincos_2): Likewise.
15397 (__sin): Remove middle range reduction case.
15399 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15402 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15404 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15408 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15410 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15412 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15415 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15417 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15418 Remove definitions.
15419 (opendir_oflags): Use O_DIRECTORY regardless.
15420 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15421 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15423 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15425 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15426 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15428 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15429 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15430 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15431 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15432 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15433 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15435 * htl/Makefile: Bump licence to LGPL 2.1+.
15436 * htl/alloca_cutoff.c: Likewise.
15437 * htl/cthreads-compat.c: Likewise.
15438 * htl/lockfile.c: Likewise.
15439 * htl/pt-alloc.c: Likewise.
15440 * htl/pt-cancel.c: Likewise.
15441 * htl/pt-cleanup.c: Likewise.
15442 * htl/pt-create.c: Likewise.
15443 * htl/pt-dealloc.c: Likewise.
15444 * htl/pt-detach.c: Likewise.
15445 * htl/pt-exit.c: Likewise.
15446 * htl/pt-getattr.c: Likewise.
15447 * htl/pt-initialize.c: Likewise.
15448 * htl/pt-internal.h: Likewise.
15449 * htl/pt-join.c: Likewise.
15450 * htl/pt-self.c: Likewise.
15451 * htl/pt-setcancelstate.c: Likewise.
15452 * htl/pt-setcanceltype.c: Likewise.
15453 * htl/pt-sigmask.c: Likewise.
15454 * htl/pt-spin-inlines.c: Likewise.
15455 * htl/pt-testcancel.c: Likewise.
15456 * htl/pt-yield.c: Likewise.
15457 * htl/tests/test-1.c: Likewise.
15458 * htl/tests/test-10.c: Likewise.
15459 * htl/tests/test-11.c: Likewise.
15460 * htl/tests/test-12.c: Likewise.
15461 * htl/tests/test-13.c: Likewise.
15462 * htl/tests/test-14.c: Likewise.
15463 * htl/tests/test-15.c: Likewise.
15464 * htl/tests/test-16.c: Likewise.
15465 * htl/tests/test-17.c: Likewise.
15466 * htl/tests/test-2.c: Likewise.
15467 * htl/tests/test-3.c: Likewise.
15468 * htl/tests/test-4.c: Likewise.
15469 * htl/tests/test-5.c: Likewise.
15470 * htl/tests/test-6.c: Likewise.
15471 * htl/tests/test-7.c: Likewise.
15472 * htl/tests/test-8.c: Likewise.
15473 * htl/tests/test-9.c: Likewise.
15474 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15475 * sysdeps/htl/bits/cancelation.h: Likewise.
15476 * sysdeps/htl/bits/pthread-np.h: Likewise.
15477 * sysdeps/htl/bits/pthread.h: Likewise.
15478 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15479 * sysdeps/htl/bits/semaphore.h: Likewise.
15480 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15481 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15482 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15483 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15484 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15485 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15486 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15487 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15488 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15489 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15490 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15491 * sysdeps/htl/old_pt-atfork.c: Likewise.
15492 * sysdeps/htl/pt-atfork.c: Likewise.
15493 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15494 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15495 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15496 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15497 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15498 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15499 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15500 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15501 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15502 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15503 * sysdeps/htl/pt-attr-init.c: Likewise.
15504 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15505 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15506 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15507 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15508 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15509 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15510 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15511 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15512 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15513 * sysdeps/htl/pt-attr.c: Likewise.
15514 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15515 * sysdeps/htl/pt-barrier-init.c: Likewise.
15516 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15517 * sysdeps/htl/pt-barrier.c: Likewise.
15518 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15519 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15520 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15521 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15522 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15523 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15524 * sysdeps/htl/pt-cond-init.c: Likewise.
15525 * sysdeps/htl/pt-cond-signal.c: Likewise.
15526 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15527 * sysdeps/htl/pt-cond-wait.c: Likewise.
15528 * sysdeps/htl/pt-cond.c: Likewise.
15529 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15530 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15531 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15532 * sysdeps/htl/pt-condattr-init.c: Likewise.
15533 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15534 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15535 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15536 * sysdeps/htl/pt-equal.c: Likewise.
15537 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15538 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15539 * sysdeps/htl/pt-getschedparam.c: Likewise.
15540 * sysdeps/htl/pt-getspecific.c: Likewise.
15541 * sysdeps/htl/pt-init-specific.c: Likewise.
15542 * sysdeps/htl/pt-key-create.c: Likewise.
15543 * sysdeps/htl/pt-key-delete.c: Likewise.
15544 * sysdeps/htl/pt-key.h: Likewise.
15545 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15546 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15547 * sysdeps/htl/pt-mutex-init.c: Likewise.
15548 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15549 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15550 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15551 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15552 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15553 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15554 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15555 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15556 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15557 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15558 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15559 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15560 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15561 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15562 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15563 * sysdeps/htl/pt-mutexattr.c: Likewise.
15564 * sysdeps/htl/pt-once.c: Likewise.
15565 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15566 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15567 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15568 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15569 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15570 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15571 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15572 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15573 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15574 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15575 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15576 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15577 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15578 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15579 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15580 * sysdeps/htl/pt-setschedparam.c: Likewise.
15581 * sysdeps/htl/pt-setschedprio.c: Likewise.
15582 * sysdeps/htl/pt-setspecific.c: Likewise.
15583 * sysdeps/htl/pt-spin.c: Likewise.
15584 * sysdeps/htl/pt-startup.c: Likewise.
15585 * sysdeps/htl/pthread.h: Likewise.
15586 * sysdeps/htl/sem-close.c: Likewise.
15587 * sysdeps/htl/sem-destroy.c: Likewise.
15588 * sysdeps/htl/sem-getvalue.c: Likewise.
15589 * sysdeps/htl/sem-init.c: Likewise.
15590 * sysdeps/htl/sem-open.c: Likewise.
15591 * sysdeps/htl/sem-post.c: Likewise.
15592 * sysdeps/htl/sem-timedwait.c: Likewise.
15593 * sysdeps/htl/sem-trywait.c: Likewise.
15594 * sysdeps/htl/sem-unlink.c: Likewise.
15595 * sysdeps/htl/sem-wait.c: Likewise.
15596 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15597 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15598 * sysdeps/mach/htl/pt-block.c: Likewise.
15599 * sysdeps/mach/htl/pt-spin.c: Likewise.
15600 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15601 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15602 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15603 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15604 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15605 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15606 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15607 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15608 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15609 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15610 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15611 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15612 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15613 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15614 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15615 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15616 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15617 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15618 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15619 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15620 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15621 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15622 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15623 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15624 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15625 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15626 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15627 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15628 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15629 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15630 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15631 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15632 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15633 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15634 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15635 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15636 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15637 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15638 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15639 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15640 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15641 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15642 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15644 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15645 * README: Remove the mention of out-of-tree patches needed for
15648 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15649 (UTIME_NOW, UTIME_OMIT): Define macros.
15651 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15652 instead of pthread_detach.
15653 (__cthread_fork): Call __pthread_create instead of pthread_create.
15654 (__cthread_keycreate): Call __pthread_key_create instead of
15655 pthread_key_create.
15656 (__cthread_getspecific): Call __pthread_getspecific instead of
15657 pthread_getspecific.
15658 (__cthread_setspecific): Call __pthread_setspecific instead of
15659 pthread_setspecific.
15660 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15661 __pthread_mutex_unlock instead of pthread_mutex_lock and
15662 pthread_mutex_unlock.
15663 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15664 ___pthread_get_cleanup_stack.
15665 (__pthread_get_cleanup_stack): New strong alias.
15666 * htl/pt-create.c: Include <pthreadP.h>.
15667 (entry_point): Call __pthread_exit instead of pthread_exit.
15668 (pthread_create): Rename to __pthread_create.
15669 (pthread_create): New strong alias.
15670 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15671 (pthread_detach): New strong alias.
15672 (__pthread_detach): Call __pthread_cond_broadcast instead of
15673 pthread_cond_broadcast.
15674 * htl/pt-exit.c: Include <pthreadP.h>.
15675 (__pthread_exit): Call __pthread_setcancelstate and
15676 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15677 __pthread_get_cleanup_stack.
15678 * htl/pt-testcancel.c: Include <pthreadP.h>.
15679 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15680 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15681 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15682 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15683 pthread_attr_getstacksize.
15684 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15685 Rename to __pthread_attr_getstackaddr.
15686 (pthread_attr_getstackaddr): New strong alias.
15687 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15688 Rename to __pthread_attr_getstacksize.
15689 (pthread_attr_getstacksize): New strong alias.
15690 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15691 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15692 (pthread_attr_setstack): New strong alias.
15693 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15694 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15695 pthread_attr_getstacksize, pthread_attr_setstacksize and
15696 pthread_attr_setstackaddr.
15697 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15698 Rename to __pthread_attr_setstackaddr.
15699 (pthread_attr_setstackaddr): New strong alias.
15700 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15701 Rename to __pthread_attr_setstacksize.
15702 (pthread_attr_setstacksize): New strong alias.
15703 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15704 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15706 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15707 (__pthread_key_create): New hidden def.
15708 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15709 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15710 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15711 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15712 __pthread_setspecific, __pthread_setcancelstate,
15713 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15714 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15715 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15717 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15718 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15719 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15720 (pthread_attr_setstackaddr): New strong alias.
15721 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15722 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15723 (pthread_attr_setstacksize): New strong alias.
15724 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15725 (call_exit): Call __pthread_exit instead of pthread_exit.
15726 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15727 (_pthread_mutex_init): New hidden definition.
15728 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15729 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15730 instead of pthread_attr_init and pthread_attr_setstack.
15732 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15733 __vm_deallocate instead of vm_allocate and vm_deallocate.
15734 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15736 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15738 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15740 * hurd/siginfo.c: Include <libioP.h>.
15741 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15742 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15744 * mach/devstream.c: Include <libioP.h>.
15745 (dealloc_ref): Call __mach_port_deallocate instead of
15746 mach_port_deallocate.
15747 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15748 Call __mach_port_deallocate instead of mach_port_deallocate.
15749 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15751 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15753 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15754 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15755 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15757 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15759 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15760 instead of sysconf.
15761 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15762 __clock_gettime instead of clock_gettime.
15763 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15764 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15765 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15766 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15767 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15769 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15770 __clock_gettime and __nanosleep instead of clock_gettime and
15772 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15773 __hurd_catch_signal.
15774 (hurd_catch_signal): New strong alias.
15775 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15776 __hurd_catch_signal instead of hurd_catch_signal.
15777 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15778 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15779 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15780 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15781 (_hurd_thread_sigstate): Add hidden def.
15782 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15784 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15785 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15786 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15787 __hurd_file_name_path_lookup.
15788 (hurd_file_name_path_lookup): New strong alias.
15789 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15790 hurd_file_name_path_lookup.
15791 * mach/errstring.c (mach_error_type): Add hidden def.
15792 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15793 * mach/mutex-init.c (__mutex_init): Add hidden def.
15794 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15795 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15796 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15797 * sysdeps/mach/hurd/getcwd.c
15798 (_hurd_canonicalize_directory_name_internal): Rename to
15799 __hurd_canonicalize_directory_name_internal.
15800 (_hurd_canonicalize_directory_name_internal): New strong alias.
15801 (__canonicalize_directory_name_internal, __getcwd): Call
15802 __hurd_canonicalize_directory_name_internal instead of
15803 _hurd_canonicalize_directory_name_internal.
15804 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15805 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15807 * sysdeps/hurd/include/hurd.h: New file.
15808 * sysdeps/hurd/include/hurd/fd.h: New file.
15809 * sysdeps/hurd/include/hurd/signal.h: New file.
15810 * sysdeps/mach/include/lock-intern.h: New file.
15811 * sysdeps/mach/include/mach.h: New file.
15812 * sysdeps/mach/include/mach/mig_support.h: New file.
15813 * sysdeps/mach/include/mach_error.h: New file.
15814 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15816 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15817 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15818 _HEADER_H_HIDDEN_DEF macro.
15819 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15820 _hurd_fd_error_signal): Add hidden prototype.
15821 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15823 * libio/iolibio.h (_IO_puts): New hidden prototype.
15824 * libio/ioputs.c (_IO_puts): New hidden def.
15825 * sysdeps/mach/hurd/localplt.data: New file.
15827 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15828 Amos Jeffries <squid3@treenet.co.nz>
15829 David Michael <fedora.dm0@gmail.com>
15830 Marco Gerards <marco@gnu.org>
15831 Marcus Brinkmann <marcus@gnu.org>
15832 Neal H. Walfield <neal@gnu.org>
15833 Pino Toscano <toscano.pino@tiscali.it>
15834 Richard Braun <rbraun@sceen.net>
15835 Roland McGrath <roland@gnu.org>
15836 Samuel Thibault <samuel.thibault@ens-lyon.org>
15837 Thomas DiModica <ricinwich@yahoo.com>
15838 Thomas Schwinge <tschwinge@gnu.org>
15840 * htl: New directory.
15841 * sysdeps/htl: New directory.
15842 * sysdeps/hurd/htl: New directory.
15843 * sysdeps/i386/htl: New directory.
15844 * sysdeps/mach/htl: New directory.
15845 * sysdeps/mach/hurd/htl: New directory.
15846 * sysdeps/mach/hurd/i386/htl: New directory.
15847 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15848 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15849 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15851 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15853 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15854 signals in thread created for runing timers.
15856 2018-04-01 Florian Weimer <fweimer@redhat.com>
15858 * support/support_format_addrinfo.c (support_format_addrinfo):
15859 Include unknown error number in formatted result.
15861 2018-03-29 Florian Weimer <fweimer@redhat.com>
15863 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15866 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15868 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15869 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15870 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15871 (__ASSUME_CLONE_BACKWARDS): Define.
15873 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15876 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15877 early when linux sentinel value is set.
15879 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15881 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15883 2018-03-27 Andreas Schwab <schwab@suse.de>
15886 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15887 allocation of private copy of nsaddr_list fails.
15889 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15892 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15893 * sysdeps/unix/sysv/linux/umount.c: ... here.
15894 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15895 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15896 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15897 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15899 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15900 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15902 2018-03-26 Andreas Schwab <schwab@suse.de>
15904 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15905 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15906 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15907 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15908 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15909 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15910 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15911 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15912 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15913 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15914 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15915 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15916 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15917 (R_RISCV_NUM): Define.
15919 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15921 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15922 TLS declaration of errno.
15923 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15925 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15926 (ARCH_SETUP_TLS): Likewise.
15927 * sysdeps/mach/hurd/libc-start.h: New file copied from
15928 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15929 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15930 instead of __libc_setup_tls.
15931 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15932 __libc_setup_tls before initializing libpthread and running _hurd_init
15933 which starts the signal thread.
15934 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15936 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15938 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15941 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15942 after it is defined.
15944 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15945 Max Horn <max@quendi.de>
15949 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15951 * string/test-memmove.c (do_test2): New testcase.
15953 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15955 * sysdeps/generic/frame.h: Remove file.
15956 * sysdeps/arm/frame.h: Likewise.
15957 * sysdeps/hppa/frame.h: Likewise.
15958 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15960 (GET_FRAME): Likewise.
15961 (GET_STACK): Likewise.
15962 (CALL_SIGHANDLER): Likewise.
15963 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15965 (GET_FRAME): Likewise.
15966 (GET_STACK): Likewise.
15967 (CALL_SIGHANDLER): Likewise.
15968 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15969 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15970 (GET_FRAME): Likewise.
15971 (GET_STACK): Likewise.
15972 (CALL_SIGHANDLER): Likewise.
15973 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15974 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15975 (GET_FRAME): Likewise.
15976 (GET_STACK): Likewise.
15977 (ADVANCE_STACK_FRAME): Likewise.
15978 (CALL_SIGHANDLER): Likewise.
15979 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15980 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15981 (GET_FRAME): Likewise.
15982 (GET_STACK): Likewise.
15983 (CALL_SIGHANDLER): Likewise.
15984 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15985 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15986 (GET_FRAME): Likewise.
15987 (GET_STACK): Likewise.
15988 (CALL_SIGHANDLER): Likewise.
15989 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15990 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15991 (GET_FRAME): Likewise.
15992 (GET_STACK): Likewise.
15993 (CALL_SIGHANDLER): Likewise.
15994 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15995 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15996 (GET_FRAME): Likewise.
15997 (GET_STACK): Likewise.
15998 (CALL_SIGHANDLER): Likewise.
15999 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16000 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16001 (GET_FRAME): Likewise.
16002 (GET_STACK): Likewise.
16003 (CALL_SIGHANDLER): Likewise.
16004 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16005 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16006 (GET_FRAME): Likewise.
16007 (GET_STACK): Likewise.
16008 (CALL_SIGHANDLER): Likewise.
16009 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16010 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16011 (GET_FRAME): Likewise.
16012 (GET_STACK): Likewise.
16013 (CALL_SIGHANDLER): Likewise.
16014 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16015 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16016 (GET_FRAME): Likewise.
16017 (GET_STACK): Likewise.
16018 (CALL_SIGHANDLER): Likewise.
16019 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16020 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16021 (GET_FRAME): Likewise.
16022 (GET_STACK): Likewise.
16023 (CALL_SIGHANDLER): Likewise.
16024 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16025 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16026 (FIRST_FRAME_POINTER): Likewise.
16027 (ADVANCE_STACK_FRAME): Likewise.
16028 (GET_STACK): Likewise.
16029 (GET_FRAME): Likewise.
16030 (CALL_SIGHANDLER): Likewise.
16031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16032 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16033 (ADVANCE_STACK_FRAME): Likewise.
16034 (GET_STACK): Likewise.
16035 (GET_FRAME): Likewise.
16036 (CALL_SIGHANDLER): Likewise.
16037 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16038 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16039 (GET_FRAME): Likewise.
16040 (GET_STACK): Likewise.
16041 (CALL_SIGHANDLER): Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16043 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16044 (GET_FRAME): Likewise.
16045 (GET_STACK): Likewise.
16046 (CALL_SIGHANDLER): Likewise.
16048 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16050 * sysdeps/x86_64/backtrace.c: Move to ....
16051 * debug/backtrace.c: ... here.
16052 * sysdeps/aarch64/backtrace.c: Remove file.
16053 * sysdeps/alpha/backtrace.c: Likewise.
16054 * sysdeps/hppa/backtrace.c: Likewise.
16055 * sysdeps/ia64/backtrace.c: Likewise.
16056 * sysdeps/mips/backtrace.c: Likewise.
16057 * sysdeps/nios2/backtrace.c: Likewise.
16058 * sysdeps/riscv/backtrace.c: Likewise.
16059 * sysdeps/sh/backtrace.c: Likewise.
16060 * sysdeps/tile/backtrace.c: Likewise.
16062 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16065 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16068 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16071 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16072 possibly overflowing computations.
16074 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16076 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16077 values from Linux-specific section now that it is in the GNU section.
16078 * sysdeps/gnu/errlist.c: Regenerate.
16080 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16082 * math/Makefile (libm-narrow-fns): Add sub.
16083 (libm-test-funcs-narrow): Likewise.
16084 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16085 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16086 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16087 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16088 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16089 (NARROW_SUB_TRIVIAL): Likewise.
16090 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16092 (__dsubl): Likewise.
16093 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16095 (CFLAGS-nldbl-dsub.c): New variable.
16096 (CFLAGS-nldbl-fsub.c): Likewise.
16097 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16099 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16101 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16102 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16103 * math/auto-libm-test-in: Add tests of sub.
16104 * math/auto-libm-test-out-narrow-sub: New generated file.
16105 * math/libm-test-narrow-sub.inc: New file.
16106 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16109 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16110 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16111 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16120 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16121 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16122 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16123 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16125 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16153 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16156 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16158 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16160 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16162 2018-03-18 Richard Braun <rbraun@sceen.net>
16164 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16167 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16169 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16170 (__libc_cleanup_fct): Define function.
16171 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16172 __libc_cleanup_end): Rewrite implementation using
16173 __attribute__ ((__cleanup__)).
16174 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16175 * hurd/Makefile (routines): Add hurdlock.
16176 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16178 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16179 * hurd/hurdpid.c: Include <lowlevellock.h>
16180 (_S_msg_proc_newids): Use lll_wait to synchronize.
16181 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16182 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16183 * mach/Makefile (lock-headers): Remove machine-lock.h.
16184 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16186 (__spin_lock_t): New type.
16187 (__SPIN_LOCK_INITIALIZER): New macro.
16188 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16189 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16190 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16191 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16192 (__mutex_init): Initialize with lll.
16193 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16194 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16196 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16197 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16198 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16199 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16200 (__setpgid): Use lll for synchronization.
16201 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16202 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16203 instead of <cthreads.h>.
16204 (_IO_lock_inexpensive): New macro
16205 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16206 (__libc_lock_self0): New declaration.
16207 (__libc_lock_owner_self): New macro.
16208 (__libc_key_t): Remove type.
16209 (_LIBC_LOCK_INITIALIZER): New macro.
16210 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16211 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16212 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16213 __libc_lock_define_initialized_recursive,
16214 __rtld_lock_define_initialized_recursive,
16215 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16216 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16217 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16218 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16219 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16220 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16221 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16223 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16224 * hurd/hurdlock.c: New file.
16225 * hurd/hurdlock.h: New file.
16226 * mach/lowlevellock.h: New file
16228 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16230 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16231 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16232 when opening a symlink with O_NOFOLLOW.
16233 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16234 path when flags contains O_NOFOLLOW.
16235 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16236 if flags contains O_DIRECTORY and the result is a directory.
16237 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16238 oneself when the pointer given in D is nul (as set by ext2fs).
16239 * sysdeps/mach/hurd/mlockall.c: New file.
16240 * sysdeps/mach/hurd/munlockall.c: New file.
16242 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16244 * hurd/hurdsig.c: Include <pthread.h>.
16245 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16246 get the signal thread stack layout.
16247 * hurd/Makefile (headers): Remove threadvar.h.
16248 (inline-headers): Remove threadvar.h.
16249 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16250 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16251 __hurd_threadvar_max, __hurd_errno_location.
16252 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16253 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16254 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16255 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16256 unless TLS is not initialized yet, in which case we do not need a
16257 critical section yet anyway.
16258 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16260 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16262 (__hurd_threadvar_index): Remove enum.
16263 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16264 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16266 (__hurd_reply_port0): New variable declaration.
16267 (__hurd_local_reply_port): New macro.
16268 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16269 (interrupted_reply_port_location): Add thread_t parameter. Use it
16270 with THREAD_TCB to access thread-local variables.
16271 (_hurdsig_abort_rpcs): Pass ss->thread to
16272 interrupted_reply_port_location.
16273 (_hurd_internal_post_signal): Likewise.
16274 (_hurdsig_init): Use presence of cthread_fork instead of
16275 __hurd_threadvar_stack_mask to start signal thread by hand.
16276 Remove signal thread threadvar initialization.
16277 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16278 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16279 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16281 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16283 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16284 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16285 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16286 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16287 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16288 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16289 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16291 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16292 <hurd/threadvar.h>.
16293 [IS_IN(rtld)] (rtld_errno): New variable.
16294 [IS_IN(rtld)] (__errno_location): New weak function.
16295 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16296 * sysdeps/mach/hurd/errno.c: Remove file.
16297 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16298 (__fork): Remove THREADVAR_SPACE macro and its use.
16299 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16301 (init): Do not initialize threadvar.
16302 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16304 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16305 __hurd_local_reply_port instead of threadvar.
16306 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16307 _hurd_sigstate fields.
16308 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16309 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16310 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16311 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16312 instead of threadvar.
16313 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16314 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16315 (use_threadvar, global_reply_port): Remove variables.
16316 (__hurd_reply_port0): New variable.
16317 (__mig_get_reply_port): Use __hurd_local_reply_port and
16318 __hurd_reply_port0 instead of threadvar.
16319 (__mig_dealloc_reply_port): Likewise.
16320 (__mig_init): Do not initialize threadvar.
16321 * sysdeps/mach/hurd/profil.c: Fix comment.
16322 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16323 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16324 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16325 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16326 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16327 __cthread_setspecific.
16328 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16329 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16330 __cthread_t instead of cthread_fork, cthread_detach,
16331 pthread_getattr_np, pthread_attr_getstack.
16332 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16333 __cthread_keycreate.
16334 (cthread_getspecific): Rename to __cthread_getspecific.
16335 (cthread_setspecific): Rename to __cthread_setspecific.
16336 (__libc_getspecific): Use __cthread_getspecific instead of
16337 cthread_getspecific.
16338 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16339 __cthread_keycreate instead of cthread_keycreate.
16340 (__libc_setspecific): Use __cthread_setspecific instead of
16341 cthread_setspecific.
16342 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16345 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16346 testing whether it is defined.
16348 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16350 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16352 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16353 * sysdeps/mach/i386/thread_state.h
16354 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16356 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16358 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16360 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16361 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16363 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16365 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16366 descriptor instead of creating a new one.
16367 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16369 * mach/setup-thread.c: Include <ldsodefs.h>.
16370 (__mach_setup_thread): Call _dl_allocate_tls, pass
16371 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16372 MACHINE_THREAD_STATE_FLAVOR, before getting
16373 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16374 MACHINE_THREAD_STATE_FLAVOR with the result.
16375 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16376 MACHINE_THREAD_STATE_FIX_NEW.
16377 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16378 too. Add original thread parameter.
16380 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16382 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16383 Remove inline function.
16385 * sysdeps/i386/fpu/libm-test-ulps: Update.
16386 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16388 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16390 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16393 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16395 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16396 (__sincos_code): Remove define and undefine.
16397 [__FAST_MATH__] (__sincos): Remove inline function.
16398 [__FAST_MATH__] (__sincosf): Remove inline function.
16399 [__FAST_MATH__] (__sincosl): Remove inline function.
16400 (__atan2l): Remove inline functions.
16401 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16402 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16404 (floor): Remove inline function.
16406 [__FAST_MATH__] (__ldexp_code): Remove macro.
16407 [__FAST_MATH__] (ldexp): Remove inline function.
16408 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16409 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16410 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16411 [__USE_ISOC99] (__lrint_code): Remove macro.
16412 [__USE_ISOC99] (__llrint_code): Likewise.
16413 [__USE_ISOC99] (lrintf): Remove inline function.
16414 [__USE_ISOC99] (lrint): Likewise.
16415 [__USE_ISOC99] (lrintl): Likewise.
16416 [__USE_ISOC99] (llrint): Likewise.
16417 [__USE_ISOC99] (llrintf): Likewise.
16418 [__USE_ISOC99] (llrintl): Likewise.
16420 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16422 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16423 (__ieee754_sqrtf): Remove.
16424 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16425 (__ieee754_sqrtf): Remove.
16426 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16427 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16428 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16429 (__ieee754_sqrtf): Remove.
16430 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16431 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16434 (__ieee754_sqrt): Remove.
16435 (__ieee754_sqrtf): Remove.
16436 (__ieee754_sqrtl): Remove.
16437 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16438 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16439 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16440 (__ieee754_sqrtf): Remove.
16441 (__ieee754_sqrtl): Remove.
16443 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16445 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16446 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16447 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16448 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16449 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16450 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16451 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16452 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16454 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16455 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16456 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16457 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16458 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16459 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16460 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16461 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16462 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16463 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16464 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16465 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16467 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16468 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16469 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16471 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16472 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16473 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16476 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16477 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16478 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16479 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16483 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16484 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16485 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16486 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16487 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16488 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16489 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16490 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16491 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16492 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16493 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16495 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16497 * include/math.h (sqrt): Declare with asm redirect.
16500 (sqrtf128): Likewise.
16501 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16502 nonlib and libnldbl with -fmath-errno.
16503 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16504 * math/w_sqrt_template.c: Likewise.
16505 * math/w_sqrtf_compat.c: Likewise.
16506 * math/w_sqrtl_compat.c: Likewise.
16507 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16508 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16509 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16512 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16514 * benchtests/Makefile: Define _ISOMAC.
16515 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16516 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16517 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16518 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16519 * benchtests/bench-timing.h: Define attribute_hidden.
16521 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16523 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16526 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16529 * localedata/locales/cs_CZ (mon): Rename to...
16531 (mon): Import from CLDR (genitive case).
16533 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16536 * localedata/locales/el_CY (abmon): Rename to...
16537 (ab_alt_mon): This.
16538 (abmon): Import from CLDR (abbreviated genitive case).
16539 * localedata/locales/el_GR (abmon): Rename to...
16540 (ab_alt_mon): This.
16541 (abmon): Import from CLDR (abbreviated genitive case).
16543 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16546 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16548 2018-03-15 Robert Buj <robert.buj@gmail.com>
16551 * localedata/locales/ca_ES (abmon): Rename to...
16552 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16553 (mon): Rename to...
16555 (abmon): Import from CLDR (genitive case, month names preceded by
16558 (abday): Synchronize with CLDR.
16559 (d_t_fmt): Likewise.
16563 (LC_TIME): Improve indentation.
16564 (LC_TELEPHONE): Likewise.
16565 (LC_NAME): Likewise.
16566 (LC_ADDRESS): Likewise.
16568 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16570 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16571 (lrintf): Remove definitions used only with old GCC.
16572 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16573 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16574 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16575 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16576 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16577 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16578 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16579 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16580 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16581 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16582 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16583 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16584 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16585 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16586 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16587 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16588 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16589 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16590 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16591 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16592 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16593 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16594 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16595 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16596 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16597 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16598 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16599 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16601 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16603 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16604 instruction to unbreak builds with binutils 2.26 and older.
16606 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16608 * sysdeps/aarch64/strncmp.S (count): New macro.
16609 (strncmp): Store misaligned length in SRC1 in COUNT.
16610 (mutual_align): Adjust.
16611 (misaligned8): Load dword at a time when it is safe.
16613 2018-03-12 Zack Weinberg <zackw@panix.com>
16617 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16618 if the _IO_EOF_SEEN bit is already set; update commentary.
16619 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16620 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16622 * support/support_openpty.c, support/tty.h: New files.
16623 * support/Makefile (libsupport-routines): Add support_openpty.
16625 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16627 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16628 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16630 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16632 * po/pt_BR.po: Update translations.
16634 2018-03-12 David Michael <fedora.dm0@gmail.com>
16636 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16637 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16638 get a port to the startup server.
16640 2018-03-11 Zack Weinberg <zackw@panix.com>
16642 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16643 before nldbl-compat.h.
16645 2018-03-10 Zack Weinberg <zackw@panix.com>
16647 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16648 math.h or math_private.h.
16650 * sysdeps/alpha/fpu/s_isnan.c
16651 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16652 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16653 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16654 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16655 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16656 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16657 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16658 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16659 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16662 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16663 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16664 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16665 Include math_private.h.
16667 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16668 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16669 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16670 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16671 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16672 * sysdeps/powerpc/power7/fpu/s_logb.c:
16673 Include math.h and math_private.h.
16675 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16676 uses of $at in .set noat / .set at.
16678 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16680 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16681 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16682 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16683 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16686 2018-03-09 Florian Weimer <fweimer@redhat.com>
16688 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16691 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16694 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16695 Add nop before __startcontext, add explaining comments.
16697 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16700 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16702 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16703 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16704 Do not build hardware transactional code for __SPE__.
16705 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16706 (__lll_trylock_elision): Likewise.
16707 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16708 (__lll_unlock_elision): Likewise.
16710 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16711 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16712 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16713 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16714 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16715 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16716 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16717 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16718 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16719 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16720 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16721 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16722 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16723 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16724 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16725 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16726 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16727 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16728 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16729 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16730 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16731 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16732 (__ASSUME_CLONE_BACKWARDS): Define.
16733 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16734 __clone2 if __NR_clone2 is defined.
16735 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16736 (__ASSUME_CLONE_BACKWARDS): Likewise.
16737 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16738 (__ASSUME_CLONE_BACKWARDS): Likewise.
16739 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16740 (__ASSUME_CLONE2): Likewise.
16741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16742 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16743 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16744 variants and the define architecture can use.
16745 (__ASSUME_CLONE_DEFAULT): Define as default.
16746 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16747 (__ASSUME_CLONE_BACKWARDS): Likewise.
16748 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16749 (__ASSUME_CLONE_BACKWARDS): Likewise.
16750 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16751 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16753 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16755 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16757 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16760 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16761 (do_test_limit): Likewise.
16763 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16764 for every implementation.
16765 (do_test): Likewise.
16767 * benchtests/bench-strncmp.c: Convert output to json.
16769 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16771 * io/futimens.c: Add missing start-of-file descriptive comment.
16772 * io/utime.c: Likewise.
16773 * misc/futimesat.c: Likewise.
16774 * misc/utimes.c: Likewise.
16775 * sysdeps/mach/hurd/futimesat.c: Likewise.
16776 * sysdeps/mach/hurd/utimes.c: Likewise.
16777 * sysdeps/posix/utime.c: Likewise.
16778 * sysdeps/posix/utimes.c: Likewise.
16779 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16780 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16781 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16782 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16784 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16786 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16788 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16789 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16790 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16791 (__futimens): Move implementation to...
16792 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16793 utime_tvalue_from_tspec): ... new helper functions.
16794 (hurd_futimens): New function.
16795 * sysdeps/mach/hurd/futimesat.c: New file.
16796 * sysdeps/mach/hurd/utimensat.c: New file.
16798 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16800 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16801 UTIME_OMIT): New macros.
16802 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16803 before reverting to converting time spec to time value and calling
16805 * sysdeps/mach/hurd/utime-helper.c: New file.
16806 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16807 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16808 reverting to utime_tvalue_from_tval and __file_utimes.
16809 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16810 (__lutimes): Just call hurd_futimens after lookup.
16811 * sysdeps/mach/hurd/utimes.c: Likewise.
16813 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16815 * bits/sigaction.h: Add include guard.
16816 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16817 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16818 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16819 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16820 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16821 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16822 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16823 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16824 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16826 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16828 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16829 -Wmaybe-uninitialized for -Os.
16830 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16833 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16835 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16836 __INO_T_MATCHES_INO64_T is defined.
16837 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16838 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16840 * dirent/alphasort64.c: Likewise.
16841 * dirent/scandir.c: Likewise.
16842 * dirent/scandir64-tail.c: Likewise.
16843 * dirent/scandir64.c: Likewise.
16844 * dirent/scandirat.c: Likewise.
16845 * dirent/scandirat64.c: Likewise.
16846 * dirent/versionsort.c: Likewise.
16847 * dirent/versionsort64.c: Likewise.
16848 * include/dirent.h: Likewise.
16850 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16851 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16852 for socketpair endpoint.
16853 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16854 WRITE_BUFFER_SIZE as buffer size for sending socket.
16855 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16856 issue on system where send is implemented with sendto syscall.
16857 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16858 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16859 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16860 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16863 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16864 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16865 sa_restorer for vDSO case.
16866 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16868 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16870 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16871 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16872 * hurd/hurd/ioctl.h: Include <mach/port.h>
16873 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16874 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16875 <mach/mach_types.h> and <mach/message.h>.
16876 (headers): Move mach/param.h to bits/mach/param.h.
16877 * sysdeps/mach/i386/mach/param.h: Move file to ...
16878 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16879 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16881 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16882 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16883 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16884 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16885 trivial, for C++ conformity.
16886 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16887 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16888 Process mig output through $(migheadersed).
16889 * hurd/Makefile (migheadersed): Define variable.
16890 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16891 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16893 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16894 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16895 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16896 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16897 <bits/types/sigset_t.h>.
16898 [!defined __USE_GNU]: Do not #error out.
16899 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16900 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16901 Include <stddef.h> and <bits/types/sigset_t.h>
16902 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16903 instead of sighandler_t.
16904 * stdlib/errno.h (error_t): Move definition to...
16905 * bits/types/error_t.h: ... new header.
16906 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16907 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16908 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16909 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16910 * hurd/hurd.h: Include <bits/types/error_t.h>
16911 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16912 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16913 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16914 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16915 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16916 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16917 * sysdeps/mach/hurd/futimens.c: New file.
16919 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16922 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16923 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16924 * nscd/gai.c (__nss_hosts_database): Readd definition.
16925 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16926 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16927 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16929 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16931 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16932 (ifunc_one): Likewise.
16934 2018-03-01 DJ Delorie <dj@delorie.com>
16937 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16940 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16942 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16943 `match_pid' parameter.
16944 (td_ta_thr_iter): Update accordingly.
16946 2018-03-01 Florian Weimer <fweimer@redhat.com>
16948 * nptl/Makefile (install-lib-ldscripts): Remove.
16949 (install): Remove rule.
16950 ($(inst_libdir)/libpthread.so): Likewise.
16952 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16955 * localedata/locales/an_ES: update month and day names,
16956 improve d_fmt, improve postal_fmt, add country_post,
16959 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16961 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16962 Ukrainian instead of Bulgarian.
16964 2018-03-01 Florian Weimer <fweimer@redhat.com>
16966 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16969 2018-03-01 Florian Weimer <fweimer@redhat.com>
16971 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16972 * nptl/Makefile (routines): Add pthread_atfork.
16973 (static-only-routines): Set to pthread_atfork.
16974 (libpthread-routines): Remove pthread_atfork.
16975 (libpthread-static-only-routines): Remove.
16976 (install): Update comment.
16977 (libpthread.so): Do not install libpthread_nonshared.a.
16978 (tests): Do not link with libpthread_nonshared.a.
16979 (generated): Remove libpthread_nonshared.a.
16980 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16981 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16982 with libpthread_nonshared.a.
16984 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16987 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16988 (libc_feholdexcept_setroundf128): New macro.
16989 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16992 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16994 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16995 * include/inttypes.h: New file.
16997 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16999 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17000 -Os in two more places.
17002 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17004 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17005 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17006 be sorted correctly at the moment because of a bug.
17008 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17010 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17011 treat ñ as a primary different character, sync the collation
17012 for Spanish with CLDR.
17013 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17014 * localedata/Makefile: Add new test files.
17015 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17016 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17018 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17019 * localedata/am_ET.UTF-8.in: New test file.
17020 * localedata/az_AZ.UTF-8.in: Likewise.
17021 * localedata/be_BY.UTF-8.in: Likewise.
17022 * localedata/ber_DZ.UTF-8.in: Likewise.
17023 * localedata/ber_MA.UTF-8.in: Likewise.
17024 * localedata/bg_BG.UTF-8.in: Likewise.
17025 * localedata/br_FR.UTF-8.in: Likewise.
17026 * localedata/cmn_TW.UTF-8.in: Likewise.
17027 * localedata/crh_UA.UTF-8.in: Likewise.
17028 * localedata/csb_PL.UTF-8.in: Likewise.
17029 * localedata/cv_RU.UTF-8.in: Likewise.
17030 * localedata/cy_GB.UTF-8.in: Likewise.
17031 * localedata/dz_BT.UTF-8.in: Likewise.
17032 * localedata/eo.UTF-8.in: Likewise.
17033 * localedata/es_ES.UTF-8.in: Likewise.
17034 * localedata/fa_IR.UTF-8.in: Likewise.
17035 * localedata/fi_FI.UTF-8.in: Likewise.
17036 * localedata/fil_PH.UTF-8.in: Likewise.
17037 * localedata/fur_IT.UTF-8.in: Likewise.
17038 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17039 * localedata/ha_NG.UTF-8.in: Likewise.
17040 * localedata/ig_NG.UTF-8.in: Likewise.
17041 * localedata/ik_CA.UTF-8.in: Likewise.
17042 * localedata/kk_KZ.UTF-8.in: Likewise.
17043 * localedata/ku_TR.UTF-8.in: Likewise.
17044 * localedata/ky_KG.UTF-8.in: Likewise.
17045 * localedata/ln_CD.UTF-8.in: Likewise.
17046 * localedata/mi_NZ.UTF-8.in: Likewise.
17047 * localedata/ml_IN.UTF-8.in: Likewise.
17048 * localedata/mn_MN.UTF-8.in: Likewise.
17049 * localedata/mr_IN.UTF-8.in: Likewise.
17050 * localedata/mt_MT.UTF-8.in: Likewise.
17051 * localedata/nb_NO.UTF-8.in: Likewise.
17052 * localedata/om_KE.UTF-8.in: Likewise.
17053 * localedata/os_RU.UTF-8.in: Likewise.
17054 * localedata/ps_AF.UTF-8.in: Likewise.
17055 * localedata/ro_RO.UTF-8.in: Likewise.
17056 * localedata/ru_RU.UTF-8.in: Likewise.
17057 * localedata/sc_IT.UTF-8.in: Likewise.
17058 * localedata/se_NO.UTF-8.in: Likewise.
17059 * localedata/sq_AL.UTF-8.in: Likewise.
17060 * localedata/sv_SE.UTF-8.in: Likewise.
17061 * localedata/szl_PL.UTF-8.in: Likewise.
17062 * localedata/tg_TJ.UTF-8.in: Likewise.
17063 * localedata/tk_TM.UTF-8.in: Likewise.
17064 * localedata/tt_RU.UTF-8.in: Likewise.
17065 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17066 * localedata/ug_CN.UTF-8.in: Likewise.
17067 * localedata/uz_UZ.UTF-8.in: Likewise.
17068 * localedata/vi_VN.UTF-8.in: Likewise.
17069 * localedata/yi_US.UTF-8.in: Likewise.
17070 * localedata/yo_NG.UTF-8.in: Likewise.
17071 * localedata/zh_CN.UTF-8.in: Likewise.
17072 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17073 file and fix bugs in the collation.
17074 * localedata/locales/az_AZ: Likewise.
17075 * localedata/locales/be_BY: Likewise.
17076 * localedata/locales/ber_DZ: Likewise.
17077 * localedata/locales/ber_MA: Likewise.
17078 * localedata/locales/bg_BG: Likewise.
17079 * localedata/locales/br_FR: Likewise.
17080 * localedata/locales/br_FR@euro: Likewise.
17081 * localedata/locales/ca_ES: Likewise.
17082 * localedata/locales/cns11643_stroke: Likewise.
17083 * localedata/locales/crh_UA: Likewise.
17084 * localedata/locales/cs_CZ: Likewise.
17085 * localedata/locales/csb_PL: Likewise.
17086 * localedata/locales/cv_RU: Likewise.
17087 * localedata/locales/cy_GB: Likewise.
17088 * localedata/locales/da_DK: Likewise.
17089 * localedata/locales/dz_BT: Likewise.
17090 * localedata/locales/en_CA: Likewise.
17091 * localedata/locales/eo: Likewise.
17092 * localedata/locales/es_CU: Likewise.
17093 * localedata/locales/es_EC: Likewise.
17094 * localedata/locales/es_ES: Likewise.
17095 * localedata/locales/es_US: Likewise.
17096 * localedata/locales/et_EE: Likewise.
17097 * localedata/locales/fa_IR: Likewise.
17098 * localedata/locales/fi_FI: Likewise.
17099 * localedata/locales/fil_PH: Likewise.
17100 * localedata/locales/fur_IT: Likewise.
17101 * localedata/locales/gez_ER@abegede: Likewise.
17102 * localedata/locales/ha_NG: Likewise.
17103 * localedata/locales/hr_HR: Likewise.
17104 * localedata/locales/hsb_DE: Likewise.
17105 * localedata/locales/hu_HU: Likewise.
17106 * localedata/locales/ig_NG: Likewise.
17107 * localedata/locales/ik_CA: Likewise.
17108 * localedata/locales/is_IS: Likewise.
17109 * localedata/locales/iso14651_t1_pinyin: Likewise.
17110 * localedata/locales/kk_KZ: Likewise.
17111 * localedata/locales/ku_TR: Likewise.
17112 * localedata/locales/ky_KG: Likewise.
17113 * localedata/locales/ln_CD: Likewise.
17114 * localedata/locales/lt_LT: Likewise.
17115 * localedata/locales/lv_LV: Likewise.
17116 * localedata/locales/mi_NZ: Likewise.
17117 * localedata/locales/ml_IN: Likewise.
17118 * localedata/locales/mn_MN: Likewise.
17119 * localedata/locales/mr_IN: Likewise.
17120 * localedata/locales/mt_MT: Likewise.
17121 * localedata/locales/nb_NO: Likewise.
17122 * localedata/locales/om_KE: Likewise.
17123 * localedata/locales/os_RU: Likewise.
17124 * localedata/locales/pl_PL: Likewise.
17125 * localedata/locales/ps_AF: Likewise.
17126 * localedata/locales/ro_RO: Likewise.
17127 * localedata/locales/ru_RU: Likewise.
17128 * localedata/locales/ru_UA: Likewise.
17129 * localedata/locales/sc_IT: Likewise.
17130 * localedata/locales/se_NO: Likewise.
17131 * localedata/locales/si_LK: Likewise.
17132 * localedata/locales/sq_AL: Likewise.
17133 * localedata/locales/sv_FI: Likewise.
17134 * localedata/locales/sv_FI@euro: Likewise.
17135 * localedata/locales/sv_SE: Likewise.
17136 * localedata/locales/szl_PL: Likewise.
17137 * localedata/locales/tg_TJ: Likewise.
17138 * localedata/locales/ti_ER: Likewise.
17139 * localedata/locales/tk_TM: Likewise.
17140 * localedata/locales/tl_PH: Likewise.
17141 * localedata/locales/tr_TR: Likewise.
17142 * localedata/locales/tt_RU: Likewise.
17143 * localedata/locales/tt_RU@iqtelif: Likewise.
17144 * localedata/locales/ug_CN: Likewise.
17145 * localedata/locales/uk_UA: Likewise.
17146 * localedata/locales/uz_UZ: Likewise.
17147 * localedata/locales/uz_UZ@cyrillic: Likewise.
17148 * localedata/locales/vi_VN: Likewise.
17149 * localedata/locales/yi_US: Likewise.
17150 * localedata/locales/yo_NG: Likewise.
17152 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17154 * gen-locales.mk: Make test files which contain @ modifiers in their
17156 * localedata/gen-locale.sh: Likewise.
17158 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17160 * posix/tst-fnmatch.input: Fix results for range expressions
17162 * posix/tst-regexloc.c: Do not use a range expression for
17163 de_DE.ISO-8859-1 locale.
17165 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17167 * posix/bug-regex5.c: Fix test case because with the new
17168 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17169 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17172 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17174 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17175 downloaded from ISO, the collation order of @-. and space has changed.
17176 Therefore, this test file needed to be adapted.
17177 * localedata/fr_CA.UTF-8.in: Likewise.
17178 * localedata/fr_FR.UTF-8.in: Likewise.
17179 * localedata/uk_UA.UTF-8.in: Likewise.
17181 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17183 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17184 order of ȥ in the new iso14651_t1_common file.
17185 * localedata/pl_PL.UTF-8.in: Likewise.
17187 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17189 * localedata/locales/iso14651_t1_common: Add sections for various
17190 scripts to the iso14651_t1_common file.
17192 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17194 * localedata/locales/iso14651_t1_common: Use the code point of a
17195 character in the fourth collation level instead of IGNORE for all
17196 entries which have IGNORE on all 4 levels.
17198 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17200 * localedata/locales/iso14651_t1_common: Add some convenient collation
17201 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17202 rules similar to those in CLDR.
17204 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17206 * localedata/locales/iso14651_t1_common: The new version of this
17207 file downloaded from ISO contained several syntax errors which
17208 are fixed by this patch.
17210 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17212 * localedata/locales/iso14651_t1_common: replace all <U.....>
17213 with <U000.....> because glibc understands only 4 digit or 8 digit
17215 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17217 * localedata/locales/iso14651_t1_common: Necessary changes
17218 to make the file downloaded from ISO usable by glibc.
17220 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17223 * localedata/locales/iso14651_t1_common: Update file to
17224 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17226 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17228 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17229 of <nptl/pthreadP.h>
17230 (thread_attr_compare): Move function to...
17231 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17232 * sysdeps/nptl/timer_routines.h: ... new header.
17233 * sysdeps/mach/hurd/gai_misc.h: New file.
17235 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17237 * string/strcoll_l.c: Include <libc-diag.h>.
17238 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17239 declarations of seq1 and seq2.
17242 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17243 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17245 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17249 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17250 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17251 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17252 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17253 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17254 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17256 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17258 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17259 macros used in __ptrace_request.
17261 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17264 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17266 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17267 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17268 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17271 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17274 * ctype/ctype.c (tolower): Use libc_hidden_def.
17275 (toupper): Likewise.
17276 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17277 [!_ISOMAC] (toupper): Likewise.
17279 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17281 * localedata/Makefile: Remove --quiet argument when
17284 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17287 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17289 * localedata/locales/pt_PT (LC_TIME): likewise
17291 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17294 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17295 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17296 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17298 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17302 * nptl/Makefile (routines): Remove unregister-atfork.
17303 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17304 (fork_handler_alloc): Remove function.
17305 (fork_handlers, fork_handler_init): New variables.
17306 (__fork_lock): Rename to atfork_lock.
17307 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17308 to use a dynamic array to add/remove atfork handlers.
17309 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17310 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17311 Remove declaration.
17312 (fork_handler): Remove next, refcntr, and need_signal member.
17313 (__run_fork_handler_type): New enum.
17314 (__run_fork_handlers): New prototype.
17315 * nptl/register-atfork.c: Remove file.
17316 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17318 * sysdeps/nptl/nptl-signals.h: Move to ...
17319 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17321 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17322 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17323 unnecessary check for SIGTIMER.
17324 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17325 remove unnecessary removal of SIGTIMER.
17326 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17327 include-signals.h rename.
17328 * nptl/pthreadP.h: Likewise.
17329 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17330 __is_internal_signal instead of __nptl_is_internal_signal.
17332 2018-02-22 Andrew Waterman <andrew@sifive.com>
17335 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17336 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17337 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17338 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17340 2018-02-22 DJ Delorie <dj@delorie.com>
17342 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17344 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17346 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17347 do_misaligned, not misaligned8.
17349 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17351 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17352 Add memcpy_thunderx2.
17353 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17355 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17356 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17357 and IS_THUNDERX2PA checks.
17358 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17359 Use macro to set name appropriately.
17360 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17361 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17362 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17364 (IS_THUNDERX2): New macro.
17366 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17368 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17370 2018-02-21 Zack Weinberg <zackw@panix.com>
17372 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17373 Define here, unconditionally.
17374 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17375 * libio/libioP.h: Remove #if 0 blocks.
17376 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17377 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17378 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17380 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17381 Assume weak_alias is always defined.
17383 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17384 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17385 Remove #if 0 and #ifdef TODO blocks.
17386 Assume text_set_element is always defined.
17388 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17389 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17390 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17392 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17393 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17394 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17395 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17396 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17397 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17398 Reformat bit flags for _flags field to make occupancy clearer.
17400 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17401 Keep definitions consistent with those in libio/libio.h.
17403 * libio/libio.h (_IO_file_flags): Remove macro.
17404 All uses changed to _flags.
17406 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17407 (__HAVE_COLUMN, _IO_BE): Don't define.
17408 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17409 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17410 * libio/libioP.h (EOF): Don't define.
17411 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17412 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17413 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17414 testing _IO_UNIFIED_JUMPTABLES.
17416 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17417 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17418 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17419 (_IO_size_t): Delete; all uses changed to size_t.
17420 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17421 (_IO_off_t): Delete; all uses changed to off_t.
17422 (_IO_off64_t): Delete; all uses changed to off64_t.
17423 (_IO_pid_t): Delete; all uses changed to pid_t.
17424 (_IO_uid_t): Delete; all uses changed to uid_t.
17425 (_IO_wint_t): Delete; all uses changed to wint_t.
17426 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17427 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17428 (_IO_cookie_io_functions_t): Delete; all uses changed to
17429 cookie_io_functions_t.
17430 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17431 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17432 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17433 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17435 * libio/iofopncook.c: Remove unnecessary forward declarations.
17436 * libio/iolibio.h: Correct outdated commentary.
17437 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17438 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17439 Remove unnecessary casts.
17440 * stdio-common/getline.c: Use _IO_getdelim directly.
17441 Don't redefine ssize_t.
17442 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17443 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17444 Remove outdated comments.
17445 * stdio-common/vfscanf.c: Don't redefine va_list.
17447 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17448 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17449 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17450 which are always true, and __cplusplus, which is always false.
17452 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17456 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17457 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17458 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17459 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17461 [!_ISOMAC] (putc_unlocked): Likewise.
17462 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17463 define inline if [__USE_EXTERN_INLINES].
17464 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17469 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17470 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17471 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17472 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17473 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17475 * time/tzfile.c (__tzfile_read): Likewise.
17477 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17480 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17482 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17484 * io/fcntl.h: Fix a typo in a comment.
17486 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17489 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17490 define _DEFAULT_SOURCE.
17491 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17493 2018-02-21 Florian Weimer <fweimer@redhat.com>
17496 * elf/cache.c (save_cache): Call fsync on temporary file before
17498 (save_aux_cache): Call fdatasync on temporary file before renaming
17501 2018-02-21 Florian Weimer <fweimer@redhat.com>
17504 * include/caller.h: Remove file.
17505 * elf/dl-caller.c: Likewise.
17506 * elf/Makefile (dl-routines): Remove dl-caller.
17507 (shared-only-routines): Do not add dl-caller.
17508 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17510 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17512 (dl_open_worker): Do not call __check_caller.
17513 (_dl_open): Do not set caller_dl_open member.
17514 * elf/rtld.c (_rtld_global_ro): Do not initialize
17515 _dl_check_caller member.
17516 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17517 _dl_check_caller member.
17518 (_dl_check_caller): Remove declaration.
17519 * sysdeps/unix/sysv/linux/dl-execstack.c
17520 (_dl_make_stack_executable): Do not call __check_caller.
17522 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17524 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17525 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17527 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17529 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17532 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17535 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17536 of 199606L, 200112L, and 200809L.
17537 (_XOPEN_SOURCE): Document special values of 600 and 700.
17538 (_ISOC11_SOURCE): Document macro.
17539 (_ATFILE_SOURCE): Likewise.
17540 (_FORTIFY_SOURCE): Likewise.
17542 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17546 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17547 and define as weak alias of __ferror_unlocked. Use
17549 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17551 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17552 function if [__USE_EXTERN_INLINES].
17553 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17556 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17559 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17561 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17564 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17565 the GLIBC_2.1 version.
17567 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17570 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17571 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17572 intl/tst-gettext-de.po from po/de.po by removing the
17573 POT-Creation-Date line.
17574 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17576 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17579 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17581 * mach/Makefile (headers): Add mach/param.h.
17582 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17583 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17584 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17585 (__ptsname_r): Move implementation to...
17586 (__ptsname_internal): ... new function. Add filling the STP
17589 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17591 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17594 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17596 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17599 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17601 * nptl/Makefile (tst-mutex8-ENV): Delete.
17602 * nptl/tst-mutex8.c (check_type):
17603 Add runtime check if mutex will be elided.
17605 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17609 * manual/install.texi (Configuring and compiling): Describe
17610 passing CC and CFLAGS on configure command line, not as
17611 environment variables. Use @code markup on those variables.
17612 Specify what options go in CC and what go in CFLAGS. Note the
17613 requirement to compile with optimization.
17614 * INSTALL: Regenerated.
17617 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17618 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17619 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17620 __sigprocmask instead of sigprocmask.
17621 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17623 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17624 __sigsetjmp and sigprocmask.
17627 * include/argz.h (argz_next): Use libc_hidden_proto.
17628 (__argz_next): Likewise.
17629 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17630 (argz_next): Use libc_hidden_weak.
17633 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17635 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17639 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17641 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17645 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17646 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17647 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17648 (__feof_unlocked): New declaration, and inline function if
17649 [__USE_EXTERN_INLINES].
17650 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17651 instead of feof_unlocked.
17652 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17653 * nss/nsswitch.c (nss_parse_file): Likewise.
17654 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17656 * time/getdate.c (__getdate_r): Likewise.
17657 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17658 Define as macro to call __feof_unlocked.
17660 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17662 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17664 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17666 * math/Makefile: Remove mpexp.c and mplog.c
17667 * sysdeps/i386/fpu/mpexp.c: Delete file.
17668 * sysdeps/i386/fpu/mplog.c: Likewise.
17669 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17670 * sysdeps/ia64/fpu/mplog.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17672 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17673 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17674 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17675 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17676 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17677 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17678 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17679 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17680 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17681 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17682 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17683 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17684 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17685 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17686 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17688 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17690 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17692 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17694 * sysdeps/sh/libm-test-ulps: Update.
17696 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17698 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17701 2018-02-12 Zack Weinberg <zackw@panix.com>
17704 * posix/sys/types.h: Don't include sys/sysmacros.h.
17705 * misc/sys/sysmacros.h: Remove the conditional deprecation
17706 warnings for the macros defined by this header.
17708 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17710 * manual/probes.texi: Remove slowexp probes.
17711 * math/Makefile: Remove slowexp.
17712 * sysdeps/generic/math_private.h (__slowexp): Remove.
17713 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17714 document error bounds.
17715 * sysdeps/i386/fpu/slowexp.c: Remove.
17716 * sysdeps/ia64/fpu/slowexp.c: Remove.
17717 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17718 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17719 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17720 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17721 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17722 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17723 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17724 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17725 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17726 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17727 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17729 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17732 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17733 * benchtests/pow-inputs: Update comment for slow path cases.
17734 * manual/probes.texi (slowpow_p10): Delete removed probe.
17735 (slowpow_p10): Likewise.
17736 * math/Makefile: Remove halfulp.c and slowpow.c.
17737 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17738 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17739 (__halfulp): Remove.
17740 (__slowpow): Remove.
17741 * sysdeps/i386/fpu/halfulp.c: Delete file.
17742 * sysdeps/i386/fpu/slowpow.c: Likewise.
17743 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17744 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17746 improve comments and add error analysis.
17747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17748 (power1): Remove function:
17749 (log1): Remove error argument, add error analysis.
17750 (my_log2): Remove function.
17751 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17753 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17754 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17755 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17756 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17757 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17758 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17759 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17760 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17761 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17762 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17763 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17764 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17766 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17768 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17769 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17771 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17774 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17775 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17776 and PTRACE_SETHBPREGS.
17778 2018-02-10 Zack Weinberg <zackw@panix.com>
17781 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17783 * malloc/tst-malloc-stats-cancellation.c: New test case.
17784 * malloc/Makefile: Add new test case.
17786 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17788 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17790 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17792 * math/Makefile (libm-narrow-fns): Add add.
17793 (libm-test-funcs-narrow): Likewise.
17794 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17795 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17796 * math/gen-auto-libm-tests.c (test_functions): Add add.
17797 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17798 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17799 (NARROW_ADD_TRIVIAL): Likewise.
17800 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17802 (__daddl): Likewise.
17803 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17805 (CFLAGS-nldbl-dadd.c): New variable.
17806 (CFLAGS-nldbl-fadd.c): Likewise.
17807 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17809 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17811 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17812 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17813 * math/auto-libm-test-in: Add tests of add.
17814 * math/auto-libm-test-out-narrow-add: New generated file.
17815 * math/libm-test-narrow-add.inc: New file.
17816 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17819 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17820 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17821 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17830 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17831 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17832 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17833 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17835 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17863 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17864 (f128-pairs): New variable.
17865 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17866 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17868 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17869 Also make tests add $(f128-loader-link) to gnulib-tests.
17871 2018-02-09 DJ Delorie <dj@redhat.com>
17874 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17875 64-bit ELF type for 64-bit ELF objects.
17877 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17879 * math/libm-test-driver.c (snan_tests_arg): New variable.
17880 * math/libm-test-support.h (snan_tests_arg): New declaration.
17881 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17883 * math/Makefile (test-type-pairs): New variable.
17884 (test-type-pairs-f64xf128-yes): Likewise.
17885 (tests): Add test-narrow-macros.
17886 (libm-test-funcs-narrow): New variable.
17887 (libm-test-c-narrow): Likewise.
17888 (generated): Add $(libm-test-c-narrow).
17889 (libm-tests-base-narrow): New variable.
17890 (libm-tests-narrow): Likewise.
17891 (libm-tests): Add $(libm-tests-narrow).
17892 (libm-tests-for-type): Handle $(libm-tests-narrow).
17893 (libm-test-c-narrow-obj): New variable.
17894 ($(libm-test-c-narrow-obj)): New rule.
17895 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17896 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17897 $(o-iterator) to set dependencies and CFLAGS.
17898 * math/gen-auto-libm-tests.c: Document use for narrowing
17900 (output_for_one_input_case): Take argument NARROW.
17901 (generate_output): Likewise. Update call to
17902 output_for_one_input_case.
17903 (main): Take --narrow option. Update call to generate_output.
17904 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17905 (apply_lit): Update call to _apply_lit.
17906 (apply_arglit): New function.
17907 (parse_args): Handle "a" arguments.
17908 (parse_auto_input): Handle format names using ":".
17909 * math/README.libm-test: Document "a" parameter type.
17910 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17911 (ARG_TYPE_TRUE_MIN): Likewise.
17912 (ARG_TYPE_MAX): Likwise.
17913 (ARG_MIN_EXP): Likewise.
17914 (ARG_MAX_EXP): Likewise.
17915 (ARG_MANT_DIG): Likewise.
17916 (TEST_COND_arg_ibm128): Likewise.
17917 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17918 (TEST_COND_arg_fmt): New macro.
17919 (init_max_error): Update prototype.
17920 * math/libm-test-support.c (test_ibm128): New variable.
17921 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17922 instead of using [TEST_COND_ibm128] conditional.
17923 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17924 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17925 [TEST_NARROW] (TEST_MSG): New definition.
17926 (arg_plus_zero): New macro.
17927 (arg_minus_zero): Likewise.
17928 (arg_plus_infty): Likewise.
17929 (arg_minus_infty): Likewise.
17930 (arg_qnan_value_pl): Likewise.
17931 (arg_qnan_value): Likewise.
17932 (arg_snan_value_pl): Likewise.
17933 (arg_snan_value): Likewise.
17934 (arg_max_value): Likewise.
17935 (arg_min_value): Likewise.
17936 (arg_min_subnorm_value): Likewise.
17937 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17938 (RUN_TEST_LOOP_aa_f): New macro.
17939 (TEST_SUFF): New macro.
17940 (TEST_SUFF_STR): Likewise.
17941 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17942 (TEST_COND_any_ibm128): New macro.
17943 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17944 this_func. Update call to init_max_error.
17945 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17946 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17947 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17948 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17949 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17950 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17951 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17952 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17953 * math/test-math-vector.h (TEST_NARROW): Likewise.
17954 * math/test-arg-double.h: New file.
17955 * math/test-arg-float128.h: Likewise.
17956 * math/test-arg-float32x.h: Likewise.
17957 * math/test-arg-float64.h: Likewise.
17958 * math/test-arg-float64x.h: Likewise.
17959 * math/test-arg-ldouble.h: Likewise.
17960 * math/test-math-narrow.h: Likewise.
17961 * math/test-narrow-macros.c: Likewise.
17962 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17963 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17964 test-narrow-macros-ldbl-64.
17965 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17967 * math/bits/mathcalls-narrow.h: New file.
17968 * include/bits/mathcalls-narrow.h: Likewise.
17969 * math/math-narrow.h: Likewise.
17970 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17971 (__MATHCALL_NARROW_ARGS_2): Likewise.
17972 (__MATHCALL_NARROW_ARGS_3): Likewise.
17973 (__MATHCALL_NARROW_NORMAL): Likewise.
17974 (__MATHCALL_NARROW_REDIR): Likewise.
17975 (__MATHCALL_NARROW): Likewise.
17976 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17977 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17979 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17980 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17981 (libm-narrow-fns): New variable.
17982 (libm-narrow-types-basic): Likewise.
17983 (libm-narrow-types-ldouble-yes): Likewise.
17984 (libm-narrow-types-float128-yes): Likewise.
17985 (libm-narrow-types-float128-alias-yes): Likewise.
17986 (libm-narrow-types): Likewise.
17987 (libm-routines): Add narrowing functions.
17988 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17989 (libc_feholdexcept_setroundf128): New macro.
17990 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17991 * sysdeps/ieee754/float128/float128_private.h: Include
17992 <math/math-narrow.h>.
17993 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17994 Undefine and redefine.
17995 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17996 (libm_alias_float_ldouble): Undefine and redefine.
17997 (libm_alias_double_ldouble): Likewise.
17999 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18001 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18003 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18006 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18008 * manual/creature.texi: Convert references to gcc.info to gcc.
18009 * manual/stdio.texi: Likewise.
18010 * manual/string.texi: Likewise.
18012 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18015 * posix/bits/types.h (__int_least8_t): New typedef.
18016 (__uint_least8_t): Likewise.
18017 (__int_least16_t): Likewise.
18018 (__uint_least16_t): Likewise.
18019 (__int_least32_t): Likewise.
18020 (__uint_least32_t): Likewise.
18021 (__int_least64_t): Likewise.
18022 (__uint_least64_t): Likewise.
18023 * sysdeps/generic/stdint.h (int_least8_t): Define using
18025 (int_least16_t): Define using __int_least16_t.
18026 (int_least32_t): Define using __int_least32_t.
18027 (int_least64_t): Define using __int_least64_t.
18028 (uint_least8_t): Define using __uint_least8_t.
18029 (uint_least16_t): Define using __uint_least16_t.
18030 (uint_least32_t): Define using __uint_least32_t.
18031 (uint_least64_t): Define using __uint_least64_t.
18032 * wcsmbs/uchar.h: Include <bits/types.h>.
18033 (char16_t): Define using __uint_least16_t conditional only on
18035 (char32_t): Define using __uint_least32_t conditional only on
18037 * wcsmbs/test-char-types.c: New file.
18038 * wcsmbs/Makefile (tests): Add test-char-types.
18040 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18043 2018-02-07 Zack Weinberg <zackw@panix.com>
18045 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18046 Delete all contents except for definitions of _G_HAVE_MMAP and
18047 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18048 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18049 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18052 * libio/libio.h: Don't include bits/_G_config.h here.
18053 Include stddef.h with __need_wchar_t defined. Include
18054 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18055 Define _IO_iconv_t here, directly.
18056 Don't define _IO_HAVE_ST_BLKSIZE.
18057 * libio/libioP.h: Include _G_config.h here. Move include of
18058 shlib-compat.h up with rest of includes. Simplify conditionals
18059 controlling definition of _IO_JUMPS_OFFSET.
18061 * csu/init.c: Remove always-true #if around entire file.
18062 Don't include stdio.h. Set _IO_stdin_used to hardwired
18063 constant 0x20001, and update commentary.
18064 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18065 Replace all uses of _G_va_list with __gnuc_va_list.
18066 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18067 instead of #if _IO_HAVE_ST_BLKSIZE.
18068 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18069 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18072 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18073 multiple-include guard to match.
18074 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18076 Remove preprocessor conditionals that are always true and/or
18077 redundant to other preprocessor conditionals in the same nest.
18078 Include shlib-compat.h unconditionally.
18079 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18080 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18081 defined after including stdio.h.
18082 Use __BEGIN_DECLS/__END_DECLS.
18084 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18085 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18086 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18088 2018-02-07 Zack Weinberg <zackw@panix.com>
18090 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18091 New single-type headers split from _G_config.h.
18092 * libio/bits/types/cookie_io_functions_t.h
18093 * libio/bits/types/struct_FILE.h
18094 New single-type headers split from libio.h.
18096 * libio/Makefile: Install the above new headers. Don't install
18097 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18099 * libio/_G_config.h, libio/libio.h: Delete file.
18101 * libio/bits/libio.h: Remove improper-inclusion guard.
18102 Include stdio.h and don't repeat anything that it does.
18103 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18104 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18105 __io_read_fn as cookie_read_function_t,
18106 __io_write_fn as cookie_write_function_t,
18107 __io_seek_fn as cookie_seek_function_t,
18108 __io_close_fn as cookie_close_function_t,
18109 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18110 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18111 here, in the "compatibility defines" section. Remove an #if 0
18112 block. Use the "body" macros from bits/types/struct_FILE.h to
18113 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18114 and _IO_ferror_unlocked.
18115 Move prototypes of __uflow and __overflow...
18117 * libio/stdio.h: ...here. Don't include bits/libio.h.
18118 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18119 directly from stdarg.h. Include bits/types/__fpos_t.h,
18120 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18121 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18122 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18123 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18124 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18125 __ssize_t, not _IO_ssize_t. Unconditionally define
18126 BUFSIZ as 8192 and EOF as (-1).
18128 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18129 macros from bits/types/struct_FILE.h instead of _IO_* macros
18130 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18131 instead of _IO_ssize_t.
18132 * libio/bits/stdio2.h: Similarly.
18134 * libio/iolibio.h: Add multiple-include guard.
18135 Include bits/libio.h after stdio.h.
18136 * libio/libioP.h: Add multiple-include guard.
18137 Include stdio.h and bits/libio.h before iolibio.h.
18139 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18140 * include/bits/types/cookie_io_functions_t.h
18141 * include/bits/types/struct_FILE.h: New wrappers.
18143 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18144 Get definitions of _G_fpos_t and _G_fpos64_t from
18145 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18146 respectively. Remove improper-inclusion guards.
18148 * conform/data/stdio.h-data: Update expectations of va_list.
18149 * scripts/check-installed-headers.sh: Remove special case for
18150 libio.h and _G_config.h.
18152 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18156 * include/sys/sysmacros.h [!_ISOMAC]
18157 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18158 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18159 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18160 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18162 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18163 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18165 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18166 Undefine and redefine to add use __gnu_dev_ prefix.
18167 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18169 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18170 and define as hidden inline function.
18171 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18173 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18175 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18176 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18177 (gnu_dev_minor): Likewise.
18178 (gnu_dev_makedev): Likewise.
18179 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18181 * posix/wordexp.c (exec_comm_child): Likewise.
18182 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18183 instead of minor and __gnu_dev_major instead of major.
18184 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18185 __gnu_dev_major instead of major.
18186 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18187 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18188 instead of gnu_dev_minor.
18189 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18190 (SLAVE_P): Likewise.
18191 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18192 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18196 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18198 * locale/weightwc.h (findidx): Likewise.
18200 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18202 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18203 (slowlog_inexact): Likewise
18204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18205 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18207 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18210 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18211 missing second underscore to parameter name.
18213 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18219 * bits/byteswap.h: Update file comment. Do not include
18220 <bits/byteswap-16.h>.
18221 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18223 (__bswap_16): Define as inline function.
18224 (__bswap_constant_32): Reformat definition.
18225 (__bswap_32): Always define as inline function, not macro, using
18226 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18227 otherwise __bswap_constant_32.
18228 (__bswap_constant_64): Reformat definition. Do not use
18229 __extension__ here.
18230 (__bswap_64): Always define as inline function, not macro. Use
18231 __extension__ on function definition. Use __builtin_bswap64 if
18232 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18233 * string/test-endian-file-scope.c: New file.
18234 * string/test-endian-sign-conversion.c: Likewise.
18235 * string/Makefile (headers): Remove bits/byteswap-16.h.
18236 (tests): Add test-endian-file-scope and
18237 test-endian-sign-conversion.
18238 (CFLAGS-test-endian-sign-conversion.c): New variable.
18239 * bits/byteswap-16.h: Remove file.
18240 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18241 * sysdeps/ia64/bits/byteswap.h: Likewise.
18242 * sysdeps/m68k/bits/byteswap.h: Likewise.
18243 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18244 * sysdeps/s390/bits/byteswap.h: Likewise.
18245 * sysdeps/tile/bits/byteswap.h: Likewise.
18246 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18247 * sysdeps/x86/bits/byteswap.h: Likewise.
18250 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18251 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18252 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18253 199901L] (__restrict): Define to restrict.
18256 * string/testcopy.c: Include <support/support.h>. Do not include
18257 <malloc.h>. Use <support/test-driver.c>.
18258 (main): Rename to do_test. Make static. Use xmalloc instead of
18262 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18263 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18264 (SSIZE_MAX): Define to INT_MAX.
18265 * posix/test-ssize-max.c: New file.
18266 * posix/Makefile (tests): Add test-ssize-max.
18269 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18270 <support/support.h>. Do not include <malloc.h>.
18271 (query_auxv): Use xmalloc instead of malloc.
18274 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18275 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18278 2018-02-06 Florian Weimer <fweimer@redhat.com>
18281 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18282 Use scratch_buffer instead of extend_alloca.
18284 2018-02-06 Zack Weinberg <zackw@panix.com>
18286 * libio/stdio.h: Don't define getc or putc as macros.
18287 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18288 not _IO_getc and _IO_putc.
18290 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18291 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18293 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18295 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18296 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18298 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18301 * elf/elf.h (NT_PRFPREG): New macro.
18302 (NT_S390_VXRS_LOW): Likewise.
18303 (NT_S390_VXRS_HIGH): Likewise.
18304 (NT_S390_GS_CB): Likewise.
18305 (NT_S390_GS_BC): Likewise.
18306 (NT_S390_RI_CB): Likewise.
18308 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18309 (MAP_SYNC): New macro.
18310 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18312 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18313 (MAP_SYNC): Likewise.
18314 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18315 (MAP_SYNC): Likewise.
18316 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18317 (MAP_SYNC): Likewise.
18318 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18319 (MAP_SYNC): Likewise.
18320 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18321 (MAP_SYNC): Likewise.
18322 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18323 (MAP_SYNC): Likewise.
18324 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18326 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18329 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18330 (MAP_SHARED_VALIDATE): New macro.
18331 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18332 (MAP_SHARED_VALIDATE): Likewise.
18334 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18336 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18337 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18338 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18340 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18342 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18343 (DT_NUM): Updated to 35.
18345 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18347 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18348 __builtin_expect with __glibc_likely and __glibc_unlikely.
18349 (elf_machine_rela): Likewise.
18350 (elf_machine_lazy_rel): Likewise.
18352 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18355 __builtin_expect with __glibc_likely and __glibc_unlikely.
18356 (elf_machine_lazy_rel): Likewise.
18358 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18361 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18363 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18365 2018-02-05 Andreas Schwab <schwab@suse.de>
18368 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18371 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18373 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18374 not check against PTHREAD_STACK_MIN.
18376 2018-02-02 Sean McKean <smckean83@gmail.com>
18379 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18381 2018-02-02 Florian Weimer <fweimer@redhat.com>
18384 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18385 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18386 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18387 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18388 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18389 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18390 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18391 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18392 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18393 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18394 * misc/tst-preadvwritev2.c (do_test): Call it.
18395 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18397 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18399 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18401 * benchtests/bench-memcmp.c: Print json instead of plain text.
18403 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18406 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18408 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18410 (s390_sthyi): New syscall.
18412 * sysdeps/generic/ldbl-classify-compat.h: New file.
18413 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18414 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18415 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18416 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18417 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18418 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18419 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18420 <ldbl-classify-compat.h>.
18421 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18422 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18423 <ldbl-classify-compat.h>.
18424 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18425 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18426 <ldbl-classify-compat.h>.
18427 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18428 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18429 <ldbl-classify-compat.h>.
18430 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18432 <ldbl-classify-compat.h>.
18433 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18435 <ldbl-classify-compat.h>.
18436 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18437 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18438 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18439 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18440 * sysdeps/microblaze/math_private.h: Likewise.
18441 * sysdeps/nios2/math_private.h: Likewise.
18442 * sysdeps/sh/math_private.h: Likewise.
18444 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18445 * sysdeps/m68k/coldfire/math_private.h: ... here.
18446 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18447 * sysdeps/tile/math_private.h: Likewise.
18448 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18450 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18453 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18455 (libc_fetestexcept): Likewise.
18456 (libc_feupdateenv_test): Likewise.
18457 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18458 (libc_fetestexcept): Likewise.
18459 (libc_feupdateenv_test): Likewise.
18460 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18461 (libc_fetestexcept): Likewise.
18462 (libc_feupdateenv_test): Likewise.
18463 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18464 (libc_fetestexcept): Likewise.
18465 (libc_feupdateenv_test): Likewise.
18467 * sysdeps/generic/math_private.h
18468 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18469 New inline function.
18470 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18473 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18474 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18475 * sysdeps/generic/math_private.h
18476 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18478 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18480 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18482 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18484 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18486 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18488 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18489 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18490 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18491 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18492 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18493 (__fegetenv): Likewise.
18494 (fesetenv): Likewise.
18495 (__fesetenv): Likewise.
18496 (feupdateenv): Likewise.
18497 (__feupdateenv): Likewise.
18498 (fegetround): Likewise.
18499 (__fegetround): Likewise.
18500 (fesetround): Likewise.
18501 (__fesetround): Likewise.
18503 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18504 (feraiseexcept): New macro.
18505 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18506 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18508 (__feraiseexcept): Likewise.
18509 (feclearexcept): Likewise.
18510 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18511 (__feraiseexcept): Likewise.
18512 (feclearexcept): Likewise.
18513 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18514 (__feraiseexcept): Likewise.
18515 (feclearexcept): Likewise.
18516 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18517 (__feraiseexcept): Likewise.
18518 (feclearexcept): Likewise.
18519 (fetestexcept): Likewise.
18521 * sysdeps/m68k/coldfire/math-tests.h: New file.
18523 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18524 * sysdeps/m68k/bits/fenv.h: ... here.
18525 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18527 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18529 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18531 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18533 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18535 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18537 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18538 (__FE_UNDEFINED): New enum constant.
18539 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18541 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18543 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18545 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18546 to match generic bits/fenv.h.
18547 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18550 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18552 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18553 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18554 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18555 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18557 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18558 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18559 Joseph Myers <joseph@codesourcery.com>
18562 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18563 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18564 computation using c.
18565 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18566 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18567 computation using c.
18569 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18571 * version.h (RELEASE): Set to "development".
18572 (VERSION): Set to "2.27.9000".
18573 * NEWS (2.28): New section.
18575 * version.h (RELEASE): Set to "stable".
18576 (VERSION): Set to "2.27".
18577 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18579 * NEWS: Add the list of bugs fixed in 2.27.
18581 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18583 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18584 against PTHREAD_STACK_MIN.
18586 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18588 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18590 (Rafal Luzynski, Andreas Schwab): Update.
18592 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18595 * NEWS: List the languages which actually use the alternative
18596 months feature in this release. Also explain that "alt_mon" and
18597 "ab_alt_mon" are optional.
18599 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18602 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18604 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18606 * manual/install.texi (Tools for Compilation): Update the newest
18607 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18608 * INSTALL: Regenerated.
18610 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18612 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18613 instead of __builtin_expect.
18615 2018-01-30 Florian Weimer <fweimer@redhat.com>
18617 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18619 * nss/tst-nss-getpwent.c (do_test): Likewise.
18621 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18624 * localedata/locales/hr_HR (mon): Rename to...
18626 (mon): Import from CLDR (genitive case).
18627 (d_t_fmt): Update the comment.
18629 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18631 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18632 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18633 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18635 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18637 * mach/Versions: Fix version when __mach_host_self_ was added.
18638 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18639 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18640 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18641 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18642 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18643 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18644 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18645 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18646 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18647 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18648 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18649 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18650 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18651 || to respect codestyle.
18652 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18653 (do_test_bz20181): Rename accordingly.
18654 * malloc/malloc.c: Include <assert.h>.
18655 (assert): Do not define.
18656 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18657 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18658 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18659 * sysdeps/mach/hurd/hp-timing.h: New file.
18660 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18662 2018-01-29 Darius Rad <darius@bluespec.com>
18664 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18666 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18668 * sysdeps/init_array/crti.S (.section .init_array): Add
18669 PREINIT_FUNCTION when defined.
18670 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18671 * config.h.in: Regenerate.
18672 * manual/platform.texi: Add RISC-V documenation for
18673 __riscv_flush_icache.
18674 * sysdeps/riscv/__longjmp.S: New file.
18675 * sysdeps/riscv/backtrace.c: Likewise.
18676 * sysdeps/riscv/bits/endian.h: Likewise.
18677 * sysdeps/riscv/bits/setjmp.h: Likewise.
18678 * sysdeps/riscv/bits/wordsize.h: Likewise.
18679 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18680 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18681 * sysdeps/riscv/dl-trampoline.S: Likewise.
18682 * sysdeps/riscv/gccframe.h: Likewise.
18683 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18684 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18685 * sysdeps/riscv/machine-gmon.h: Likewise.
18686 * sysdeps/riscv/memusage.h: Likewise.
18687 * sysdeps/riscv/setjmp.S: Likewise.
18688 * sysdeps/riscv/sys/asm.h: Likewise.
18689 * sysdeps/riscv/tls-macros.h: Likewise.
18690 * sysdeps/riscv/dl-tls.h: New file.
18691 * sysdeps/riscv/libc-tls.c: Likewise.
18692 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18693 * sysdeps/riscv/nptl/tls.h: Likewise.
18694 * sysdeps/riscv/stackinfo.h: Likewise.
18695 * sysdeps/riscv/bits/fenv.h: New file.
18696 * sysdeps/riscv/e_sqrtl.c: Likewise.
18697 * sysdeps/riscv/fpu_control.h: Likewise.
18698 * sysdeps/riscv/math-tests.h: Likewise.
18699 * sysdeps/riscv/nofpu/Implies: Likewise.
18700 * sysdeps/riscv/sfp-machine.h: Likewise.
18701 * sysdeps/riscv/tininess.h: Likewise.
18702 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18703 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18704 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18705 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18706 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18707 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18708 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18709 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18710 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18711 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18712 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18713 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18714 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18715 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18716 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18717 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18718 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18719 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18720 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18721 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18722 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18723 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18724 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18725 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18726 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18727 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18728 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18729 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18730 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18731 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18732 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18733 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18734 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18735 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18736 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18737 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18738 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18739 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18740 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18741 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18742 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18743 * sysdeps/riscv/rvf/math_private.h: Likewise.
18744 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18745 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18746 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18747 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18748 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18749 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18750 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18751 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18752 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18753 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18754 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18755 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18756 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18757 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18758 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18759 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18760 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18761 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18762 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18763 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18764 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18765 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18766 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18767 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18768 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18769 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18770 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18771 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18772 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18773 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18774 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18775 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18776 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18777 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18778 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18779 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18780 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18781 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18782 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18783 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18784 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18785 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18786 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18787 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18788 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18789 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18790 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18791 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18792 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18793 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18794 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18795 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18796 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18797 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18798 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18799 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18800 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18801 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18802 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18803 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18804 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18805 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18806 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18807 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18808 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18809 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18810 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18811 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18812 * sysdeps/riscv/Implies: New file.
18813 * sysdeps/riscv/Makefile: Likewise.
18814 * sysdeps/riscv/configure: Likewise.
18815 * sysdeps/riscv/configure.ac: Likewise.
18816 * sysdeps/riscv/nptl/Makefile: Likewise.
18817 * sysdeps/riscv/preconfigure: Likewise.
18818 * sysdeps/riscv/rv64/Implies-after: Likewise.
18819 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18820 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18821 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18822 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18823 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18824 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18825 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18826 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18827 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18828 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18829 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18830 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18831 (Config): Likewise.
18833 2018-01-29 Florian Weimer <fweimer@redhat.com>
18836 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18837 libnsl_hidden_proto.
18838 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18839 libnsl_hidden_proto.
18840 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18841 * nis/Makefile (libnsl-routines): Add nss-default only for
18842 build-obsolete-nsl.
18843 * nis/nis_defaults.c (__nis_default_ttl): Add
18844 libnsl_hidden_nolink_def.
18845 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18847 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18848 * nis/ypclnt.c (yp_maplist): Likewise.
18850 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18852 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18853 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18855 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18857 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18858 clean -dxfq for git updates when replacing sources.
18860 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18861 --disable-libcilkrts unconditionally, not just for the final GCC
18864 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18867 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18870 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18873 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18876 * localedata/locales/be_BY (mon): Rename to...
18877 (alt_mon): This, then synchronize with CLDR (nominative case).
18878 (abmon): Rename to...
18879 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18880 (mon): Import from CLDR (genitive case).
18882 * localedata/locales/be_BY@latin (mon): Rename to...
18884 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18886 * localedata/locales/be_BY@latin (lang_name): Reworded to
18887 "biełaruskaja mova".
18889 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18892 * localedata/locales/el_CY (mon): Renamed to...
18894 (mon): Import from CLDR (genitive case).
18895 * localedata/locales/el_GR: Likewise.
18897 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18900 * localedata/locales/ru_RU (mon): Rename to...
18902 (abmon): Rename to...
18903 (ab_alt_mon): This.
18904 (mon): Import from CLDR (genitive case).
18905 (abmon): Copy from the old content except the 5th month which is
18906 now in the genitive case, even when abbreviated.
18907 * localedata/locales/ru_UA: Likewise.
18908 * time/tst-strptime.c (day_tests): Add an actual example of
18909 a difference between %b and %Ob in Russian.
18911 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18913 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18914 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18916 * resolv/res-close.c: Include <stdlib.h>.
18917 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18918 <sys/wait.h>, <time.h>, <sys/uio.h>.
18919 (NOT_CANCEL_H): Add inclusion guard.
18920 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18921 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18922 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18924 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18925 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18926 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18928 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18929 timer_ptr2id to cast struct timer_node * to void *.
18930 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18931 --disable-libcilkrts to gcc configure.
18932 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18933 and make them the default for now.
18934 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18935 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18936 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18937 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18938 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18940 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18941 __task_terminate would ever return successfully.
18942 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18944 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18945 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18946 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18947 critical section to make code simpler and avoid warning.
18948 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18949 critical section to make code simpler and avoid warning.
18950 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18951 const char * instead of char *.
18952 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18953 __hurd_file_name_split, hurd_file_name_split,
18954 __hurd_directory_name_split, hurd_directory_name_split,
18955 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18956 hurd_file_name_path_lookup): Make lookup function parameter take a
18957 const char *name instead of char *name.
18958 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18959 __hurd_directory_name_split): Likewise.
18960 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18961 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18962 * sysdeps/mach/hurd/check_native.c: New file.
18963 * sysdeps/mach/hurd/check_pf.c: New file.
18964 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18965 (__freeifaddrs): Define macro to freeifaddrs.
18966 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18967 * sysdeps/mach/libmachuser.abilist: New file.
18968 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18969 (do_test_bz20181): Rename accordingly.
18970 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18971 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18973 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18974 version only if __USE_EXTERN_INLINES is defined.
18975 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18976 __hurd_sockfail): Likewise.
18977 (_hurd_fd_get): Always declare functions, and provide inline versions
18978 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18979 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18980 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18981 _hurd_port_set): Always declare functions, and provide inline versions
18982 only if __USE_EXTERN_INLINES and _LIBC are defined and
18984 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18985 _hurd_critical_section_unlock): Likewise.
18986 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18987 * __hurd_threadvar_location): Likewise.
18988 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18989 _hurd_userlink_clear): Likewise.
18990 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18991 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18992 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18993 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18994 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18995 __spin_lock_locked): Likewise.
18996 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18997 __spin_lock_locked): Likewise.
18998 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18999 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19000 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19001 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19002 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19003 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19004 _POSIX_NO_TRUNC): Define to 0.
19005 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19006 check size against PTHREAD_STACK_MIN.
19007 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19008 IS_IN(libpthread)]: Include <sigsetops.h>.
19009 * mach/Makefile (user-interfaces): Add mach/gnumach.
19010 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19011 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19012 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19013 instead of invalid -1.
19014 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19015 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19016 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19019 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19021 * hurd/fcntl-internal.h: New file.
19023 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19025 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19027 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19029 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19032 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19033 Build only shared objects.
19035 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19037 * README: Update for hppa.
19039 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19041 * sysdeps/sparc/fpu/libm-test-ulps: Update
19042 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19044 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19048 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19051 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19052 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19053 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19054 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19057 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19060 * bits/types/__cancel_jmp_buf_tag.h: New file.
19061 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19062 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19063 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19064 * nptl/Makefile (headers): Add
19065 bits/types/__cancel_jmp_buf_tag.h.
19066 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19067 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19068 * sysdeps/nptl/pthread.h: Include
19069 <bits/types/__cancel_jmp_buf_tag.h>.
19070 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19072 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19074 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19077 * localedata/locales/uk_UA (mon): Renamed to...
19079 (alt_digits): "0" removed and then renamed to...
19081 (date_fmt): Definition changed not to use the alternative
19084 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19086 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19087 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19088 * elf/elf.h (EF_RISCV_RVC): New define.
19089 (EF_RISCV_FLOAT_ABI): Likewise.
19090 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19091 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19092 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19093 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19094 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19096 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19098 2018-01-25 Andreas Schwab <schwab@suse.de>
19100 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19102 * sysdeps/gnu/configure: Regenerate.
19103 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19104 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19106 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19107 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19108 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19109 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19110 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19112 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19114 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19115 URL, and run autoconf, make it the default for now.
19117 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19119 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19120 soft-float ColdFire configuration.
19122 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19123 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19124 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19126 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19129 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19131 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19133 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19136 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19137 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19138 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19141 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19144 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19145 Rename to __reserved and add comment.
19146 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19147 Rename to __reserved.
19149 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19151 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19152 i686-gnu configurations.
19153 (Context.run_builds): Include mig, gnumach and hurd in components
19155 (Context.checkout): Add mig, gnumach and hurd to components.
19156 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19158 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19159 (Config.build): Install gnumach headers, build mig and install
19160 hurd headers for 'gnu' OS.
19161 (Config.install_gnumach_headers): New function.
19162 (Config.install_hurd_headers): Likewise.
19163 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19164 when building for 'gnu' OS.
19166 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19168 * manual/tunables.texi (Hardware Capability Tunables): Fix
19171 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19173 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19174 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19175 (ALTMON_11, ALTMON_12): Improve documentation.
19176 * manual/time.texi (strftime): Likewise.
19178 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19181 * localedata/locales/pl_PL: Alternative month names added,
19182 primary month names are genitive now.
19183 * time/tst-strptime.c (day_tests): Actually use a genitive case
19184 of a month name in Polish language.
19186 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19189 * manual/locale.texi: Document ALTMON_1..12 constants for
19190 nl_langinfo. Specify when to use ALTMON instead of MON.
19191 * manual/time.texi (strftime, strptime): Document GNU extension
19192 permitting O modifier with %B and %b. Specify when to use
19195 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19198 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19199 names, define them as the same as abbreviated month names explicitly.
19200 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19201 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19202 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19203 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19204 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19205 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19206 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19207 _NL_WABALTMON_12): New enum constants.
19208 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19209 wab_alt_mon, and ab_alt_mon_defined members.
19210 (time_output): Output ab_alt_mon and wab_alt_mon members.
19211 (time_read): Read them, initialize them as copies of abmon and wabmon
19212 respectively if they are missing, initialize ab_alt_mon_defined.
19213 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19214 * locale/programs/locfile-kw.h: Regenerate.
19215 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19216 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19218 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19219 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19220 (__strftime_internal): Handle %Ob and %Oh formats.
19221 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19222 (__strptime_internal): Handle %Ob and %Oh formats.
19223 * time/tst-strptime.c (day_tests): Add more tests to parse different
19224 forms of month names including the new %Ob format specifier.
19226 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19229 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19230 define them as the same as primary full month names explicitly.
19231 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19232 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19233 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19234 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19235 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19236 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19237 _NL_WALTMON_12): New enum constants.
19238 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19239 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19241 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19242 walt_mon, and alt_mon_defined members.
19243 (time_output): Output alt_mon and walt_mon members.
19244 (time_read): Read them, initialize them as copies of mon and wmon
19245 respectively if they are missing, initialize alt_mon_defined.
19246 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19247 * locale/programs/locfile-kw.h: Regenerate.
19248 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19249 * localedata/tst-langinfo.c (map): Add tests for the new constants
19250 ALTMON_1 .. ALTMON_12.
19251 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19253 * time/strftime_l.c (f_altmonth): New macro.
19254 (__strftime_internal): Handle %OB format.
19255 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19256 (__strptime_internal): Handle %OB format.
19257 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19258 of month names including the new %OB format specifier.
19260 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19263 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19264 from ABORT_TRANSACTION.
19265 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19266 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19267 ABORT_TRANSACTION_IMPL): Likewise.
19268 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19269 Linux code, but remove the code that aborts transactions.
19271 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19273 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19275 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19277 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19278 in date: "2004-14-09" should be "2004-09-14".
19279 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19280 "2003-15-09" should be "2003-09-15".
19282 2018-01-18 Arjun Shankar <arjun@redhat.com>
19288 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19290 (_int_memalign): check for integer overflow before calling
19292 * malloc/tst-malloc-too-large.c: New test.
19293 * malloc/Makefile: Add tst-malloc-too-large.
19295 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19297 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19298 in date: "2017-24-07" should be "2017-07-24".
19299 * localedata/locales/mai_IN: Likewise.
19300 * localedata/locales/mai_NP: Likewise.
19302 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19304 * po/ru.po: Update translations.
19306 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19309 * sysdeps/hppa/backtrace.c: New file.
19311 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19314 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19315 align La_x86_64_retval to VEC_SIZE.
19317 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19319 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19320 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19322 2018-01-16 Florian Weimer <fweimer@redhat.com>
19324 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19325 Move tst-thread-exit-clobber ...
19326 [$(CXX)] (tests-unsupported): ... to here.
19328 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19330 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19331 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19332 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19333 (_dl_aarch64_cap_flags): Update.
19334 (_DL_HWCAP_COUNT): Update.
19336 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19338 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19339 (_DL_HWCAP_LAST): Remove.
19340 (_DL_HWCAP_COUNT): Move to ...
19341 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19342 (_DL_HWCAP_COUNT): ... here.
19344 2018-01-16 Florian Weimer <fweimer@redhat.com>
19346 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19347 mode with GNU extensions.
19349 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19351 * elf/elf.h (NT_ARM_SVE): Define.
19353 2018-01-15 Florian Weimer <fweimer@redhat.com>
19356 * nptl/tst-minstack-throw.cc: New file.
19357 * nptl/Makefile (tests): Add tst-minstack-throw.
19358 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19359 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19361 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19363 * scripts/build-many-glibcs.py (Context.checkout): Default
19364 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19367 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19370 * elf/elf.h (DF_1_STUB): Define.
19371 (DF_1_PIE): Define.
19373 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19377 Do not add 0.5 to integer or out-of-range arguments.
19379 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19381 * po/bg.po: Update translations.
19382 * po/cs.po: Likewise.
19383 * po/de.po: Likewise.
19384 * po/ko.po: Likewise.
19385 * po/pl.po: Likewise.
19386 * po/sv.po: Likewise.
19387 * po/uk.po: Likewise.
19388 * po/vi.po: Likewise.
19390 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19392 * aarch64/start.S (_start): Use __wrap_main.
19393 (__wrap_main): New local symbol.
19395 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19399 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19400 generic_getcwd if the path returned by getcwd syscall is not absolute.
19401 * io/tst-getcwd-abspath.c: New test.
19402 * io/Makefile (tests): Add tst-getcwd-abspath.
19404 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19406 * malloc/malloc.c (malloc_consolidate): Add size check.
19408 2018-01-12 Florian Weimer <fweimer@redhat.com>
19410 * support/write_message.c (write_message): Preserve errno.
19411 * support/check.c (print_failure): Likewise.
19412 * support/support_test_verify_impl.c (support_test_verify_impl):
19414 * support/support_test_compare_failure.c
19415 (support_test_compare_failure): Likewise.
19417 2018-01-12 Florian Weimer <fweimer@redhat.com>
19420 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19421 Prevent installation of libnsl.so.
19422 (libnsl-inhibit-o): Do not build (or install) static libraries.
19424 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19427 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19428 before the day number which may produce a double space.
19429 (date_fmt): Likewise.
19431 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19433 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19434 instead of fegetenv.
19436 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19439 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19440 comment to say exceptions are discarded.
19441 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19443 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19446 2018-01-11 Florian Weimer <fweimer@redhat.com>
19448 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19451 2018-01-11 Florian Weimer <fweimer@redhat.com>
19454 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19455 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19457 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19460 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19461 negative arguments in test for NaN or infinity argument.
19463 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19465 * po/libc.pot: Regenerate.
19467 2018-01-10 Florian Weimer <fweimer@redhat.com>
19470 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19471 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19473 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19475 * hurd/hurd/fd.h: Include <fcntl.h>
19476 (__hurd_at_flags): New function.
19477 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19478 with call to __hurd_at_flags.
19479 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19480 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19482 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19483 (__access_noerrno): Use __faccessat_common instead of access_common.
19484 (__access): Likewise.
19485 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19486 with a call to __faccessat.
19487 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19488 (__faccessat_common): ... this. Move implementation of __access into it when
19489 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19490 reauthenticate_cwdir_at helper to implement AT mechanism.
19491 (__faccessat_noerrno): New function, just calls __faccessat_common.
19492 (__faccessat): New function, just calls __faccessat_common.
19493 (faccessat): Define weak alias.
19495 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19498 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19499 (CFLAGS-s_fmaxmagl.c): New variable.
19500 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19504 long int for arguments of possibly overflowing addition or
19506 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19508 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19511 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19512 (CFLAGS-e_remainderl.c): New variable.
19515 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19517 (CFLAGS-s_cacoshl.c): Likewise.
19518 (CFLAGS-s_casinhl.c): Likewise.
19519 (CFLAGS-s_catanl.c): Likewise.
19520 (CFLAGS-s_catanhl.c): Likewise.
19521 (CFLAGS-s_cexpl.c): Likewise.
19522 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19523 (CFLAGS-s_csinhl.c): Likewise.
19524 (CFLAGS-s_clogl.c): Likewise.
19525 (CFLAGS-s_clog10l.c): Likewise.
19526 (CFLAGS-s_csinl.c): Likewise.
19527 (CFLAGS-s_csqrtl.c): Likewise.
19529 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19530 2017-01-09 Svante Signell <svante.signell@gmail.com>
19532 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19533 (_hurd_exec_paths): New function.
19534 * hurd/hurd.h (_hurd_exec): Deprecate function.
19535 (_hurd_exec_paths): Declare function.
19536 * hurd/Versions: Export _hurd_exec_paths.
19537 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19538 (__execve): Use __getcwd to build absolute path, and use
19539 _hurd_exec_paths instead of _hurd_exec.
19540 * sysdeps/mach/hurd/spawni.c: Likewise.
19541 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19544 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19546 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19547 test instead of failing in case of ENOENT returned by posix_openpt.
19549 2018-01-08 Florian Weimer <fweimer@redhat.com>
19551 resolv: Support binary labels in test framework.
19552 * support/resolv_test.c (struct to_be_freed): Remove.
19553 (struct compressed_name): New.
19554 (allocate_compressed_name, ascii_tolower)
19555 (compare_compressed_name): New functions.
19556 (struct resolv_response_builder): Update type of
19557 compression_offsets for use with tsearch. Rempve to_be_freed.
19558 (response_push_pointer_to_free): Remove function.
19559 (resolv_response_add_name): Rewrite using struct compressed_name
19560 and tsearch instead of hsearch_r.
19561 (response_builder_allocate): Remove initialization of
19562 compression_offsets.
19563 (response_builder_free): Update for removal of to_be_freed. Use
19564 tdestroy instead of hdestroy_r.
19565 * resolv/Makefile (tests): Add tst-resolv-binary.
19566 (tst-resolv-binary): Link with -lresolv -lpthread.
19568 2018-01-08 Florian Weimer <fweimer@redhat.com>
19570 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19571 time. Pass positive flag instead of negative flag to
19572 support_test_compare_failure.
19573 (support_test_compare_failure): Change negative parameter to
19575 * support/support_test_compare_failure.c (report)
19576 (support_test_compare_failure): Likewise.
19577 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19578 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19580 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19583 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19584 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19585 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19587 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19589 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19591 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19592 Add s_sincosf-sse2 and s_sincosf-fma.
19593 (CFLAGS-s_sincosf-fma.c): New.
19594 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19595 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19596 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19597 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19598 __sincosf is defined.
19600 2018-01-08 Florian Weimer <fweimer@redhat.com>
19602 * nptl/tst-thread-exit-clobber.cc: New file.
19603 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19605 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19606 (tests): Add tst-thread-exit-clobber.
19607 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19609 2018-01-08 Florian Weimer <fweimer@redhat.com>
19611 * support/check.h (support_static_assert): Define.
19612 (TEST_COMPARE): Use it.
19614 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19616 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19617 [!__RLIM_T_MATCHES_RLIM64_T]
19618 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19619 __getrlimit64. Add libc_hidden_weak.
19621 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19623 * elf/elf.h (R_RISCV_NONE): New define.
19624 (R_RISCV_32): Likewise.
19625 (R_RISCV_64): Likewise.
19626 (R_RISCV_RELATIVE): Likewise.
19627 (R_RISCV_COPY): Likewise.
19628 (R_RISCV_JUMP_SLOT): Likewise.
19629 (R_RISCV_TLS_DTPMOD32): Likewise.
19630 (R_RISCV_TLS_DTPMOD64): Likewise.
19631 (R_RISCV_TLS_DTPREL32): Likewise.
19632 (R_RISCV_TLS_DTPREL64): Likewise.
19633 (R_RISCV_TLS_TPREL32): Likewise.
19634 (R_RISCV_TLS_TPREL64): Likewise.
19635 * Makerules (make-link-multidir): Make directories before linking into
19637 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19639 (VDSO_HASH_LINUX_4_15): Likewise.
19640 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19641 in subdirectories of lib.
19642 * nptl/Makefile (/librt.so): Always depend on
19643 "$(shared-thread-library)".
19645 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19647 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19648 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19649 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19651 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19652 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19654 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19655 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19656 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19657 * sysdeps/gnu/glob-lstat-compat.c: New file.
19658 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19659 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19661 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19663 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19664 Reserve 16 chars to reloc_addr before calling _itoa_word.
19666 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19669 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19670 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19672 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19673 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19675 * resource/tst-getrlimit.c: Add copyright header.
19677 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19678 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19680 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19681 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19682 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19683 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19685 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19686 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19687 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19688 RLIM64_INFINITY): Fix values to match the kernel ones.
19689 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19690 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19691 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19692 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19693 getrlimit64@@GLIBC_2_27.
19694 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19696 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19697 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19698 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19699 setrlimit, getrlimit64 and setrlimit64.
19701 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19704 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19705 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19707 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19709 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19710 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19711 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19713 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19717 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19718 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19722 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19723 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19724 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19725 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19727 2018-01-04 Florian Weimer <fweimer@redhat.com>
19730 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19731 Align the stack before calling exit.
19732 * stdlib/tst-makecontext-align.c: New file.
19733 * stdlib/Makefile (tests): Add tst-makecontext-align.
19735 2018-01-04 Florian Weimer <fweimer@redhat.com>
19737 Add support for calling dlvsym from libc.so.
19738 * include/dlfcn.h (__libc_dlvsym): Declare.
19739 * elf/Makefile (tests-static-internal): Add
19740 tst-libc_dlvsym-static.
19741 (tests-internal): Add tst-libc_dlvsym.
19742 (modules-names): Add tst-libc_dlvsym-dso.
19743 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19744 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19745 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19746 object tst-libc_dlvsym-dso.so needs to be built before running
19748 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19749 * elf/Versions: Export __libc_dlvsym.
19750 * elf/dl-libc.c (struct do_dlvsym_args): New.
19751 (do_dlvsym, __libc_dlvsym): New functions.
19752 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19753 (_dl_open_hook2): New variable.
19754 (__libc_register_dl_open_hook): Set it.
19755 * elf/tst-libc_dlvsym-dso.c: New file.
19756 * elf/tst-libc_dlvsym-static.c: Likewise.
19757 * elf/tst-libc_dlvsym.c: Likewise.
19758 * elf/tst-libc_dlvsym.h: Likewise.
19760 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19762 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19763 include <sys/mount.h>.
19765 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19767 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19768 Add __NO_MATH_ERRNO__ check.
19770 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19772 * sysdeps/mips/mips32/libm-test-ulps: Update.
19773 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19775 2018-01-02 Florian Weimer <fweimer@redhat.com>
19777 * misc/tst-pselect.c: Add copyright header.
19779 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19781 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19783 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19785 (settrlimit): Rename into setrlimit.
19786 (__sttrlimit): Rename into __setrlimit.
19788 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19789 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19790 never defined in that case.
19792 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19794 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19796 * sysdeps/arm/libm-test-ulps: Update.
19798 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19799 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19801 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19803 * NEWS: Add cosf and sincosf to list of optimized functions.
19805 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19808 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19809 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19810 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19811 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19813 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19816 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19818 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19819 making a copy of it.
19821 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19823 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19824 trailing whitespace removed.
19825 * scripts/config.guess: Update to version 2018-01-01.
19826 * scripts/config.sub: Update to version 2018-01-01.
19827 * scripts/move-if-change: Update from gnulib.
19829 * NEWS: Update copyright dates.
19830 * catgets/gencat.c (print_version): Likewise.
19831 * csu/version.c (banner): Likewise.
19832 * debug/catchsegv.sh: Likewise.
19833 * debug/pcprofiledump.c (print_version): Likewise.
19834 * debug/xtrace.sh (do_version): Likewise.
19835 * elf/ldconfig.c (print_version): Likewise.
19836 * elf/ldd.bash.in: Likewise.
19837 * elf/pldd.c (print_version): Likewise.
19838 * elf/sotruss.sh: Likewise.
19839 * elf/sprof.c (print_version): Likewise.
19840 * iconv/iconv_prog.c (print_version): Likewise.
19841 * iconv/iconvconfig.c (print_version): Likewise.
19842 * locale/programs/locale.c (print_version): Likewise.
19843 * locale/programs/localedef.c (print_version): Likewise.
19844 * login/programs/pt_chown.c (print_version): Likewise.
19845 * malloc/memusage.sh (do_version): Likewise.
19846 * malloc/memusagestat.c (print_version): Likewise.
19847 * malloc/mtrace.pl: Likewise.
19848 * manual/libc.texinfo: Likewise.
19849 * nptl/version.c (banner): Likewise.
19850 * nscd/nscd.c (print_version): Likewise.
19851 * nss/getent.c (print_version): Likewise.
19852 * nss/makedb.c (print_version): Likewise.
19853 * posix/getconf.c (main): Likewise.
19854 * scripts/test-installation.pl: Likewise.
19855 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19857 * All files with FSF copyright notices: Update copyright dates
19858 using scripts/update-copyrights.
19859 * locale/programs/charmap-kw.h: Regenerated.
19860 * locale/programs/locfile-kw.h: Likewise.
19862 2017-12-31 Zack Weinberg <zackw@panix.com>
19864 * libio/bits/libio-ldbl.h: Correct check for improper
19865 inclusion. Add own multiple include guard.
19867 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19868 Dmitry V. Levin <ldv@altlinux.org>
19872 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19873 string token expansion. Check for NULL pointer or empty string possibly
19874 returned by expand_dynamic_string_token.
19875 (decompose_rpath): Check for empty path after dynamic string
19878 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19881 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19883 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19884 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19885 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19886 and PTRACE_SYSCALL.
19887 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19891 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19892 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19894 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19895 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19896 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19897 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19899 bits/ptrace-shared.h.
19900 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19901 <bits/ptrace-shared.h>.
19902 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19903 __ptrace_peeksiginfo_flags, ptrace): Remove.
19904 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19906 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19907 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19908 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19910 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19913 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19914 end of the loop. Improve comments.
19916 2017-12-29 Zack Weinberg <zackw@panix.com>
19919 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19920 might be set on success.
19922 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19925 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19926 is unchanged on success.
19928 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19930 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19932 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19933 expand_dynamic_string_token): Likewise.
19934 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19937 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19940 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19941 is set and name contains ':', and all code depending on these checks.
19943 2017-12-24 Zack Weinberg <zackw@panix.com>
19945 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19946 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19948 * libio/libio.h: Rename the original version of this file to
19949 libio/bits/libio.h. Error out if not included by stdio.h or the
19951 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19952 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19953 if not included by bits/libio.h or the stub _G_config.h.
19954 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19955 sysdeps/unix/sysv/linux/bits. Error out if not included by
19956 bits/libio.h or the stub _G_config.h.
19957 * libio/stdio.h: Include bits/libio.h, not libio.h.
19958 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19959 well as libio.h and _G_config.h.
19961 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19962 * libio/strfile.h, stdio-common/vfscanf.c
19963 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19964 Include stdio.h, not _G_config.h nor libio.h.
19965 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19966 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19968 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19970 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19973 * stdlib/getrandom.c (getrandom): Fix comment.
19974 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19976 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19979 * manual/arith.texi (strtoul): Fix a typo.
19982 * manual/arith.texi (finite): Fix the description of the return
19985 2017-12-22 Eric Blake <ebb9@byu.net>
19987 Avoid gcc warnings on cygwin
19988 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19989 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19990 Avoid unused variable.
19992 2017-12-22 Florian Weimer <fweimer@redhat.com>
19994 * io/Makefile (routines): Add copy_file_range.
19995 (tests): Add tst-copy_file_range.
19996 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19997 * io/Versions (GLIBC_2.27): Export copy_file_range.
19998 * io/copy_file_range-compat.c: New file.
19999 * io/copy_file_range.c: Likewise.
20000 * io/tst-copy_file_range-compat.c: Likewise.
20001 * io/tst-copy_file_range.c: Likewise.
20002 * manual/llio.texi (Copying File Data): New section.
20003 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20004 * support/Makefile (libsupport-routines): Add support-xfstat,
20005 xftruncate, xlseek.
20006 * support/support-xfstat.c: New file.
20007 * support/xftruncate.c: Likewise.
20008 * support/xlseek.c: Likewise.
20009 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20010 * sysdeps/unix/sysv/linux/**.abilist: Update.
20011 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20013 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20015 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20016 disable-multi-arch variant to aarch64-linux-gnu.
20018 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20020 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20021 trailing whitespace removed.
20022 * scripts/config.guess: Update to version 2017-12-17.
20023 * scripts/config.sub: Update to version 2017-11-23.
20024 * scripts/install-sh: Update to version 2017-09-23.17.
20025 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20027 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20029 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20030 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20031 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20032 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20033 * sysdeps/tile/crtn.S: Likewise.
20034 * sysdeps/tile/dl-start.S (_start): Likewise.
20035 * sysdeps/tile/dl-trampoline.S: Likewise.
20036 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20037 * sysdeps/tile/start.S (_start): Likewise.
20038 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20039 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20040 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20041 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20042 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20043 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20044 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20046 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20048 * sysdeps/tile/preconfigure: Remove tilegx folder.
20049 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20050 * sysdeps/tile/Implies: ... here.
20051 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20052 * sysdeps/tile/Makefile: ... here.
20053 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20054 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20055 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20056 * sysdeps/tile/bits/wordsize.h: ... here.
20057 * sysdeps/tile/tilegx/*: Move to ...
20058 * sysdeps/tile/*: ... here.
20059 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20060 * sysdeps/tile/tilegx32/Implies: ... here.
20061 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20062 * sysdeps/tile/tilegx64/Implies: ... here.
20063 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20065 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20066 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20067 * sysdeps/unix/sysv/linux/tile/*: ... here.
20068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20069 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20071 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20073 * README: Remove tilepro-*-linux-gnu from supported architecture.
20074 * scripts/build-many-glibcs.py: Likewise.
20075 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20076 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20077 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20078 elf_machine_matches_host, elf_machine_dynamic,
20079 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20080 howto, elf_machine_rela): Likewise.
20081 * sysdeps/tile/dl-start.S (_start): Likewise.
20082 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20083 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20084 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20085 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20086 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20087 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20089 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20090 * sysdeps/tile/preconfigure: Likewise.
20091 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20092 POINTER_CHK_GUARD): Likewise.
20093 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20094 * sysdeps/tile/start.S (_start): Likewise.
20095 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20097 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20098 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20100 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20101 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20102 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20104 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20105 * sysdeps/tile/tilepro/Implies: Remove file.
20106 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20107 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20108 * sysdeps/tile/tilepro/memchr.c: Likewise.
20109 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20110 * sysdeps/tile/tilepro/memset.c: Likewise.
20111 * sysdeps/tile/tilepro/memusage.h: Likewise.
20112 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20113 * sysdeps/tile/tilepro/strchr.c: Likewise.
20114 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20115 * sysdeps/tile/tilepro/strlen.c: Likewise.
20116 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20117 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20118 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20119 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20120 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20121 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20122 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20124 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20126 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20127 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20128 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20129 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20130 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20131 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20132 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20133 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20134 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20135 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20136 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20137 tilepro mention in comment.
20139 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20140 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20141 * nptl/pthread_join_common.c: New file: common function used on
20142 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20143 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20144 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20145 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20146 (cleanup): Move definition to pthread_join_common.c.
20147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20148 Remove superflous checks.
20149 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20152 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20154 * sysdeps/aarch64/libm-test-ulps: Update.
20156 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20158 * sysdeps/aarch64/memset.S (MEMSET): Define.
20160 2017-12-20 Florian Weimer <fweimer@redhat.com>
20163 nptl: Provide full implementation of pthread_self in libc.so.
20164 * nptl/Makefile (routines): Add pthread_self.
20165 (libpthread-routines): Replace pthread_self with
20166 compat-pthread_self.
20167 * nptl/forward.c (pthread_self): Remove.
20168 * nptl/nptl-init.c (pthread_functions): Do not initialize
20170 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20171 * nptl/compat-pthread_self.c: New file.
20172 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20173 Remove ptr_pthread_self.
20175 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20177 * posix/regcomp.c: Fix spelling in comments.
20178 * posix/regex.h: Likewise.
20179 * posix/regex_internal.c: Likewise.
20180 * posix/regexec.c: Likewise.
20182 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20185 * math/Makefile [C++] (tests): Add test for iseqsig.
20186 * math/math.h [C++] (iseqsig): New implementation, which does
20187 not rely on __MATH_TG/__builtin_types_compatible_p.
20188 * math/test-math-iseqsig.cc: New file.
20189 * sysdeps/powerpc/powerpc64le/Makefile
20190 (CFLAGS-test-math-iseqsig.cc): New variable.
20192 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20194 * elf/dl-load.c (is_trusted_path): Remove.
20195 (fillin_rpath): Remove check_trusted argument and its use,
20196 all callers changed.
20198 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20201 * Makeconfig (link-pie-before-libc): Replace -pie with
20202 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20203 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20204 (tst-dlopen-aout-no-pie): New.
20205 (LDFLAGS-tst-prelink): Removed.
20206 (tst-prelink-no-pie): New.
20207 (LDFLAGS-tst-main1): Removed.
20208 (tst-main1-no-pie): New.
20209 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20210 (tst-gmon-no-pie): New.
20212 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20214 * manual/install.texi: Document that --enable-static-pie
20216 * INSTALL: Regenerated.
20218 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20221 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20224 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20228 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20232 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20234 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20235 <errno.h>. Include "eexp.tbl".
20236 (half): New constant.
20238 (__ieee754_exp): Rewrite.
20239 (__slowexp): Remove prototype.
20240 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20241 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20242 * sysdeps/i386/fpu/slowexp.c: Likewise.
20243 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20244 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20245 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20246 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20247 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20248 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20249 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20251 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20252 (CPPFLAGS-slowexp.c): Remove variable.
20253 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20254 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20255 (CFLAGS-slowexp-fma.c): Remove variable.
20256 (CFLAGS-slowexp-fma4.c): Likewise.
20257 (CFLAGS-slowexp-avx.c): Likewise.
20258 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20260 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20261 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20262 * math/Makefile (type-double-routines): Remove slowexp.
20263 * manual/probes.texi (slowexp_p6): Remove.
20264 (slowexp_p32): Likewise.
20266 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20268 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20271 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20273 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20277 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20279 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20280 <errno.h>. Include "eexp.tbl".
20281 (half): New constant.
20283 (__ieee754_exp): Rewrite.
20284 (__slowexp): Remove prototype.
20285 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20286 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20287 * sysdeps/i386/fpu/slowexp.c: Likewise.
20288 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20289 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20290 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20291 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20292 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20293 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20294 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20296 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20297 (CPPFLAGS-slowexp.c): Remove variable.
20298 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20299 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20300 (CFLAGS-slowexp-fma.c): Remove variable.
20301 (CFLAGS-slowexp-fma4.c): Likewise.
20302 (CFLAGS-slowexp-avx.c): Likewise.
20303 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20305 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20306 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20307 * math/Makefile (type-double-routines): Remove slowexp.
20308 * manual/probes.texi (slowexp_p6): Remove.
20309 (slowexp_p32): Likewise.
20311 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20312 James Clarke <jrtc27@jrtc27.com>
20315 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20318 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20321 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20324 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20327 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20328 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20329 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20330 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20333 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20336 * bits/types/__cancel_jmp_buf_tag.h: New file.
20337 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20338 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20339 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20340 * nptl/Makefile (headers): Add
20341 bits/types/__cancel_jmp_buf_tag.h.
20342 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20343 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20344 * sysdeps/nptl/pthread.h: Include
20345 <bits/types/__cancel_jmp_buf_tag.h>.
20346 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20348 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20350 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20352 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20353 --enable-static-pie variants to x86_64, x32 and i686.
20355 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20358 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20359 argument for attrubutes. All callers changed.
20360 (__inline_mathop1): Likewise. All callers changed.
20361 (__inline_mathop): Likewise. All callers changed.
20362 [__USE_MISC] (scalbn): Use __inline_forward instead of
20363 __inline_forward_c.
20364 [__USE_ISOC99] (scalbln): Likewise.
20365 [__USE_ISOC99] (nearbyint): Likewise.
20366 [__USE_ISOC99] (lrint): Likewise.
20367 [__USE_MISC] (scalbnf): Likewise.
20368 [__USE_ISOC99] (scalblnf): Likewise.
20369 [__USE_ISOC99] (nearbyintf): Likewise.
20370 [__USE_ISOC99] (lrintf): Likewise.
20371 [__USE_MISC] (scalbnl): Likewise.
20372 [__USE_ISOC99] (scalblnl): Likewise.
20373 [__USE_ISOC99] (nearbyintl): Likewise.
20374 [__USE_ISOC99] (lrintl): Likewise.
20375 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20376 __inline_mathop and __m81_defun changed.
20378 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20379 CPU or FPU for ARM hard-float configurations.
20381 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20383 * nptl/tst-attr3.c: Include <libc-diag.h>.
20384 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20386 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20388 * string/tester.c (test_strncat): Also disable -Warray-bounds
20389 warnings for two tests.
20391 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20394 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20395 $(cc-pie-default) == yes.
20396 * config.make.in (cc-pie-default): New.
20397 * configure.ac (libc_cv_pie_default): Renamed to ...
20398 (libc_cv_cc_pie_default): This.
20399 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20400 * configure: Regenerated.
20402 2017-12-18 Florian Weimer <fweimer@redhat.com>
20405 ld.so: Harden dl-libc/libdl hooks.
20406 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20407 (rtld_active): New function.
20408 * dlfcn/dladdr.c (__dladdr): Call it.
20409 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20410 * dlfcn/dlclose.c (__dlcose): Likewise.
20411 * dlfcn/dlerror.c (__dlerror): Likewise.
20412 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20413 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20414 * dlfcn/dlopen.c (__dlopen): Likewise.
20415 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20416 * dlfcn/dlsym.c (__dlsym): Likewise.
20417 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20418 * libio/vtables.c (_IO_vtable_check): Likewise.
20419 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20420 (__libc_dlclose): Likewise.
20421 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20424 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20427 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20428 buffers for readlink input and output.
20430 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20433 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20434 inhibit_stack_protector.
20437 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20438 inhibit_stack_protector.
20440 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20443 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20444 code and invocation.
20446 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20448 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20450 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20453 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20455 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20457 * sysdeps/s390/fpu/libm-test-ulps: Update.
20459 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20463 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20465 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20466 constants to s_sincosf.h file.
20467 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20468 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20470 * sysdeps/ieee754/flt-32/s_sincosf.h:
20473 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20476 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20479 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20482 * INSTALL: Regenerated.
20483 * Makeconfig (real-static-start-installed-name): New.
20484 (pic-default): Updated for --enable-static-pie.
20485 (pie-default): New for --enable-static-pie.
20486 (default-pie-ldflag): Likewise.
20487 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20488 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20489 Replace $(static-start-installed-name) with
20490 $(real-static-start-installed-name).
20491 (+prectorT): Updated for --enable-static-pie.
20492 (+postctorT): Likewise.
20493 (CFLAGS-.o): Add $(pie-default).
20494 (CFLAGS-.op): Likewise.
20495 * NEWS: Mention --enable-static-pie.
20496 * config.h.in (ENABLE_STATIC_PIE): New.
20497 * configure.ac (--enable-static-pie): New configure option.
20498 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20499 (have-static-pie): Likewise.
20500 Enable static PIE if linker supports --no-dynamic-linker.
20501 (ENABLE_STATIC_PIE): New AC_DEFINE.
20502 (enable-static-pie): New LIBC_CONFIG_VAR.
20503 * configure: Regenerated.
20504 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20505 gr$(start-installed-name) for --enable-static-pie.
20506 (extra-objs): Likewise.
20507 (install-lib): Likewise.
20508 (extra-objs): Add static-reloc.o and static-reloc.os
20509 ($(objpfx)$(start-installed-name)): Also depend on
20510 $(objpfx)static-reloc.o.
20511 ($(objpfx)r$(start-installed-name)): New.
20512 ($(objpfx)g$(start-installed-name)): Also depend on
20513 $(objpfx)static-reloc.os.
20514 ($(objpfx)gr$(start-installed-name)): New.
20515 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20517 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20519 * csu/static-reloc.c: New file.
20520 * elf/Makefile (routines): Add dl-reloc-static-pie.
20521 (elide-routines.os): Likewise.
20522 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20523 (tst-tls1-static-non-pie-no-pie): New.
20524 * elf/dl-reloc-static-pie.c: New file.
20525 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20526 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20527 STATIC_PIE_BOOTSTRAP.
20528 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20529 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20530 (tests-static): Likewise.
20531 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20532 (tst-gmon-static-no-pie): New.
20533 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20534 (CRT-tst-gmon-static-pie): Likewise.
20535 (tst-gmon-static-pie-ENV): Likewise.
20536 (tests-special): Likewise.
20537 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20538 (clean-tst-gmon-static-pie-data): Likewise.
20539 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20540 * gmon/tst-gmon-static-pie.c: New file.
20541 * manual/install.texi: Document --enable-static-pie.
20542 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20543 (_dl_get_dl_main_map): Likewise.
20544 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20545 * sysdeps/x86_64/configure.ac: Likewise.
20546 * sysdeps/i386/configure: Regenerated.
20547 * sysdeps/x86_64/configure: Likewise.
20548 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20549 (ASFLAGS-.op): Likewise.
20551 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20553 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20554 * posix/tst-mmap-offset.c (fname): Use /tmp.
20555 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20557 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20559 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20561 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20563 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20566 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20568 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20569 --with-float=hard for arm-linux-gnueabihf configurations.
20572 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20573 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20574 ($(mo-installed)): Use $(objpfx)%.mo.
20575 (realclean): Remove rule.
20577 * po/Makefile (linguas): Remove rule and dependencies.
20578 (linguas.mo): Likewise.
20579 (.PHONY): Do not depend on linguas and linguas.mo.
20580 (podir): Remove variable.
20581 (pofiles): Likewise.
20582 [$(pofiles)] (%.po): Remove rule.
20584 * sysdeps/sparc/sparc32/Makefile
20585 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20586 start-of-line whitespace in argument of echo.
20587 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20588 with whitespace. Generate __wrap_.udiv alias.
20589 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20590 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20591 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20592 * sysdeps/sparc/sparc32/urem.S: Likewise.
20594 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20596 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20597 for aligned inputs.
20599 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20601 * benchtests/bench-strcmp.c: Print output in JSON format.
20603 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20605 2017-12-14 Florian Weimer <fweimer@redhat.com>
20609 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20610 the expanded path string.
20612 2017-12-14 Florian Weimer <fweimer@redhat.com>
20616 * elf/dl-load.c (system_dirs): Update comment.
20617 (nsystem_dirs_len): Use array_length.
20618 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20620 2017-12-14 Florian Weimer <fweimer@redhat.com>
20622 Simplify compiling most of support/ outside of glibc.
20623 * support/check_addrinfo.c: Include <string.h>.
20624 * support/check_dns_packet.c: Likewise.
20625 * support/check_hostent.c: Likewise.
20626 * support/support_can_chroot.c: Include <support/xunistd.h>.
20627 * support/support_format_addrinfo.c: Include <stdlib.h>
20628 * support/support_format_dns_packet.c: Include <stdbool.h>.
20629 * support/support_format_hostent.c: Include <stdlib.h>.
20630 * support/support_format_netent.c: Likewise.
20631 * support/support_write_string.c: Include <support/xunistd.h>.
20632 * support/xdlfcn.c: Include <stddef.h>.
20634 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20636 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20638 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20639 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20641 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20642 (sysdeps_routines): Add memset-niagara7.
20643 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20645 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20647 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20648 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20649 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20650 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20651 Add niagara7 option.
20652 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20655 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20656 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20657 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20659 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20661 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20662 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20663 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20664 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20665 and __memmove_niagara7.
20666 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20667 Add niagara7 option.
20668 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20669 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20670 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20671 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20672 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20674 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20676 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20677 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20678 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20679 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20681 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20682 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20683 _dl_sparc_cap_flags array.
20684 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20686 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20688 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20689 time whenever possible.
20691 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20693 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20694 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20696 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20698 * soft-fp/fmadf4.c: Move to ....
20699 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20700 * soft-fp/fmasf4.c: Move to ....
20701 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20702 * soft-fp/fmatf4.c: Move to ....
20703 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20704 * sysdeps/ieee754/soft-fp/Makefile: New file.
20705 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20706 * sysdeps/arm/preconfigure: Regenerated.
20707 * sysdeps/arm/nofpu/Implies: New file.
20708 * sysdeps/arm/s_fma.c: Remove file.
20709 * sysdeps/arm/s_fmaf.c: Likewise.
20710 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20711 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20712 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20713 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20714 * sysdeps/microblaze/s_fma.c: Remove file.
20715 * sysdeps/microblaze/s_fmaf.c: Likewise.
20716 * sysdeps/mips/mips32/nofpu/Implies: New file.
20717 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20718 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20719 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20720 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20721 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20722 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20723 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20725 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20726 * sysdeps/nios2/s_fma.c: Remove file.
20727 * sysdeps/nios2/s_fmaf.c: Likewise.
20728 * sysdeps/sh/nofpu/Implies: New file.
20729 * sysdeps/sh/s_fma.c: Remove file.
20730 * sysdeps/sh/s_fmaf.c: Likewise.
20731 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20732 * sysdeps/tile/s_fma.c: Remove file.
20733 * sysdeps/tile/s_fmaf.c: Likewise.
20735 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20737 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20738 Add s_cosf-sse2 and s_cosf-fma.
20739 (CFLAGS-s_cosf-fma.c): New.
20740 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20741 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20742 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20744 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20746 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20748 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20750 * libio/Makefile (tests): Add tst-bz22415.
20751 (tst-bz22415-ENV): New rule.
20752 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20753 (tests-special): Add tst-bz22415-mem.out.
20754 ($(objpfx)tst-bz22415-mem.out): New rule.
20755 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20756 in case of a successful seek operation.
20757 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20758 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20759 buffer is required.
20760 * libio/tst-bz22415.c: New test.
20762 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20764 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20766 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20767 __IPC_64 to 0 to avoid IPC_64 being set.
20769 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20772 * math/bits/mathcalls.h (nextafter): Remove const.
20773 (nexttoward): Likewise.
20775 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20777 * configure.ac (--with-fp): Remove configure option.
20778 (with_fp_cond): New variable.
20779 (libc_cv_with_fp): New configure test. Use this variable instead
20781 * configure: Regenerated.
20782 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20783 * manual/install.texi (Configuring and compiling): Remove
20785 * INSTALL: Regenerated.
20786 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20787 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20788 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20789 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20790 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20791 use --without-fp to configure glibc.
20793 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20795 * manual/locale.texi (nl_langinfo): Fix a typo.
20797 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20800 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20802 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20804 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20805 (CFLAGS-argp-parse.c): Likewise.
20806 (CFLAGS-argp-fmtstream.c): Likewise.
20807 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20808 (CPPFLAGS-sha512-crypt.c): Likewise.
20809 (CPPFLAGS-md5-crypt.c): Likewise.
20810 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20811 (CFLAGS-stack_chk_fail_local.c): Likewise.
20812 (CFLAGS-backtrace.c): Likewise.
20813 (CFLAGS-sprintf_chk.c): Likewise.
20814 (CFLAGS-snprintf_chk.c): Likewise.
20815 (CFLAGS-vsprintf_chk.c): Likewise.
20816 (CFLAGS-vsnprintf_chk.c): Likewise.
20817 (CFLAGS-asprintf_chk.c): Likewise.
20818 (CFLAGS-vasprintf_chk.c): Likewise.
20819 (CFLAGS-obprintf_chk.c): Likewise.
20820 (CFLAGS-dprintf_chk.c): Likewise.
20821 (CFLAGS-vdprintf_chk.c): Likewise.
20822 (CFLAGS-printf_chk.c): Likewise.
20823 (CFLAGS-fprintf_chk.c): Likewise.
20824 (CFLAGS-vprintf_chk.c): Likewise.
20825 (CFLAGS-vfprintf_chk.c): Likewise.
20826 (CFLAGS-gets_chk.c): Likewise.
20827 (CFLAGS-fgets_chk.c): Likewise.
20828 (CFLAGS-fgets_u_chk.c): Likewise.
20829 (CFLAGS-fread_chk.c): Likewise.
20830 (CFLAGS-fread_u_chk.c): Likewise.
20831 (CFLAGS-swprintf_chk.c): Likewise.
20832 (CFLAGS-vswprintf_chk.c): Likewise.
20833 (CFLAGS-wprintf_chk.c): Likewise.
20834 (CFLAGS-fwprintf_chk.c): Likewise.
20835 (CFLAGS-vwprintf_chk.c): Likewise.
20836 (CFLAGS-vfwprintf_chk.c): Likewise.
20837 (CFLAGS-fgetws_chk.c): Likewise.
20838 (CFLAGS-fgetws_u_chk.c): Likewise.
20839 (CFLAGS-read_chk.c): Likewise.
20840 (CFLAGS-pread_chk.c): Likewise.
20841 (CFLAGS-pread64_chk.c): Likewise.
20842 (CFLAGS-recv_chk.c): Likewise.
20843 (CFLAGS-recvfrom_chk.c): Likewise.
20844 (CFLAGS-tst-longjmp_chk.c): Likewise.
20845 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20846 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20847 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20848 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20849 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20850 (CFLAGS-tst-chk1.c): Likewise.
20851 (CFLAGS-tst-chk2.c): Likewise.
20852 (CFLAGS-tst-chk3.c): Likewise.
20853 (CFLAGS-tst-chk4.cc): Likewise.
20854 (CFLAGS-tst-chk5.cc): Likewise.
20855 (CFLAGS-tst-chk6.cc): Likewise.
20856 (CFLAGS-tst-lfschk1.c): Likewise.
20857 (CFLAGS-tst-lfschk2.c): Likewise.
20858 (CFLAGS-tst-lfschk3.c): Likewise.
20859 (CFLAGS-tst-lfschk4.cc): Likewise.
20860 (CFLAGS-tst-lfschk5.cc): Likewise.
20861 (CFLAGS-tst-lfschk6.cc): Likewise.
20862 (CFLAGS-tst-ssp-1.c): Likewise.
20863 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20864 (CFLAGS-scandir64.c): Likewise.
20865 (CFLAGS-scandir-tail.c): Likewise.
20866 (CFLAGS-scandir64-tail.c): Likewise.
20867 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20868 (CFLAGS-dl-tunables.c): Likewise.
20869 (CFLAGS-dl-runtime.c): Likewise.
20870 (CFLAGS-dl-lookup.c): Likewise.
20871 (CFLAGS-dl-iterate-phdr.c): Likewise.
20872 (CFLAGS-vismain.c): Likewise.
20873 (CFLAGS-tst-linkall-static.c): Likewise.
20874 (CFLAGS-tst-linkall-static.c): Likewise.
20875 (CPPFLAGS-dl-load.c): Likewise.
20876 (CFLAGS-ldconfig.c): Likewise.
20877 (CFLAGS-dl-cache.c): Likewise.
20878 (CFLAGS-cache.c): Likewise.
20879 (CFLAGS-rtld.c): Likewise.
20880 (CFLAGS-multiload.c): Likewise.
20881 (CFLAGS-filtmod1.c): Likewise.
20882 (CFLAGS-tst-align.c): Likewise.
20883 (CFLAGS-tst-align2.c): Likewise.
20884 (CFLAGS-tst-alignmod.c): Likewise.
20885 (CFLAGS-tst-alignmod2.c): Likewise.
20886 (CPPFLAGS-tst-execstack.c): Likewise.
20887 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20888 (CFLAGS-tst-latepthreadmod.c): Likewise.
20889 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20890 (CFLAGS-getgrnam_r.c): Likewise.
20891 (CFLAGS-getgrent_r.c): Likewise.
20892 (CFLAGS-getgrent.c): Likewise.
20893 (CFLAGS-fgetgrent.c): Likewise.
20894 (CFLAGS-fgetgrent_r.c): Likewise.
20895 (CFLAGS-putgrent.c): Likewise.
20896 (CFLAGS-initgroups.c): Likewise.
20897 (CFLAGS-getgrgid.c): Likewise.
20898 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20899 (CFLAGS-getsgent.c): Likewise.
20900 (CFLAGS-fgetsgent.c): Likewise.
20901 (CFLAGS-fgetsgent_r.c): Likewise.
20902 (CFLAGS-putsgent.c): Likewise.
20903 (CFLAGS-getsgnam.c): Likewise.
20904 (CFLAGS-getsgnam_r.c): Likewise.
20905 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20906 (CFLAGS-iconv_charmap.c): Likewise.
20907 (CFLAGS-dummy-repertoire.c): Likewise.
20908 (CFLAGS-charmap.c): Likewise.
20909 (CFLAGS-linereader.c): Likewise.
20910 (CFLAGS-simple-hash.c): Likewise.
20911 (CFLAGS-gconv_conf.c): Likewise.
20912 (CFLAGS-iconvconfig.c): Likewise.
20913 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20914 (CFLAGS-gethstbyad.c): Likewise.
20915 (CFLAGS-gethstbynm_r.c): Likewise.
20916 (CFLAGS-gethstbynm.c): Likewise.
20917 (CFLAGS-gethstbynm2_r.c): Likewise.
20918 (CFLAGS-gethstbynm2.c): Likewise.
20919 (CFLAGS-gethstent_r.c): Likewise.
20920 (CFLAGS-gethstent.c): Likewise.
20921 (CFLAGS-rcmd.c): Likewise.
20922 (CFLAGS-getnetbynm_r.c): Likewise.
20923 (CFLAGS-getnetbynm.c): Likewise.
20924 (CFLAGS-getnetbyad_r.c): Likewise.
20925 (CFLAGS-getnetbyad.c): Likewise.
20926 (CFLAGS-getnetent_r.c): Likewise.
20927 (CFLAGS-getnetent.c): Likewise.
20928 (CFLAGS-getaliasent_r.c): Likewise.
20929 (CFLAGS-getaliasent.c): Likewise.
20930 (CFLAGS-getrpcent_r.c): Likewise.
20931 (CFLAGS-getrpcent.c): Likewise.
20932 (CFLAGS-getservent_r.c): Likewise.
20933 (CFLAGS-getservent.c): Likewise.
20934 (CFLAGS-getprtent_r.c): Likewise.
20935 (CFLAGS-getprtent.c): Likewise.
20936 (CFLAGS-either_ntoh.c): Likewise.
20937 (CFLAGS-either_hton.c): Likewise.
20938 (CFLAGS-getnetgrent.c): Likewise.
20939 (CFLAGS-getnetgrent_r.c): Likewise.
20940 (CFLAGS-tst-checks-posix.c): Likewise.
20941 (CFLAGS-tst-sockaddr.c): Likewise.
20942 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20943 (CFLAGS-tst-translit.c): Likewise.
20944 (CFLAGS-tst-gettext2.c): Likewise.
20945 (CFLAGS-tst-codeset.c): Likewise.
20946 (CFLAGS-tst-gettext3.c): Likewise.
20947 (CFLAGS-tst-gettext4.c): Likewise.
20948 (CFLAGS-tst-gettext5.c): Likewise.
20949 (CFLAGS-tst-gettext6.c): Likewise.
20950 * io/Makefile (CFLAGS-open.c): Likewise.
20951 (CFLAGS-open64.c): Likewise.
20952 (CFLAGS-creat.c): Likewise.
20953 (CFLAGS-creat64.c): Likewise.
20954 (CFLAGS-fcntl.c): Likewise.
20955 (CFLAGS-poll.c): Likewise.
20956 (CFLAGS-ppoll.c): Likewise.
20957 (CFLAGS-lockf.c): Likewise.
20958 (CFLAGS-statfs.c): Likewise.
20959 (CFLAGS-fstatfs.c): Likewise.
20960 (CFLAGS-statvfs.c): Likewise.
20961 (CFLAGS-fstatvfs.c): Likewise.
20962 (CFLAGS-fts.c): Likewise.
20963 (CFLAGS-fts64.c): Likewise.
20964 (CFLAGS-ftw.c): Likewise.
20965 (CFLAGS-ftw64.c): Likewise.
20966 (CFLAGS-lockf.c): Likewise.
20967 (CFLAGS-posix_fallocate.c): Likewise.
20968 (CFLAGS-posix_fallocate64.c): Likewise.
20969 (CFLAGS-fallocate.c): Likewise.
20970 (CFLAGS-fallocate64.c): Likewise.
20971 (CFLAGS-read.c): Likewise.
20972 (CFLAGS-write.c): Likewise.
20973 (CFLAGS-test-stat.c): Likewise.
20974 (CFLAGS-test-lfs.c): Likewise.
20975 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20976 (CFLAGS-fputc.c): Likewise.
20977 (CFLAGS-fputwc.c): Likewise.
20978 (CFLAGS-freopen64.c): Likewise.
20979 (CFLAGS-freopen.c): Likewise.
20980 (CFLAGS-fseek.c): Likewise.
20981 (CFLAGS-fseeko64.c): Likewise.
20982 (CFLAGS-fseeko.c): Likewise.
20983 (CFLAGS-ftello64.c): Likewise.
20984 (CFLAGS-ftello.c): Likewise.
20985 (CFLAGS-fwide.c): Likewise.
20986 (CFLAGS-genops.c): Likewise.
20987 (CFLAGS-getc.c): Likewise.
20988 (CFLAGS-getchar.c): Likewise.
20989 (CFLAGS-getwc.c): Likewise.
20990 (CFLAGS-getwchar.c): Likewise.
20991 (CFLAGS-iofclose.c): Likewise.
20992 (CFLAGS-iofflush.c): Likewise.
20993 (CFLAGS-iofgetpos64.c): Likewise.
20994 (CFLAGS-iofgetpos.c): Likewise.
20995 (CFLAGS-iofgets.c): Likewise.
20996 (CFLAGS-iofgetws.c): Likewise.
20997 (CFLAGS-iofputs.c): Likewise.
20998 (CFLAGS-iofputws.c): Likewise.
20999 (CFLAGS-iofread.c): Likewise.
21000 (CFLAGS-iofsetpos64.c): Likewise.
21001 (CFLAGS-iofsetpos.c): Likewise.
21002 (CFLAGS-ioftell.c): Likewise.
21003 (CFLAGS-iofwrite.c): Likewise.
21004 (CFLAGS-iogetdelim.c): Likewise.
21005 (CFLAGS-iogetline.c): Likewise.
21006 (CFLAGS-iogets.c): Likewise.
21007 (CFLAGS-iogetwline.c): Likewise.
21008 (CFLAGS-ioputs.c): Likewise.
21009 (CFLAGS-ioseekoff.c): Likewise.
21010 (CFLAGS-ioseekpos.c): Likewise.
21011 (CFLAGS-iosetbuffer.c): Likewise.
21012 (CFLAGS-iosetvbuf.c): Likewise.
21013 (CFLAGS-ioungetc.c): Likewise.
21014 (CFLAGS-ioungetwc.c): Likewise.
21015 (CFLAGS-oldfileops.c): Likewise.
21016 (CFLAGS-oldiofclose.c): Likewise.
21017 (CFLAGS-oldiofgetpos64.c): Likewise.
21018 (CFLAGS-oldiofgetpos.c): Likewise.
21019 (CFLAGS-oldiofsetpos64.c): Likewise.
21020 (CFLAGS-oldiofsetpos.c): Likewise.
21021 (CFLAGS-peekc.c): Likewise.
21022 (CFLAGS-putc.c): Likewise.
21023 (CFLAGS-putchar.c): Likewise.
21024 (CFLAGS-putwc.c): Likewise.
21025 (CFLAGS-putwchar.c): Likewise.
21026 (CFLAGS-rewind.c): Likewise.
21027 (CFLAGS-wfileops.c): Likewise.
21028 (CFLAGS-wgenops.c): Likewise.
21029 (CFLAGS-oldiofopen.c): Likewise.
21030 (CFLAGS-iofopen.c): Likewise.
21031 (CFLAGS-iofopen64.c): Likewise.
21032 (CFLAGS-oldtmpfile.c): Likewise.
21033 (CFLAGS-tst_putwc.c): Likewise.
21034 * locale/Makefile (CFLAGS-md5.c): Likewise.
21035 (CFLAGS-charmap.c): Likewise.
21036 (CFLAGS-locfile.c): Likewise.
21037 (CFLAGS-charmap-dir.c): Likewise.
21038 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21039 (CFLAGS-getpt.c): Likewise.
21040 (CFLAGS-pt_chown.c): Likewise.
21041 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21042 (CFLAGS-obstack.c): Likewise.
21043 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21044 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21045 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21046 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21047 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21048 (CFLAGS-test-tgmath.c): Likewise.
21049 (CFLAGS-test-tgmath2.c): Likewise.
21050 (CFLAGS-test-tgmath-ret.c): Likewise.
21051 (CFLAGS-test-powl.c): Likewise.
21052 (CFLAGS-test-snan.c): Likewise.
21053 (CFLAGS-test-signgam-finite.c): Likewise.
21054 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21055 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21056 (CFLAGS-test-signgam-uchar.c): Likewise.
21057 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21058 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21059 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21060 (CFLAGS-test-signgam-uint.c): Likewise.
21061 (CFLAGS-test-signgam-uint-init.c): Likewise.
21062 (CFLAGS-test-signgam-uint-static.c): Likewise.
21063 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21064 (CFLAGS-test-signgam-ullong.c): Likewise.
21065 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21066 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21067 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21068 (CFLAGS-test-math-cxx11.cc): Likewise.
21069 (CFLAGS-test-math-isinff.cc): Likewise.
21070 (CFLAGS-test-math-iszero.cc): Likewise.
21071 (CFLAGS-test-math-issignaling.cc): Likewise.
21072 (CFLAGS-test-math-iscanonical.cc): Likewise.
21073 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21074 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21075 (CFLAGS-test-flt-eval-method.c): Likewise.
21076 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21077 (CFLAGS-test-finite-macros.c): Likewise.
21078 * misc/Makefile (CFLAGS-select.c): Likewise.
21079 (CFLAGS-tsearch.c): Likewise.
21080 (CFLAGS-lsearch.c): Likewise.
21081 (CFLAGS-pselect.c): Likewise.
21082 (CFLAGS-readv.c): Likewise.
21083 (CFLAGS-writev.c): Likewise.
21084 (CFLAGS-preadv.c): Likewise.
21085 (CFLAGS-preadv64.c): Likewise.
21086 (CFLAGS-pwritev.c): Likewise.
21087 (CFLAGS-pwritev64.c): Likewise.
21088 (CFLAGS-preadv2.c): Likewise.
21089 (CFLAGS-preadv64v2.c): Likewise.
21090 (CFLAGS-pwritev2.c): Likewise.
21091 (CFLAGS-pwritev64v2.c): Likewise.
21092 (CFLAGS-usleep.c): Likewise.
21093 (CFLAGS-syslog.c): Likewise.
21094 (CFLAGS-error.c): Likewise.
21095 (CFLAGS-getpass.c): Likewise.
21096 (CFLAGS-mkstemp.c): Likewise.
21097 (CFLAGS-mkstemp64.c): Likewise.
21098 (CFLAGS-getsysstats.c): Likewise.
21099 (CFLAGS-getusershell.c): Likewise.
21100 (CFLAGS-err.c): Likewise.
21101 (CFLAGS-tst-tsearch.c): Likewise.
21102 (CFLAGS-msync.c): Likewise.
21103 (CFLAGS-fdatasync.c): Likewise.
21104 (CFLAGS-fsync.c): Likewise.
21105 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21106 (CFLAGS-unwind.c): Likewise.
21107 (CFLAGS-unwind-forcedunwind.c): Likewise.
21108 (CFLAGS-pthread_cancel.c): Likewise.
21109 (CFLAGS-pthread_setcancelstate.c): Likewise.
21110 (CFLAGS-pthread_setcanceltype.c): Likewise.
21111 (CFLAGS-cancellation.c): Likewise.
21112 (CFLAGS-libc-cancellation.c): Likewise.
21113 (CFLAGS-pthread_exit.c): Likewise.
21114 (CFLAGS-forward.c): Likewise.
21115 (CFLAGS-pthread_testcancel.c): Likewise.
21116 (CFLAGS-pthread_join.c): Likewise.
21117 (CFLAGS-pthread_timedjoin.c): Likewise.
21118 (CFLAGS-pthread_once.c): Likewise.
21119 (CFLAGS-pthread_cond_wait.c): Likewise.
21120 (CFLAGS-sem_wait.c): Likewise.
21121 (CFLAGS-sem_timedwait.c): Likewise.
21122 (CFLAGS-fcntl.c): Likewise.
21123 (CFLAGS-lockf.c): Likewise.
21124 (CFLAGS-pread.c): Likewise.
21125 (CFLAGS-pread64.c): Likewise.
21126 (CFLAGS-pwrite.c): Likewise.
21127 (CFLAGS-pwrite64.c): Likewise.
21128 (CFLAGS-wait.c): Likewise.
21129 (CFLAGS-waitpid.c): Likewise.
21130 (CFLAGS-sigwait.c): Likewise.
21131 (CFLAGS-msgrcv.c): Likewise.
21132 (CFLAGS-msgsnd.c): Likewise.
21133 (CFLAGS-tcdrain.c): Likewise.
21134 (CFLAGS-open.c): Likewise.
21135 (CFLAGS-open64.c): Likewise.
21136 (CFLAGS-pause.c): Likewise.
21137 (CFLAGS-recv.c): Likewise.
21138 (CFLAGS-send.c): Likewise.
21139 (CFLAGS-accept.c): Likewise.
21140 (CFLAGS-sendto.c): Likewise.
21141 (CFLAGS-connect.c): Likewise.
21142 (CFLAGS-recvfrom.c): Likewise.
21143 (CFLAGS-recvmsg.c): Likewise.
21144 (CFLAGS-sendmsg.c): Likewise.
21145 (CFLAGS-close.c): Likewise.
21146 (CFLAGS-read.c): Likewise.
21147 (CFLAGS-write.c): Likewise.
21148 (CFLAGS-nanosleep.c): Likewise.
21149 (CFLAGS-sigsuspend.c): Likewise.
21150 (CFLAGS-msync.c): Likewise.
21151 (CFLAGS-fdatasync.c): Likewise.
21152 (CFLAGS-fsync.c): Likewise.
21153 (CFLAGS-pt-system.c): Likewise.
21154 (CFLAGS-tst-cleanup2.c): Likewise.
21155 (CFLAGS-tst-cleanupx2.c): Likewise.
21156 (CFLAGS-flockfile.c): Likewise.
21157 (CFLAGS-ftrylockfile.c): Likewise.
21158 (CFLAGS-funlockfile.c): Likewise.
21159 (CFLAGS-tst-initializers1.c): Likewise.
21160 (CFLAGS-tst-initializers1-c89.c): Likewise.
21161 (CFLAGS-tst-initializers1-c99.c): Likewise.
21162 (CFLAGS-tst-initializers1-c11.c): Likewise.
21163 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21164 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21165 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21166 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21167 (CFLAGS-nscd_getgr_r.c): Likewise.
21168 (CFLAGS-nscd_gethst_r.c): Likewise.
21169 (CFLAGS-nscd_getai.c): Likewise.
21170 (CFLAGS-nscd_initgroups.c): Likewise.
21171 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21172 (CFLAGS-pause.c): Likewise.
21173 (CFLAGS-pread.c): Likewise.
21174 (CFLAGS-pread64.c): Likewise.
21175 (CFLAGS-pwrite.c): Likewise.
21176 (CFLAGS-pwrite64.c): Likewise.
21177 (CFLAGS-sleep.c): Likewise.
21178 (CFLAGS-wait.c): Likewise.
21179 (CFLAGS-waitid.c): Likewise.
21180 (CFLAGS-waitpid.c): Likewise.
21181 (CFLAGS-getopt.c): Likewise.
21182 (CFLAGS-wordexp.c): Likewise.
21183 (CFLAGS-sysconf.c): Likewise.
21184 (CFLAGS-pathconf.c): Likewise.
21185 (CFLAGS-fpathconf.c): Likewise.
21186 (CFLAGS-spawn.c): Likewise.
21187 (CFLAGS-spawnp.c): Likewise.
21188 (CFLAGS-spawni.c): Likewise.
21189 (CFLAGS-glob.c): Likewise.
21190 (CFLAGS-glob64.c): Likewise.
21191 (CFLAGS-getconf.c): Likewise.
21192 (CFLAGS-nanosleep.c): Likewise.
21193 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21194 (CFLAGS-getpwent.c): Likewise.
21195 (CFLAGS-getpw.c): Likewise.
21196 (CFLAGS-fgetpwent_r.c): Likewise.
21197 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21198 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21199 (CFLAGS-mq_timedreceive.c): Likewise.
21200 (CFLAGS-mq_timedsend.c): Likewise.
21201 (CFLAGS-clock_nanosleep.c): Likewise.
21202 (CFLAGS-librt-cancellation.c): Likewise.
21203 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21204 (CFLAGS-getspent.c): Likewise.
21205 (CFLAGS-fgetspent.c): Likewise.
21206 (CFLAGS-fgetspent_r.c): Likewise.
21207 (CFLAGS-putspent.c): Likewise.
21208 (CFLAGS-getspnam.c): Likewise.
21209 (CFLAGS-getspnam_r.c): Likewise.
21210 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21211 (CFLAGS-sigsuspend.c): Likewise.
21212 (CFLAGS-sigtimedwait.c): Likewise.
21213 (CFLAGS-sigwait.c): Likewise.
21214 (CFLAGS-sigwaitinfo.c): Likewise.
21215 (CFLAGS-sigreturn.c): Likewise.
21216 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21217 (CFLAGS-vfwprintf.c): Likewise.
21218 (CFLAGS-tmpfile.c): Likewise.
21219 (CFLAGS-tmpfile64.c): Likewise.
21220 (CFLAGS-tempname.c): Likewise.
21221 (CFLAGS-psignal.c): Likewise.
21222 (CFLAGS-vprintf.c): Likewise.
21223 (CFLAGS-cuserid.c): Likewise.
21224 (CFLAGS-errlist.c): Likewise.
21225 (CFLAGS-siglist.c): Likewise.
21226 (CFLAGS-scanf15.c): Likewise.
21227 (CFLAGS-scanf17.c): Likewise.
21228 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21229 (CFLAGS-msort.c): Likewise.
21230 (CFLAGS-qsort.c): Likewise.
21231 (CFLAGS-system.c): Likewise.
21232 (CFLAGS-fmtmsg.c): Likewise.
21233 (CFLAGS-strfmon.c): Likewise.
21234 (CFLAGS-strfmon_l.c): Likewise.
21235 (CFLAGS-strfromd.c): Likewise.
21236 (CFLAGS-strfromf.c): Likewise.
21237 (CFLAGS-strfroml.c): Likewise.
21238 (CFLAGS-tst-bsearch.c): Likewise.
21239 (CFLAGS-tst-qsort.c): Likewise.
21240 (CFLAGS-tst-makecontext2.c): Likewise.
21241 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21242 (CFLAGS-xnlm_prot.c): Likewise.
21243 (CFLAGS-xrstat.c): Likewise.
21244 (CFLAGS-xyppasswd.c): Likewise.
21245 (CFLAGS-xklm_prot.c): Likewise.
21246 (CFLAGS-xrex.c): Likewise.
21247 (CFLAGS-xsm_inter.c): Likewise.
21248 (CFLAGS-xmount.c): Likewise.
21249 (CFLAGS-xrusers.c): Likewise.
21250 (CFLAGS-xspray.c): Likewise.
21251 (CFLAGS-xnfs_prot.c): Likewise.
21252 (CFLAGS-xrquota.c): Likewise.
21253 (CFLAGS-xkey_prot.c): Likewise.
21254 (CFLAGS-auth_unix.c): Likewise.
21255 (CFLAGS-key_call.c): Likewise.
21256 (CFLAGS-pmap_rmt.c): Likewise.
21257 (CFLAGS-clnt_perr.c): Likewise.
21258 (CFLAGS-openchild.c): Likewise.
21259 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21260 (CFLAGS-msgsnd.c): Likewise.
21261 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21262 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21263 (CFLAGS-tzset.c): Likewise.
21264 (CFLAGS-getdate.c): Likewise.
21265 (CFLAGS-test_time.c): Likewise.
21266 (CPPFLAGS-tst-tzname.c): Likewise.
21267 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21268 (CFLAGS-zic.c): Likewise.
21269 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21270 (CFLAGS-wcswidth.c): Likewise.
21271 (CFLAGS-wcstol.c): Likewise.
21272 (CFLAGS-wcstoul.c): Likewise.
21273 (CFLAGS-wcstoll.c): Likewise.
21274 (CFLAGS-wcstoull.c): Likewise.
21275 (CFLAGS-wcstod.c): Likewise.
21276 (CFLAGS-wcstold.c): Likewise.
21277 (CFLAGS-wcstof128.c): Likewise.
21278 (CFLAGS-wcstof.c): Likewise.
21279 (CFLAGS-wcstol_l.c): Likewise.
21280 (CFLAGS-wcstoul_l.c): Likewise.
21281 (CFLAGS-wcstoll_l.c): Likewise.
21282 (CFLAGS-wcstoull_l.c): Likewise.
21283 (CFLAGS-wcstod_l.c): Likewise.
21284 (CFLAGS-wcstold_l.c): Likewise.
21285 (CFLAGS-wcstof128_l.c): Likewise.
21286 (CFLAGS-wcstof_l.c): Likewise.
21287 (CPPFLAGS-tst-wchar-h.c): Likewise.
21288 (CPPFLAGS-wcstold_l.c): Likewise.
21290 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21292 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21294 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21295 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21297 * manual/tunables.texi (Hardware Capability Tunables): Document
21298 glibc.tune.cached_memopt.
21299 * sysdeps/powerpc/cpu-features.c: New file.
21300 * sysdeps/powerpc/cpu-features.h: New file.
21301 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21302 _dl_powerpc_cpu_features.
21303 * sysdeps/powerpc/dl-tunables.list: New file.
21304 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21305 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21306 (INIT_ARCH): Initialize use_aligned_memopt.
21307 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21308 IS_IN(rtld))]: Restrict dl_platform_init availability and
21309 initialize CPU features used by tunables.
21310 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21311 Add memcpy-power8-cached.
21312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21313 __memcpy_power8_cached.
21314 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21318 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21320 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21321 (CFLAGS-noinl-tester.c): Likewise.
21322 (CFLAGS-tst-strlen.c): Likewise.
21323 (CFLAGS-stratcliff.c): Likewise.
21324 (CFLAGS-test-ffs.c): Likewise.
21325 (CFLAGS-tst-inlcall.c): Likewise.
21326 (CFLAGS-tst-xbzero-opt.c): Likewise.
21327 (CFLAGS-memcpy.c): Likewise.
21328 (CFLAGS-wordcopy.c): Likewise.
21330 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21332 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21333 Store r15 on stack and add cfi rule.
21334 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21337 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21340 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21343 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21345 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21346 Add s_sinf-sse2 and s_sinf-fma.
21347 (CFLAGS-s_sinf-fma.c): New.
21348 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21349 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21350 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21352 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21354 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21356 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21359 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21360 part of result to imaginary part of argument if it is zero and the
21361 real part of the argument is not finite.
21362 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21363 of result to real part of argument if it is zero and the imaginary
21364 part of the argument is not finite.
21366 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21369 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21370 and to the list of locales to be built for testing.
21371 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21372 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21373 and build the collation rules upon that.
21375 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21377 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21378 * manual/math.texi (Mathematics): Document support for _Float32.
21379 * math/Makefile (test-types): Add float32.
21380 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21381 * stdlib/Versions (GLIBC_2.27): Likewise.
21382 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21383 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21384 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21385 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21386 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21387 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21388 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21389 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21391 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21392 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21393 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21394 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21395 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21396 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21398 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21399 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21400 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21402 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21403 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21405 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21406 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21407 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21408 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21409 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21427 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21428 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21430 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21431 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21432 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21433 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21434 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21435 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21436 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21445 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21446 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21447 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21448 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21449 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21450 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21451 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21452 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21454 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21456 * stdlib/strtof.c: Include <bits/floatn.h>
21457 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21458 and later undefine as macro. Define as weak alias if
21460 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21461 and later undefine as macro. Define as weak alias if
21463 * stdlib/strtof_l.c: Include <bits/floatn.h>
21464 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21465 and later undefine as macro. Define as weak alias if
21467 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21468 and later undefine as macro. Define as weak alias if
21471 * stdlib/strfromf.c: Include <bits/floatn.h>.
21472 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21473 and later undefine as macro and define as weak alias.
21475 * math/test-float32.h: New file.
21477 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21478 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21479 (libm_alias_float_other_r): Create f32 alias.
21480 (libm_alias_float_r): Use semicolon before call to
21481 libm_alias_float_other_r.
21483 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21484 second argument to libm_alias_float_other.
21485 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21486 second argument to libm_alias_float_other.
21487 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21488 argument to libm_alias_float_other.
21491 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21492 real part of result for argument 0 + i * NaN.
21493 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21494 results for tests of 0 + i * NaN.
21496 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21498 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21500 2017-12-06 David S. Miller <davem@davemloft.net>
21502 * sysdeps/sparc/fpu/libm-test-ulps: Update
21503 exp_{downward,towardzero,upward} ulps.
21505 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21507 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21510 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21512 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21514 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21516 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21519 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21522 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21523 and to the list of locales to be built for testing.
21524 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21525 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21526 and build the collation rules upon that.
21528 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21530 * NEWS: Add sinf to list of optimized functions.
21532 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21534 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21535 (__HAVE_FLOAT32X): Likewise.
21536 * manual/math.texi (Mathematics): Document support for _Float64
21538 * math/Makefile (test-types): Add float64 and float32x.
21539 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21541 * stdlib/Versions (GLIBC_2.27): Likewise.
21542 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21543 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21544 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21547 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21557 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21559 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21560 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21561 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21562 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21563 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21565 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21566 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21567 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21568 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21569 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21586 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21588 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21589 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21590 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21591 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21592 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21593 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21594 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21595 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21604 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21605 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21606 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21607 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21608 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21609 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21610 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21611 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21613 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21615 * bits/floatn-common.h: Include <bits/long-double.h>.
21616 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21617 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21618 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21619 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21620 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21621 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21622 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21623 (__builtin_huge_valf64): Use __builtin_huge_vall.
21624 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21625 (__builtin_inff64): Use __builtin_infl.
21626 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21627 (__builtin_nanf64): Use __builtin_nanl.
21628 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21629 (__builtin_nansf64): Use __builtin_nansl.
21631 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21632 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21633 Carlos O'Donnell <carlos@redhat.com>
21635 * elf/dl-tunables.list: Add elision parameters.
21636 * manual/tunables.texi: Add entries about elision tunable.
21637 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21638 Add callback functions to dynamically enable/disable elision.
21639 Add multiple callbacks functions to set elision parameters.
21640 Deleted __libc_enable_secure check.
21641 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21642 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21643 * configure: Regenerated.
21644 * configure.ac: Option enable_lock_elision was deleted.
21645 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21646 * config.make.in: Remove references to enable_lock_elision.
21647 * manual/install.texi: Elision configure option was removed.
21648 * INSTALL: Regenerated to remove enable_lock_elision.
21650 Disable elision so it can verify error case for destroying a mutex.
21651 * sysdeps/powerpc/nptl/elide.h:
21652 Cleanup ENABLE_LOCK_ELISION check.
21653 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21654 * sysdeps/s390/configure: Regenerated.
21655 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21656 * nptl/tst-mutex8.c:
21657 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21658 * sysdeps/powerpc/powerpc32/sysdep.h:
21659 Deleted all ENABLE_LOCK_ELISION checks.
21660 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21661 * sysdeps/powerpc/sysdep.h: Likewise.
21662 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21663 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21664 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21665 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21666 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21667 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21668 enable-lock-elision.
21670 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21672 * stdlib/strtod.c: Include <bits/floatn.h>.
21673 (BUILD_DOUBLE): New macro.
21674 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21675 (strtof64): Define and later undefine as macro. Define as weak
21676 alias if [!USE_WIDE_CHAR].
21677 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21678 (wcstof64): Define and later undefine as macro. Define as weak
21679 alias if [USE_WIDE_CHAR].
21680 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21681 (strtof32x): Define and later undefine as macro. Define as weak
21682 alias if [!USE_WIDE_CHAR].
21683 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21684 (wcstof32x): Define and later undefine as macro. Define as weak
21685 alias if [USE_WIDE_CHAR].
21686 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21687 (BUILD_DOUBLE): New macro.
21688 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21689 (strtof64_l): Define and later undefine as macro. Define as weak
21690 alias if [!USE_WIDE_CHAR].
21691 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21692 (wcstof64_l): Define and later undefine as macro. Define as weak
21693 alias if [USE_WIDE_CHAR].
21694 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21695 (strtof32x_l): Define and later undefine as macro. Define as weak
21696 alias if [!USE_WIDE_CHAR].
21697 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21698 (wcstof32x_l): Define and later undefine as macro. Define as weak
21699 alias if [USE_WIDE_CHAR].
21701 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21703 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21704 (reduced): Use ones as double instead of integer.
21706 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21708 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21710 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21712 * stdlib/strfromd.c: Include <bits/floatn.h>.
21713 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21714 and later undefine as macro and define as weak alias.
21715 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21718 * math/test-float32x.h: New file.
21719 * math/test-float64.h: Likewise.
21721 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21722 (libm_alias_double_other_r_f64): New macro.
21723 (libm_alias_double_other_r_f32x): Likewise.
21724 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21725 libm_alias_double_other_r_f32x.
21726 (libm_alias_double_r): Use semicolon before call to
21727 libm_alias_double_other_r.
21728 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21730 (libm_alias_double_other_r_f64): New macro.
21731 (libm_alias_double_other_r_f32x): Likewise.
21732 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21733 libm_alias_double_other_r_f32x.
21735 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21737 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21739 (SINF_FUNC): Likewise. Replace floor with simple casts.
21741 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21744 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21745 and to the list of locales to be built for testing.
21746 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21747 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21748 and build the collation rules upon that.
21750 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21752 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21753 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21754 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21755 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21756 instead of __insn__xxx.
21757 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21758 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21759 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21760 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21761 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21762 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21764 2017-12-05 Florian Weimer <fweimer@redhat.com>
21766 Linux: Implement interfaces for memory protection keys
21767 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21769 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21770 * support/xunistd.h (xsysconf): Declare.
21771 * support/xraise.c: New file.
21772 * support/xsigaction.c: Likewise.
21773 * support/xsignal.c: Likewise.
21774 * support/xsysconf.c: Likewise.
21775 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21776 pkey_set, pkey_get, pkey_mprotect.
21777 [misc] (tests): Add tst-pkey.
21778 (tst-pkey): Link with -lpthread.
21779 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21780 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21781 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21782 (PKEY_DISABLE_WRITE): Define.
21783 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21785 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21786 (SEGV_PKUERR): Add.
21787 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21788 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21789 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21790 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21792 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21793 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21794 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21795 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21796 * sysdeps/unix/sysv/linux/**.abilist: Update.
21798 2017-12-05 Florian Weimer <fweimer@redhat.com>
21800 * support/tst-test_compare.c (subprocess): Use long long instead
21801 of long argument for consistent type width across 32-bit and
21802 64-bit architectures.
21803 (do_test): Adjust expected output.
21805 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21807 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21808 (cosf): Define using libm_alias_float.
21809 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21810 (fabsf): Define using libm_alias_float.
21811 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21812 (fmaf): Define using libm_alias_float.
21813 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21814 (rintf): Define using libm_alias_float.
21815 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21816 (sinf): Define using libm_alias_float.
21817 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21818 <libm-alias-float.h>.
21819 (modff): Define using libm_alias_float.
21820 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21821 <libm-alias-float.h>.
21822 (logbf): Define using libm_alias_float.
21823 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21824 <libm-alias-float.h>.
21825 (ceilf): Define using libm_alias_float.
21826 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21827 <libm-alias-float.h>.
21828 (copysignf): Define using libm_alias_float.
21829 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21830 <libm-alias-float.h>.
21831 (floorf): Define using libm_alias_float.
21832 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21833 <libm-alias-float.h>.
21834 (llrintf): Define using libm_alias_float.
21835 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21836 <libm-alias-float.h>.
21837 (llroundf): Define using libm_alias_float.
21838 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21839 <libm-alias-float.h>.
21840 (lrintf): Define using libm_alias_float.
21841 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21842 <libm-alias-float.h>.
21843 (lroundf): Define using libm_alias_float.
21844 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21845 <libm-alias-float.h>.
21846 (nearbyintf): Define using libm_alias_float.
21847 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21848 <libm-alias-float.h>.
21849 (rintf): Define using libm_alias_float.
21850 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21851 <libm-alias-float.h>.
21852 (roundf): Define using libm_alias_float.
21853 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21854 <libm-alias-float.h>.
21855 (truncf): Define using libm_alias_float.
21856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21857 Include <libm-alias-float.h>.
21858 (ceilf): Define using libm_alias_float.
21859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21860 Include <libm-alias-float.h>.
21861 (copysignf): Define using libm_alias_float.
21862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21863 Include <libm-alias-float.h>.
21864 (floorf): Define using libm_alias_float.
21865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21866 Include <libm-alias-float.h>.
21867 (llrintf): Define using libm_alias_float.
21868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21869 Include <libm-alias-float.h>.
21870 (llroundf): Define using libm_alias_float.
21871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21872 Include <libm-alias-float.h>.
21873 (logbf): Define using libm_alias_float.
21874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21875 Include <libm-alias-float.h>.
21876 (lrintf): Define using libm_alias_float.
21877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21878 Include <libm-alias-float.h>.
21879 (lroundf): Define using libm_alias_float.
21880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21881 Include <libm-alias-float.h>.
21882 (modff): Define using libm_alias_float.
21883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21884 Include <libm-alias-float.h>.
21885 (roundf): Define using libm_alias_float.
21886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21887 Include <libm-alias-float.h>.
21888 (truncf): Define using libm_alias_float.
21889 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21890 <libm-alias-float.h>.
21891 (llrintf): Define using libm_alias_float.
21892 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21893 <libm-alias-float.h>.
21894 (llroundf): Define using libm_alias_float.
21895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21896 <libm-alias-float.h>.
21897 (ceilf): Define using libm_alias_float.
21898 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21899 <libm-alias-float.h>.
21900 (floorf): Define using libm_alias_float.
21901 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21902 <libm-alias-float.h>.
21903 (llroundf): Define using libm_alias_float.
21904 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21905 <libm-alias-float.h>.
21906 (lroundf): Define using libm_alias_float.
21907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21908 <libm-alias-float.h>.
21909 (roundf): Define using libm_alias_float.
21910 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21911 <libm-alias-float.h>.
21912 (truncf): Define using libm_alias_float.
21913 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21914 <libm-alias-float.h>.
21915 (copysignf): Define using libm_alias_float.
21916 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21917 <libm-alias-float.h>.
21918 (llrintf): Define using libm_alias_float.
21919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21920 <libm-alias-float.h>.
21921 (llroundf): Define using libm_alias_float.
21922 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21923 <libm-alias-float.h>.
21924 (lrintf): Define using libm_alias_float.
21925 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21926 <libm-alias-float.h>.
21927 (lroundf): Define using libm_alias_float.
21928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21929 <libm-alias-float.h>.
21930 (ceilf): Define using libm_alias_float.
21931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21932 <libm-alias-float.h>.
21933 (copysignf): Define using libm_alias_float.
21934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21935 <libm-alias-float.h>.
21936 (cosf): Define using libm_alias_float.
21937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21938 <libm-alias-float.h>.
21939 (floorf): Define using libm_alias_float.
21940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21941 <libm-alias-float.h>.
21942 (llrintf): Define using libm_alias_float.
21943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21944 <libm-alias-float.h>.
21945 (llroundf): Define using libm_alias_float.
21946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21947 <libm-alias-float.h>.
21948 (logbf): Define using libm_alias_float.
21949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21950 <libm-alias-float.h>.
21951 (modff): Define using libm_alias_float.
21952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21953 <libm-alias-float.h>.
21954 (roundf): Define using libm_alias_float.
21955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21956 <libm-alias-float.h>.
21957 (sinf): Define using libm_alias_float.
21958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21959 <libm-alias-float.h>.
21960 (truncf): Define using libm_alias_float.
21961 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21962 <libm-alias-float.h>.
21963 (ceilf): Define using libm_alias_float.
21964 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21965 <libm-alias-float.h>.
21966 (copysignf): Define using libm_alias_float.
21967 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21968 <libm-alias-float.h>.
21969 (floorf): Define using libm_alias_float.
21970 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21971 <libm-alias-float.h>.
21972 (llrintf): Define using libm_alias_float.
21973 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21974 <libm-alias-float.h>.
21975 (llroundf): Define using libm_alias_float.
21976 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21977 <libm-alias-float.h>.
21978 (nearbyintf): Define using libm_alias_float.
21979 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21980 <libm-alias-float.h>.
21981 (rintf): Define using libm_alias_float.
21982 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21983 <libm-alias-float.h>.
21984 (roundf): Define using libm_alias_float.
21985 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21986 <libm-alias-float.h>.
21987 (truncf): Define using libm_alias_float.
21988 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21989 <libm-alias-float.h>.
21990 (ceilf): Define using libm_alias_float.
21991 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21992 <libm-alias-float.h>.
21993 (floorf): Define using libm_alias_float.
21994 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21995 <libm-alias-float.h>.
21996 (llroundf): Define using libm_alias_float.
21997 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21998 <libm-alias-float.h>.
21999 (roundf): Define using libm_alias_float.
22000 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22001 <libm-alias-float.h>.
22002 (truncf): Define using libm_alias_float.
22003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22004 <libm-alias-float.h>.
22005 (copysignf): Define using libm_alias_float.
22006 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22007 <libm-alias-float.h>.
22008 (llrintf): Define using libm_alias_float.
22009 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22010 <libm-alias-float.h>.
22011 (llroundf): Define using libm_alias_float.
22012 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22013 <libm-alias-float.h>.
22014 (cosf): Define using libm_alias_float.
22015 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22016 <libm-alias-float.h>.
22017 (llrintf): Define using libm_alias_float.
22018 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22019 <libm-alias-float.h>.
22020 (llroundf): Define using libm_alias_float.
22021 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22022 <libm-alias-float.h>.
22023 (sinf): Define using libm_alias_float.
22025 2017-12-04 Florian Weimer <fweimer@redhat.com>
22027 * support/check.h (TEST_COMPARE): Define.
22028 (support_test_compare_failure): Declare.
22029 * support/Makefile (libsupport-routines): Add
22030 support_test_compare_failure.
22031 (tests): Add tst-test_compare.
22032 * support /support_test_compare_failure.c: New file.
22033 * support/tst-test_compare.c: Likewise.
22035 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22038 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22039 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22040 available, this rewrite of the collation rules does reproduce
22041 the test file in the same order.
22043 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22046 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22047 digraphs in the month and day names. Using single code points for
22048 digraphs is deprecated. While there are dedicated Unicode
22049 codepoints, for the digraphs, these are included for backwards
22050 compatibility and modern texts use a sequence of Basic Latin
22051 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22052 This makes the month and day names agree exactly with CLDR now,
22053 CLDR does not use the single code points for the digraphs either.
22055 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22057 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22059 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22061 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22064 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22066 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22067 Define only for libc.so.
22069 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22071 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22072 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22073 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22074 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22077 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22080 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22082 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22085 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22086 PREINIT_FUNCTION_WEAK is nonzero.
22087 (gmon_initializer): New function. Put procedure label for it in
22088 .init_array section.
22089 (_init): Don't call PREINIT_FUNCTION.
22090 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22091 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22092 value when map argument is null.
22094 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22095 depi instruction from PIC pc-relative sequence.
22096 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22097 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22098 (elf_machine_load_address): Likewise.
22099 (elf_machine_runtime_setup): Likewise.
22101 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22103 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22104 <libm-alias-double.h>.
22105 (logb): Define using libm_alias_double.
22106 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22107 <libm-alias-double.h>.
22108 (copysign): Define using libm_alias_double.
22109 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22110 <libm-alias-double.h>.
22111 (llrint): Define using libm_alias_double.
22112 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22113 <libm-alias-double.h>.
22114 (llround): Define using libm_alias_double.
22115 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22116 <libm-alias-double.h>.
22117 (lrint): Define using libm_alias_double.
22118 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22119 <libm-alias-double.h>.
22120 (lround): Define using libm_alias_double.
22121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22122 Include <libm-alias-double.h>.
22123 (copysign): Define using libm_alias_double.
22124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22125 Include <libm-alias-double.h>.
22126 (llrint): Define using libm_alias_double.
22127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22128 Include <libm-alias-double.h>.
22129 (llround): Define using libm_alias_double.
22130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22131 <libm-alias-double.h>.
22132 (logb): Define using libm_alias_double.
22133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22134 Include <libm-alias-double.h>.
22135 (lrint): Define using libm_alias_double.
22136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22137 Include <libm-alias-double.h>.
22138 (lround): Define using libm_alias_double.
22139 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22140 <libm-alias-double.h>.
22141 (llrint): Define using libm_alias_double.
22142 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22143 <libm-alias-double.h>.
22144 (llround): Define using libm_alias_double.
22145 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22146 <libm-alias-double.h>.
22147 (llround): Define using libm_alias_double.
22148 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22149 <libm-alias-double.h>.
22150 (lround): Define using libm_alias_double.
22151 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22152 <libm-alias-double.h>.
22153 (copysign): Define using libm_alias_double.
22154 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22155 <libm-alias-double.h>.
22156 (llrint): Define using libm_alias_double.
22157 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22158 <libm-alias-double.h>.
22159 (llround): Define using libm_alias_double.
22160 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22161 <libm-alias-double.h>.
22162 (lrint): Define using libm_alias_double.
22163 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22164 <libm-alias-double.h>.
22165 (lround): Define using libm_alias_double.
22166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22167 <libm-alias-double.h>.
22168 (copysign): Define using libm_alias_double.
22169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22170 <libm-alias-double.h>.
22171 (llrint): Define using libm_alias_double.
22173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22174 <libm-alias-double.h>.
22175 (llround): Define using libm_alias_double.
22176 (lround): Likewise.
22177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22178 <libm-alias-double.h>.
22179 (logb): Define using libm_alias_double.
22180 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22181 <libm-alias-double.h>.
22182 (copysign): Define using libm_alias_double.
22183 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22184 <libm-alias-double.h>.
22185 (llrint): Define using libm_alias_double.
22187 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22188 <libm-alias-double.h>.
22189 (llround): Define using libm_alias_double.
22190 (lround): Likewise.
22191 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22192 <libm-alias-double.h>.
22193 (llround): Define using libm_alias_double.
22194 (lround): Likewise.
22195 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22196 <libm-alias-double.h>.
22197 (copysign): Define using libm_alias_double.
22198 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22199 <libm-alias-double.h>.
22200 (llrint): Define using libm_alias_double.
22202 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22203 <libm-alias-double.h>.
22204 (llround): Define using libm_alias_double.
22205 (lround): Likewise.
22206 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22207 <libm-alias-double.h>.
22208 (llrint): Define using libm_alias_double.
22210 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22211 <libm-alias-double.h>.
22212 (llround): Define using libm_alias_double.
22213 (lround): Likewise.
22215 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22218 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22219 compat symbol based on llround.
22221 * sysdeps/powerpc/power7/fpu/s_logb.c
22222 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22223 symbol based on __logb, not on logb.
22224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22225 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22227 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22229 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22230 (rint): Define using libm_alias_double.
22231 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22232 <libm-alias-double.h>.
22233 (modf): Define using libm_alias_double.
22234 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22235 <libm-alias-double.h>.
22236 (ceil): Define using libm_alias_double.
22237 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22238 <libm-alias-double.h>.
22239 (floor): Define using libm_alias_double.
22240 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22241 <libm-alias-double.h>.
22242 (nearbyint): Define using libm_alias_double.
22243 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22244 <libm-alias-double.h>.
22245 (rint): Define using libm_alias_double.
22246 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22247 <libm-alias-double.h>.
22248 (round): Define using libm_alias_double.
22249 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22250 <libm-alias-double.h>.
22251 (trunc): Define using libm_alias_double.
22252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22253 <libm-alias-double.h>.
22254 (ceil): Define using libm_alias_double.
22255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22256 Include <libm-alias-double.h>.
22257 (floor): Define using libm_alias_double.
22258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22259 <libm-alias-double.h>.
22260 (modf): Define using libm_alias_double.
22261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22262 Include <libm-alias-double.h>.
22263 (round): Define using libm_alias_double.
22264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22265 Include <libm-alias-double.h>.
22266 (trunc): Define using libm_alias_double.
22267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22268 <libm-alias-double.h>.
22269 (ceil): Define using libm_alias_double.
22270 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22271 <libm-alias-double.h>.
22272 (floor): Define using libm_alias_double.
22273 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22274 <libm-alias-double.h>.
22275 (round): Define using libm_alias_double.
22276 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22277 <libm-alias-double.h>.
22278 (trunc): Define using libm_alias_double.
22279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22280 <libm-alias-double.h>.
22281 (ceil): Define using libm_alias_double.
22282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22283 <libm-alias-double.h>.
22284 (floor): Define using libm_alias_double.
22285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22286 <libm-alias-double.h>.
22287 (modf): Define using libm_alias_double.
22288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22289 <libm-alias-double.h>.
22290 (round): Define using libm_alias_double.
22291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22292 <libm-alias-double.h>.
22293 (trunc): Define using libm_alias_double.
22294 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22295 <libm-alias-double.h>.
22296 (ceil): Define using libm_alias_double.
22297 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22298 <libm-alias-double.h>.
22299 (floor): Define using libm_alias_double.
22300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22301 <libm-alias-double.h>.
22302 (nearbyint): Define using libm_alias_double.
22303 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22304 <libm-alias-double.h>.
22305 (rint): Define using libm_alias_double.
22306 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22307 <libm-alias-double.h>.
22308 (round): Define using libm_alias_double.
22309 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22310 <libm-alias-double.h>.
22311 (trunc): Define using libm_alias_double.
22312 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22313 <libm-alias-double.h>.
22314 (ceil): Define using libm_alias_double.
22315 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22316 <libm-alias-double.h>.
22317 (floor): Define using libm_alias_double.
22318 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22319 <libm-alias-double.h>.
22320 (round): Define using libm_alias_double.
22321 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22322 <libm-alias-double.h>.
22323 (trunc): Define using libm_alias_double.
22325 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22326 (fabs): Define using libm_alias_double.
22327 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22328 (fma): Define using libm_alias_double.
22329 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22330 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22331 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22332 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22334 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22336 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22338 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22339 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22340 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22343 due redirect macro.
22345 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22347 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22349 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22351 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22352 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22353 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22354 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22357 (libm-sysdep_routines): Add s_nearbyintf-generic and
22358 s_nearbyint-generic.
22359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22372 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22383 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22394 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22405 (sysdep_calls): New rule.
22406 (sysdep_routines): Use sysdep_calls as base.
22407 (libm-sysdep_routines): Add generic rule for symbols shared with
22408 libc. Add s_copysign-generic and s_copysign-generic objects.
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22418 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22421 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22422 the list of locales to be built for testing.
22423 * localedata/is_IS.UTF-8.in: New file.
22424 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22427 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22429 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22430 <libm-alias-float.h>.
22431 (fabsf): Define using libm_alias_float.
22433 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22435 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22437 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22439 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22440 <libm-alias-float.h>.
22441 (fabsf): Define using libm_alias_float.
22442 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22443 <libm-alias-float.h>.
22444 (lrintf): Define using libm_alias_float.
22445 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22446 <libm-alias-float.h>.
22447 (rintf): Define using libm_alias_float.
22449 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22450 <libm-alias-double.h>.
22451 (fabs): Define using libm_alias_double.
22452 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22453 <libm-alias-double.h>.
22454 (lrint): Define using libm_alias_double.
22455 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22456 <libm-alias-double.h>.
22457 (rint): Define using libm_alias_double.
22459 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22460 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22461 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22462 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22463 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22464 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22465 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22466 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22467 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22468 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22469 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22470 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22471 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22472 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22473 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22474 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22475 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22476 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22478 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22479 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22480 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22482 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22483 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22484 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22486 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22487 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22488 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22489 s_expm1_template.c.
22490 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22491 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22492 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22494 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22495 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22496 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22497 s_floor_template.c.
22498 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22499 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22500 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22501 s_frexp_template.c.
22502 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22503 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22504 s_lrint_template.c.
22505 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22506 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22507 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22509 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22510 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22511 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22512 s_nearbyint_template.c.
22513 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22514 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22515 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22516 s_remquo_template.c.
22517 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22518 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22519 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22521 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22522 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22523 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22525 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22526 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22527 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22528 s_sincos_template.c.
22529 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22530 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22531 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22533 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22534 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22535 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22537 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22538 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22539 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22540 s_trunc_template.c.
22541 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22542 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22543 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22544 s_atan.c instead of including s_atan.c.
22545 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22546 s_atanf.c instead of including s_atanf.c.
22547 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22548 s_atanl.c instead of including s_atanl.c.
22549 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22550 instead of s_atan.c.
22551 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22552 instead of s_atanf.c.
22553 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22554 instead of s_atanl.c.
22556 * scripts/update-copyrights: Do not handle intl/plural.c
22559 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22562 * configure.ac (BISON): Require to be present.
22563 * configure: Regenerated.
22564 * intl/Makefile (generated): Add plural.c.
22565 [$(BISON) != no]: Make code unconditional.
22566 (plural.c): Change rule to $(objpfx)plural.c.
22567 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22568 * intl/plural.c: Remove.
22569 * manual/install.texi (Tools for Compilation): Document bison as
22571 * INSTALL: Regenerated.
22573 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22575 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22576 <libm-alias-double.h>.
22577 (llrint): Define using libm_alias_double.
22578 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22579 <libm-alias-float.h>.
22580 (llrintf): Define using libm_alias_float.
22581 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22582 <libm-alias-ldouble.h>.
22583 (llrintl): Define using libm_alias_ldouble.
22585 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22586 declare_mgen_alias instead of weak_alias.
22587 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22588 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22589 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22591 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22593 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22595 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22596 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22597 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22599 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22600 Add submul_1-generic.
22601 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22602 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22603 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22605 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22606 Add addmul_1-generic.
22607 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22608 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22609 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22611 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22613 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22614 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22615 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22617 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22619 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22620 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22621 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22623 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22625 According to CLDR, collation rules for Serbian and Bosnian
22626 should be the same as for Croatian.
22629 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22630 and to the list of locales to be built for testing.
22631 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22632 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22633 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22634 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22636 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22638 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22639 to make test case pass.
22640 * localedata/hr_HR.UTF-8.in: Add more test strings.
22642 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22644 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22646 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22648 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22649 the list of locales to built for testing.
22650 * localedata/hr_HR.UTF-8.in: New file.
22652 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22655 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22657 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22658 CLDR (except use ligatures for the digraphs, CLDR does not use
22659 the ligatures), add first_workday, some fixes in the date and time
22661 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22663 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22664 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22665 Add int_p_cs_precedes and int_n_cs_precedes.
22666 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22667 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22669 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22670 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22672 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22673 and lang_lib. Change postal_fmt.
22675 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22677 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22679 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22680 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22681 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22682 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22683 * sysdeps/generic/setjmpP.h: New file.
22684 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22685 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22686 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22687 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22688 Add jmp_buf-ssp.sym.
22689 (tests): Add tst-saved_mask-1.
22691 2017-11-30 Arjun Shankar <arjun@redhat.com>
22695 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22696 instead of request2size.
22698 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22701 (__lllrint): Remove alias.
22702 (lllrint): Likewise.
22703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22704 (__lllrintf): Likewise.
22705 (lllrintf): Likewise.
22707 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22708 <libm-alias-float.h>.
22709 (copysignf): Define using libm_alias_float.
22710 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22711 <libm-alias-float.h>.
22712 (fabsf): Define using libm_alias_float.
22713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22714 Include <libm-alias-float.h>.
22715 (copysignf): Define using libm_alias_float.
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22717 <libm-alias-float.h>.
22718 (fabsf): Define using libm_alias_float.
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22720 <libm-alias-float.h>.
22721 (fdimf): Define using libm_alias_float.
22722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22723 <libm-alias-float.h>.
22724 (fmaf): Define using libm_alias_float.
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22726 <libm-alias-float.h>.
22727 (llrintf): Define using libm_alias_float.
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22729 Include <libm-alias-float.h>.
22730 (nearbyintf): Define using libm_alias_float.
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22732 <libm-alias-float.h>.
22733 (rintf): Define using libm_alias_float.
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22735 <libm-alias-float.h>.
22736 (llrintf): Define using libm_alias_float.
22737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22738 <libm-alias-float.h>.
22739 (lrintf): Define using libm_alias_float.
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22741 <libm-alias-float.h>.
22742 (nearbyintf): Define using libm_alias_float.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22744 <libm-alias-float.h>.
22745 (rintf): Define using libm_alias_float.
22746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22747 <libm-alias-float.h>.
22748 (ceilf): Define using libm_alias_float.
22749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22750 <libm-alias-float.h>.
22751 (floorf): Define using libm_alias_float.
22752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22753 <libm-alias-float.h>.
22754 (fmaf): Define using libm_alias_float.
22755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22756 <libm-alias-float.h>.
22757 (lrintf): Define using libm_alias_float.
22758 (llrintf): Likewise.
22759 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22760 <libm-alias-float.h>.
22761 (nearbyintf): Define using libm_alias_float.
22762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22763 <libm-alias-float.h>.
22764 (rintf): Define using libm_alias_float.
22765 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22766 <libm-alias-float.h>.
22767 (truncf): Define using libm_alias_float.
22768 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22769 <libm-alias-float.h>.
22770 (copysignf): Define using libm_alias_float.
22771 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22772 <libm-alias-float.h>.
22773 (fabsf): Define using libm_alias_float.
22774 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22775 <libm-alias-float.h>.
22776 (lrintf): Define using libm_alias_float.
22777 (llrintf): Likewise.
22778 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22779 <libm-alias-float.h>.
22780 (nearbyintf): Define using libm_alias_float.
22781 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22782 <libm-alias-float.h>.
22783 (rintf): Define using libm_alias_float.
22785 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22787 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22788 <libm-alias-double.h>.
22789 (copysign): Define using libm_alias_double.
22790 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22791 <libm-alias-double.h>.
22792 (fabs): Define using libm_alias_double.
22793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22794 Include <libm-alias-double.h>.
22795 (copysign): Define using libm_alias_double.
22796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22797 <libm-alias-double.h>.
22798 (fabs): Define using libm_alias_double.
22799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22800 <libm-alias-double.h>.
22801 (fdim): Define using libm_alias_double.
22802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22803 <libm-alias-double.h>.
22804 (fma): Define using libm_alias_double.
22805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22806 <libm-alias-double.h>.
22807 (llrint): Define using libm_alias_double.
22808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22809 Include <libm-alias-double.h>.
22810 (nearbyint): Define using libm_alias_double.
22811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22812 <libm-alias-double.h>.
22813 (rint): Define using libm_alias_double.
22814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22815 <libm-alias-double.h>.
22816 (fabs): Define using libm_alias_double.
22817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22818 <libm-alias-double.h>.
22819 (llrint): Define using libm_alias_double.
22820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22821 <libm-alias-double.h>.
22822 (nearbyint): Define using libm_alias_double.
22823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22824 <libm-alias-double.h>.
22825 (rint): Define using libm_alias_double.
22826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22827 <libm-alias-double.h>.
22828 (ceil): Define using libm_alias_double.
22829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22830 <libm-alias-double.h>.
22831 (floor): Define using libm_alias_double.
22832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22833 <libm-alias-double.h>.
22834 (fma): Define using libm_alias_double.
22835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22836 <libm-alias-double.h>.
22837 (lrint): Define using libm_alias_double.
22838 (llrint): Likewise.
22839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22840 <libm-alias-double.h>.
22841 (nearbyint): Define using libm_alias_double.
22842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22843 <libm-alias-double.h>.
22844 (rint): Define using libm_alias_double.
22845 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22846 <libm-alias-double.h>.
22847 (trunc): Define using libm_alias_double.
22848 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22849 <libm-alias-double.h>.
22850 (copysign): Define using libm_alias_double.
22851 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22852 <libm-alias-double.h>.
22853 (fabs): Define using libm_alias_double.
22854 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22855 <libm-alias-double.h>.
22856 (lrint): Define using libm_alias_double.
22857 (llrint): Likewise.
22858 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22859 <libm-alias-double.h>.
22860 (nearbyint): Define using libm_alias_double.
22861 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22862 <libm-alias-double.h>.
22863 (rint): Define using libm_alias_double.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22868 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22870 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22871 SPARC --disable-multi-arch glibc variants.
22873 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22874 <libm-alias-float.h>.
22875 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22877 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22878 <libm-alias-float.h>.
22879 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22881 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22882 <libm-alias-float.h>.
22883 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22885 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22886 <libm-alias-float.h>.
22887 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22889 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22890 <libm-alias-float.h>.
22891 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22893 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22894 <libm-alias-float.h>.
22895 (ceilf): Define using libm_alias_float.
22896 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22897 <libm-alias-float.h>.
22898 (floorf): Define using libm_alias_float.
22899 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22900 <libm-alias-float.h>.
22901 (fmaf): Define using libm_alias_float.
22902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22903 <libm-alias-float.h>.
22904 (nearbyintf): Define using libm_alias_float.
22905 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22906 <libm-alias-float.h>.
22907 (rintf): Define using libm_alias_float.
22908 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22909 <libm-alias-float.h>.
22910 (truncf): Define using libm_alias_float.
22911 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22912 (copysignf): Define using libm_alias_float.
22913 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22914 (cosf): Define using libm_alias_float.
22915 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22916 (fabsf): Define using libm_alias_float.
22917 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22918 (fmaxf): Define using libm_alias_float.
22919 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22920 (fminf): Define using libm_alias_float.
22921 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22922 (llrintf): Define using libm_alias_float.
22923 [!__ILP32__] (lrintf): Likewise.
22924 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22925 (sincosf): Define using libm_alias_float.
22926 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22927 (sinf): Define using libm_alias_float.
22928 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22929 (lrintf): Define using libm_alias_float.
22931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22932 <libm-alias-double.h>.
22933 (atan): Define using libm_alias_double.
22934 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22935 <libm-alias-double.h>.
22936 (ceil): Define using libm_alias_double.
22937 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22938 <libm-alias-double.h>.
22939 (floor): Define using libm_alias_double.
22940 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22941 <libm-alias-double.h>.
22942 (fma): Define using libm_alias_double.
22943 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22944 <libm-alias-double.h>.
22945 (nearbyint): Define using libm_alias_double.
22946 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22947 <libm-alias-double.h>.
22948 (rint): Define using libm_alias_double.
22949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22950 <libm-alias-double.h>.
22951 (sin): Define using libm_alias_double.
22953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22954 <libm-alias-double.h>.
22955 (tan): Define using libm_alias_double.
22956 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22957 <libm-alias-double.h>.
22958 (trunc): Define using libm_alias_double.
22959 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22960 (copysign): Define using libm_alias_double.
22961 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22962 (fabs): Define using libm_alias_double.
22963 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22964 (fmax): Define using libm_alias_double.
22965 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22966 (fmin): Define using libm_alias_double.
22967 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22968 (llrint): Define using libm_alias_double.
22969 [!__ILP32__] (lrint): Likewise.
22970 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22971 (lrint): Define using libm_alias_double.
22973 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22976 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22986 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22995 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22996 (libm-sysdep_routines): Add s_nearbyint-generic and
22997 s_nearbyintf-generic objects.
22998 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22999 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23001 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23005 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23006 Add s_finitef-generic and s_finite-generic objects.
23007 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23010 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23012 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23015 Add s_isinff-generic and s_isinf-generic objects.
23016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23023 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23024 Add s_isnanf-generic and s_isnan-generic objects.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23032 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23036 (sysdep_routines): Use sysdep_calls as base.
23037 (libm-sysdep_routines): Add generic rule for symbols shared with
23038 libc. Add s_signbit-generic and s_signbitf-generic objects.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23046 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23048 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23049 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23050 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23051 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23052 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23053 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23054 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23055 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23056 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23057 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23058 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23059 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23060 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23061 libm_alias_float_r.
23062 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23063 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23065 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23066 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23067 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23068 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23069 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23070 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23071 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23072 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23073 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23074 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23076 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23078 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23079 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23080 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23081 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23082 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23083 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23084 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23085 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23086 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23087 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23088 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23089 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23090 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23091 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23092 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23093 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23094 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23095 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23096 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23098 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23099 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23100 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23101 * sysdeps/ia64/fpu/w_lgammaf_main.c
23102 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23103 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23105 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23106 Alexandre Oliva <aoliva@redhat.com>
23109 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23110 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23112 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23114 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23115 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23116 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23117 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23118 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23119 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23120 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23121 instead of “ifdef DIACRIT_BACKWARD”.
23123 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23125 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23126 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23127 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23128 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23129 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23130 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23137 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23138 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23139 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23140 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23141 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23142 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23144 ($(have-as-vis3) == yes): Remove conditional.
23145 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23161 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23162 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23164 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23166 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23167 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23168 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23169 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23170 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23171 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23172 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23173 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23174 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23175 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23176 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23177 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23178 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23179 libm_alias_double_r.
23180 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23182 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23183 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23184 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23185 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23186 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23187 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23188 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23189 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23190 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23191 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23192 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23194 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23196 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23197 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23198 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23199 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23200 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23201 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23202 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23203 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23204 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23205 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23206 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23207 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23208 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23209 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23210 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23211 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23212 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23213 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23215 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23216 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23217 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23218 * sysdeps/ia64/fpu/w_lgamma_main.c
23219 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23220 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23222 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23224 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23225 address of $global$ into %dp register earlier. Use pc-relative
23226 instruction sequence for PIC case.
23228 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23230 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23231 (asinhf): Define using libm_alias_float.
23232 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23233 (atanf): Define using libm_alias_float.
23234 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23235 (cbrtf): Define using libm_alias_float.
23236 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23237 (ceilf): Define using libm_alias_float.
23238 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23239 (copysignf): Define using libm_alias_float.
23240 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23241 (expm1f): Define using libm_alias_float.
23242 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23243 (fabsf): Define using libm_alias_float.
23244 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23245 (floorf): Define using libm_alias_float.
23246 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23247 (fmaxf): Define using libm_alias_float.
23248 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23249 (fminf): Define using libm_alias_float.
23250 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23251 (frexpf): Define using libm_alias_float.
23252 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23253 (llrintf): Define using libm_alias_float.
23254 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23255 (logbf): Define using libm_alias_float.
23256 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23257 (lrintf): Define using libm_alias_float.
23258 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23259 (nearbyintf): Define using libm_alias_float.
23260 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23261 (remquof): Define using libm_alias_float.
23262 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23263 (rintf): Define using libm_alias_float.
23264 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23265 (truncf): Define using libm_alias_float.
23266 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23267 <libm-alias-float.h>.
23268 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23270 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23271 <libm-alias-float.h>.
23272 (expf): Define using libm_alias_float, or libm_alias_float_other
23274 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23275 <libm-alias-float.h>.
23276 (log2f): Define using libm_alias_float, or libm_alias_float_other
23278 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23279 <libm-alias-float.h>.
23280 (logf): Define using libm_alias_float, or libm_alias_float_other
23282 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23283 <libm-alias-float.h>.
23284 (powf): Define using libm_alias_float, or libm_alias_float_other
23286 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23287 <libm-alias-float.h>.
23288 (cosf): Define using libm_alias_float.
23289 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23290 <libm-alias-float.h>.
23291 (sincosf): Define using libm_alias_float.
23292 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23293 <libm-alias-float.h>.
23294 (sinf): Define using libm_alias_float.
23295 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23296 (fmaxf): Define using libm_alias_float.
23297 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23298 (fminf): Define using libm_alias_float.
23299 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23300 <libm-alias-float.h>.
23301 (fmaf): Define using libm_alias_float.
23303 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23304 (asinh): Define using libm_alias_double.
23305 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23306 (atan): Define using libm_alias_double.
23307 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23308 (cbrt): Define using libm_alias_double.
23309 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23310 (ceil): Define using libm_alias_double.
23311 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23312 (copysign): Define using libm_alias_double.
23313 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23314 (expm1): Define using libm_alias_double.
23315 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23316 (fabs): Define using libm_alias_double.
23317 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23318 (fdim): Define using libm_alias_double.
23319 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23320 (floor): Define using libm_alias_double.
23321 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23322 (fmax): Define using libm_alias_double.
23323 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23324 (fmin): Define using libm_alias_double.
23325 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23326 (frexp): Define using libm_alias_double.
23327 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23328 (llrint): Define using libm_alias_double.
23329 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23330 (logb): Define using libm_alias_double.
23331 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23332 (lrint): Define using libm_alias_double.
23333 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23334 (nearbyint): Define using libm_alias_double.
23335 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23336 (remquo): Define using libm_alias_double.
23337 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23338 (rint): Define using libm_alias_double.
23339 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23340 (trunc): Define using libm_alias_double.
23341 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23342 (fmax): Define using libm_alias_double.
23343 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23344 (fmin): Define using libm_alias_double.
23345 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23346 (fma): Define using libm_alias_double.
23348 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23351 * elf/dl-hwcaps.c (ROUND): Removed.
23352 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23353 and ELF_NOTE_NEXT_OFFSET.
23354 * elf/dl-load.c (ROUND): Removed.
23355 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23356 * elf/readelflib.c (ROUND): Removed.
23357 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23358 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23359 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23360 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23362 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23364 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23365 [!__fmaf] (fmaf): Define using libm_alias_float.
23367 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23368 [!__fma] (fma): Define using libm_alias_double.
23369 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23371 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23374 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23375 and implement the collation rules for cs from CLDR on top of that.
23376 * Makefile: Add cs_CZ.UTF-8 to test-input.
23377 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23379 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23381 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23383 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23384 Icarus Sparry <icarus.w.sparry@intel.com>
23386 * benchtests/Makefile:Add BENCHSET to allow subsets of
23387 benchmarks to be run.
23388 * benchtests/README: Add documentation for: Running subsets of
23391 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23393 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23394 range of tests names.
23396 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23397 result from property and remove "max", min" and "mean" from
23398 required properties based on benchtests/bench-skeleton.c.
23400 2017-11-28 Florian Weimer <fweimer@redhat.com>
23403 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23404 due to Internet requirement.
23405 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23407 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23409 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23411 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23412 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23413 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23414 (sysdep_routines): Add memset-ultra1.
23415 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23417 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23418 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23419 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23420 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23421 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23422 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23423 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23424 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23426 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23428 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23429 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23430 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23431 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23432 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23433 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23434 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23436 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23437 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23438 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23439 (sysdep_routines): Add memcpy-ultra1.
23440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23441 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23443 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23445 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23446 (cfloat_versions): Take function argument without trailing 'f'.
23447 Call libm_alias_float_other.
23448 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23449 * sysdeps/alpha/fpu/cargf.c: Likewise.
23450 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23451 * sysdeps/alpha/fpu/conjf.c: Likewise.
23452 * sysdeps/alpha/fpu/crealf.c: Likewise.
23453 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23454 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23455 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23456 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23457 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23458 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23459 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23460 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23461 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23462 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23463 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23464 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23465 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23466 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23467 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23468 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23469 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23470 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23471 (clog10f): Use libm_alias_float_other.
23472 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23473 (ceilf): Define using libm_alias_float.
23474 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23475 (copysignf): Define using libm_alias_float.
23476 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23477 (fabsf): Define using libm_alias_float.
23478 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23479 (floorf): Define using libm_alias_float.
23480 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23481 (fmaxf): Define using libm_alias_float.
23482 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23483 (fminf): Define using libm_alias_float.
23484 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23485 (lrintf): Define using libm_alias_float.
23486 (llrintf): Likewise.
23487 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23488 (lroundf): Define using libm_alias_float.
23489 (llroundf): Likewise.
23490 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23491 (rintf): Define using libm_alias_float.
23492 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23493 (truncf): Define using libm_alias_float.
23495 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23496 (ceilf): Define using libm_alias_float.
23497 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23498 (floorf): Define using libm_alias_float.
23499 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23500 (fmaf): Define using libm_alias_float.
23501 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23502 (fmaxf): Define using libm_alias_float.
23503 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23504 (fminf): Define using libm_alias_float.
23505 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23506 (llrintf): Define using libm_alias_float.
23507 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23508 (llroundf): Define using libm_alias_float.
23509 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23510 (lrintf): Define using libm_alias_float.
23511 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23512 (lroundf): Define using libm_alias_float.
23513 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23514 <libm-alias-float.h>.
23515 (nearbyintf): Define using libm_alias_float.
23516 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23517 (rintf): Define using libm_alias_float.
23518 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23519 (roundf): Define using libm_alias_float.
23520 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23521 (truncf): Define using libm_alias_float.
23523 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23524 (ceil): Define using libm_alias_double.
23525 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23526 (copysign): Define using libm_alias_double.
23527 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23528 (fabs): Define using libm_alias_double.
23529 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23530 (floor): Define using libm_alias_double.
23531 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23532 (fmax): Define using libm_alias_double.
23533 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23534 (fmin): Define using libm_alias_double.
23535 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23536 (lrint): Define using libm_alias_double.
23537 (llrint): Likewise.
23538 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23539 (lround): Define using libm_alias_double.
23540 (llround): Likewise.
23541 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23542 (rint): Define using libm_alias_double.
23543 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23544 (trunc): Define using libm_alias_double.
23546 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23547 (libm_alias_double_r): Add semicolon after weak_alias call.
23549 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23551 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23552 (ceil): Define using libm_alias_double.
23553 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23554 (floor): Define using libm_alias_double.
23555 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23556 (fma): Define using libm_alias_double.
23557 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23558 (fmax): Define using libm_alias_double.
23559 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23560 (fmin): Define using libm_alias_double.
23561 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23562 (llrint): Define using libm_alias_double.
23563 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23564 (llround): Define using libm_alias_double.
23565 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23566 (lrint): Define using libm_alias_double.
23567 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23568 (lround): Define using libm_alias_double.
23569 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23570 (nearbyint): Define using libm_alias_double.
23571 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23572 (rint): Define using libm_alias_double.
23573 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23574 (round): Define using libm_alias_double.
23575 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23576 (trunc): Define using libm_alias_double.
23578 2017-11-27 Florian Weimer <fweimer@redhat.com>
23580 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23581 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23582 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23583 (tests): Add tst-mlock2.
23584 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23585 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23586 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23587 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23588 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23589 for mlock. Document mlock2.
23591 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23593 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23594 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23596 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23598 * sysdeps/x86/Makeconfig: New file.
23599 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23600 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23601 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23602 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23603 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23604 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23605 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23607 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23608 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23609 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23610 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23611 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23612 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23613 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23614 * manual/math.texi (Mathematics): Document support for _Float64x.
23615 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23616 * stdlib/Versions (GLIBC_2.27): Likewise.
23617 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23618 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23619 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23620 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23621 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23622 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23623 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23624 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23625 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23626 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23627 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23628 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23633 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23634 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23635 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23636 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23637 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23638 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23639 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23640 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23641 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23642 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23643 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23644 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23645 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23646 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23648 2017-11-27 Andreas Schwab <schwab@suse.de>
23650 * elf/Makefile (dl-routines): Add dl-sort-maps.
23651 * elf/dl-sort-maps.c: New file.
23652 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23653 (_dl_sort_maps): Declare.
23654 * elf/dl-fini.c (_dl_sort_fini): Remove.
23655 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23656 * elf/dl-close.c (_dl_close_worker): Likewise.
23657 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23659 * elf/dl-open.c (dl_open_worker): Likewise.
23661 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23663 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23664 using libm_alias_float128.
23665 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23667 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23669 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23670 (setpayloadsigf128): Likewise.
23671 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23673 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23676 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23677 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23678 -mfloat128 to CFLAGS.
23680 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23682 (CFLAGS-libm-test-support-float64x.c): New variable.
23683 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23684 $(f128-loader-link) to gnulib-tests.
23686 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23687 (libm_alias_float128_other_r): If
23688 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23690 (libm_alias_float128_r): Add semicolon after weak_alias call.
23691 * sysdeps/generic/libm-alias-ldouble.h
23692 (libm_alias_ldouble_other_r_f128): New macro.
23693 (libm_alias_ldouble_other_r_f64x): Likewise.
23694 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23695 and libm_alias_ldouble_other_r_f64x.
23696 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23697 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23698 (libm_alias_ldouble_other_r_f128): New macro.
23699 (libm_alias_ldouble_other_r_f64x): Likewise.
23700 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23701 and libm_alias_ldouble_other_r_f64x.
23703 * stdlib/strfroml.c: Always include <stdlib.h>.
23704 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23705 undefine as macro and define as weak alias.
23706 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23707 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23709 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23710 Define and later undefine as macro and define as weak alias.
23712 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23713 Define and later undefine as macro. Define as weak alias if
23715 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23716 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23717 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23718 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23719 Define and later undefine as macro. Define as weak alias if
23721 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23722 Define and later undefine as macro. Define as weak alias if
23724 * sysdeps/ieee754/float128/strtof128_l.c
23725 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23726 Define and later undefine as macro. Define as weak alias if
23728 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23729 Define and later undefine as macro. Define as weak alias if
23731 * sysdeps/ieee754/ldbl-128/strtold_l.c
23732 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23733 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23734 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23735 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23736 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23737 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23738 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23739 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23740 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23741 * sysdeps/ieee754/ldbl-96/strtold_l.c
23742 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23743 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23744 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23745 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23747 * math/test-float64x.h: New file.
23748 * math/Makefile (type-float64x-yes): New variable.
23749 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23751 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23752 function-like macro.
23753 (min_of_type_): Likewise.
23754 (min_of_type_l): Likewise.
23755 (min_of_type_f128): Likewise.
23756 (min_of_type): Pass () as last argument of __MATH_TG.
23758 * stdlib/tst-strtod-round-skeleton.c
23759 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23762 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23763 for combinations of long double with _Float64 and _Float64x.
23765 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23766 (__DECL_SIMD_cosf32): Likewise.
23767 (__DECL_SIMD_cosf64): Likewise.
23768 (__DECL_SIMD_cosf32x): Likewise.
23769 (__DECL_SIMD_cosf64x): Likewise.
23770 (__DECL_SIMD_cosf128x): Likewise.
23771 (__DECL_SIMD_sinf16): Likewise.
23772 (__DECL_SIMD_sinf32): Likewise.
23773 (__DECL_SIMD_sinf64): Likewise.
23774 (__DECL_SIMD_sinf32x): Likewise.
23775 (__DECL_SIMD_sinf64x): Likewise.
23776 (__DECL_SIMD_sinf128x): Likewise.
23777 (__DECL_SIMD_sincosf16): Likewise.
23778 (__DECL_SIMD_sincosf32): Likewise.
23779 (__DECL_SIMD_sincosf64): Likewise.
23780 (__DECL_SIMD_sincosf32x): Likewise.
23781 (__DECL_SIMD_sincosf64x): Likewise.
23782 (__DECL_SIMD_sincosf128x): Likewise.
23783 (__DECL_SIMD_logf16): Likewise.
23784 (__DECL_SIMD_logf32): Likewise.
23785 (__DECL_SIMD_logf64): Likewise.
23786 (__DECL_SIMD_logf32x): Likewise.
23787 (__DECL_SIMD_logf64x): Likewise.
23788 (__DECL_SIMD_logf128x): Likewise.
23789 (__DECL_SIMD_expf16): Likewise.
23790 (__DECL_SIMD_expf32): Likewise.
23791 (__DECL_SIMD_expf64): Likewise.
23792 (__DECL_SIMD_expf32x): Likewise.
23793 (__DECL_SIMD_expf64x): Likewise.
23794 (__DECL_SIMD_expf128x): Likewise.
23795 (__DECL_SIMD_powf16): Likewise.
23796 (__DECL_SIMD_powf32): Likewise.
23797 (__DECL_SIMD_powf64): Likewise.
23798 (__DECL_SIMD_powf32x): Likewise.
23799 (__DECL_SIMD_powf64x): Likewise.
23800 (__DECL_SIMD_powf128x): Likewise.
23802 * stdlib/Versions (libc): Move entries for wcstof128 and
23803 wcstof128_l to ....
23804 * wcsmbs/Versions (libc): ... here.
23805 Include <float128-abi.h>.
23807 2017-11-24 Florian Weimer <fweimer@redhat.com>
23809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23810 bits/mman-shared.h.
23811 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23812 <bits/mman-shared.h>.
23813 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23815 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23816 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23817 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23818 <bits/mman-shared.h>.
23820 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23823 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23824 posix_memalign/free.
23825 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23827 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23830 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23831 and implement the collation rules for pl from CLDR on top of that.
23832 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23833 of locales to be built for testing.
23834 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23836 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23838 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23839 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23840 libm_alias_ldouble_other.
23841 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23842 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23843 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23844 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23845 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23846 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23847 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23848 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23849 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23850 libm_alias_ldouble_r.
23851 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23852 libm_alias_ldouble_other.
23853 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23854 (log10l): Likewise.
23855 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23856 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23857 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23858 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23859 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23860 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23861 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23862 (atan2l): Likewise.
23863 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23864 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23865 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23866 libm_alias_ldouble.
23867 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23869 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23870 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23871 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23873 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23874 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23875 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23876 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23877 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23878 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23879 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23880 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23881 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23882 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23883 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23884 libm_alias_ldouble.
23885 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23886 libm_alias_ldouble_other.
23887 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23888 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23889 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23890 libm_alias_ldouble.
23891 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23892 libm_alias_ldouble_other.
23893 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23894 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23895 * sysdeps/ia64/fpu/w_lgammal_main.c
23896 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23897 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23899 2017-11-23 Florian Weimer <fweimer@redhat.com>
23901 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23902 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23903 alike. Remove freeres marker.
23904 * malloc/arena.c (arena_thread_freeres): Call
23905 tcache_thread_shutdown.
23907 2017-11-23 Florian Weimer <fweimer@redhat.com>
23910 Export nscd hash function as __nss_hash.
23911 * include/nss.h (__nss_hash): Declare.
23912 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23914 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23915 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23917 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23918 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23919 * nss/Makefiles (routines): Add nss_hash.
23920 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23921 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23922 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23923 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23925 2017-11-23 Florian Weimer <fweimer@redhat.com>
23928 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23929 Return error code, not -1.
23930 * signal/tst-sigwait-eintr.c: New file.
23931 * signal/Makefile (tests): Add tst-sigwait-eintr.
23933 2017-11-23 Florian Weimer <fweimer@redhat.com>
23935 Linux: Add memfd_create system call wrapper
23936 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23938 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23939 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23940 [__USE_GNU] (memfd_create): Declare.
23941 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23942 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23943 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23944 * sysdeps/unix/sysv/linux/**.abilist: Update.
23945 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23947 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23949 * localedata/gen-locale.sh: Fix typo in variable name.
23951 * resolv/res_debug.c (p_secstodate): Condition definition on
23952 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23953 directly as __p_secstodate, and as a compat symbol. Do not use
23954 libresolv_hidden_def.
23955 * resolv/resolv.h (p_secstodate): Remove macro and function
23957 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23958 using p_secstodate.
23959 * include/resolv.h (__p_secstodate): Do not use
23960 libresolv_hidden_proto.
23961 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23962 (tests-internal): ... here.
23963 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23964 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23965 and declare and use __p_secstodate and use compat_symbol_reference
23967 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23968 implementation returning 77.
23971 * resolv/res_debug.c: Include <libc-diag.h>.
23972 (p_secstodate): Assert time_t at least as wide as u_long. On
23973 overflow, use integer seconds since the epoch as output, or use
23974 "<overflow>" as output and set errno to EOVERFLOW if integer
23975 seconds since the epoch would be 14 or more characters.
23976 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23978 * resolv/tst-p_secstodate.c: New file.
23979 * resolv/Makefile (tests): Add tst-p_secstodate.
23980 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23982 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23983 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23984 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23986 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23988 * posix/regcomp.c (init_word_char): Add comments.
23990 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23993 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23994 strlen to compute length of ut_user and set trailing NUL byte of
23997 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24000 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24001 using “copy "iso14651_t1"” and then implementing the
24002 collation rules for lv from CLDR on top of that.
24003 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24004 of locales to be built for testing.
24005 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24008 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24010 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24011 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24012 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24013 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24014 [__USE_MISC] (MADV_HWPOISON): New macro.
24015 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24017 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24019 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24020 -Wmissing-braces on GCC 4.9.
24022 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24024 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24025 * sysdeps/s390/s390-32/start.S (_start): Likewise
24026 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24027 (thread_start): Likewise.
24028 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24029 (thread_start): Likewise.
24030 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24031 (__makecontext_ret): Likewise.
24032 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24033 (__makecontext_ret): Likewise.
24035 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24037 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24038 __wcschrnul): Remove attribute_hidden.
24040 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24042 regex: don't assume uint64_t or uint32_t
24043 This avoids -Werror=overflow errors for 32-bit systems in
24044 the 64-bit case. Problem reported by Joseph Myers in:
24045 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24046 Also, when this code is used in Gnulib it ports to platforms
24047 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24048 them, and on some 32-bit compilers there is no uint64_t.
24049 Problem reported by Gianluigi Tiesi in:
24050 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24051 * posix/regcomp.c (init_word_char): Don't assume that the types
24052 uint64_t and uint32_t exist. Adapted from Gnulib patch
24053 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24054 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24056 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24058 * sysdeps/aarch64/memset-reg.h: New file.
24059 * sysdeps/aarch64/memset.S: Use it.
24060 (__memset): Rename to MEMSET macro.
24061 [ZVA_MACRO]: Use zva_macro.
24062 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24063 Add memset_generic and memset_falkor.
24064 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24065 (__libc_ifunc_impl_list): Add memset ifuncs.
24066 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24067 local variable zva_size.
24068 * sysdeps/aarch64/multiarch/memset.c: New file.
24069 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24070 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24071 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24072 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24073 (DCZID_DZP_MASK): New macro.
24074 (DCZID_BS_MASK): Likewise.
24075 (init_cpu_features): Read and set zva_size.
24076 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24077 (struct cpu_features): New member zva_size.
24079 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24080 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24081 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24083 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24084 backwards. Fix timing computation.
24085 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24086 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24087 on memset by N at a time. Fix timing computation.
24089 2017-11-20 Florian Weimer <fweimer@redhat.com>
24091 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24092 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24094 2017-11-19 Florian Weimer <fweimer@redhat.com>
24096 manual: Document mprotect
24097 * manual/memory.texi (Memory Protection): New section.
24098 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24099 documentation of PROT_* flags and reference the Memory Protection
24102 2017-11-19 Florian Weimer <fweimer@redhat.com>
24104 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24105 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24106 (Scatter-Gather): ... to here. Remove misleading comment.
24108 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24110 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24113 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24114 when /proc/<pid>/setgroups does not exist.
24116 2017-11-18 Florian Weimer <fweimer@redhat.com>
24118 * sysdeps/unix/sysv/linux/tst-ttyname.c
24119 (become_root_in_mount_ns): Remove.
24120 (do_in_chroot_1): Call support_enter_mount_namespace.
24121 (do_in_chroot_2): Likewise.
24122 (do_test): Call support_become_root early.
24124 2017-11-18 Florian Weimer <fweimer@redhat.com>
24126 * support/namespace.h (support_enter_mount_namespace): Declare.
24127 * support/support_enter_mount_namespace.c: New file.
24128 * support/Makefile (libsupport-routines): Add
24129 support_enter_mount_namespace.
24131 2017-11-18 Florian Weimer <fweimer@redhat.com>
24133 * support/temp_file.c (support_create_temp_directory): Use
24134 test_dir and do not rely on the presence of the XXXXXX suffix.
24135 * support/temp_file.h (support_create_temp_directory): Update
24137 * support/tst-xreadlink.c (do_test): Adjust.
24138 * support/support_chroot.c (support_chroot_create): Likewise.
24140 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24142 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24144 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24147 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24149 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24150 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24151 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24152 (ceill): Define using libm_alias_ldouble.
24153 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24154 <libm-alias-ldouble.h>.
24155 (copysignl): Define using libm_alias_ldouble.
24156 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24157 (fabsl): Define using libm_alias_ldouble.
24158 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24159 (floorl): Define using libm_alias_ldouble.
24160 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24161 (fmaxl): Define using libm_alias_ldouble.
24162 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24163 (fminl): Define using libm_alias_ldouble.
24164 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24165 (llrintl): Define using libm_alias_ldouble.
24166 (lrintl): Likewise.
24167 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24168 <libm-alias-ldouble.h>.
24169 (nearbyintl): Define using libm_alias_ldouble.
24170 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24171 (truncl): Define using libm_alias_ldouble.
24172 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24173 <libm-alias-ldouble.h>.
24174 (lrintl): Define using libm_alias_ldouble.
24176 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24177 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24178 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24179 (asinhl): Define using libm_alias_ldouble.
24180 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24181 (atanl): Define using libm_alias_ldouble.
24182 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24183 (cbrtl): Define using libm_alias_ldouble.
24184 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24185 (ceill): Define using libm_alias_ldouble.
24186 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24187 (copysignl): Define using libm_alias_ldouble.
24188 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24189 (fabsl): Define using libm_alias_ldouble.
24190 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24191 (floorl): Define using libm_alias_ldouble.
24192 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24193 (fmaxl): Define using libm_alias_ldouble.
24194 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24195 (fminl): Define using libm_alias_ldouble.
24196 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24197 (frexpl): Define using libm_alias_ldouble.
24198 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24199 (llrintl): Define using libm_alias_ldouble.
24200 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24201 (logbl): Define using libm_alias_ldouble.
24202 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24203 (lrintl): Define using libm_alias_ldouble.
24204 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24205 (nearbyintl): Define using libm_alias_ldouble.
24206 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24207 (nextafterl): Define using libm_alias_ldouble.
24208 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24209 (remquol): Define using libm_alias_ldouble.
24210 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24211 (rintl): Define using libm_alias_ldouble.
24212 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24213 (truncl): Define using libm_alias_ldouble.
24214 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24215 (fmaxl): Define using libm_alias_ldouble.
24216 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24217 (fminl): Define using libm_alias_ldouble.
24219 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24220 to C syntax instead of availability and properties of types.
24221 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24222 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24223 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24224 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24225 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24226 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24228 2017-11-17 Florian Weimer <fweimer@redhat.com>
24230 support_become_root: Enable file creation in namespaces.
24231 * support/support_become_root.c (setup_mapping): New function.
24232 (support_become_root): Call it.
24234 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24236 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24239 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24241 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24242 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24244 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24246 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24248 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24251 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24253 * INSTALL: Fix botched up regeneration.
24255 * NEWS: Update sourceare link to https.
24256 * configure.ac: Likewise.
24257 * crypt/md5test-giant.c: Likewise.
24258 * dlfcn/bug-atexit1.c: Likewise.
24259 * dlfcn/bug-atexit2.c: Likewise.
24260 * localedata/README: Likewise.
24261 * malloc/tst-mallocfork.c: Likewise.
24262 * manual/install.texi: Likewise.
24263 * nptl/tst-pthread-getattr.c: Likewise.
24264 * stdio-common/tst-fgets.c: Likewise.
24265 * stdio-common/tst-fwrite.c: Likewise.
24266 * sunrpc/Makefile: Likewise.
24267 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24268 * wcsmbs/tst-mbrtowc2.c: Likewise.
24269 * configure: Regenerate.
24270 * INSTALL: Regenerate.
24272 2017-11-15 Martin Sebor <msebor@redhat.com>
24274 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24275 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24276 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24278 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24281 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24282 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24285 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24286 Defer is_pty check until end of the function.
24287 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24290 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24291 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24292 (ttyname): Likewise.
24293 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24294 (__ttyname_r): Likewise.
24296 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24299 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24301 * manual/terminal.texi (Is It a Terminal):
24302 Mention ENODEV for ttyname and ttyname_r.
24304 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24306 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24307 constant and macro.
24309 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24310 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24311 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24312 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24313 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24314 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24316 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24318 * signal/sigrelse.c (sigrelse): Optimize implementation.
24320 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24321 (__sigpause): Rely on __sigsuspend to implement single thread
24322 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24324 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24326 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24327 kernel version to 4.14.
24329 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24332 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24333 Check if ifname is too long.
24335 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24337 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24339 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24341 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24342 was accidentally lost.
24344 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24346 * localedata/locales/az_IR: Add standard copyright header.
24348 2017-11-15 Florian Weimer <fweimer@redhat.com>
24351 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24352 not just the top one. Output a new "subheaps" statistic.
24354 2017-11-15 Florian Weimer <fweimer@redhat.com>
24357 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24358 under the per-arena lock.
24359 * malloc/Makefile (tests): Add tst-malloc_info.
24360 (tst-malloc_info): Link with libpthread.
24361 * malloc/tst-malloc_info.c: New file.
24363 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24366 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24367 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24368 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24369 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24370 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24371 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24372 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24373 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24374 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24375 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24376 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24377 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24378 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24379 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24380 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24381 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24382 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24383 (__floating_type): Likewise.
24384 (__real_integer_type): Likewise.
24385 (__complex_integer_type): Likewise.
24386 (__expr_is_real): Likewise.
24387 (__tgmath_real_type_sub): Likewise.
24388 (__tgmath_real_type): Likewise.
24389 (__tgmath_complex_type_sub): Likewise.
24390 (__tgmath_complex_type): Likewise.
24391 (__TGMATH_F128): Likewise.
24392 (__TGMATH_CF128): Likewise.
24393 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24398 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24400 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24401 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24402 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24403 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24405 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24406 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24408 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24409 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24410 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24412 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24413 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24414 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24418 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24420 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24421 for stpncpy calls for GCC 8.
24422 (test_strncat): Disable -Wstringop-truncation warning for strncat
24423 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24424 strncat call for GCC 7.
24425 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24427 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24430 * string/bug-strncat1.c: Include <libc-diag.h>.
24431 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24433 2017-11-13 Claude Paroz <claude@2xlibre.net>
24436 * localedata/locales/aa_DJ: Improved readibility by replacing
24437 <Uxxxx> sequences in the ASCII printable range by their ASCII
24438 character equivalents.
24439 * localedata/locales/aa_ER: Likewise.
24440 * localedata/locales/aa_ER@saaho: Likewise.
24441 * localedata/locales/aa_ET: Likewise.
24442 * localedata/locales/af_ZA: Likewise.
24443 * localedata/locales/agr_PE: Likewise.
24444 * localedata/locales/ak_GH: Likewise.
24445 * localedata/locales/am_ET: Likewise.
24446 * localedata/locales/anp_IN: Likewise.
24447 * localedata/locales/ar_AE: Likewise.
24448 * localedata/locales/ar_BH: Likewise.
24449 * localedata/locales/ar_DZ: Likewise.
24450 * localedata/locales/ar_EG: Likewise.
24451 * localedata/locales/ar_IN: Likewise.
24452 * localedata/locales/ar_IQ: Likewise.
24453 * localedata/locales/ar_JO: Likewise.
24454 * localedata/locales/ar_KW: Likewise.
24455 * localedata/locales/ar_LB: Likewise.
24456 * localedata/locales/ar_LY: Likewise.
24457 * localedata/locales/ar_MA: Likewise.
24458 * localedata/locales/ar_OM: Likewise.
24459 * localedata/locales/ar_QA: Likewise.
24460 * localedata/locales/ar_SA: Likewise.
24461 * localedata/locales/ar_SD: Likewise.
24462 * localedata/locales/ar_SS: Likewise.
24463 * localedata/locales/ar_SY: Likewise.
24464 * localedata/locales/ar_TN: Likewise.
24465 * localedata/locales/ar_YE: Likewise.
24466 * localedata/locales/as_IN: Likewise.
24467 * localedata/locales/ast_ES: Likewise.
24468 * localedata/locales/ayc_PE: Likewise.
24469 * localedata/locales/az_AZ: Likewise.
24470 * localedata/locales/az_IR: Likewise.
24471 * localedata/locales/be_BY: Likewise.
24472 * localedata/locales/be_BY@latin: Likewise.
24473 * localedata/locales/bem_ZM: Likewise.
24474 * localedata/locales/ber_DZ: Likewise.
24475 * localedata/locales/ber_MA: Likewise.
24476 * localedata/locales/bg_BG: Likewise.
24477 * localedata/locales/bhb_IN: Likewise.
24478 * localedata/locales/bho_IN: Likewise.
24479 * localedata/locales/bi_VU: Likewise.
24480 * localedata/locales/bn_BD: Likewise.
24481 * localedata/locales/bn_IN: Likewise.
24482 * localedata/locales/bo_CN: Likewise.
24483 * localedata/locales/bo_IN: Likewise.
24484 * localedata/locales/br_FR: Likewise.
24485 * localedata/locales/brx_IN: Likewise.
24486 * localedata/locales/bs_BA: Likewise.
24487 * localedata/locales/byn_ER: Likewise.
24488 * localedata/locales/ca_AD: Likewise.
24489 * localedata/locales/ca_ES: Likewise.
24490 * localedata/locales/ca_FR: Likewise.
24491 * localedata/locales/ca_IT: Likewise.
24492 * localedata/locales/ce_RU: Likewise.
24493 * localedata/locales/chr_US: Likewise.
24494 * localedata/locales/cmn_TW: Likewise.
24495 * localedata/locales/crh_UA: Likewise.
24496 * localedata/locales/cs_CZ: Likewise.
24497 * localedata/locales/csb_PL: Likewise.
24498 * localedata/locales/cv_RU: Likewise.
24499 * localedata/locales/cy_GB: Likewise.
24500 * localedata/locales/da_DK: Likewise.
24501 * localedata/locales/de_AT: Likewise.
24502 * localedata/locales/de_BE: Likewise.
24503 * localedata/locales/de_CH: Likewise.
24504 * localedata/locales/de_DE: Likewise.
24505 * localedata/locales/de_IT: Likewise.
24506 * localedata/locales/de_LI: Likewise.
24507 * localedata/locales/de_LU: Likewise.
24508 * localedata/locales/doi_IN: Likewise.
24509 * localedata/locales/dv_MV: Likewise.
24510 * localedata/locales/dz_BT: Likewise.
24511 * localedata/locales/el_CY: Likewise.
24512 * localedata/locales/el_GR: Likewise.
24513 * localedata/locales/en_AG: Likewise.
24514 * localedata/locales/en_AU: Likewise.
24515 * localedata/locales/en_BW: Likewise.
24516 * localedata/locales/en_CA: Likewise.
24517 * localedata/locales/en_DK: Likewise.
24518 * localedata/locales/en_GB: Likewise.
24519 * localedata/locales/en_HK: Likewise.
24520 * localedata/locales/en_IE: Likewise.
24521 * localedata/locales/en_IL: Likewise.
24522 * localedata/locales/en_IN: Likewise.
24523 * localedata/locales/en_NG: Likewise.
24524 * localedata/locales/en_NZ: Likewise.
24525 * localedata/locales/en_PH: Likewise.
24526 * localedata/locales/en_SG: Likewise.
24527 * localedata/locales/en_US: Likewise.
24528 * localedata/locales/en_ZA: Likewise.
24529 * localedata/locales/en_ZM: Likewise.
24530 * localedata/locales/en_ZW: Likewise.
24531 * localedata/locales/eo: Likewise.
24532 * localedata/locales/es_AR: Likewise.
24533 * localedata/locales/es_BO: Likewise.
24534 * localedata/locales/es_CL: Likewise.
24535 * localedata/locales/es_CO: Likewise.
24536 * localedata/locales/es_CR: Likewise.
24537 * localedata/locales/es_CU: Likewise.
24538 * localedata/locales/es_DO: Likewise.
24539 * localedata/locales/es_EC: Likewise.
24540 * localedata/locales/es_ES: Likewise.
24541 * localedata/locales/es_GT: Likewise.
24542 * localedata/locales/es_HN: Likewise.
24543 * localedata/locales/es_MX: Likewise.
24544 * localedata/locales/es_NI: Likewise.
24545 * localedata/locales/es_PA: Likewise.
24546 * localedata/locales/es_PE: Likewise.
24547 * localedata/locales/es_PR: Likewise.
24548 * localedata/locales/es_PY: Likewise.
24549 * localedata/locales/es_SV: Likewise.
24550 * localedata/locales/es_US: Likewise.
24551 * localedata/locales/es_UY: Likewise.
24552 * localedata/locales/es_VE: Likewise.
24553 * localedata/locales/et_EE: Likewise.
24554 * localedata/locales/eu_ES: Likewise.
24555 * localedata/locales/eu_ES@euro: Likewise.
24556 * localedata/locales/fa_IR: Likewise.
24557 * localedata/locales/ff_SN: Likewise.
24558 * localedata/locales/fi_FI: Likewise.
24559 * localedata/locales/fil_PH: Likewise.
24560 * localedata/locales/fo_FO: Likewise.
24561 * localedata/locales/fr_BE: Likewise.
24562 * localedata/locales/fr_CA: Likewise.
24563 * localedata/locales/fr_CH: Likewise.
24564 * localedata/locales/fr_FR: Likewise.
24565 * localedata/locales/fr_LU: Likewise.
24566 * localedata/locales/fur_IT: Likewise.
24567 * localedata/locales/fy_DE: Likewise.
24568 * localedata/locales/fy_NL: Likewise.
24569 * localedata/locales/ga_IE: Likewise.
24570 * localedata/locales/gd_GB: Likewise.
24571 * localedata/locales/gez_ER: Likewise.
24572 * localedata/locales/gez_ET: Likewise.
24573 * localedata/locales/gl_ES: Likewise.
24574 * localedata/locales/gu_IN: Likewise.
24575 * localedata/locales/gv_GB: Likewise.
24576 * localedata/locales/ha_NG: Likewise.
24577 * localedata/locales/hak_TW: Likewise.
24578 * localedata/locales/he_IL: Likewise.
24579 * localedata/locales/hi_IN: Likewise.
24580 * localedata/locales/hif_FJ: Likewise.
24581 * localedata/locales/hne_IN: Likewise.
24582 * localedata/locales/hr_HR: Likewise.
24583 * localedata/locales/hsb_DE: Likewise.
24584 * localedata/locales/ht_HT: Likewise.
24585 * localedata/locales/hu_HU: Likewise.
24586 * localedata/locales/hy_AM: Likewise.
24587 * localedata/locales/i18n: Likewise.
24588 * localedata/locales/ia_FR: Likewise.
24589 * localedata/locales/id_ID: Likewise.
24590 * localedata/locales/ig_NG: Likewise.
24591 * localedata/locales/ik_CA: Likewise.
24592 * localedata/locales/is_IS: Likewise.
24593 * localedata/locales/it_CH: Likewise.
24594 * localedata/locales/it_IT: Likewise.
24595 * localedata/locales/iu_CA: Likewise.
24596 * localedata/locales/ja_JP: Likewise.
24597 * localedata/locales/ka_GE: Likewise.
24598 * localedata/locales/kk_KZ: Likewise.
24599 * localedata/locales/kl_GL: Likewise.
24600 * localedata/locales/kn_IN: Likewise.
24601 * localedata/locales/ko_KR: Likewise.
24602 * localedata/locales/kok_IN: Likewise.
24603 * localedata/locales/ks_IN: Likewise.
24604 * localedata/locales/ks_IN@devanagari: Likewise.
24605 * localedata/locales/ku_TR: Likewise.
24606 * localedata/locales/kw_GB: Likewise.
24607 * localedata/locales/ky_KG: Likewise.
24608 * localedata/locales/lb_LU: Likewise.
24609 * localedata/locales/lg_UG: Likewise.
24610 * localedata/locales/li_BE: Likewise.
24611 * localedata/locales/li_NL: Likewise.
24612 * localedata/locales/lij_IT: Likewise.
24613 * localedata/locales/ln_CD: Likewise.
24614 * localedata/locales/lo_LA: Likewise.
24615 * localedata/locales/lt_LT: Likewise.
24616 * localedata/locales/lv_LV: Likewise.
24617 * localedata/locales/lzh_TW: Likewise.
24618 * localedata/locales/mag_IN: Likewise.
24619 * localedata/locales/mai_IN: Likewise.
24620 * localedata/locales/mg_MG: Likewise.
24621 * localedata/locales/mhr_RU: Likewise.
24622 * localedata/locales/mi_NZ: Likewise.
24623 * localedata/locales/mk_MK: Likewise.
24624 * localedata/locales/ml_IN: Likewise.
24625 * localedata/locales/mn_MN: Likewise.
24626 * localedata/locales/mni_IN: Likewise.
24627 * localedata/locales/mr_IN: Likewise.
24628 * localedata/locales/ms_MY: Likewise.
24629 * localedata/locales/mt_MT: Likewise.
24630 * localedata/locales/my_MM: Likewise.
24631 * localedata/locales/nan_TW: Likewise.
24632 * localedata/locales/nan_TW@latin: Likewise.
24633 * localedata/locales/nb_NO: Likewise.
24634 * localedata/locales/nds_DE: Likewise.
24635 * localedata/locales/nds_NL: Likewise.
24636 * localedata/locales/ne_NP: Likewise.
24637 * localedata/locales/nhn_MX: Likewise.
24638 * localedata/locales/niu_NU: Likewise.
24639 * localedata/locales/niu_NZ: Likewise.
24640 * localedata/locales/nl_AW: Likewise.
24641 * localedata/locales/nl_BE: Likewise.
24642 * localedata/locales/nl_NL: Likewise.
24643 * localedata/locales/nn_NO: Likewise.
24644 * localedata/locales/nr_ZA: Likewise.
24645 * localedata/locales/nso_ZA: Likewise.
24646 * localedata/locales/oc_FR: Likewise.
24647 * localedata/locales/om_ET: Likewise.
24648 * localedata/locales/om_KE: Likewise.
24649 * localedata/locales/or_IN: Likewise.
24650 * localedata/locales/os_RU: Likewise.
24651 * localedata/locales/pa_IN: Likewise.
24652 * localedata/locales/pa_PK: Likewise.
24653 * localedata/locales/pap_AW: Likewise.
24654 * localedata/locales/pap_CW: Likewise.
24655 * localedata/locales/pl_PL: Likewise.
24656 * localedata/locales/ps_AF: Likewise.
24657 * localedata/locales/pt_BR: Likewise.
24658 * localedata/locales/pt_PT: Likewise.
24659 * localedata/locales/quz_PE: Likewise.
24660 * localedata/locales/raj_IN: Likewise.
24661 * localedata/locales/ro_RO: Likewise.
24662 * localedata/locales/ru_RU: Likewise.
24663 * localedata/locales/ru_UA: Likewise.
24664 * localedata/locales/rw_RW: Likewise.
24665 * localedata/locales/sa_IN: Likewise.
24666 * localedata/locales/sat_IN: Likewise.
24667 * localedata/locales/sc_IT: Likewise.
24668 * localedata/locales/sd_IN: Likewise.
24669 * localedata/locales/sd_IN@devanagari: Likewise.
24670 * localedata/locales/se_NO: Likewise.
24671 * localedata/locales/sgs_LT: Likewise.
24672 * localedata/locales/shs_CA: Likewise.
24673 * localedata/locales/si_LK: Likewise.
24674 * localedata/locales/sid_ET: Likewise.
24675 * localedata/locales/sk_SK: Likewise.
24676 * localedata/locales/sl_SI: Likewise.
24677 * localedata/locales/sm_WS: Likewise.
24678 * localedata/locales/so_DJ: Likewise.
24679 * localedata/locales/so_ET: Likewise.
24680 * localedata/locales/so_KE: Likewise.
24681 * localedata/locales/so_SO: Likewise.
24682 * localedata/locales/sq_AL: Likewise.
24683 * localedata/locales/sq_MK: Likewise.
24684 * localedata/locales/sr_ME: Likewise.
24685 * localedata/locales/sr_RS: Likewise.
24686 * localedata/locales/sr_RS@latin: Likewise.
24687 * localedata/locales/ss_ZA: Likewise.
24688 * localedata/locales/st_ZA: Likewise.
24689 * localedata/locales/sv_FI: Likewise.
24690 * localedata/locales/sv_SE: Likewise.
24691 * localedata/locales/sw_KE: Likewise.
24692 * localedata/locales/sw_TZ: Likewise.
24693 * localedata/locales/szl_PL: Likewise.
24694 * localedata/locales/ta_IN: Likewise.
24695 * localedata/locales/ta_LK: Likewise.
24696 * localedata/locales/tcy_IN: Likewise.
24697 * localedata/locales/te_IN: Likewise.
24698 * localedata/locales/tg_TJ: Likewise.
24699 * localedata/locales/th_TH: Likewise.
24700 * localedata/locales/the_NP: Likewise.
24701 * localedata/locales/ti_ER: Likewise.
24702 * localedata/locales/ti_ET: Likewise.
24703 * localedata/locales/tig_ER: Likewise.
24704 * localedata/locales/tk_TM: Likewise.
24705 * localedata/locales/tl_PH: Likewise.
24706 * localedata/locales/tn_ZA: Likewise.
24707 * localedata/locales/to_TO: Likewise.
24708 * localedata/locales/tpi_PG: Likewise.
24709 * localedata/locales/tr_CY: Likewise.
24710 * localedata/locales/tr_TR: Likewise.
24711 * localedata/locales/ts_ZA: Likewise.
24712 * localedata/locales/tt_RU: Likewise.
24713 * localedata/locales/tt_RU@iqtelif: Likewise.
24714 * localedata/locales/ug_CN: Likewise.
24715 * localedata/locales/uk_UA: Likewise.
24716 * localedata/locales/unm_US: Likewise.
24717 * localedata/locales/ur_IN: Likewise.
24718 * localedata/locales/ur_PK: Likewise.
24719 * localedata/locales/uz_UZ: Likewise.
24720 * localedata/locales/uz_UZ@cyrillic: Likewise.
24721 * localedata/locales/ve_ZA: Likewise.
24722 * localedata/locales/vi_VN: Likewise.
24723 * localedata/locales/wa_BE: Likewise.
24724 * localedata/locales/wae_CH: Likewise.
24725 * localedata/locales/wal_ET: Likewise.
24726 * localedata/locales/wo_SN: Likewise.
24727 * localedata/locales/xh_ZA: Likewise.
24728 * localedata/locales/yi_US: Likewise.
24729 * localedata/locales/yo_NG: Likewise.
24730 * localedata/locales/yue_HK: Likewise.
24731 * localedata/locales/yuw_PG: Likewise.
24732 * localedata/locales/zh_CN: Likewise.
24733 * localedata/locales/zh_HK: Likewise.
24734 * localedata/locales/zh_SG: Likewise.
24735 * localedata/locales/zh_TW: Likewise.
24736 * localedata/locales/zu_ZA: Likewise.
24738 2017-11-13 Florian Weimer <fweimer@redhat.com>
24740 * support/next_to_fault.h, support/next_to_fault.c: New files.
24741 * support/Makefile (libsupport-routines): Add next_to_fault.
24742 * resolv/tst-inet_pton.c (struct next_to_fault)
24743 (next_to_fault_allocate, next_to_fault_free): Remove.
24744 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24746 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24748 * elf/dl-support.c: Include <dl-procruntime.c>.
24749 * include/link.h: Include <link_map.h>.
24750 * sysdeps/generic/dl-procruntime.c: New file.
24751 * sysdeps/generic/link_map.h: Likewise.
24752 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24753 the writable ld.so namespace.
24755 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24757 timezone: pacify GCC -Wstringop-truncation
24758 Problem reported by Martin Sebor in:
24759 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24760 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24762 2017-11-12 Florian Weimer <fweimer@redhat.com>
24764 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24766 (tests): Add tst-xreadlink.
24767 * support/support.h (xstrndup): Declare.
24768 * support/xunistd.h (xunlink, xreadlink): Declare.
24769 * support/temp_file.h (support_create_temp_directory): Declare.
24770 * support/temp_file.c (support_create_temp_directory): New function.
24771 * support/support_chroot.c (support_chroot_create): Use it.
24772 * support/xreadlink.c: New file.
24773 * support/xstrndup.c: Likewise.
24774 * support/xunlink.c: Likewise.
24775 * support/tst-xreadlink.c: Likewise.
24777 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24779 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24781 2017-11-11 Florian Weimer <fweimer@redhat.com>
24785 * resolv/res_comp.c (printable_string, binary_hnok)
24786 (binary_leading_dash): New functions.
24787 (res_hnok): Reimplement using these functions and ns_name_pton.
24788 (res_ownok): Likewise.
24789 (res_mailok): Reimplement using printable_string, ns_name_pton and
24791 (res_dnok): Reimplement using printable_string and ns_name_pton.
24792 * resolv/tst-res_hnok.c (tests): Add additional tests.
24793 (LETTERDIGITS, PRINTABLE): Define.
24794 (do_test): Adjust one_char results.
24796 2017-11-11 Florian Weimer <fweimer@redhat.com>
24799 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24800 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24802 2017-11-11 Florian Weimer <fweimer@redhat.com>
24804 * resolv/tst-ns_name_pton.c: New file.
24805 * resolv/Makefile (tests): Add tst-ns_name_pton.
24806 (tst-ns_name_pton): Link against libresolv.
24808 2017-11-11 Florian Weimer <fweimer@redhat.com>
24810 * resolv/tst-res_hnok.c: New file.
24811 * resolv/Makefile (tests): Add tst-res_hnok.
24812 (tst-res_hnok): Link against libresolv.
24814 2017-11-11 Florian Weimer <fweimer@redhat.com>
24816 * resolv/tst-resolv-network.c: Use test framework instead explicit
24819 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24821 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24822 <jmp_buf-macros.h>.
24823 [!_ISOMAC] (STR_HELPER): New.
24824 [!_ISOMAC] (STR): Likewise.
24825 [!_ISOMAC] (TEST_SIZE): Likewise.
24826 [!_ISOMAC] (TEST_ALIGN): Likewise.
24827 [!_ISOMAC] (TEST_OFFSET): Likewise.
24828 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24829 field offsets of jmp_buf as well as sigjmp_buf.
24830 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24831 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24832 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24833 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24834 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24835 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24836 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24837 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24838 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24839 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24841 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24843 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24848 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24849 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24850 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24851 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24852 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24857 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24858 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24859 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24861 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24865 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24867 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24869 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24871 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24873 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24875 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24877 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24879 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24881 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24883 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24885 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24887 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24889 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24891 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24893 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24895 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24897 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24899 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24901 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24903 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24905 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24907 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24909 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24911 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24913 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24915 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24917 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24919 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24921 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24923 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24925 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24927 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24929 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24931 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24933 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24935 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24937 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24939 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24941 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24943 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24945 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24946 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24947 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24948 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24949 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24950 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24951 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24953 * stdlib/tst-strtod.h (F16): New macro.
24959 (IF_FLOAT16): Likewise.
24960 (IF_FLOAT32): Likewise.
24961 (IF_FLOAT64): Likewise.
24962 (IF_FLOAT32X): Likewise.
24963 (IF_FLOAT64X): Likewise.
24964 (IF_FLOAT128X): Likewise.
24965 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24966 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24967 (STRTOD_TEST_FOREACH): Likewise.
24968 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24969 (CHOOSE_f64): Likewise.
24970 (CHOOSE_f32x): Likewise.
24971 (CHOOSE_f64x): Likewise.
24973 2017-11-07 Andreas Schwab <schwab@suse.de>
24975 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24977 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24980 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24982 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24985 2017-11-07 Claude Paroz <claude@2xlibre.net>
24988 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24990 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24992 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24995 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24998 * nptl/allocatestack.c (allocate_stack): Check if
24999 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25000 __PTHREAD_MUTEX_HAVE_PREV is defined.
25001 * nptl/descr.h (pthread): Likewise.
25002 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25004 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25005 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25006 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25007 * sysdeps/nptl/bits/thread-shared-types.h
25008 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25010 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25011 of __WORDSIZE for internal layout.
25012 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25013 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25014 instead of __WORDSIZE whether to use an union for __spins and __list
25016 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25018 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25019 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25021 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25022 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25024 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25025 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25027 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25028 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25030 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25031 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25033 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25034 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25036 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25037 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25039 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25040 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25042 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25043 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25045 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25046 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25048 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25049 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25051 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25052 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25054 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25055 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25057 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25058 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25060 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25061 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25064 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25066 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25067 checks for expected input type size.
25068 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25069 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25071 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25072 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25073 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25074 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25075 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25076 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25077 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25078 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25079 superflous runtime assert check.
25080 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25082 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25084 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25086 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25088 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25090 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25092 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25093 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25094 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25096 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25098 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25100 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25102 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25104 * nptl/pthread_attr_setinheritsched.c
25105 (__pthread_attr_setinheritsched): Likewise.
25106 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25108 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25110 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25111 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25112 __old_pthread_attr_setstack): Likewise.
25113 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25115 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25117 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25119 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25120 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25122 * nptl/tst-typesizes.c: Remove file.
25124 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25125 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25126 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25127 checks for internal pthread_mutex_t offsets.
25128 * sysdeps/aarch64/nptl/pthread-offsets.h
25129 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25130 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25131 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25132 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25133 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25134 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25135 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25136 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25137 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25138 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25139 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25140 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25141 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25142 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25143 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25144 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25145 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25146 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25148 2017-11-07 Florian Weimer <fweimer@redhat.com>
25150 * bits/mman-linux.h: Move ...
25151 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25153 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25156 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25158 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25159 Redefine STRNLEN as __strnlen_power8.
25161 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25163 * signal/sighold.c (sighold): Optimize implementation.
25165 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25166 __NR_rt_sigqueueinfo.
25168 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25170 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25171 assume __NR_rt_sigtimedwait.
25172 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25173 and add LIBC_CANCEL_HANDLED for cancellation marking.
25174 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25176 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25177 (sysdeps_routines): Add memchr_noneon.
25178 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25179 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25180 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25181 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25182 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25183 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25184 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25186 * sysdeps/arm/arm-ifunc.h: New file.
25187 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25188 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25189 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25190 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25191 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25192 (__memcpy_neon): Avoid create hidden alias.
25193 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25194 (__memcpy_vfp): Likewise.
25195 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25196 (sysdep_routines): Add memcpy_arm.
25197 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25199 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25202 * Makerules (make-link-multidir): New.
25203 * config.make.in (multidir): New.
25204 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25205 * configure: Regenerated.
25206 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25207 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25208 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25211 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25214 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25215 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25217 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25219 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25222 2017-11-04 Florian Weimer <fweimer@redhat.com>
25224 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25226 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25228 * math/math.h [__HAVE_DISTINCT_FLOAT16
25229 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25230 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25231 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25232 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25233 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25234 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25235 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25236 (__MATH_TG_F32): New macro.
25237 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25238 (__MATH_TG_F64X): Likewise.
25239 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25240 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25242 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25244 * po/de.po: Update translations.
25245 * po/ru.po: Likewise.
25247 2017-11-03 Florian Weimer <fweimer@redhat.com>
25249 * manual/filesys.texi (Hard Links): Document linkat.
25251 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25253 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25254 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25255 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25256 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25257 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25258 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25259 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25260 the same as _Float128.
25261 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25262 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25263 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25266 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25268 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25270 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25272 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25273 (strtof32x): Likewise.
25274 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25275 (strtof64x): Likewise.
25276 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25277 (strtof128x): Likewise.
25278 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25279 (strfromf16): Likewise.
25280 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25281 (strfromf32): Likewise.
25282 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25283 (strfromf64): Likewise.
25284 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25285 (strfromf32x): Likewise.
25286 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25287 (strfromf64x): Likewise.
25288 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25289 (strfromf128x): Likewise.
25290 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25291 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25292 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25293 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25294 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25295 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25297 2017-11-03 Richard Henderson <rth@twiddle.net>
25299 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25301 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25303 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25305 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25307 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25308 DT_TLSDESC_GOT initialization.
25309 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25310 (_dl_tlsdesc_resolve_hold): Likewise.
25311 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25312 (_dl_tlsdesc_resolve_hold): Likewise.
25313 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25314 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25316 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25318 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25320 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25323 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25324 non-lazily for R_ARM_TLS_DESC.
25326 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25329 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25330 R_ARM_TLS_DESC case.
25331 (elf_machine_lazy_rel): Remove the prelink check.
25333 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25335 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25336 DT_TLSDESC_GOT initialization.
25337 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25338 (_dl_tlsdesc_resolve_rela): Likewise.
25339 (_dl_tlsdesc_resolve_hold): Likewise.
25340 (_dl_tlsdesc_undefweak): Remove ldar.
25341 (_dl_tlsdesc_dynamic): Likewise.
25342 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25343 (_dl_tlsdesc_resolve_rela): Likewise.
25344 (_dl_tlsdesc_resolve_hold): Likewise.
25345 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25346 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25347 (_dl_tlsdesc_resolve_rela): Likewise.
25348 (_dl_tlsdesc_resolve_hold): Likewise.
25350 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25352 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25353 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25355 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25357 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25358 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25360 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25362 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25364 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25365 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25366 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25367 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25368 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25369 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25370 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25371 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25372 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25373 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25374 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25376 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25379 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25380 * localedata/locales/tpi_PG: Add standard header.
25382 2017-11-02 Florian Weimer <fweimer@redhat.com>
25384 test-errno-linux: quotactl can fail with EPERM in containers.
25385 * sysdeps/unix/sysv/linux/test-errno-linux.c
25386 (LIST, LIST_FORWARD): New macros.
25387 (check_error_in_list): New function.
25388 (test_wrp_rv): Accept list of permitted error codes.
25389 (test_wrp_rv2): Remove.
25390 (test_wrp): Call test_wrp_rv with list of error codes.
25391 (test_wrp2): Accept list of error codes.
25392 (do_test): Adjust. Allow EPERM for quotactl.
25394 2017-11-02 Florian Weimer <fweimer@redhat.com>
25396 * stdio-common/bug16.c (do_test): Use array_length.
25397 * stdio-common/errlist.c (_sys_nerr): Likewise.
25398 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25399 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25400 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25401 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25402 (do_test): Use array_length.
25403 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25404 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25405 * stdio-common/tst-printf-round.c (do_test): Likewise.
25406 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25407 (CHECK): Use array_length.
25408 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25409 * stdio-common/tstscanf.c (main): Likewise.
25410 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25412 2017-11-02 Florian Weimer <fweimer@redhat.com>
25414 Add array_length and array_end macros.
25415 * include/array_length.h: New file.
25417 2017-11-02 Florian Weimer <fweimer@redhat.com>
25420 * posix/tst-glob-tilde.c (do_noescape): New variable.
25421 (one_test): Process it.
25422 (do_test): Set do_noescape. Add unescaping test case.
25424 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25427 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25428 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25429 with appropriate macros defined and undefined.
25430 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25431 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25432 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25433 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25434 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25435 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25436 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25437 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25438 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25439 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25442 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25443 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25444 that for long double. Do not condition define and undefine of
25445 _Mdouble_complex_ on [__CFLOAT128].
25447 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25449 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25450 of <sysdeps/generic/sysdep.h>.
25451 (ALIGNARG): Removed.
25452 (ASM_SIZE_DIRECTIVE): Likewise.
25455 (ENTRY_CHK): Likewise.
25456 (END_CHK): Likewise.
25457 (syscall_error): Likewise.
25458 (mcount): Likewise.
25459 (PSEUDO_END): Likewise.
25461 (atom_text_section): Likewise.
25462 * sysdeps/x86/sysdep.h: New file.
25463 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25464 of <sysdeps/generic/sysdep.h>.
25465 (ALIGNARG): Removed.
25466 (ASM_SIZE_DIRECTIVE): Likewise.
25469 (ENTRY_CHK): Likewise.
25470 (END_CHK): Likewise.
25471 (syscall_error): Likewise.
25472 (mcount): Likewise.
25473 (PSEUDO_END): Likewise.
25475 (atom_text_section): Likewise.
25477 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25479 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25480 category of LC_CTYPE set to "i18n:2012".
25481 * localedata/locales/i18n_ctype: Regenerate.
25483 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25485 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25486 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25487 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25488 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25490 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25491 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25493 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25495 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25498 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25500 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25502 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25504 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25505 (CMPLXF32X): Likewise.
25506 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25507 (CMPLXF64X): Likewise.
25508 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25509 (CMPLXF128X): Likewise.
25512 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25513 (__MATH_EVAL_FMT2): Define to add 0.0f.
25515 2017-10-31 Alan Modra <amodra@gmail.com>
25517 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25535 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25536 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25541 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25549 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25552 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25555 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25556 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25557 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25559 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25560 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25562 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25563 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25564 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25565 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25566 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25567 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25568 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25569 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25570 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25571 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25572 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25573 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25574 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25575 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25576 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25577 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25578 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25580 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25581 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25582 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25583 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25584 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25585 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25586 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25587 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25590 include sysdep.h and math_ldbl_opt.h.
25592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25593 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25619 2017-10-31 Alan Modra <amodra@gmail.com>
25621 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25622 string/strncase_l.c, not string/strncase.c.
25623 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25624 (libc_hidden_def): Redefine.
25626 2017-10-31 Alan Modra <amodra@gmail.com>
25628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25629 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25630 (__strcasecmp): Don't define.
25632 2017-10-31 Alan Modra <amodra@gmail.com>
25634 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25636 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25637 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25638 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25640 2017-10-31 Alan Modra <amodra@gmail.com>
25642 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25645 2017-10-31 Alan Modra <amodra@gmail.com>
25647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25648 Redefine only when SHARED.
25650 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25652 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25653 Include <bits/math-finite.h> with appropriate macros defined and
25655 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25656 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25657 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25658 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25659 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25661 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25662 [!_Mlong_double_] (_Mlong_double_): Likewise.
25663 [!_Mfloat16_] (_Mfloat16_): Likewise.
25664 [!_Mfloat32_] (_Mfloat32_): Likewise.
25665 [!_Mfloat64_] (_Mfloat64_): Likewise.
25666 [!_Mfloat128_] (_Mfloat128_): Likewise.
25667 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25668 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25669 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25670 (_Mdouble_): Define without indirection through those macros.
25671 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25672 [!_Mfloat128_] (_Mfloat128_): Likewise.
25673 [_Mlong_double_] (_Mlong_double_): Likewise.
25674 (_Mdouble_): Define without indirection through those macros.
25675 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25676 not add -D_Mlong_double_=double.
25677 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25678 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25680 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25682 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25684 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25686 * sysdeps/x86/libc-start.c: Reformat.
25688 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25691 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25692 (1): Renamed to ...
25695 (L(Src2)): Likewise.
25696 (L(1)): Renamed to ...
25699 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25701 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25702 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25703 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25704 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25705 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25706 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25707 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25708 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25709 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25710 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25711 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25712 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25713 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25714 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25715 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25716 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25717 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25718 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25719 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25720 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25721 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25722 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25723 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25724 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25725 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25726 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25727 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25728 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25729 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25730 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25731 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25732 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25733 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25734 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25735 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25736 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25737 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25738 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25739 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25740 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25741 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25742 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25743 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25744 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25745 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25746 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25747 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25748 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25749 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25750 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25751 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25752 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25753 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25754 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25755 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25756 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25757 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25758 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25759 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25760 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25761 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25762 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25763 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25764 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25765 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25766 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25768 2017-10-30 Florian Weimer <fweimer@redhat.com>
25770 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25772 * io/tst-mkdirat.c (do_test): Likewise.
25773 * io/tst-mkfifoat.c (do_test): Likewise.
25774 * io/tst-mknodat.c (do_test): Likewise.
25775 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25776 * locale/programs/locale.c (select_dirs): Likewise.
25777 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25778 * posix/bug-glob2.c (my_readdir): Likewise.
25779 * posix/tst-dir.c (main): Likewise.
25780 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25781 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25783 2017-10-30 Florian Weimer <fweimer@redhat.com>
25785 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25788 2017-10-30 Florian Weimer <fweimer@redhat.com>
25790 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25791 Convert to support/test-driver.c.
25792 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25793 New macro parameters.
25794 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25795 * posix/tst-gnuglob.c: New file.
25796 * posix/tst-gnuglob64.c: Likewise.
25797 * posix/Makefile (tests): Add tst-gnuglob64.
25799 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25802 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25803 and use a better translation for March in “mon”.
25804 * localedata/locales/csb_PL: Use more ASCII to improve the
25805 readability of the source.
25807 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25810 * localedata/locales/km_KH: Use ASCII as much
25811 as possible for better readability of the source and
25812 remove useless comments.
25813 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25814 was commented out and apparently wrong anyway because it was
25815 using Lao characters. If Buddhist era should be used
25816 for km_KH, a native speaker should write the correct formaat
25818 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25819 (According to CLDR, the first weekday for Cambodia is Sunday).
25820 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25821 (These were using Lao characters which must be wrong. If we get
25822 the correct data from a native speaker, we could add it back, until
25823 then it is better not to have name_mr and name_mrs at all than
25826 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25828 * locale/loadlocale.c: Correct size of
25829 _nl_value_type_LC_<category> arrays.
25831 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25833 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25834 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25835 with appropriate macros defined and undefined.
25836 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25837 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25838 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25839 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25840 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25842 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25844 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25847 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25849 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25850 with lowercase letters to make it agree with CLDR.
25852 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25855 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25856 first letters of yesstr and nostr in yesexpr and noexpr,
25857 not for the full words.
25858 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25859 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25860 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25861 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25862 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25863 first letters of yesstr and nostr in yesexpr and noexpr,
25864 until now only English was matched in yesexpr and noexpr.
25865 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25866 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25867 fil but not for tl. As tl and fil are very similar, using fil
25868 is probably better than using English.
25870 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25873 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25874 in yesstr and nostr.
25876 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25878 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25879 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25880 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25882 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25884 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25886 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25888 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25889 (SNANF128X): Likewise.
25891 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25892 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25893 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25894 (HUGE_VAL_F32): Likewise.
25895 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25896 (HUGE_VAL_F64): Likewise.
25897 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25898 (HUGE_VAL_F32X): Likewise.
25899 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25900 (HUGE_VAL_F64X): Likewise.
25901 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25902 (HUGE_VAL_F128X): Likewise.
25904 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25906 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25907 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25908 for the br_FR locale.
25910 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25913 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25915 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25917 * locale/programs/record-status.h: Define globals, and function
25918 prototypes. Move function bodies...
25919 * locale/programs/record-status.c: ... to here. New file.
25920 * iconv/Makefile (iconv_prog-modules): Add record-status.
25921 * locale/Makefile (lib-modules): Likewise.
25922 * iconv/iconv_prog.c: Remove verbose.
25923 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25924 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25925 record a warning about ASCII compatibility.
25926 * locale/programs/ld-monetary.c (monetary_finish): If
25927 warn_int_curr_symbol is true then record a warning about the symbol
25928 not being in our ISO 4217 list.
25929 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25930 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25931 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25932 (OPT_NO_WARN): Define.
25933 (OPT_WARN): Define.
25934 (options): Add entry for --no-warnings, and --warnings.
25935 (set_warnings): New function to enable/disable warnings.
25936 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25937 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25938 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25939 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25940 Pass flags to generate_locale.
25941 (generate_locale): Accept new flag argument and pass it to localedef
25943 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25944 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25946 * localedata/Makefile (test-input-data): Use full file name.
25947 * localedata/da_DK.in: Rename to...
25948 * localedata/da_DK.ISO-8859-1.in: ...this.
25949 * localedata/de_DE.in: Rename to...
25950 * localedata/de_DE.ISO-8859-1.in: ...this.
25951 * localedata/en_US.in: Rename to...
25952 * localedata/en_US.ISO-8859-1.in: ...this.
25953 * localedata/fr_FR.in: Rename to...
25954 * localedata/fr_FR.UTF-8.in: ... this.
25955 * localedata/hr_HR.in: Rename to...
25956 * localedata/hr_HR.ISO-8859-2.in: ...this.
25957 * localedata/hu_HU.in: Rename to...
25958 * localedata/hu_HU.UTF-8.in: ...this.
25959 * localedata/si_LK.in: Rename to...
25960 * localedata/si_LK.UTF-8.in: ...this.
25961 * localedata/sv_SE.in: Rename to...
25962 * localedata/sv_SE.ISO-8859-1.in: ...this.
25963 * localedata/tr_TR.in: Rename to...
25964 * localedata/tr_TR.UTF-8.in: ...this.
25965 * localedata/uk_UA.in: Rename to...
25966 * localedata/uk_UA.UTF-8.in: ...this.
25967 * localedata/sort-test.sh: Test file is locale name with the
25970 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25971 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25973 * localedata/locales/i18n_ctype: Regenerate.
25974 * localedata/locales/tr_TR: Likewise.
25975 * localedata/locales/translit_circle: Likewise.
25976 * localedata/locales/translit_cjk_compat: Likewise.
25977 * localedata/locales/translit_combining: Likewise.
25978 * localedata/locales/translit_compat: Likewise.
25979 * localedata/locales/translit_font: Likewise.
25980 * localedata/locales/translit_fraction: Likewise.
25982 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25985 lxvd2x/stxvd2x with lvx/stvx.
25986 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25988 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25990 * include/alloc_buffer.h: Replace "if if " with "if " in
25992 * sysdeps/mips/memcpy.S: Likkewise.
25993 * sysdeps/mips/memset.S: Likewise.
25994 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25996 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25998 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26001 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26004 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26005 yesexpr and noexpr.
26006 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26007 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26008 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26009 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26010 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26011 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26012 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26014 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26016 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26017 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26018 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26019 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26020 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26021 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26022 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26023 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26024 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26025 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26026 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26027 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26029 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26031 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26032 as possible for better readability of the source.
26033 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26034 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26035 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26036 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26037 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26038 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26039 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26040 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26041 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26042 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26043 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26044 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26045 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26046 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26047 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26048 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26049 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26050 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26051 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26052 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26053 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26054 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26055 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26056 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26057 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26058 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26059 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26060 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26061 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26062 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26063 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26064 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26065 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26066 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26067 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26068 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26069 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26070 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26071 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26072 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26073 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26074 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26075 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26076 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26077 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26078 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26079 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26080 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26081 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26082 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26083 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26084 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26085 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26086 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26087 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26088 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26089 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26090 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26091 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26092 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26093 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26094 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26095 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26096 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26097 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26098 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26099 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26100 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26101 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26102 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26103 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26104 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26105 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26106 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26107 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26108 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26109 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26110 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26111 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26112 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26113 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26114 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26115 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26116 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26117 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26118 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26119 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26120 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26121 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26122 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26123 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26124 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26125 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26126 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26127 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26128 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26129 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26130 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26131 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26132 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26133 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26134 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26135 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26136 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26137 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26138 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26139 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26140 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26141 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26142 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26143 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26144 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26145 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26146 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26147 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26148 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26149 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26150 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26151 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26152 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26153 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26154 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26155 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26156 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26157 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26158 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26159 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26160 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26161 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26162 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26163 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26164 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26165 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26166 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26167 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26168 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26169 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26170 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26171 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26172 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26173 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26174 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26175 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26176 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26177 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26178 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26179 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26180 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26181 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26182 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26183 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26184 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26185 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26186 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26187 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26188 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26189 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26190 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26191 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26192 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26193 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26194 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26195 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26196 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26197 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26198 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26199 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26200 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26201 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26202 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26203 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26204 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26205 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26206 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26208 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26210 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26211 (Use first letters of yesstr and nostr correctly instead of using
26214 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26216 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26217 (Use first letters of yesstr and nostr correctly).
26219 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26221 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26222 also check for the first characters of yesstr and nostr.
26223 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26224 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26226 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26228 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26229 also check for Chinese characters.
26231 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26233 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26234 match also for the contents of yesstr and nostr. As the first letter
26235 of yesstr and nostr is equal, checking only for the first letter
26238 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26240 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26241 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26243 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26245 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26246 of main contributor.
26248 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26250 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26251 instead of using English.
26253 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26255 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26256 by including the first letters of nostr and yesexpr in the regexp.
26257 Also make it more readable by using ASCII where possible.
26259 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26261 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26262 the first letter of nostr in the regexp. It agrees with CLDR now.
26263 Also make it more readable by using ASCII where possible.
26265 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26267 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26268 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26269 these strings contain a U+17D6 (which somewhat looks like a colon)
26270 instead of a real colon to separate the full words for “yes”
26271 and “no” from the single letter responses.
26273 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26275 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26276 it agree with CLDR (include the first letter of yesstr).
26277 Also make it more readable by using ASCII where possible.
26279 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26281 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26282 and improve yesexpr and noexpr. The yesstr and nostr apparently
26283 came from CLDR. And CLDR has a bug there: these strings contain
26284 a U+0903 (which looks like a colon) instead of a real colon
26285 to separate the full words for “yes” and “no” from the single
26288 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26290 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26291 letters of the full yesstr and nostr in yesexpr and noexpr.
26293 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26295 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26296 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26297 * localedata/locales/an_ES: Make source more readable by using ASCII
26300 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26303 * localedata/locales/yuw_PG: New file.
26304 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26305 * locale/iso-639.def: Add Yau (Uruwa).
26307 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26309 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26311 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26313 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26314 (__libc_realloc): Likewise.
26315 (_mid_memalign): Likewise.
26316 (__libc_calloc): Likewise.
26318 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26320 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26321 by adding the generic +1 and -0 as in all other locales.
26322 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26323 day names and make it more readable by using ASCII where possible.
26325 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26327 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26328 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26330 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26332 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26333 WNOHANG in waitpid call.
26335 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26337 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26338 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26340 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26341 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26342 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26343 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26344 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26345 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26346 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26347 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26350 2017-10-23 Michael Collison <michael.collison@arm.com>
26352 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26353 with __builtin_sqrt.
26354 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26355 with __builtin_sqrtf.
26356 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26357 with __builtin_ceil.
26358 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26359 with __builtin_ceilf.
26360 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26361 with __builtin_floor.
26362 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26363 with __builtin_floorf.
26364 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26365 with __builtin_fma.
26366 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26367 with __builtin_fmaf.
26368 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26369 with __builtin_fmax.
26370 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26371 with __builtin_fmaxf.
26372 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26373 with __builtin_fmin.
26374 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26375 with __builtin_fminf.
26376 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26377 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26378 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26379 with builtin_rint and conversion to int.
26380 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26381 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26382 with builtin_llround.
26383 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26384 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26385 with builtin_rint and conversion to long int.
26386 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26387 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26388 with builtin_lround.
26389 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26390 with builtin_lroundf.
26391 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26392 statements with __builtin_nearbyint.
26393 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26394 statements with __builtin_nearbyintf.
26395 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26396 with __builtin_rint.
26397 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26398 with __builtin_rintf.
26399 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26400 with __builtin_round.
26401 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26402 with __builtin_roundf.
26403 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26404 with __builtin_trunc.
26405 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26406 with __builtin_truncf.
26407 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26408 and s_l[l]round[f].c too.
26410 2017-10-23 Alan Modra <amodra@gmail.com>
26412 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26413 Adjust stack after restoring regs. Add missing LR cfi_restore.
26415 2017-10-23 Alan Modra <amodra@gmail.com>
26417 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26418 Move LR save and frame setup/teardown and LR restore to
26419 immediately around memset call. Provide cfi.
26421 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26423 * sysdeps/i386/fpu/e_powf.S: Removed.
26424 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26425 * sysdeps/i386/fpu/w_powf.c: Likewise.
26426 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26427 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26428 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26430 (CFLAGS-e_powf-sse2.c): New.
26431 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26432 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26434 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26436 * sysdeps/i386/fpu/e_log2f.S: Removed.
26437 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26438 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26439 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26440 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26441 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26443 (CFLAGS-e_log2f-sse2.c): New.
26444 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26445 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26447 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26451 (CFLAGS-e_powf-fma.c): New.
26452 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26453 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26455 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26457 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26459 (CFLAGS-e_log2f-fma.c): New.
26460 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26461 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26463 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26465 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26467 (CFLAGS-e_logf-fma.c): New.
26468 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26469 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26471 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26473 * sysdeps/i386/fpu/e_logf.S: Removed.
26474 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26475 * sysdeps/i386/fpu/w_logf.c: Likewise.
26476 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26477 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26478 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26479 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26481 (CFLAGS-e_logf-sse2.c): New.
26482 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26483 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26485 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26487 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26488 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26489 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26490 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26491 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26493 (CFLAGS-e_exp2f-sse2.c): New.
26494 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26495 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26497 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26499 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26501 (CFLAGS-e_exp2f-fma.c): New.
26502 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26503 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26505 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26507 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26508 * sysdeps/i386/fpu/e_expf.S: Likewise.
26509 * sysdeps/i386/fpu/math_errf.c: Likewise.
26510 * sysdeps/i386/fpu/w_expf.c: Likewise.
26511 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26513 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26514 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26515 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26516 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26517 Remove e_expf-ia32.
26518 (CFLAGS-e_expf-sse2.c): New.
26519 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26520 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26522 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26524 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26525 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26526 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26527 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26529 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26531 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26532 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26534 (__redirect_expf): This.
26535 (SYMBOL_NAME): Changed to expf.
26536 (__ieee754_expf): Renamed to ...
26538 (__GI___expf): This.
26539 (__ieee754_expf): Add strong_alias.
26540 (__expf_finite): Likewise.
26542 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26544 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26547 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26550 2017-10-21 Florian Weimer <fweimer@redhat.com>
26552 * posix/Makefile (tests): Add tst-glob-tilde.
26553 (tests-special): Add tst-glob-tilde-mem.out
26554 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26555 (tst-glob-tilde-mem.out): Add mtrace check.
26556 * posix/tst-glob-tilde.c: New file.
26558 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26560 * bits/floatn-common.h: New file.
26561 * math/Makefile (headers): Add bits/floatn-common.h.
26562 * bits/floatn.h: Include <bits/floatn-common.h>.
26563 * sysdeps/ia64/bits/floatn.h: Likewise.
26564 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26565 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26566 * sysdeps/powerpc/bits/floatn.h: Likewise.
26567 * sysdeps/x86/bits/floatn.h: Likewise.
26569 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26571 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26572 indicates whether compiler emits an warning for alias for
26573 functions with incompatible types.
26576 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26577 the auxiliary process is terminated by a signal before calling _exit
26580 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26583 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26585 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26586 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26587 and bit_arch_XSAVEC_Usable if needed.
26588 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26589 and bit_arch_Use_dl_runtime_resolve_opt.
26590 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26592 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26593 (bit_arch_Prefer_No_AVX512): Updated.
26594 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26595 (bit_arch_XSAVEC_Usable): New.
26596 (STATE_SAVE_OFFSET): Likewise.
26597 (STATE_SAVE_MASK): Likewise.
26598 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26599 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26600 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26601 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26602 (index_arch_XSAVEC_Usable): New.
26603 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26604 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26605 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26607 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26608 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26609 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26610 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26611 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26612 _dl_runtime_resolve_xsavec.
26613 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26615 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26616 instead of VEC_SIZE.
26617 (REGISTER_SAVE_BND0): Removed.
26618 (REGISTER_SAVE_BND1): Likewise.
26619 (REGISTER_SAVE_BND3): Likewise.
26620 (REGISTER_SAVE_RAX): Always defined to 0.
26622 (_dl_runtime_resolve_avx): Likewise.
26623 (_dl_runtime_resolve_avx_slow): Likewise.
26624 (_dl_runtime_resolve_avx_opt): Likewise.
26625 (_dl_runtime_resolve_avx512): Likewise.
26626 (_dl_runtime_resolve_avx512_opt): Likewise.
26627 (_dl_runtime_resolve_sse): Likewise.
26628 (_dl_runtime_resolve_sse_vex): Likewise.
26630 (_dl_runtime_resolve_fxsave): Likewise.
26631 (USE_XSAVE): Likewise.
26632 (_dl_runtime_resolve_xsave): Likewise.
26633 (USE_XSAVEC): Likewise.
26634 (_dl_runtime_resolve_xsavec): Likewise.
26635 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26637 (_dl_runtime_resolve_avx512_opt): Likewise.
26638 (_dl_runtime_resolve_avx): Likewise.
26639 (_dl_runtime_resolve_avx_opt): Likewise.
26640 (_dl_runtime_resolve_sse): Likewise.
26641 (_dl_runtime_resolve_sse_vex): Likewise.
26642 (_dl_runtime_resolve_fxsave): New.
26643 (_dl_runtime_resolve_xsave): Likewise.
26644 (_dl_runtime_resolve_xsavec): Likewise.
26646 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26650 * posix/glob.c (__glob): Fix one-byte overflow.
26652 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26654 * malloc/malloc.c (sysdep-cancel.h): Add include.
26656 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26658 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26660 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26662 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26663 (tests): Remove $(objpfx)ga_test depdendency.
26664 * resolv/ga_test.c: Remove file.
26666 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26669 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26670 * localedata/locales/kab_DZ: New file.
26672 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26674 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26675 _dl_relocate_static_pie instead of _dl_start to compute load
26676 address in static PIE.
26678 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26680 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26682 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26685 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26686 * localedata/locales/shn_MM: New file.
26688 2017-10-20 Florian Weimer <fweimer@redhat.com>
26691 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26692 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26693 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26694 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26695 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26696 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26698 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26700 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26702 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26704 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26707 * sysdeps/mips/bits/long-double.h: Move to ....
26708 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26710 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26712 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26714 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26715 H.J. Lu <hongjiu.lu@intel.com>
26718 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26719 GLRO(dl_platform) to NULL.
26720 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26721 (modules-names): Add tst-platformmod-1 and
26722 x86_64/tst-platformmod-2.
26723 (CFLAGS-tst-platform-1.c): New.
26724 (CFLAGS-tst-platformmod-1.c): Likewise.
26725 (CFLAGS-tst-platformmod-2.c): Likewise.
26726 (LDFLAGS-tst-platformmod-2.so): Likewise.
26727 ($(objpfx)tst-platform-1): Likewise.
26728 ($(objpfx)tst-platform-1.out): Likewise.
26729 (tst-platform-1-ENV): Likewise.
26730 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26731 * sysdeps/x86_64/tst-platform-1.c: New file.
26732 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26733 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26735 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26738 * locale/iso-639.def: Add Karbi.
26739 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26740 * localedata/locales/mjw_IN: New file.
26742 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26744 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26745 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26746 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26747 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26748 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26749 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26750 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26752 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26753 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26754 * manual/math.texi (Mathematics): Document additional architecture
26755 support for _Float128.
26756 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26757 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26758 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26759 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26760 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26761 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26762 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26764 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26765 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26766 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26767 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26768 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26769 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26770 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26772 2017-10-18 Renlin Li <renlin.li@arm.com>
26774 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26775 _DYNAMIC symbol to calculate load address.
26777 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26779 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26780 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26782 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26783 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26785 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26788 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26789 and improve readability by using more ASCII.
26790 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26791 and improve readability by using more ASCII.
26793 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26795 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26796 not all targets support atomics on bool.
26798 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26800 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26801 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26803 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26804 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26805 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26806 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26807 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26808 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26810 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26812 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26815 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26818 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26819 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26820 (do_check_remalloced_chunk): Fix build bug.
26821 (do_check_malloc_state): Add assert that checks arena->top.
26822 (malloc_consolidate): Remove initialization.
26823 (int_mallinfo): Remove call to malloc_consolidate.
26824 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26826 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26828 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26829 (have_fastchunks): Remove.
26830 (clear_fastchunks): Remove.
26831 (set_fastchunks): Remove.
26832 (malloc_state): Add have_fastchunks.
26833 (malloc_init_state): Use have_fastchunks.
26834 (do_check_malloc_state): Remove incorrect invariant checks.
26835 (_int_malloc): Use have_fastchunks.
26836 (_int_free): Likewise.
26837 (malloc_consolidate): Likewise.
26839 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26841 * malloc/malloc.c (tcache_put): Inline.
26842 (tcache_get): Inline.
26844 2017-10-17 Jordi Mallach <jordi@gnu.org>
26846 Aurelien Jarno <aurelien@aurel32.net>
26848 * localedata/locales/ca_ES@valencia: New file.
26849 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26851 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26854 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26857 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26859 * scripts/build-many-glibcs.py (Context.add_all_configs):
26860 Add arm-linux-gnueabihf multiarch extra_glibcs.
26862 * sysdeps/generic/ifunc-init.h: New file.
26863 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26865 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26868 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26869 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26870 * stdlib/tst-strfmon_l.c: adapt test case.
26872 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26874 * sysdeps/generic/float128-abi.h: New file.
26875 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26876 non-__prefixed symbols to ....
26877 * math/Versions: ... here. Include <float128-abi.h>.
26878 * stdlib/Versions ... and here. Include <float128-abi.h>
26880 2017-10-16 Florian Weimer <fweimer@redhat.com>
26882 * version.h (VERSION): Switch to ".9000" as the development
26885 2017-10-16 Florian Weimer <fweimer@redhat.com>
26888 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26889 compat_symbol_reference to access non-default version.
26891 2017-10-16 Florian Weimer <fweimer@redhat.com>
26893 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26895 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26897 * include/shlib-compat.h (compat_symbol_reference): Update
26900 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26902 * math/Makefile (test-types): Add
26903 $(type-float128-$(float128-alias-fcts)).
26904 * math/test-float128.h (TYPE_STR): Define conditional on
26905 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26906 (ULP_IDX): Likewise.
26907 (ULP_I_IDX): Likewise.
26909 * stdlib/strtold.c: Include <bits/floatn.h>
26910 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26911 and later undefine as macro. Define as weak alias if
26913 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26914 and later undefine as macro. Define as weak alias if
26916 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26917 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26918 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26919 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26920 Define and later undefine as macro. Define as weak alias if
26922 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26924 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26925 Define and later undefine as macro. Define as weak alias if
26927 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26928 Define and later undefine as macro. Define as weak alias if
26931 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26933 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26934 record_verbose messages.
26936 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26939 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26940 to silence -O3 -Wall warning with GCC 7.
26942 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26944 * Makeconfig (+link-static-before-libc): Use the first of
26945 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26946 * gmon/Makefile (tests): Add tst-gmon-static.
26947 (tests-static): Likewise.
26948 (CFLAGS-tst-gmon-static.c): New.
26949 (CRT-tst-gmon-static): Likewise.
26950 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26951 (tst-gmon-static-ENV): Likewise.
26952 (tests-special): Likewise.
26953 ($(objpfx)tst-gmon-static.out): Likewise.
26954 (clean-tst-gmon-static-data): Likewise.
26955 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26956 * gmon/tst-gmon-static-gprof.sh: New file.
26957 * gmon/tst-gmon-static.c: Likewise.
26959 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26962 * locale/programs/linereader.c (get_string): Don't warn on
26963 non-symbolic character.
26966 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26970 * locale/programs/record-status.h: New file
26971 * locale/programs/locale.c: Add comment.
26972 * locale/programs/charmap-dir.c: Don't include error.h.
26973 (charmap_opendir): Use record_error.
26974 * locale/programs/charmap.c: Don't include error.h.
26975 (charmap_read): Use record_error, and record_warning.
26976 (parse_charmap): Likewise.
26977 * locale/programs/ld-address.c: Don't include error.h.
26978 (address_finish): Use record_error, and record_warning.
26979 * locale/programs/ld-collate.c: Don't include error.h.
26980 (collate_finish): Use record_error, and record_error_at_line.
26981 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26982 (ctype_class_new): Likewise.
26983 (ctype_map_new): Likewise.
26984 (set_one_default): Likewise.
26985 (set_class_defaults): Likewise.
26986 (translit_flatten): Likewise.
26987 (allocate_arrays): Use record_error, and record_verbose.
26988 * locale/programs/ld-identification.c: Don't include error.h.
26989 (indentation_finish): Use record_error and record_warning.
26990 * locale/programs/ld-measurement.c: Don't include error.h.
26991 (measurement_finish): Use record_error.
26992 * locale/programs/ld-messages.c
26993 (message_finish): Likewise.
26994 * locale/programs/ld-monetary.c
26995 (monetary_finish): Likewise.
26996 * locale/programs/ld-name.c (name_finish): Use record_error
26997 and record_warning.
26998 * locale/programs/ld-numeric.c
26999 (numeric_finish): Use record_error.
27000 * locale/programs/ld-paper.c: Don't include error.h.
27001 (paper_finish): Use record_error.
27002 * locale/programs/ld-telephone.c: Don't include error.h.
27003 (telephone_finish): Use record_error.
27004 * locale/programs/ld-time.c (time_finish): Likewise.
27005 * locale/programs/linereader.h (lr_error): Make inline func.
27006 * locale/programs/localedef.c: Define recorded_warning_count,
27007 and recorded_error_count.
27008 (main): Use record_error. Use recorded_error_count and
27009 recorded_warning_count to issue correct error returns.
27010 (add_to_readlist): Use record_error.
27011 (find_locale): Likewise.
27012 (load_locale): Likewise.
27013 * locale/programs/localedef.h: Remove be_quiet
27014 and WITH_CUR_LOCALE.
27015 * locale/programs/locarchive.c (compare_from_file): Use
27017 * locale/programs/locfile.c (write_locale_data): Use
27019 * locale/programs/repertoire.c: Dont include error.h.
27020 (repertoire_complain): Use record_error.
27021 * localedata/tst-fmon.sh: Expect failures from localedef.
27022 * localedata/tst-locale.sh: Likewise.
27023 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27025 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27026 (REPORTS): Likewise.
27028 (i18n): Rename to...
27029 (i18n_ctype): ...this.
27030 (i18n-report): Rename to...
27031 (i18n_ctype-report): ...this.
27032 * localedata/locales/i18n_ctype: Regenerate.
27033 * localedata/locales/i18n: copy i18n_ctype.
27035 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27037 * stdlib/strfroml.c: Include <bits/floatn.h>.
27038 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27039 Define before include of <stdlib.h> and undefine afterwards, then
27040 define as weak alias.
27042 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27043 Undefine and restore default definition. Use
27044 libm_alias_ldouble_other.
27046 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27049 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27052 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27054 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27055 Assign sym_map to be map for local symbols, as TLS relocations
27056 use sym_map to determine whether the symbol is defined and to
27057 extract the TLS information.
27058 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27061 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27064 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27065 (math_force_eval): Add powerpc version.
27068 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27070 (do_test): Likewise.
27071 * stdio-common/tst-printf.sh: Likewise.
27072 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27073 ifdef clause in order to set the carry bit right. Replace r0 by
27074 0 without changing the behavior.
27076 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27079 <libm-alias-ldouble.h>.
27080 (fabsl): Define using libm_alias_ldouble.
27081 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27082 <libm-alias-ldouble.h>.
27083 (fabsl): Define using libm_alias_ldouble.
27085 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27086 Remove conditional code.
27088 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27089 Rename to __clog10_internal_l.
27090 (__clog10_internal_l): Define aliases using
27091 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27094 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27096 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27097 * benchtests/sincosf-inputs: New file.
27098 * benchtests/cosf-inputs: New file.
27099 * benchtests/sinf-inputs: New file.
27101 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27103 * posix/tst-spawn.c (do_test): Wait for both children.
27105 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27108 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27109 tests-pie): Add tst-gmon-pie.
27110 (CFLAGS-tst-gmon-pie.c): New.
27111 (CRT-tst-gmon-pie): Likewise.
27112 (tst-gmon-pie-ENV): Likewise.
27113 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27114 ($(objpfx)tst-gmon-pie.out): Likewise.
27115 (clean-tst-gmon-pie-data): Likewise.
27116 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27117 * gmon/gmon.c [PIC]: Include <link.h>.
27118 [PIC] (callback): New function.
27119 (write_hist): Add an argument for load address. Subtract load
27121 (write_call_graph): Likewise.
27122 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27123 it to write_hist and write_call_graph.
27124 * gmon/tst-gmon-pie.c: New file.
27126 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27128 * math/Makefile (test-types-basic): New variable.
27129 (test-types): Likewise.
27130 (libm-test-support): Use $(test-types) instead of $(types).
27131 (libm-tests-base-normal): Likewise.
27132 (libm-tests-base-finite): Likewise.
27133 (libm-tests-base-inline): Likewise.
27134 (generated): Likewise.
27135 ($(objpfx)libm-test-support-$(t).c): Likewise.
27136 (libm-tests-for-type iterator): Likewise.
27137 (libm-test-support iterator): Likewise.
27138 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27139 (ulp_idx): Use ULP_IDX.
27140 * math/test-ldouble.h: Include <float.h>.
27141 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27142 (ULP_IDX): New macro.
27143 (ULP_I_IDX): Likewise.
27144 * math/test-double.h (ULP_IDX): Likewise.
27145 (ULP_I_IDX): Likewise.
27146 * math/test-float.h (ULP_IDX): Likewise.
27147 (ULP_I_IDX): Likewise.
27148 * math/test-float128.h (ULP_IDX): Likewise.
27149 (ULP_I_IDX): Likewise.
27151 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27153 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27154 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27155 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27156 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27157 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27158 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27159 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27161 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27162 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27163 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27164 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27165 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27167 (SINGLE_THREAD_BY_GLOBAL): Define.
27168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27170 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27172 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27174 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27176 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27177 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27181 2017-10-11 Andreas Schwab <schwab@suse.de>
27183 * nis/Makefile (aux): Remove.
27184 * nscd/Makefile (aux): Add nscd_hash.
27185 (nscd-modules): Likewise.
27186 ($(objpfx)nscd): Don't depend on libnsl.
27187 * nscd/nscd_hash.c: New file.
27188 * nscd/nscd_hash.h: Likewise.
27189 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27190 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27191 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27192 instead of <nis/rpcsvc/nis.h>.
27193 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27195 2017-10-11 Florian Weimer <fweimer@redhat.com>
27198 Avoid large NSS buffers with many addresses, aliases.
27199 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27200 using dynarrays and struct alloc_buffer.
27201 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27202 (tst-nss-files-hosts-multi): Link with -ldl.
27203 * nss/tst-nss-files-hosts-multi.c: New file.
27205 2017-10-11 Florian Weimer <fweimer@redhat.com>
27208 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27209 scratch_buffer. Eliminate gotos.
27211 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27213 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27214 libm_alias_ldouble_other.
27215 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27216 undefine and redefine.
27217 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27218 (exp10l): Do not define here.
27219 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27220 (weak_alias): Undefine and redefine.
27221 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27222 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27223 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27224 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27226 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27227 [!__fma] (fma): Define using libm_alias_double.
27228 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27229 [!__fmaf] (fmaf): Define using libm_alias_float.
27230 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27231 (fmal): Define using libm_alias_ldouble.
27233 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27235 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27237 (libm_alias_double_other): Likewise.
27238 (libm_alias_double_r): Use libm_alias_double_other_r.
27239 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27241 (libm_alias_float_other): Likewise.
27242 (libm_alias_float_r): Use libm_alias_float_other_r.
27243 * sysdeps/generic/libm-alias-float128.h
27244 (libm_alias_float128_other_r): New macro.
27245 (libm_alias_float128_other): Likewise.
27246 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27247 * sysdeps/generic/libm-alias-ldouble.h
27248 (libm_alias_ldouble_other_r): New macro.
27249 (libm_alias_ldouble_other): Likewise.
27250 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27251 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27252 (libm_alias_double_other_r): New macro.
27253 (libm_alias_double_other): Likewise.
27254 (libm_alias_double_r): Use libm_alias_double_other_r.
27255 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27256 (libm_alias_ldouble_other_r): New macro.
27257 (libm_alias_ldouble_other): Likewise.
27258 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27259 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27260 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27261 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27262 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27263 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27264 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27265 * math/w_exp2f.c: Use libm_alias_float_other.
27266 * math/w_expf.c: Likewise.
27267 * math/w_log2f.c: Likewise.
27268 * math/w_logf.c: Likewise.
27269 * math/w_powf.c: Likewise.
27270 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27271 [!__exp2f]: Use libm_alias_float_other.
27272 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27273 [!__expf]: Use libm_alias_float_other.
27274 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27275 [!__log2f]: Use libm_alias_float_other.
27276 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27277 [!__logf]: Use libm_alias_float_other.
27278 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27279 [!__powf]: Use libm_alias_float_other.
27281 2017-10-10 Florian Weimer <fweimer@redhat.com>
27283 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27285 (_nss_files_gethostbyname3_r): Call it.
27287 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27289 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27290 error. Remove default definition of declare_mgen_alias.
27291 [!declare_mgen_alias_r]: Likewise.
27292 * sysdeps/generic/math-type-macros-double.h
27293 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27294 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27295 (declare_mgen_alias_r): Likewise.
27296 * sysdeps/generic/math-type-macros-float128.h
27297 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27298 * sysdeps/generic/math-type-macros-ldouble.h
27299 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27300 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27302 (declare_mgen_alias_r_s): Likewise.
27303 (declare_mgen_alias_r): Likewise.
27304 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27305 (lgamma_r): Define using libm_alias_double_r.
27306 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27307 (lgammaf_r): Define using libm_alias_float_r.
27308 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27309 (lgammal_r): Define using libm_alias_ldouble_r.
27310 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27311 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27313 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27315 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27316 extern declaration.
27318 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27320 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27322 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27325 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27326 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27327 * math/Makefile (test-math-cxx11): New test.
27328 * math/test-math-cxx11.cc: New file.
27330 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27332 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27334 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27335 call to allocate the slave pty file descriptor.
27337 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27339 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27340 [!__fma] (fma): Define using libm_alias_double.
27341 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27342 [!__fma] (fma): Define using libm_alias_double.
27344 * sysdeps/ieee754/float128/float128_private.h: Include
27345 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27346 (libm_alias_ldouble_r): Undefine and redefine.
27347 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27348 <libm-alias-ldouble.h>.
27349 (asinhl): Define using libm_alias_ldouble.
27350 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27351 <libm-alias-ldouble.h>.
27352 (atanl): Define using libm_alias_ldouble.
27353 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27354 <libm-alias-ldouble.h>.
27355 (cbrtl): Define using libm_alias_ldouble.
27356 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27357 <libm-alias-ldouble.h>.
27358 (ceill): Define using libm_alias_ldouble.
27359 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27360 <libm-alias-ldouble.h>.
27361 (copysignl): Define using libm_alias_ldouble.
27362 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27363 <libm-alias-ldouble.h>.
27364 (cosl): Define using libm_alias_ldouble.
27365 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27366 <libm-alias-ldouble.h>.
27367 (erfl): Define using libm_alias_ldouble.
27369 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27370 <libm-alias-ldouble.h>.
27371 (expm1l): Define using libm_alias_ldouble.
27372 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27373 <libm-alias-ldouble.h>.
27374 (fabsl): Define using libm_alias_ldouble.
27375 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27376 <libm-alias-ldouble.h>.
27377 (floorl): Define using libm_alias_ldouble.
27378 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27379 <libm-alias-ldouble.h>.
27380 (fmal): Define using libm_alias_ldouble.
27381 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27382 <libm-alias-ldouble.h>.
27383 (frexpl): Define using libm_alias_ldouble.
27384 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27385 libm_alias_ldouble.
27386 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27387 <libm-alias-ldouble.h>.
27388 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27389 libm_alias_ldouble.
27390 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27391 <libm-alias-ldouble.h>.
27392 (getpayloadl): Define using libm_alias_ldouble.
27393 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27394 <libm-alias-ldouble.h>.
27395 (llrintl): Define using libm_alias_ldouble.
27396 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27397 <libm-alias-ldouble.h>.
27398 (llroundl): Define using libm_alias_ldouble.
27399 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27400 <libm-alias-ldouble.h>.
27401 (logbl): Define using libm_alias_ldouble.
27402 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27403 <libm-alias-ldouble.h>.
27404 (lrintl): Define using libm_alias_ldouble.
27405 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27406 <libm-alias-ldouble.h>.
27407 (lroundl): Define using libm_alias_ldouble.
27408 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27409 <libm-alias-ldouble.h>.
27410 (modfl): Define using libm_alias_ldouble.
27411 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27412 <libm-alias-ldouble.h>.
27413 (nearbyintl): Define using libm_alias_ldouble.
27414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27415 <libm-alias-ldouble.h>.
27416 (nextafterl): Define using libm_alias_ldouble.
27417 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27418 <libm-alias-ldouble.h>.
27419 (nextupl): Define using libm_alias_ldouble.
27420 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27421 <libm-alias-ldouble.h>.
27422 (remquol): Define using libm_alias_ldouble.
27423 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27424 <libm-alias-ldouble.h>.
27425 (rintl): Define using libm_alias_ldouble.
27426 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27427 <libm-alias-ldouble.h>.
27428 (roundevenl): Define using libm_alias_ldouble.
27429 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27430 <libm-alias-ldouble.h>.
27431 (roundl): Define using libm_alias_ldouble.
27432 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27433 using libm_alias_ldouble.
27434 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27435 <libm-alias-ldouble.h>.
27436 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27437 Define using libm_alias_ldouble.
27438 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27439 <libm-alias-ldouble.h>.
27440 (sincosl): Define using libm_alias_ldouble.
27441 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27442 <libm-alias-ldouble.h>.
27443 (sinl): Define using libm_alias_ldouble.
27444 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27445 <libm-alias-ldouble.h>.
27446 (tanhl): Define using libm_alias_ldouble.
27447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27448 <libm-alias-ldouble.h>.
27449 (tanl): Define using libm_alias_ldouble.
27450 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27451 <libm-alias-ldouble.h>.
27452 (totalorderl): Define using libm_alias_ldouble.
27453 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27454 <libm-alias-ldouble.h>.
27455 (totalordermagl): Define using libm_alias_ldouble.
27456 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27457 <libm-alias-ldouble.h>.
27458 (truncl): Define using libm_alias_ldouble.
27459 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27460 libm_alias_ldouble.
27461 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27462 libm_alias_ldouble.
27463 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27464 <libm-alias-ldouble.h>.
27465 (weak_alias): Do not undefine and redefine.
27466 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27467 (copysignl): Define with long_double_symbol only if [IS_IN
27469 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27470 <libm-alias-ldouble.h>.
27471 (weak_alias): Do not undefine and redefine.
27472 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27473 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27474 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27475 <libm-alias-ldouble.h>.
27476 (weak_alias): Do not undefine and redefine.
27477 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27478 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27479 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27480 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27483 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27486 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27489 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27496 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27504 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27507 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27508 (tcache_thread_freeres): Set tcache_shutting_down before
27509 freeing the tcache.
27510 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27511 * malloc/tst-malloc-tcache-leak.c: New file.
27513 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27515 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27516 back to powerpc32 file.
27517 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27518 (memrchr): Add __memrchr_power8 to ifunc list.
27519 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27520 extra bytes for unaligned inputs.
27522 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27524 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27525 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27527 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27528 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27530 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27532 * sysdeps/arm/libm-test-ulps: Update.
27534 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27535 <libm-alias-ldouble.h>.
27536 (asinhl): Define using libm_alias_ldouble.
27537 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27538 <libm-alias-ldouble.h>.
27539 (cbrtl): Define using libm_alias_ldouble.
27540 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27541 <libm-alias-ldouble.h>.
27542 (copysignl): Define using libm_alias_ldouble.
27543 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27544 <libm-alias-ldouble.h>.
27545 (cosl): Define using libm_alias_ldouble.
27546 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27547 <libm-alias-ldouble.h>.
27548 (erfl): Define using libm_alias_ldouble.
27550 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27551 <libm-alias-ldouble.h>.
27552 (fmal): Define using libm_alias_ldouble.
27553 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27554 <libm-alias-ldouble.h>.
27555 (frexpl): Define using libm_alias_ldouble.
27556 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27557 libm_alias_ldouble.
27558 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27559 <libm-alias-ldouble.h>.
27560 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27561 libm_alias_ldouble.
27562 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27563 <libm-alias-ldouble.h>.
27564 (getpayloadl): Define using libm_alias_ldouble.
27565 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27566 <libm-alias-ldouble.h>.
27567 (llrintl): Define using libm_alias_ldouble.
27568 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27569 <libm-alias-ldouble.h>.
27570 (llroundl): Define using libm_alias_ldouble.
27571 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27572 <libm-alias-ldouble.h>.
27573 (lrintl): Define using libm_alias_ldouble.
27574 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27575 <libm-alias-ldouble.h>.
27576 (lroundl): Define using libm_alias_ldouble.
27577 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27578 <libm-alias-ldouble.h>.
27579 (modfl): Define using libm_alias_ldouble.
27580 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27581 <libm-alias-ldouble.h>.
27582 (nextupl): Define using libm_alias_ldouble.
27583 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27584 <libm-alias-ldouble.h>.
27585 (remquol): Define using libm_alias_ldouble.
27586 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27587 <libm-alias-ldouble.h>.
27588 (roundevenl): Define using libm_alias_ldouble.
27589 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27590 <libm-alias-ldouble.h>.
27591 (roundl): Define using libm_alias_ldouble.
27592 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27593 using libm_alias_ldouble.
27594 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27595 <libm-alias-ldouble.h>.
27596 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27597 <libm-alias-ldouble.h>.
27598 (setpayloadsigl): Define using libm_alias_ldouble.
27599 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27600 <libm-alias-ldouble.h>.
27601 (sincosl): Define using libm_alias_ldouble.
27602 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27603 <libm-alias-ldouble.h>.
27604 (sinl): Define using libm_alias_ldouble.
27605 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27606 <libm-alias-ldouble.h>.
27607 (tanhl): Define using libm_alias_ldouble.
27608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27609 <libm-alias-ldouble.h>.
27610 (tanl): Define using libm_alias_ldouble.
27611 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27612 <libm-alias-ldouble.h>.
27613 (totalorderl): Define using libm_alias_ldouble.
27614 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27615 <libm-alias-ldouble.h>.
27616 (totalordermagl): Define using libm_alias_ldouble.
27617 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27618 libm_alias_ldouble.
27619 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27620 libm_alias_ldouble.
27622 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27624 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27626 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27627 (__libc_ifunc_impl_list): Likewise.
27628 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27629 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27631 * benchtests/bench-memmove-walk.c: New file.
27632 * benchtests/Makefile (string-benchset): Add it.
27634 * benchtests/bench-memset-walk.c: New file.
27635 * benchtests/Makefile (string-benchset): Add it.
27637 * benchtests/bench-memcpy-walk.c: New file.
27638 * benchtests/Makefile (string-benchset): Add it.
27640 2017-10-05 Florian Weimer <fweimer@redhat.com>
27642 nscd: Eliminate compilation time dependency in the build output.
27643 * nscd/nscd_stat.c (STATDATA_VERSION)
27644 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27645 (STATDATA_VERSION_FULL): New macro definitions.
27646 (compilation): Remove.
27647 (struct statdata): Adjust version member.
27648 (send_stats): Set version from STATDATA_VERSION_FULL.
27649 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27651 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27653 * configure.ac (--enable-add-ons): Remove option.
27654 (machine): Do not mention add-ons in comment.
27655 (LIBC_PRECONFIGURE): Likewise.
27656 (add_ons): Remove variable and sanity checks and logic to locate
27658 (add_ons_automatic): Remove variable.
27659 (configured_add_ons): Likewise.
27660 (add_ons_sfx): Likewise.
27661 (add_ons_pfx): Likewise.
27662 (add_on_subdirs): Likewise.
27663 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27664 consideration of add-ons in Implies handling.
27665 (sysdeps_add_ons): Likewise.
27666 * configure: Regenerated.
27667 * libidn/configure.ac: Remove.
27668 * libidn/configure: Likewise.
27669 * sysdeps/unix/inet/configure.ac: New file.
27670 * sysdeps/unix/inet/configure: New generated file.
27671 * sysdeps/unix/inet/Subdirs: Add libidn.
27672 * Makeconfig (sysdeps-srcdirs): Remove variable.
27673 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27674 ($(common-objpfx)config.status): Do not depend on add-on files.
27675 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27677 (all-subdirs): Do not include $(add-on-subdirs).
27678 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27679 * config.make.in (add-ons): Remove variable.
27680 (add-on-subdirs): Likewise.
27681 (sysdeps-add-ons): Likewise.
27682 * manual/Makefile (add-chapters): Remove.
27683 ($(objpfx)texis): Do not depend on $(add-chapters).
27684 (nonexamples): Do not handle $(add-chapters).
27685 (examples): Do not handle $(add-ons).
27686 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27688 * manual/install.texi (Installation): Do not mention add-ons.
27689 (--enable-add-ons): Do not document configure option.
27690 * INSTALL: Regenerated.
27691 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27692 * manual/maint.texi (Hierarchy Conventions): Do not mention
27694 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27696 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27698 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27699 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27701 2017-10-05 Andreas Schwab <schwab@suse.de>
27704 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27705 (_IO_flush_all_lockp): Always lock list_all_lock.
27706 (_IO_flush_all_linebuffered): Likewise.
27707 (_IO_unbuffer_all): Likewise.
27709 2017-10-05 Florian Weimer <fweimer@redhat.com>
27712 Do not flush stdio streams on abort.
27713 * stdlib/abort.c (fflush): Remove macro definition.
27714 (abort): Remove stages related to stdio flushing.
27716 2017-10-05 Florian Weimer <fweimer@redhat.com>
27718 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27720 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27722 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27724 2017-10-05 Florian Weimer <fweimer@redhat.com>
27726 * support/support_format_hostent.c (support_format_hostent): Add
27727 more error information for NETDB_INTERNAL.
27729 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27731 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27732 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27733 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27734 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27735 AC_DEFINE if multi-arch is enabled.
27736 * sysdeps/i386/configure: Regenerated.
27738 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27740 * Makeconfig (+link-static-before-libc): Use
27741 $(DEFAULT-LDFLAGS-$(@F)).
27742 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27743 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27744 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27746 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27748 * elf/Makefile (tests): Add tst-main1.
27749 (modules-names): Add tst-main1mod.
27750 ($(objpfx)tst-main1): New.
27751 (CRT-tst-main1): Likewise.
27752 (LDFLAGS-tst-main1): Likewise.
27753 (LDLIBS-tst-main1): Likewise.
27754 (tst-main1mod.so-no-z-defs): Likewise.
27755 * elf/tst-main1.c: New file.
27756 * elf/tst-main1mod.c: Likewise.
27758 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27760 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27762 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27764 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27765 (fma): Define using libm_alias_double.
27766 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27767 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27769 (fmal): Do not define as compat symbol here.
27770 * sysdeps/alpha/fpu/s_fma.c: New file.
27772 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27774 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27776 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27779 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27781 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27783 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27784 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27785 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27786 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27788 Include <math_ldbl_opt.h>
27789 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27791 (compat_symbol): Undefine and redefine.
27792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27794 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27795 (compat_symbol): Undefine and redefine.
27796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27797 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27798 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27799 GLIBC_2_1 for libm.
27800 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27801 GLIBC_2.0 copysignl symbol.
27802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27803 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27805 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27807 2017-10-04 Florian Weimer <fweimer@redhat.com>
27809 * scripts/check-local-headers.sh: Ignore nspr4 header file
27810 directory in addition to nspr.
27812 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27815 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27816 * configure: Regenerate.
27817 * crypt/Makefile (nss-cpp-flags): New variable.
27818 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27819 (CPPFLAGS-md5-crypt.c): Use it.
27820 * scripts/check-local-headers.sh: Ignore nspr header file
27823 2017-10-04 Andreas Schwab <schwab@suse.de>
27825 * nis/Makefile (services): Remove compat.
27826 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27827 ($(objpfx)libnss_compat.so): Remove rule.
27828 * nis/Versions (libnss_compat): Remove.
27829 * nss/Makefile (services): Add compat.
27830 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27831 * nss/Versions (libnss_compat): Define.
27832 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27833 Don't include <rpc/types.h>. Replace bool_t by bool.
27834 * nss/nss_compat/compat-initgroups.c: Likewise.
27835 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27836 instead of <rpcsrv/ypclnt.h>.
27837 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27838 yp_get_default_domain.
27839 * nss/nss_compat/compat-pwd.c: Likewise.
27840 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27841 yp_get_default_domain.
27842 * nss/nss_compat/nisdomain.c: New file.
27843 * nss/nss_compat/nisdomain.h: Likewise.
27845 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27848 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27849 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27851 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27857 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27859 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27860 "movl main@GOTOFF(%ebx), %eax".
27862 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27864 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27865 allow undefined _DYNAMIC in PIE libc.a.
27866 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27869 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27871 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27874 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27876 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27879 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27881 * math/test-math-iscanonical.cc (error): Replace bool with int.
27883 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27885 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27886 (modf): Define using libm_alias_double, only if [!__modf].
27887 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27888 <libm-alias-double.h>.
27889 (modf): Define using libm_alias_double, only if [!__modf].
27890 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27891 compat symbol here.
27892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27893 (weak_alias): Do not undefine and redefine.
27894 (strong_alias): Likewise.
27895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27896 (weak_alias): Likewise.
27897 (strong_alias): Likewise.
27899 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27900 (logb): Define using libm_alias_double, only if [!__logb].
27901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27902 <libm-alias-double.h>.
27903 (logb): Define using libm_alias_double, only if [!__logb].
27904 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27906 (weak_alias): Do not undefine and redefine.
27907 (strong_alias): Likewise.
27908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27909 (weak_alias): Likewise.
27910 (strong_alias): Likewise.
27912 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27914 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27915 Check SHARED instead PIC.
27917 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27919 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27920 [!__fmaf] (fmaf): Define using libm_alias_float.
27922 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27923 (frexp): Define using libm_alias_double.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27925 <libm-alias-double.h>.
27926 (frexp): Define using libm_alias_double.
27927 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27928 compat symbol here.
27930 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27933 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27934 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27935 (CFLAGS-test-math-iscanonical.cc): New variable.
27936 * math/test-math-iscanonical.cc: New file.
27937 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27938 Provide a C++ implementation based on function overloading,
27939 rather than using __MATH_TG, which uses C-only builtins.
27940 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27942 * sysdeps/powerpc/powerpc64le/Makefile
27943 (CFLAGS-test-math-iscanonical.cc): New variable.
27945 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27947 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27948 (ceil): Define using libm_alias_double.
27949 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27950 (floor): Define using libm_alias_double.
27951 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27952 <libm-alias-double.h>.
27953 (llround): Define using libm_alias_double.
27954 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27955 <libm-alias-double.h>.
27956 (lround): Define using libm_alias_double.
27957 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27958 <libm-alias-double.h>.
27959 (nearbyint): Define using libm_alias_double.
27960 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27961 <libm-alias-double.h>.
27962 (remquo): Define using libm_alias_double.
27963 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27964 (rint): Define using libm_alias_double.
27965 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27966 (round): Define using libm_alias_double.
27967 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27968 (trunc): Define using libm_alias_double.
27969 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27970 <libm-alias-double.h>.
27971 (ceil): Define using libm_alias_double.
27972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27973 <libm-alias-double.h>.
27974 (floor): Define using libm_alias_double.
27975 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27976 <libm-alias-double.h>.
27977 (llround): Define using libm_alias_double.
27978 [_LP64] (lround): Likewise.
27979 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27980 <libm-alias-double.h>.
27981 [!_LP64] (lround): Define using libm_alias_double.
27982 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27983 <libm-alias-double.h>.
27984 (nearbyint): Define using libm_alias_double.
27985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27986 <libm-alias-double.h>.
27987 (remquo): Define using libm_alias_double.
27988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27989 <libm-alias-double.h>.
27990 (rint): Define using libm_alias_double.
27991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27992 <libm-alias-double.h>.
27993 (round): Define using libm_alias_double.
27994 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27995 <libm-alias-double.h>.
27996 (trunc): Define using libm_alias_double.
27997 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27998 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27999 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28000 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28001 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28002 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28003 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28004 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28005 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28007 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28009 * math/w_remainder.c: New file.
28010 * math/w_remainderf.c: New file.
28011 * math/w_remainderl.c: New file.
28013 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28015 * elf/rtld.c (BOOTSTRAP_MAP): New.
28016 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28017 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28019 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28021 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28024 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28026 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28027 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28028 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28029 rtld_hidden_data_ver): Define to empty.
28030 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28031 __assert_perror_fail): Likewise.
28032 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28033 (__rewinddir): Likewise.
28034 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28035 (__profile_frequency): Likewise.
28036 * include/setjmp.h (__sigsetjmp): Likewise.
28037 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28038 __libc_sigaction): Likewise.
28039 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28040 not set hidden attribute.
28041 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28042 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28043 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28044 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28045 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28046 __fxstatat64): Likewise.
28047 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28048 (__uname): Likewise.
28049 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28050 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28051 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28052 (NO_RTLD_HIDDEN): Set.
28053 * sysdeps/mach/hurd/configure: Refresh.
28054 * config.h.in: Refresh.
28056 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28058 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28059 (atan): Define using libm_alias_double.
28060 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28061 (tan): Define using libm_alias_double.
28062 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28063 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28065 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28066 define as weak alias of __atan. Do not define any aliases if
28068 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28069 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28070 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28071 as weak alias of __tan. Do not define any aliases if [__tan].
28072 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28073 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28074 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28076 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28077 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28078 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28079 and define as weak alias of __atan.
28080 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28082 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28083 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28084 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28085 define as weak alias of __tan.
28087 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28089 * math/w_lgamma.c: New file.
28090 * math/w_lgammaf.c: New file.
28091 * math/w_lgammal.c: New file.
28093 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28095 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28096 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28097 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28098 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28099 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28100 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28101 * sysdeps/i386/fpu/w_log2f.c: New file.
28102 * sysdeps/i386/fpu/w_logf.c: New file.
28103 * sysdeps/i386/fpu/w_powf.c: New file.
28104 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28105 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28106 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28108 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28109 H.J. Lu <hongjiu.lu@intel.com>
28111 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28112 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28113 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28114 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28115 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28117 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28118 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28119 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28120 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28121 * sysdeps/i386/fpu/w_exp2f.c: New file.
28122 * sysdeps/i386/fpu/w_expf.c: New file.
28123 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28124 * sysdeps/x86_64/fpu/w_expf.c: New file.
28126 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28128 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28131 * math/w_log2f.c: New file.
28132 * math/w_logf.c: New file.
28133 * math/w_powf.c: New file.
28134 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28135 * math/w_logf_compat.c (__logf_compat): Likewise.
28136 * math/w_powf_compat.c (__powf_compat): Likewise.
28137 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28138 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28139 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28140 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28141 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28142 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28143 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28144 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28145 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28146 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28147 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28148 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28149 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28150 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28151 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28160 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28161 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28162 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28163 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28164 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28169 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28170 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28171 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28173 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28175 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28176 (sysdep_routines): Add memrchr_power8.
28177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28178 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28181 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28182 (memrchr): Add __memrchr_power8 to ifunc list.
28183 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28188 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28189 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28191 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28192 (__posix_fallocate64_l64): Likewise.
28194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28197 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28198 (__sched_setaffinity_new): Add libc_hidden_proto and
28201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28204 * include/glob.h (__glob64): Add libc_hidden_proto.
28205 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28211 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28217 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28222 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28228 * csu/version.c (__libc_print_version): Add attribute_hidden.
28230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28233 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28235 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28238 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28240 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28243 * nscd/nscd_helper.c (__nis_hash): New prototype.
28245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28248 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28249 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28251 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28252 * termios/tcgetattr.c (__tcgetattr): Likewise.
28254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28257 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28258 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28259 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28260 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28261 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28263 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28266 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28271 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28272 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28274 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28277 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28282 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28283 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28285 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28288 * include/ifreq.h: New file.
28289 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28290 (__ifreq): Likewise.
28291 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28292 (__ifreq): Likewise.
28294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28297 * include/idna.h: New file.
28298 * inet/getnameinfo.c: Include <idna.h> instead of
28300 (__idna_to_unicode_lzlz): Removed.
28301 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28303 (__idna_to_ascii_lz): Removed.
28304 (__idna_to_unicode_lzlz): Likewise.
28306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28309 * include/plural-exp.h: New file.
28310 * intl/plural-exp.c: Include <plural-exp.h> instead of
28313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28316 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28317 "getsourcefilter.h".
28318 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28319 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28320 "getsourcefilter.h".
28321 (__get_sol): Removed.
28323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28326 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28328 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28333 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28336 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28339 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28344 * include/search.h (__tdestroy): Add libc_hidden_proto.
28345 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28350 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28355 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28361 * include/signal.h (__kill): Add libc_hidden_proto.
28362 (__sigblock): Likewise.
28363 (__sigprocmask): Likewise.
28364 (__sigaltstack): Likewise.
28365 * signal/kill.c (__kill): Add libc_hidden_def.
28366 * signal/sigblock.c (__sigblock): Likewise.
28367 * signal/sigprocmask.c (__sigprocmask): Likewise.
28368 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28369 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28370 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28371 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28372 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28374 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28376 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28377 (__sigprocmask): Likewise.
28378 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28380 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28381 (__sigprocmask): Likewise.
28382 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28388 * include/string.h (__strsep): Add libc_hidden_proto.
28389 * string/strsep.c (__strsep): Add libc_hidden_def.
28391 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28394 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28396 (__spawni): Likewise.
28398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28401 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28402 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28405 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28408 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28413 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28414 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28415 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28416 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28417 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28419 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28420 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28425 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28426 (__dcigettext): Likewise.
28428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28431 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28433 (__get_nprocs): Likewise.
28434 (__get_phys_pages): Likewise.
28435 (__get_avphys_pages): Likewise.
28436 (__get_child_max): Add attribute_hidden.
28437 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28438 (__get_nprocs): Likewise.
28439 (__get_phys_pages): Likewise.
28440 (__get_avphys_pages): Likewise.
28441 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28443 (__get_nprocs): Likewise.
28444 (__get_phys_pages): Likewise.
28445 (__get_avphys_pages): Likewise.
28446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28448 (__get_nprocs_conf): Likewise.
28449 (__get_phys_pages): Likewise.
28450 (__get_avphys_pages): Likewise.
28452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28455 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28457 (__netlink_close): Likewise.
28458 (__netlink_free_handle): Likewise.
28459 (__netlink_request): Likewise.
28461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28464 * include/rpc/rpc.h (__rpc_thread_variables): Add
28466 (__rpc_thread_svc_cleanup): Likewise.
28467 (__rpc_thread_clnt_cleanup): Likewise.
28468 (__rpc_thread_key_cleanup): Likewise.
28470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28473 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28474 (__writev): Likewise.
28475 * misc/readv.c (__readv): Add libc_hidden_def.
28476 * misc/writev.c (__writev): Likewise.
28477 * sysdeps/posix/readv.c (__readv): Likewise.
28478 * sysdeps/posix/writev.c (__writev): Likewise.
28479 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28480 (__readv): Likewise.
28481 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28482 (__writev): Likewise.
28484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28487 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28488 (__regcomp): Add libc_hidden_proto.
28489 (__regexec): Likewise.
28490 (__regfree): Likewise.
28491 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28492 (__regfree): Likewise.
28493 * posix/regexec.c (__regexec): Likewise.
28495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28498 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28499 (__getutent): Likewise.
28500 (__getutid): Likewise.
28501 (__getutline): Likewise.
28502 (__pututline): Likewise.
28503 (__getutent_r): Likewise.
28504 (__getutid_r): Likewise.
28505 (__getutline_r): Likewise.
28506 (__utmpname): Add attribute_hidden.
28507 (__setutent): Likewise.
28508 (__endutent): Likewise.
28509 * login/getutent.c (__getutent): Add libc_hidden_def.
28510 * login/getutent_r.c (__getutent_r): Likewise.
28511 (__pututline): Likewise.
28512 * login/getutid.c (__getutid): Likewise.
28513 * login/getutid_r.c (__getutid_r): Likewise.
28514 * login/getutline.c (__getutline): Likewise.
28515 * login/getutline_r.c (__getutline_r): Likewise.
28516 * login/updwtmp.c (__updwtmp): Likewise.
28518 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28521 * include/dirent.h (__opendir): Always add attribute_hidden.
28522 (__fdopendir): Likewise.
28523 (__closedir): Likewise.
28524 (__readdir): Likewise.
28525 (__readdir64): Add libc_hidden_proto.
28526 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28527 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28528 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28529 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28532 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28535 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28536 * include/netdb.h (__gethostbyaddr_r): Likewise.
28537 (__gethostbyname_r): Likewise.
28538 (__gethostbyname2_r): Likewise.
28539 (__getnetbyaddr_r): Likewise.
28540 (__getnetbyname_r): Likewise.
28541 (__getservbyname_r): Likewise.
28542 (__getservbyport_r): Likewise.
28543 (__getprotobyname_r): Likewise.
28544 (__getprotobynumber_r): Likewise.
28545 (__getnetgrent_r): Likewise.
28546 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28547 (__getrpcbynumber_r): Likewise.
28548 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28553 * include/stdio.h (__fcloseall): Add attribute_hidden.
28554 (__getline): Likewise.
28555 (__path_search): Likewise.
28556 (__gen_tempname): Likewise.
28557 (__libc_message): Likewise.
28558 (__flockfile): Likewise.
28559 (__funlockfile): Likewise.
28560 (__fxprintf): Likewise.
28561 (__fxprintf_nocancel): Likewise.
28563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28566 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28567 (__sgetsgent_r): Likewise.
28569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28572 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28573 (__statfs64): Likewise.
28574 (__fstatfs64): Likewise.
28575 * include/sys/statvfs.h (__statvfs64): Likewise.
28576 (__fstatvfs64): Likewise.
28577 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28578 (__statfs_filesize_max): Likewise.
28579 (__statfs_symlinks): Likewise.
28580 (__statfs_chown_restricted): Likewise.
28582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28585 * include/time.h (__tzstring): Add attribute_hidden.
28586 (__tzfile_read): Likewise.
28587 (__tzfile_compute): Likewise.
28588 (__tzfile_default): Likewise.
28589 (__tzset_parse_tz): Likewise.
28590 (__offtime): Likewise.
28591 (__asctime_r): Likewise.
28592 (__tzset): Likewise.
28593 (__tz_convert): Likewise.
28594 (__getdate_r): Likewise.
28595 (__getclktck): Likewise.
28597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28600 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28601 (__nscd_unmap): Likewise.
28602 (__nscd_cache_search): Likewise.
28603 (__nscd_get_nl_timestamp): Likewise.
28604 (__nscd_getpwnam_r): Likewise.
28605 (__nscd_getpwuid_r): Likewise.
28606 (__nscd_getgrnam_r): Likewise.
28607 (__nscd_getgrgid_r): Likewise.
28608 (__nscd_gethostbyname_r): Likewise.
28609 (__nscd_gethostbyname2_r): Likewise.
28610 (__nscd_gethostbyaddr_r): Likewise.
28611 (__nscd_getai): Likewise.
28612 (__nscd_getgrouplist): Likewise.
28613 (__nscd_getservbyname_r): Likewise.
28614 (__nscd_getservbyport_r): Likewise.
28615 (__nscd_innetgr): Likewise.
28616 (__nscd_setnetgrent): Likewise.
28618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28621 * include/gmp.h: Declare internal functions only if _ISOMAC is
28623 (__mpn_extract_double): Add attribute_hidden.
28624 (__mpn_extract_long_double): Likewise.
28625 (__mpn_extract_float128): Likewise.
28626 (__mpn_construct_float): Likewise.
28627 (__mpn_construct_double): Likewise.
28628 (__mpn_construct_long_double): Likewise.
28629 (__mpn_construct_float128): Likewise.
28630 (mpn_add_1): Likewise.
28631 (mpn_addmul_1): Likewise.
28632 (mpn_add_n): Likewise.
28633 (mpn_cmp): Likewise.
28634 (mpn_divrem): Likewise.
28635 (mpn_lshift): Likewise.
28636 (mpn_mul): Likewise.
28637 (mpn_mul_1): Likewise.
28638 (mpn_rshift): Likewise.
28639 (mpn_sub_1): Likewise.
28640 (mpn_submul_1): Likewise.
28641 (mpn_sub_n): Likewise.
28643 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28646 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28647 (__wcscat): Likewise.
28648 (__btowc): Likewise.
28649 (__wcrtomb): Likewise.
28650 (__mbsrtowcs): Likewise.
28651 (__wcsrtombs): Likewise.
28652 (__mbsnrtowcs): Likewise.
28653 (__wcsnrtombs): Likewise.
28654 (__wcsncpy): Likewise.
28655 (__wcpncpy): Likewise.
28656 (__wmemcpy): Likewise.
28657 (__wmempcpy): Likewise.
28658 (__wmemmove): Likewise.
28659 (__wcschrnul): Likewise.
28660 (__vfwscanf): Likewise.
28661 (__vswprintf): Likewise.
28662 (__fwprintf): Likewise.
28663 (__vfwprintf): Likewise.
28665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28668 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28669 (__getgrgid_r): Likewise.
28670 (__getgrnam_r): Likewise.
28671 * include/pwd.h (__getpwuid_r): Likewise.
28672 (__getpwnam_r): Likewise.
28673 (__fgetpwent_r): Likewise.
28674 * include/shadow.h (__getspnam_r): Likewise.
28675 (__sgetspent_r): Likewise.
28676 (__fgetspent_r): Likewise.
28678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28681 * include/unistd.h (__access): Add attribute_hidden.
28682 (__lseek64): Likewise.
28683 (__libc_pread64): Likewise.
28684 (__pipe2): Likewise.
28685 (__sleep): Likewise.
28686 (__chdir): Likewise.
28687 (__fchdir): Likewise.
28688 (__getcwd): Likewise.
28689 (__rmdir): Likewise.
28690 (__execvpe): Likewise.
28691 (__execve): Likewise.
28692 (__setsid): Likewise.
28693 (__getuid): Likewise.
28694 (__geteuid): Likewise.
28695 (__getgid): Likewise.
28696 (__getegid): Likewise.
28697 (__getgroups): Likewise.
28698 (__group_member): Likewise.
28699 (__ttyname_r): Likewise.
28700 (__isatty): Likewise.
28701 (__readlink): Likewise.
28702 (__unlink): Likewise.
28703 (__gethostname): Likewise.
28704 (__profil): Likewise.
28705 (__getdtablesize): Likewise.
28707 (__ftruncate): Likewise.
28708 (__ftruncate64): Likewise.
28710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28713 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28714 * argp/argp-fs-xinl.c: Likewise.
28715 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28716 * argp/argp-parse.c: Include <argp.h>.
28717 * argp/argp-xinl.c: Likewise.
28718 * include/argp-fmtstream.h: New file.
28719 * include/argp.h (__argp_error): Add attribute_hidden.
28720 (__argp_failure): Likewise.
28721 (__argp_input): Likewise.
28722 (__argp_state_help): Likewise.
28724 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28727 * include/wchar.h (____wcstof_l_internal): New prototype.
28728 (____wcstod_l_internal): Likewise.
28729 (____wcstold_l_internal): Likewise.
28730 (____wcstol_l_internal): Likewise.
28731 (____wcstoul_l_internal): Likewise.
28732 (____wcstoll_l_internal): Likewise.
28733 (____wcstoull_l_internal): Likewise.
28734 (____wcstof128_l_internal): Likewise.
28735 * sysdeps/ieee754/float128/wcstof128.c
28736 (____wcstof128_l_internal): Removed.
28737 * sysdeps/ieee754/float128/wcstof128_l.c
28738 (____wcstof128_l_internal): Likewise.
28739 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28740 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28741 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28742 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28743 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28744 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28745 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28746 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28747 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28748 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28753 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28754 instead of <sys/statvfs.h>.
28755 (__internal_statvfs): Removed.
28756 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28757 instead of <sys/statvfs.h>.
28758 (__internal_statvfs64): Removed.
28759 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28760 "internal_statvfs.h" instead of <sys/statvfs.h>.
28761 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28762 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28763 instead of <sys/statvfs.h>.
28764 (__internal_statvfs): Removed.
28765 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28766 instead of <sys/statvfs.h>.
28767 (__internal_statvfs64): Removed.
28769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28772 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28773 (__gconv_close): Likewise.
28774 (__gconv): Likewise.
28775 (__gconv_find_transform): Likewise.
28776 (__gconv_lookup_cache): Likewise.
28777 (__gconv_compare_alias_cache): Likewise.
28778 (__gconv_load_cache): Likewise.
28779 (__gconv_get_path): Likewise.
28780 (__gconv_close_transform): Likewise.
28781 (__gconv_release_cache): Likewise.
28782 (__gconv_find_shlib): Likewise.
28783 (__gconv_release_shlib): Likewise.
28784 (__gconv_get_builtin_trans): Likewise.
28785 (__gconv_compare_alias): Likewise.
28786 * include/dlfcn.h (_dlerror_run): Likewise.
28787 * include/stdio.h (__fortify_fail_abort): Likewise.
28788 * include/time.h (__tz_compute): Likewise.
28789 (__strptime_internal): Likewise.
28790 * intl/gettextP.h (_nl_find_domain): Likewise.
28791 (_nl_load_domain): Likewise.
28792 (_nl_find_msg): Likewise.
28793 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28794 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28795 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28796 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28797 (__gai_find_request): Likewise.
28798 (__gai_remove_request): Likewise.
28799 (__gai_notify): Likewise.
28800 (__gai_notify_only): Likewise.
28801 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28802 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28803 (_dl_non_dynamic_init): Likewise.
28804 (_dl_aux_init): Likewise.
28805 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28806 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28808 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28809 (__wcsmbs_clone_conv): Likewise.
28810 (__wcsmbs_named_conv): Likewise.
28812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28815 * include/stdlib.h (__random): Add attribute_hidden.
28816 (__random_r): Likewise.
28817 (__srandom_r): Likewise.
28818 (__initstate_r): Likewise.
28819 (__setstate_r): Likewise.
28820 (__erand48_r): Likewise.
28821 (__nrand48_r): Likewise.
28822 (__jrand48_r): Likewise.
28823 (__srand48_r): Likewise.
28824 (__seed48_r): Likewise.
28825 (__lcong48_r): Likewise.
28826 (__drand48_iterate): Likewise.
28827 (__setenv): Likewise.
28828 (__unsetenv): Likewise.
28829 (__clearenv): Likewise.
28830 (__ptsname_r): Likewise.
28831 (__posix_openpt): Likewise.
28832 (__add_to_environ): Likewise.
28833 (__realpath): Add libc_hidden_proto.
28834 (__ecvt_r): Likewise.
28835 (__fcvt_r): Likewise.
28836 (__qecvt_r): Likewise.
28837 (__qfcvt_r): Likewise.
28838 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28839 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28844 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28845 * include/time.h (__mktime_internal): Likewise.
28846 * libio/iolibio.h (__fopen_internal): Likewise.
28848 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28850 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28852 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28853 Correct offset used to restore PIC register.
28855 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28858 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28859 code to load address of __getcontext_ret when generating PIC code.
28861 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28863 * elf/Makefile (tests-static-internal): Add
28864 tst-tls1-static-non-pie.
28865 (LDFLAGS-tst-tls1-static-non-pie): New.
28866 * elf/tst-tls1-static-non-pie.c: New file.
28868 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28870 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28871 (asinh): Define using libm_alias_double.
28872 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28873 (cbrt): Define using libm_alias_double.
28874 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28875 <libm-alias-double.h>.
28876 (copysign): Define using libm_alias_double.
28877 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28878 (erf): Define using libm_alias_double.
28880 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28881 (expm1): Define using libm_alias_double.
28882 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28883 (fabs): Define using libm_alias_double.
28884 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28886 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28887 <libm-alias-double.h>.
28888 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28890 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28891 <libm-alias-double.h>.
28892 (getpayload): Define using libm_alias_double.
28893 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28894 <libm-alias-double.h>.
28895 (llrint): Define using libm_alias_double.
28896 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28897 (lrint): Define using libm_alias_double.
28898 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28899 <libm-alias-double.h>.
28900 (nextup): Define using libm_alias_double.
28901 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28902 <libm-alias-double.h>.
28903 (roundeven): Define using libm_alias_double.
28904 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28906 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28907 <libm-alias-double.h>.
28908 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28909 using libm_alias_double.
28910 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28911 (cos): Define using libm_alias_double.
28913 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28914 <libm-alias-double.h>.
28915 (sincos): Define using libm_alias_double.
28916 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28917 (tanh): Define using libm_alias_double.
28918 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28919 <libm-alias-double.h>.
28920 (totalorder): Define using libm_alias_double.
28921 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28922 <libm-alias-double.h>.
28923 (totalordermag): Define using libm_alias_double.
28924 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28926 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28928 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28929 <libm-alias-double.h>.
28930 (getpayload): Define using libm_alias_double.
28931 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28932 <libm-alias-double.h>.
28933 (roundeven): Define using libm_alias_double.
28934 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28935 <libm-alias-double.h>.
28936 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28937 <libm-alias-double.h>.
28938 (totalorder): Define using libm_alias_double.
28939 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28940 <libm-alias-double.h>.
28941 (totalordermag): Define using libm_alias_double.
28942 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28943 libc compat symbol here.
28944 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28945 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28946 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28947 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28948 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28949 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28950 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28951 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28952 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28953 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28955 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28957 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28958 _dl_relocate_static_pie instead of _dl_start to compute load
28959 address in static PIE. Return 0 if _DYNAMIC is undefined for
28962 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28964 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28965 _DYNAMIC is undefined for static executable.
28967 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28969 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28971 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28975 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28978 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28979 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28980 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28982 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28983 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28984 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28985 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28986 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28987 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28988 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28989 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28990 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28991 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28992 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28993 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28995 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28997 * math/bits/cmathcalls.h (cimag): Remove inline.
28998 (creal): Remove inline.
28999 (conj): Remove inline.
29001 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29003 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29004 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29005 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29006 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29007 (issignalingf_inline): Likewise.
29008 (POWF_LOG2_TABLE_BITS): Likewise.
29009 (POWF_LOG2_POLY_ORDER): Likewise.
29010 (POWF_SCALE_BITS): Likewise.
29011 (POWF_SCALE): Likewise.
29012 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29013 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29014 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29016 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29018 * math/Makefile (type-float-routines): Add e_log2f_data.
29019 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29020 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29021 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29022 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29023 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29024 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29025 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29027 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29029 * math/Makefile (type-float-routines): Add e_logf_data.
29030 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29031 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29032 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29033 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29034 * sysdeps/i386/fpu/e_logf_data.c: New file.
29035 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29036 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29038 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29040 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29041 undefined _DYNAMIC in PIE libc.a.
29042 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29045 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29047 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29048 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29049 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29050 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29051 (__signbit): Remove.
29052 (__signbitl): Remove.
29053 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29054 (__signbit): Remove.
29055 (__signbitl): Remove.
29056 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29057 (__signbit): Remove.
29058 (__signbitl): Remove.
29059 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29060 (__signbit): Remove.
29061 (__signbitl): Remove.
29062 * sysdeps/tile/bits/mathinline.h: Delete file.
29063 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29064 (__signbit): Remove.
29065 (__signbitl): Remove.
29067 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29069 * math/math.h: Improve handling of C99 isgreater macros.
29070 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29071 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29072 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29073 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29074 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29076 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29078 * sysdeps/aarch64/libm-test-ulps: Update.
29080 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29083 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29084 math_opt_barrier on argument when doing arithmetic on it.
29085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29086 Likewise. Use math_force_eval not math_opt_barrier after
29088 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29089 math_opt_barrier on argument when doing arithmetic on it.
29090 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29093 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29095 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29097 (__freeifaddrs): Likewise.
29099 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29101 * include/dirent.h (__dirfd): New declaration.
29102 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29104 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29105 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29106 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29107 * include/unistd.h (__revoke): New declaration.
29108 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29110 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29111 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29113 * include/dirent.h (__seekdir): New declaration.
29114 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29115 redefine as weak alias.
29116 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29118 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29119 and use libc_hidden_def on them.
29120 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29122 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29123 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29124 instead of getifaddrs and freeifaddrs.
29126 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29129 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29130 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29131 (__dso_handle): Remove declaration.
29132 * dlfcn/tstatexit.c (__dso_handle): Removed.
29133 (main): Don't check __dso_handle.
29134 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29135 (main): Don't check __dso_handle.
29136 * include/dso_handle.h: New file.
29137 * malloc/mtrace.c: Include <dso_handle.h>.
29138 (mtrace): Pass __dso_handle directly.
29139 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29140 (__dso_handle): Remove declaration.
29141 (__pthread_atfork): Pass __dso_handle directly.
29142 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29143 (__dso_handle): Removed.
29144 * posix/wordexp-test.c: Include <dso_handle.h>.
29145 (__dso_handle): Remove declaration.
29146 (__app_register_atfork): Pass __dso_handle directly.
29147 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29148 (__dso_handle): Remove declaration.
29149 (at_quick_exit): Pass __dso_handle directly.
29150 * stdlib/atexit.c: Include <dso_handle.h>.
29151 (__dso_handle): Remove declaration.
29152 (atexit): Pass __dso_handle directly.
29153 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29154 (__dso_handle): Removed.
29156 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29158 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29161 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29163 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29164 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29165 values to correct default value for given type.
29167 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29170 * elf/Makefile (tests): Add tst-debug1.
29171 ($(objpfx)tst-debug1): New.
29172 ($(objpfx)tst-debug1.out): Likewise.
29173 ($(objpfx)tst-debug1mod1.so): Likewise.
29174 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29175 with p_filesz == 0.
29176 * elf/tst-debug1.c: New file.
29178 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29180 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29181 Define using __ifunc.
29183 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29185 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29188 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29191 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29193 2017-09-26 Florian Weimer <fweimer@redhat.com>
29195 * resolv/Makefile (tests-internal): Fix typo in comment.
29197 2017-09-26 Florian Weimer <fweimer@redhat.com>
29199 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29201 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29203 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29204 Use an union instead of a max_align_t array for __space,
29205 so that __space is the same size on all platforms.
29206 * malloc/scratch_buffer_grow_preserve.c
29207 (__libc_scratch_buffer_grow_preserve): Likewise.
29210 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29212 * posix/Makefile (routines): Add glob-lstat-compat and
29213 glob64-lstat-compat.
29214 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29215 * posix/glob-lstat-compat.c: New file.
29216 * posix/glob64-lstat-compat.c: Likewise.
29217 * posix/tst-glob_lstat_compat.c: Likewise.
29218 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29219 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29220 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29221 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29223 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29224 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29225 * posix/glob.c (glob_lstat): New function.
29226 (glob): Rename to __glob and add versioned symbol to 2.27.
29227 (glob_in_dir): Use glob_lstat.
29228 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29229 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29230 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29232 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29233 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29234 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29235 gl_lstat on glob call.
29236 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29237 and glob64 symbols.
29238 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29239 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29240 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29241 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29242 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29243 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29244 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29245 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29246 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29247 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29249 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29252 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29254 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29255 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29256 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29257 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29261 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29262 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29263 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29265 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29267 * configure.ac (AS): Require binutils 2.25 or later.
29268 * configure: Regenerated.
29270 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29273 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29276 2017-09-25 DJ Delorie <dj@redhat.com>
29279 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29282 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29284 * sysdeps/ieee754/dbl-64/sincos32.h
29285 [SINCCOS32_H]: Remove define.
29286 [SINCOS32_H]: Define.
29288 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29290 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29292 * math/w_exp2f.c: New file.
29293 * math/w_expf.c: New file.
29294 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29295 * math/w_expf_compat.c (__expf_compat): Likewise.
29296 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29297 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29298 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29299 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29300 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29301 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29302 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29303 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29304 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29305 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29306 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29307 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29318 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29319 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29320 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29321 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29322 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29327 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29328 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29329 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29331 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29333 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29334 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29335 (roundtoint, converttoint): Likewise.
29336 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29337 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29338 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29339 * sysdeps/ieee754/flt-32/math_config.h: New file.
29340 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29341 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29342 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29343 * sysdeps/i386/fpu/math_errf.c: New file.
29344 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29345 * sysdeps/ia64/fpu/math_errf.c: New file.
29346 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29347 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29349 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29351 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29352 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29353 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29354 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29355 to make sure that these symbols are defined.
29356 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29358 (__need_NULL): Do not define.
29359 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29361 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29362 CMGROUP_MAX, cmsgcred): Do not define.
29363 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29365 * bits/socket.h: Likewise.
29366 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29367 __gettimeofday instead of gettimeofday.
29368 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29369 instead of settimeofday.
29371 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29373 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29374 (asinhf): Define using libm_alias_float.
29375 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29376 (atanf): Define using libm_alias_float.
29377 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29378 (cbrtf): Define using libm_alias_float.
29379 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29380 (ceilf): Define using libm_alias_float.
29381 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29382 <libm-alias-float.h>.
29383 (copysignf): Define using libm_alias_float.
29384 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29385 (cosf): Define using libm_alias_float.
29386 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29387 (erff): Define using libm_alias_float.
29389 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29390 (expm1f): Define using libm_alias_float.
29391 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29392 (fabsf): Define using libm_alias_float.
29393 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29394 (floorf): Define using libm_alias_float.
29395 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29396 (frexpf): Define using libm_alias_float.
29397 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29399 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29400 <libm-alias-float.h>.
29401 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29403 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29404 <libm-alias-float.h>.
29405 (getpayloadf): Define using libm_alias_float.
29406 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29407 <libm-alias-float.h>.
29408 (llrintf): Define using libm_alias_float.
29409 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29410 <libm-alias-float.h>.
29411 (llroundf): Define using libm_alias_float.
29412 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29413 (logbf): Define using libm_alias_float.
29414 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29415 (lrintf): Define using libm_alias_float.
29416 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29417 (lroundf): Define using libm_alias_float.
29418 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29419 (modff): Define using libm_alias_float.
29420 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29421 <libm-alias-float.h>.
29422 (nearbyintf): Define using libm_alias_float.
29423 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29424 <libm-alias-float.h>.
29425 (nextafterf): Define using libm_alias_float.
29426 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29427 <libm-alias-float.h>.
29428 (nextupf): Define using libm_alias_float.
29429 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29430 <libm-alias-float.h>.
29431 (remquof): Define using libm_alias_float.
29432 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29433 (rintf): Define using libm_alias_float.
29434 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29435 <libm-alias-float.h>.
29436 (roundevenf): Define using libm_alias_float.
29437 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29438 (roundf): Define using libm_alias_float.
29439 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29440 using libm_alias_float.
29441 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29442 <libm-alias-float.h>.
29443 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29444 Define using libm_alias_float.
29445 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29446 <libm-alias-float.h>.
29447 (sincosf): Define using libm_alias_float.
29448 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29449 (sinf): Define using libm_alias_float.
29450 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29451 (tanf): Define using libm_alias_float.
29452 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29453 (tanhf): Define using libm_alias_float.
29454 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29455 <libm-alias-float.h>.
29456 (totalorderf): Define using libm_alias_float.
29457 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29458 <libm-alias-float.h>.
29459 (totalordermagf): Define using libm_alias_float.
29460 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29461 (truncf): Define using libm_alias_float.
29462 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29464 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29467 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29470 math/math.h: Let fpclassify use the builtin in C++ mode, even
29471 when optimazing for size.
29473 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29475 * csu/Makefile (generated): Do not add version-info.h.
29476 (before-compile): Likewise.
29477 (all-Banner-files): Remove variable.
29478 ($(objpfx)version-info.h): Remove rule.
29479 * csu/version.c (banner): Do not include "version-info.h".
29480 * libidn/Banner: Remove.
29481 * manual/contrib.texi (Simon Josefsson): New entry.
29483 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29485 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29486 Remove conditionals on LDBL_MANT_DIG.
29487 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29488 (__ieee754_lgammal_r): Likewise.
29490 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29494 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29495 _Float128 and L(). Replace _Float128 with long double and L(x)
29496 with xL, throughout the file.
29497 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29498 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29499 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29502 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29505 sysdeps/ieee754/ldbl-128ibm.
29506 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29507 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29508 of including it. Keep _Float128 and L() intact. These will be
29509 reviewed by a separate patch.
29510 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29511 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29512 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29513 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29515 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29518 (__finitef128): Define to __redirect___finitef128.
29519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29520 (__isinff128): Define to __redirect___isinff128.
29521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29522 (__isnanf128): Define to __redirect___isnanf128.
29524 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29526 * sysdeps/powerpc/powerpc64le/Makefile
29527 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29528 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29530 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29531 Carlos O'Donell <carlos@redhat.com>
29534 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29535 * stdlib/test-dlclose-exit-race.c: New file.
29536 * stdlib/test-dlclose-exit-race-helper.c: New file.
29537 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29539 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29541 * crypt/Banner: Remove file.
29542 * nptl/Banner: Likewise.
29543 * resolv/Banner: Likewise.
29544 * soft-fp/Banner: Likewise.
29545 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29546 ($(objpfx)version.d): Remove dependency on banner.h.
29547 ($(objpfx)version.os): Likewise.
29548 * nptl/version.c (banner): Do not include banner.h.
29549 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29550 Jelinek and BIND code.
29552 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29553 Carlos O'Donell <carlos@redhat.com>
29555 * support/xdlfcn.h: New file.
29556 * support/xdlfcn.c: New file.
29557 * support/Makefile (libsupport-routines): Add xdlfcn.
29558 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29560 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29563 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29564 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29565 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29566 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29567 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29568 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29569 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29570 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29572 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29573 Ricky Zhou <rickyz@google.com>
29574 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29577 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29579 (__new_exitfn): Fail registration when we finished at_exit processing.
29580 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29581 * stdlib/on_exit.c (__on_exit): Likewise.
29582 * stdlib/exit.c (__exit_funcs_done): New variable.
29583 (__run_exit_handlers): Use __exit_funcs_lock.
29584 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29586 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29587 (test-cxa_atexit-race, test-on_exit-race): New tests.
29588 * stdlib/test-atexit-race-common.c: New file.
29589 * stdlib/test-atexit-race.c: New file.
29590 * stdlib/test-at_quick_exit-race.c: New file.
29591 * stdlib/test-cxa_atexit-race.c: New file.
29592 * stdlib/test-on_exit-race.c: New file.
29594 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29596 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29597 * benchtests/exp2f-inputs: Copy of expf-inputs.
29598 * benchtests/log2f-inputs: Copy of logf-inputs.
29600 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29602 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29603 Explicitly take address of first element of array arguments in
29604 call to INLINE_SYSCALL.
29606 2017-09-19 Andreas Schwab <schwab@suse.de>
29609 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29611 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29614 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29615 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29616 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29617 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29618 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29620 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29621 * posix/Makefile (tests): Add tst-fexecve.
29622 * posix/tst-fexecve.c: New file.
29624 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29626 * benchtests/Makefile: Add logf benchmark.
29627 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29629 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29631 * benchtests/Makefile: Add expf benchmark.
29632 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29634 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29636 * csu/Makefile: Add -funwind-tables to libc-start.c.
29637 * debug/Makefile: Add -funwind-tables to backtrace.c.
29638 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29639 * sysdeps/arm/Makefile: Likewise.
29640 * sysdeps/i386/Makefile: Likewise.
29641 * sysdeps/m68k/Makefile: Likewise.
29642 * sysdeps/mips/Makefile: Likewise.
29643 * sysdeps/nios2/Makefile: Likewise.
29644 * sysdeps/sh/Makefile: Likewise.
29645 * sysdeps/sparc/Makefile: Likewise.
29647 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29649 * benchtests/Makefile (bench-math): Add trunc and truncf.
29650 (CFLAGS-bench-trunc.c): New variable.
29651 (CFLAGS-bench-truncf.c): Likewise.
29652 * benchtests/trunc-inputs: New file.
29653 * benchtests/truncf-inputs: Likewise.
29655 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29657 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29659 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29661 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29662 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29664 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29665 (exp10l): Define as weak alias.
29666 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29667 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29669 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29670 (remainderl): Define as weak alias.
29672 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29673 (fmal): Define using libm_alias_ldouble.
29674 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29675 (acoshl): Define using libm_alias_ldouble.
29676 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29677 (acosl): Define using libm_alias_ldouble.
29678 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29679 (asinl): Define using libm_alias_ldouble.
29680 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29681 (atan2l): Define using libm_alias_ldouble.
29682 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29683 (atanhl): Define using libm_alias_ldouble.
29684 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29685 (coshl): Define using libm_alias_ldouble.
29686 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29687 (exp10l): Define using libm_alias_ldouble.
29688 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29689 (exp2l): Define using libm_alias_ldouble.
29690 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29691 (expl): Define using libm_alias_ldouble.
29692 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29693 (fmodl): Define using libm_alias_ldouble.
29694 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29695 (hypotl): Define using libm_alias_ldouble.
29696 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29697 (j0l): Define using libm_alias_ldouble.
29699 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29700 (j1l): Define using libm_alias_ldouble.
29702 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29703 (jnl): Define using libm_alias_ldouble.
29705 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29706 (log10l): Define using libm_alias_ldouble.
29707 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29708 (log2l): Define using libm_alias_ldouble.
29709 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29710 (logl): Define using libm_alias_ldouble.
29711 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29712 (powl): Define using libm_alias_ldouble.
29713 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29714 (remainderl): Define using libm_alias_ldouble.
29715 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29716 (sinhl): Define using libm_alias_ldouble.
29717 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29718 (sqrtl): Define using libm_alias_ldouble.
29719 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29720 (tgammal): Define using libm_alias_ldouble.
29721 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29722 (exp10l): Do not use long_double_symbol here.
29723 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29724 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29725 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29726 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29727 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29728 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29729 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29730 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29731 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29732 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29733 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29734 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29735 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29736 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29737 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29738 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29739 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29740 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29741 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29742 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29743 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29744 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29746 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29748 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29749 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29751 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29753 * io/read.c (read): Add libc_hidden_weak.
29754 * sysdeps/mach/hurd/read.c (read): Likewise.
29755 * io/write.c (write): Likewise.
29756 * sysdeps/mach/hurd/write.c (write): Likewise.
29757 * io/pread64.c (__pread64): Likewise.
29758 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29759 * posix/pread64.c (__pread64): Add libc_hidden_def.
29761 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29763 * benchtests/scripts/compare_strings.py: New option -g.
29764 (draw_graph): Print a message that a graph is being generated.
29765 (process_results): Generate graph only if -g is passed.
29766 (main): Process option -g.
29768 * benchtests/scripts/compare_strings.py (process_results):
29769 Better spacing for output.
29771 * benchtests/scripts/compare_strings.py: Use argparse.
29772 * benchtests/README: Document existence of compare_strings.py.
29774 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29776 * math/s_fma.c: Include <libm-alias-double.h>.
29777 (fma): Define using libm_alias_double.
29778 * math/s_nextafter.c: Include <libm-alias-double.h>.
29779 (nextafter): Define using libm_alias_double.
29780 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29781 (acos): Define using libm_alias_double.
29782 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29783 (aocsh): Define using libm_alias_double.
29784 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29785 (asin): Define using libm_alias_double.
29786 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29787 (atan2): Define using libm_alias_double.
29788 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29789 (atanh): Define using libm_alias_double.
29790 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29791 (cosh): Define using libm_alias_double.
29792 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29793 (exp10): Define using libm_alias_double.
29794 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29795 (exp2): Define using libm_alias_double.
29796 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29797 (exp): Define using libm_alias_double.
29798 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29799 (fmod): Define using libm_alias_double.
29800 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29801 (hypot): Define using libm_alias_double.
29802 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29803 (j0): Define using libm_alias_double.
29805 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29806 (j1): Define using libm_alias_double.
29808 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29809 (jn): Define using libm_alias_double.
29811 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29812 (log10): Define using libm_alias_double.
29813 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29814 (log2): Define using libm_alias_double.
29815 * math/w_log_compat.c: Include <libm-alias-double.h>.
29816 (log): Define using libm_alias_double.
29817 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29818 (pow): Define using libm_alias_double.
29819 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29820 (remainder): Define using libm_alias_double.
29821 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29822 (sinh): Define using libm_alias_double.
29823 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29824 (sqrt): Define using libm_alias_double.
29825 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29826 (tgamma): Define using libm_alias_double.
29827 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29828 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29829 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29830 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29831 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29832 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29833 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29834 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29835 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29836 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29837 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29838 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29839 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29840 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29841 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29842 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29843 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29844 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29845 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29846 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29847 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29848 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29849 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29850 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29851 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29853 * math/e_acoshl.c: Remove.
29854 * math/e_acosl.c: Likewise.
29855 * math/e_asinl.c: Likewise.
29856 * math/e_atan2l.c: Likewise.
29857 * math/e_atanhl.c: Likewise.
29858 * math/e_coshl.c: Likewise.
29859 * math/e_expl.c: Likewise.
29860 * math/e_fmodl.c: Likewise.
29861 * math/e_gammal_r.c: Likewise.
29862 * math/e_hypotl.c: Likewise.
29863 * math/e_j0l.c: Likewise.
29864 * math/e_j1l.c: Likewise.
29865 * math/e_jnl.c: Likewise.
29866 * math/e_lgammal_r.c: Likewise.
29867 * math/e_log10l.c: Likewise.
29868 * math/e_log2l.c: Likewise.
29869 * math/e_logl.c: Likewise.
29870 * math/e_powl.c: Likewise.
29871 * math/e_rem_pio2l.c: Likewise.
29872 * math/e_sinhl.c: Likewise.
29873 * math/e_sqrtf128.c: Likewise.
29874 * math/e_sqrtl.c: Likewise.
29875 * math/k_cosl.c: Likewise.
29876 * math/k_sinl.c: Likewise.
29877 * math/k_tanl.c: Likewise.
29878 * math/s_asinhl.c: Likewise.
29879 * math/s_atanl.c: Likewise.
29880 * math/s_cbrtl.c: Likewise.
29881 * math/s_erfl.c: Likewise.
29882 * math/s_expm1l.c: Likewise.
29883 * math/s_log1pl.c: Likewise.
29884 * math/s_tanhl.c: Likewise.
29886 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29890 [$(subdir) = math] (sysdep_calls): New variable. Has the
29891 previous contents of sysdep_routines, but re-sorted..
29892 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29894 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29895 defined in sysdep_calls and replace by the respective m_* names.
29896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29897 (compat_symbol): Undefine to avoid duplicated compat symbols in
29900 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29902 * math/s_fmaf.c: Include <libm-alias-float.h>.
29903 (fmaf): Define using libm_alias_float.
29904 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29905 (acosf): Define using libm_alias_float.
29906 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29907 (acoshf): Define using libm_alias_float.
29908 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29909 (asinf): Define using libm_alias_float.
29910 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29911 (atan2f): Define using libm_alias_float.
29912 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29913 (atanhf): Define using libm_alias_float.
29914 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29915 (coshf): Define using libm_alias_float.
29916 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29917 (exp10f): Define using libm_alias_float.
29918 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29919 (fmodf): Define using libm_alias_float.
29920 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29921 (hypotf): Define using libm_alias_float.
29922 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29923 (j0f): Define using libm_alias_float.
29925 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29926 (j1f): Define using libm_alias_float.
29928 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29929 (jnf): Define using libm_alias_float.
29931 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29932 (log10f): Define using libm_alias_float.
29933 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29934 (log2f): Define using libm_alias_float.
29935 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29936 (logf): Define using libm_alias_float.
29937 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29938 (powf): Define using libm_alias_float.
29939 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29940 (remainderf): Define using libm_alias_float.
29941 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29942 (sinhf): Define using libm_alias_float.
29943 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29944 (sqrtf): Define using libm_alias_float.
29945 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29946 (tgammaf): Define using libm_alias_float.
29948 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29950 * include/math.h (roundeven): Change hidden_proto call to
29952 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29954 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29955 (y0): Rename to __y0 and define as weak alias.
29956 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29957 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29959 (y0f): Rename to __y0f and define as weak alias.
29960 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29962 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29963 (y1): Rename to __y1 and define as weak alias.
29964 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29965 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29967 (y1f): Rename to __y1f and define as weak alias.
29968 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29970 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29971 (yn): Rename to __yn and define as weak alias.
29972 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29973 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29975 (ynf): Rename to __ynf and define as weak alias.
29976 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29977 (fromfp): Define as weak alias.
29978 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29979 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29980 (fromfpx): Define as weak alias.
29981 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29982 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29983 __getpayload and define as weak alias.
29984 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29985 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29986 __roundeven and define as weak alias.
29987 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29988 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29990 (setpayload): Define as weak alias.
29991 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29992 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29994 (setpayloadsig): Define as weak alias.
29995 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29996 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29997 __totalorder and define as weak alias.
29998 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29999 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30000 to __totalordermag and define as weak alias.
30001 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30002 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30003 (ufromfp): Define as weak alias.
30004 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30005 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30007 (ufromfpx): Define as weak alias.
30008 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30009 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30010 Rename to __getpayload and define as weak alias.
30011 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30012 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30013 Rename to __roundeven and define as weak alias.
30014 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30015 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30016 Rename to __totalorder and define as weak alias.
30017 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30018 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30019 (totalordermag): Rename to __totalordermag and define as weak
30021 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30022 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30024 (__roundevenl): Likewise.
30025 (__totalorderl): Likewise.
30026 (__totalordermagl): Likewise
30027 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30029 (fromfpf128): Define as weak alias.
30030 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30032 (fromfpxf128): Define as weak alias.
30033 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30035 (setpayloadf128): Define as weak alias.
30036 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30037 __setpayloadsigf128.
30038 (setpayloadsigf128): Define as weak alias.
30039 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30041 (ufromfpf128): Define as weak alias.
30042 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30044 (ufromfpxf128): Define as weak alias.
30045 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30046 (fromfpf): Define as weak alias.
30047 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30049 (fromfpxf): Define as weak alias.
30050 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30051 __getpayloadf and define as weak alias.
30052 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30053 __roundevenf and define as weak alias.
30054 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30056 (setpayloadf): Define as weak alias.
30057 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30059 (setpayloadsigf): Define as weak alias.
30060 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30061 __totalorderf and define as weak alias.
30062 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30063 Rename to __totalordermagf and define as weak alias.
30064 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30066 (ufromfpf): Define as weak alias.
30067 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30069 (ufromfpxf): Define as weak alias.
30070 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30072 (fromfpl): Define as weak alias.
30073 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30075 (fromfpxl): Define as weak alias.
30076 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30077 to __getpayloadl and define as weak alias.
30078 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30079 __roundevenl and define as weak alias.
30080 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30082 (setpayloadl): Define as weak alias.
30083 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30085 (setpayloadsigl): Define as weak alias.
30086 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30087 to __totalorderl and define as weak alias.
30088 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30089 Rename to __totalordermagl and define as weak alias.
30090 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30092 (ufromfpl): Define as weak alias.
30093 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30095 (ufromfpxl): Define as weak alias.
30096 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30098 (fromfpl): Define as weak alias.
30099 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30101 (fromfpxl): Define as weak alias.
30102 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30103 Rename to __getpayloadl and define as weak alias.
30104 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30105 to __roundevenl and define as weak alias. Call __roundeven
30106 instead of roundeven.
30107 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30109 (setpayloadl): Define as weak alias.
30110 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30112 (setpayloadsigl): Define as weak alias.
30113 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30114 Rename to __totalorderl and define as weak alias.
30115 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30116 Rename to __totalordermagl and define as weak alias.
30117 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30119 (ufromfpl): Define as weak alias.
30120 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30122 (ufromfpxl): Define as weak alias.
30123 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30125 (fromfpl): Define as weak alias.
30126 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30128 (fromfpxl): Define as weak alias.
30129 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30130 __getpayloadl and define as weak alias.
30131 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30132 __roundevenl and define as weak alias.
30133 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30135 (setpayloadl): Define as weak alias.
30136 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30138 (setpayloadsigl): Define as weak alias.
30139 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30140 __totalorderl and define as weak alias.
30141 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30142 Rename to __totalordermagl and define as weak alias.
30143 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30145 (ufromfpl): Define as weak alias.
30146 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30148 (ufromfpxl): Define as weak alias.
30150 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30152 * benchtests/bench-string.h (realloc_bufs): New function.
30153 (test_init): Call it.
30154 * benchtests/bench-memset-large.c (do_test): Likewise.
30155 * benchtests/bench-memset.c (do_test): Likewise.
30157 * benchtests/bench-memset-large.c: Print output in JSON
30159 * benchtests/bench-memset.c: Likewise.
30161 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30164 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30165 * iconvdata/Makefile: Add IBM858.
30166 * iconvdata/gconv-modules: Likewise.
30167 * iconvdata/tst-tables.sh: Likewise.
30168 * iconvdata/ibm858.c: New file.
30169 * localedata/charmaps/IBM858: Likewise.
30171 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30174 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30175 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30177 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30180 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30181 and add tel_int_fmt.
30183 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30185 * sysdeps/generic/libm-alias-float128.h: New file.
30186 * sysdeps/generic/math-type-macros-float128.h: Include
30187 <libm-alias-float128.h>.
30188 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30190 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30192 * sysdeps/generic/libm-alias-ldouble.h: New file.
30193 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30194 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30195 * sysdeps/generic/math-type-macros-ldouble.h: Include
30196 <libm-alias-ldouble.h>.
30197 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30198 libm_alias_ldouble.
30200 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30202 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30203 * math/w_exp_compat.c: ... here.
30204 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30205 * math/w_expf_compat.c: ... here.
30206 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30207 * math/w_expl_compat.c: ... here.
30208 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30209 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30210 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30211 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30213 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30215 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30217 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30219 (ldexpl): Only define as compat symbol for libc, not libm.
30220 (scalbnl): Define as compat symbol for libc here.
30221 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30222 define for [IS_IN (libc)].
30223 (__ldexpl_2): Remove alias.
30224 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30225 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30226 name in long_double_symbol call.
30227 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30228 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30229 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30230 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30231 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30233 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30234 Define as compat symbol.
30236 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30238 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30239 * sysdeps/unix/sysv/linux/alpha/Makefile
30240 [$(subdir) = csu] (sysdep_routines): Remove rule.
30242 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30244 * sysdeps/generic/libm-alias-double.h: New file.
30245 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30246 * sysdeps/generic/math-type-macros-double.h: Include
30247 <libm-alias-double.h>.
30248 [declare_mgen_alias] (declare_mgen_alias): Define to use
30250 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30251 (M_LIBM_NEED_COMPAT): Remove macro.
30252 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30253 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30254 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30256 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30257 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30258 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30259 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30260 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30261 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30262 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30263 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30264 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30265 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30266 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30267 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30268 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30269 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30270 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30271 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30272 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30273 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30274 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30275 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30276 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30277 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30278 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30279 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30280 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30281 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30282 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30283 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30284 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30286 (declare_mgen_alias): New macro.
30287 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30288 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30290 (M_LIBM_NEED_COMPAT): Remove macro.
30291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30292 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30293 <first-versions.h>.
30294 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30295 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30297 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30299 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30300 (declare_mgen_alias_2): Remove.
30301 * sysdeps/generic/math-type-macros-double.h
30302 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30304 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30306 (ldexp): Define with declare_mgen_alias.
30307 (scalbn): Likewise.
30309 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30311 * grp/initgroups.c: Include config.h.
30312 (DEFAULT_CONFIG): New macro.
30313 (internal_getgrouplist): Use DEFAULT_CONFIG.
30314 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30315 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30316 (DEFAULT_DEFCONFIG): New macro.
30317 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30318 * nss/grp-lookup.c: Include config.h
30319 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30320 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30321 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30322 * manual/nss.texi: Update default values section.
30324 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30327 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30329 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30330 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30331 Handle MathVec_Prefer_No_AVX512.
30332 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30333 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30336 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30338 * posix/sched_primax.c (__sched_get_priority_max): Add
30340 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30341 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30342 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30343 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30344 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30345 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30346 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30347 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30350 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30352 * sysdeps/generic/libm-alias-float.h: New file.
30353 * sysdeps/generic/math-type-macros-float.h: Include
30354 <libm-alias-float.h>.
30355 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30357 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30360 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30361 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30362 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30363 (HWCAP_IMPORTANT): Likewise.
30364 (HWCAP_X86_64): New enum.
30365 (HWCAP_X86_AVX512_1): Updated.
30366 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30367 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30368 (modules-names): Add x86_64/tst-x86_64mod-1.
30369 (LDFLAGS-tst-x86_64mod-1.so): New.
30370 ($(objpfx)tst-x86_64-1): Likewise.
30371 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30372 (tst-x86_64-1-clean): Likewise.
30373 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30374 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30376 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30378 * po/sv.po: Update translations.
30379 * po/fr.po: Likewise.
30381 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30383 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30385 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30387 * elf/rtld-Rules: Fix $(error) use.
30389 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30392 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30393 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30394 * localedata/locales/bn_BD: “Bengali” was still used in some
30395 comments. Change it to “Bangla”.
30397 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30399 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30401 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30403 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30404 thunderx2t99p1 to list of cpu names.
30405 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30406 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30408 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30410 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30411 Use strcmp instead of tunable_is_name.
30413 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30416 (F_GET_RW_HINT): New macro.
30417 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30418 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30419 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30420 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30421 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30422 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30423 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30424 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30425 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30428 (F_ADD_SEALS): New macro.
30429 [__USE_GNU] (F_GET_SEALS): Likewise.
30430 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30431 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30432 [__USE_GNU] (F_SEAL_GROW): Likewise.
30433 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30435 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30437 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30438 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30439 * posix/glob_internal.h (__glob_pattern_type):
30440 * posix/glob.c (glob):
30441 * posix/glob_pattern_p.c (__glob_pattern_p):
30444 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30445 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30446 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30447 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30448 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30450 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30451 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30452 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30453 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30454 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30455 * sysdeps/wordsize-64/glob.c: Likewise.
30456 * sysdeps/wordsize-64/glob64.c: Likewise.
30457 * sysdeps/wordsize-64/globfree.c: Likewise.
30458 * sysdeps/wordsize-64/globfree64.c: Likewise.
30459 * sysdeps/unix/sysv/linux/glob.c: New file.
30460 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30461 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30462 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30463 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30464 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30465 adds !GLOB_NO_OLD_VERSION as an extra condition.
30466 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30467 using relative path instead of absolute one.
30468 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30469 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30470 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30471 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30472 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30473 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30476 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30477 (glob): Use the same scratch buffer for both getlogin_r and
30478 getpwnam_r. Don’t require preallocation of the login name. This
30479 simplifies storage allocation, and corrects the handling of
30483 * posix/glob.c (glob): Port recent patches to platforms
30484 lacking getpwnam_r.
30485 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30486 returns an error number rather than setting errno.
30488 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30489 instead of GCC extension.
30490 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30491 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30492 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30496 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30497 * posix/bug-glob1.c: Remove file.
30498 * posix/tst-glob_symlinks.c: New file.
30499 * posix/glob.c (__lstat64): New macro.
30500 (is_dir): New function.
30501 (glob, glob_in_dir): Match symlinks even if they are dangling.
30502 (link_stat, link_exists_p): Remove. All uses removed.
30506 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30507 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30512 * posix/Makefile (routines): Add globfree, globfree64, and
30514 * posix/flexmember.h: New file.
30515 * posix/glob_internal.h: Likewise.
30516 * posix/glob_pattern_p.c: Likewise.
30517 * posix/globfree.c: Likewise.
30518 * posix/globfree64.c: Likewise.
30519 * sysdeps/gnu/globfree64.c: Likewise.
30520 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30521 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30522 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30523 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30524 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30525 * sysdeps/wordsize-64/globfree.c: Likewise.
30526 * sysdeps/wordsize-64/globfree64.c: Likewise.
30527 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30528 [NDEBUG): Remove comments.
30529 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30530 (dirent_type): New type. Use uint_fast8_t not
30531 uint8_t, as C99 does not require uint8_t.
30532 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30533 (struct readdir_result): Use dirent_type. Do not define skip_entry
30534 unless it is needed; this saves a byte on platforms lacking d_ino.
30535 (readdir_result_type, readdir_result_skip_entry):
30536 New functions, replacing ...
30537 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30538 these functions, which were removed. This makes the callers
30539 easier to read. All callers changed.
30540 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30541 (size_add_wrapv, glob_use_alloca): New static functions.
30542 (glob, glob_in_dir): Check for size_t overflow in several places,
30543 and fix some size_t checks that were not quite right.
30544 Remove old code using SHELL since Bash no longer
30546 (glob, prefix_array): Separate MS code better.
30547 (glob_in_dir): Remove old Amiga and VMS code.
30548 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30550 (glob_in_dir): Do not rely on undefined behavior in accessing
30551 struct members beyond their bounds. Use a flexible array member
30553 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30554 0/1. Caller changed.
30555 (glob): Fix memory leaks.
30556 * posix/glob64 (globfree64): Move to separate file.
30557 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30558 (globfree64): Remove hidden alias.
30559 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30561 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30563 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30565 Move compat code to separate file.
30566 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30569 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30571 * resolv/tst-resolv-qtypes.c (domain): Changed to
30572 "const char domain[] =".
30574 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30576 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30579 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30580 (TCP_MD5SIG_EXT): Likewise.
30581 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30582 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30583 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30585 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30587 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30589 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30591 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30594 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30596 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30598 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30599 before assuming that the file is empty. Avoid testing buffer content
30602 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30605 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30607 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30609 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30611 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30613 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30615 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30617 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30620 2017-09-06 Florian Weimer <fweimer@redhat.com>
30622 * malloc/dynarray_emplace_enlarge.c
30623 (__libc_dynarray_emplace_enlarge): Add missing else.
30625 2017-09-06 Florian Weimer <fweimer@redhat.com>
30628 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30629 case of failure to obtain the global conf object.
30631 2017-09-06 Florian Weimer <fweimer@redhat.com>
30634 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30635 dynarray allocation failure.
30637 2017-09-06 Florian Weimer <fweimer@redhat.com>
30639 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30640 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30641 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30643 (response): Call them. Add 'p', '6' flag processing.
30644 (test_reverse): New function.
30645 (test_get2_any): Call it.
30646 (test_no_inet6): Add 'p' test.
30647 (test_inet6): Likewise.
30649 2017-09-06 Florian Weimer <fweimer@redhat.com>
30651 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30652 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30654 (test_gai): Adjust query names. Add additional tests.
30655 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30656 test_get2. Adjust query names. Add additional tests.
30657 (test_no_inet6): New function, extracted from threadfunc.
30658 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30659 Add additional tests.
30661 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30664 * localedata/unicode-gen/utf8_gen.py: Set the width for
30665 characters with Prepended_Concatenation_Mark property to 1
30666 * localedata/charmaps/UTF-8: Updated using the improved script.
30668 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30671 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30672 use the range notation for all ranges of neighbouring characters
30673 with the same width.
30675 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30677 * sysdeps/generic/math-type-macros-double.h: Include
30678 <math-svid-compat.h>.
30679 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30680 * sysdeps/generic/math-type-macros-float.h: Include
30681 <math-svid-compat.h>.
30682 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30683 * sysdeps/generic/math-type-macros-ldouble.h: Include
30684 <math-svid-compat.h>.
30685 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30686 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30688 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30689 * math/w_acosf_compat.c: Likewise.
30690 * math/w_acosh_compat.c: Likewise.
30691 * math/w_acoshf_compat.c: Likewise.
30692 * math/w_acoshl_compat.c: Likewise.
30693 * math/w_acosl_compat.c: Likewise.
30694 * math/w_asin_compat.c: Likewise.
30695 * math/w_asinf_compat.c: Likewise.
30696 * math/w_asinl_compat.c: Likewise.
30697 * math/w_atan2_compat.c: Likewise.
30698 * math/w_atan2f_compat.c: Likewise.
30699 * math/w_atan2l_compat.c: Likewise.
30700 * math/w_atanh_compat.c: Likewise.
30701 * math/w_atanhf_compat.c: Likewise.
30702 * math/w_atanhl_compat.c: Likewise.
30703 * math/w_cosh_compat.c: Likewise.
30704 * math/w_coshf_compat.c: Likewise.
30705 * math/w_coshl_compat.c: Likewise.
30706 * math/w_exp10_compat.c: Likewise.
30707 * math/w_exp10f_compat.c: Likewise.
30708 * math/w_exp10l_compat.c: Likewise.
30709 * math/w_exp2_compat.c: Likewise.
30710 * math/w_exp2f_compat.c: Likewise.
30711 * math/w_exp2l_compat.c: Likewise.
30712 * math/w_fmod_compat.c: Likewise.
30713 * math/w_fmodf_compat.c: Likewise.
30714 * math/w_fmodl_compat.c: Likewise.
30715 * math/w_hypot_compat.c: Likewise.
30716 * math/w_hypotf_compat.c: Likewise.
30717 * math/w_hypotl_compat.c: Likewise.
30718 * math/w_j0_compat.c: Likewise.
30719 * math/w_j0f_compat.c: Likewise.
30720 * math/w_j0l_compat.c: Likewise.
30721 * math/w_j1_compat.c: Likewise.
30722 * math/w_j1f_compat.c: Likewise.
30723 * math/w_j1l_compat.c: Likewise.
30724 * math/w_jn_compat.c: Likewise.
30725 * math/w_jnf_compat.c: Likewise.
30726 * math/w_jnl_compat.c: Likewise.
30727 * math/w_lgamma_r_compat.c: Likewise.
30728 * math/w_lgammaf_r_compat.c: Likewise.
30729 * math/w_lgammal_r_compat.c: Likewise.
30730 * math/w_log10_compat.c: Likewise.
30731 * math/w_log10f_compat.c: Likewise.
30732 * math/w_log10l_compat.c: Likewise.
30733 * math/w_log2_compat.c: Likewise.
30734 * math/w_log2f_compat.c: Likewise.
30735 * math/w_log2l_compat.c: Likewise.
30736 * math/w_log_compat.c: Likewise.
30737 * math/w_logf_compat.c: Likewise.
30738 * math/w_logl_compat.c: Likewise.
30739 * math/w_pow_compat.c: Likewise.
30740 * math/w_powf_compat.c: Likewise.
30741 * math/w_powl_compat.c: Likewise.
30742 * math/w_remainder_compat.c: Likewise.
30743 * math/w_remainderf_compat.c: Likewise.
30744 * math/w_remainderl_compat.c: Likewise.
30745 * math/w_sinh_compat.c: Likewise.
30746 * math/w_sinhf_compat.c: Likewise.
30747 * math/w_sinhl_compat.c: Likewise.
30748 * math/w_sqrt_compat.c: Likewise.
30749 * math/w_sqrtf_compat.c: Likewise.
30750 * math/w_sqrtl_compat.c: Likewise.
30751 * math/w_tgamma_compat.c: Likewise.
30752 * math/w_tgammaf_compat.c: Likewise.
30753 * math/w_tgammal_compat.c: Likewise.
30754 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30755 [LIBM_SVID_COMPAT].
30756 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30757 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30758 [LIBM_SVID_COMPAT].
30759 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30760 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30761 [LIBM_SVID_COMPAT].
30762 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30763 * sysdeps/i386/fpu/w_sqrt.c: New file.
30764 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30765 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30766 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30767 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30768 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30769 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30770 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30771 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30772 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30773 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30774 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30775 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30776 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30777 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30778 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30779 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30780 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30781 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30782 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30783 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30784 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30785 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30786 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30787 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30788 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30789 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30790 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30791 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30792 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30793 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30794 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30795 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30796 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30797 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30798 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30799 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30800 * sysdeps/ia64/fpu/w_log.c: Likewise.
30801 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30802 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30803 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30804 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30805 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30806 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30807 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30808 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30809 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30810 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30811 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30812 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30813 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30814 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30815 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30816 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30817 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30818 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30819 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30820 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30821 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30822 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30823 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30824 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30825 [LIBM_SVID_COMPAT].
30826 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30827 * sysdeps/ieee754/k_standard.c: Likewise.
30828 * sysdeps/ieee754/k_standardf.c: Likewise.
30829 * sysdeps/ieee754/k_standardl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30831 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30833 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30834 long_double_symbol call on [LIBM_SVID_COMPAT].
30835 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30836 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30837 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30838 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30839 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30840 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30841 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30842 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30843 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30844 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30845 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30846 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30847 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30848 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30849 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30850 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30851 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30852 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30853 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30854 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30855 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30856 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30858 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30860 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30861 * malloc/tst-mallocstate.c: Convert from test-skeleton
30862 to test-driver. Ifdef code using TEST_COMPAT macro.
30863 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30864 * math/test-matherr.c: Likewise.
30866 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30869 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30870 comparing word with byte-swapped constant.
30872 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30875 * locale/iso-639.def: add Miskito.
30876 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30877 * localedata/locales/miq_NI: New file.
30879 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30882 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30883 (__mkdir): Likewise.
30884 * io/chmod.c (__chmod): Add libc_hidden_def.
30885 * io/mkdir.c (__mkdir): Likewise.
30886 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30887 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30888 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30889 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30891 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30893 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30897 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30898 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30900 2017-09-04 Florian Weimer <fweimer@redhat.com>
30902 * math/math.h: Issue warning if log is defined.
30904 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30906 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30907 kernel version to 4.13.
30909 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30911 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30912 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30914 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30915 just <bits/types.h>.
30916 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30917 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30918 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30919 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30920 * misc/preadv2.c: Include <errno.h>.
30921 * misc/preadv64v2.c: Include <errno.h>.
30922 * misc/pwritev2.c: Include <errno.h>.
30923 * misc/pwritev64v2.c: Include <errno.h>.
30924 * sysdeps/posix/preadv2.c: Include <errno.h>.
30925 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30926 Fix <unistd.h> inclusion.
30927 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30928 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30929 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30930 __strtoul_internal): New functions.
30931 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30932 * sysdeps/posix/system.c: Include <sigsetops.h>.
30933 * sysdeps/mach/hurd/i386/Makefile
30934 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30935 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30936 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30937 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30938 __feraiseexcept_renamed to feraiseexcept instead of
30939 __GI_feraiseexcept.
30940 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30941 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30942 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30943 RWF_NOWAIT): Define to 0 if undefined already.
30944 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30946 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30947 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30949 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30951 * manual/math.texi (pow10): Do not document.
30952 (pow10f): Likewise.
30953 (pow10l): Likewise.
30954 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30955 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30956 * math/libm-test-exp10.inc (pow10_test): Remove.
30957 (do_test): Do not call pow10.
30958 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30959 [NO_LONG_DOUBLE] (pow10l): Likewise.
30960 * math/w_exp10f_compat.c (pow10f): Likewise.
30961 * math/w_exp10l_compat.c (pow10l): Likewise.
30962 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30963 (pow10): Make into compat symbol.
30964 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30965 (pow10f): Make into compat symbol.
30966 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30967 (pow10l): Make into compat symbol.
30968 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30970 (CFLAGS-nldbl-pow10.c): Remove variable..
30971 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30972 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30973 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30974 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30975 Undefine and redefine.
30976 (pow10l): Make into compat symbol.
30977 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30978 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30979 * sysdeps/arm/libm-test-ulps: Likewise.
30980 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30981 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30982 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30983 * sysdeps/microblaze/libm-test-ulps: Likewise.
30984 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30985 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30986 * sysdeps/nios2/libm-test-ulps: Likewise.
30987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30988 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30989 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30990 * sysdeps/sh/libm-test-ulps: Likewise.
30991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30992 * sysdeps/tile/libm-test-ulps: Likewise.
30993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30995 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30997 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30999 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31001 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31002 "../ChangeLog.old/ChangeLog.8".
31003 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31004 "../ChangeLog.old/ChangeLog.14".
31006 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31008 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31011 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31013 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31015 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31017 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31018 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31020 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31022 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31023 32 atexit handlers.
31025 2017-09-01 Zack Weinberg <zackw@panix.com>
31027 * math/math.h (HUGE_VAL): Improve commentary.
31029 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31030 Andreas Schwab <schwab@suse.de>
31033 * include/stdio.h (__gen_tempfd): New function.
31034 * stdio-common/Makefile (routines): Add gentempfd.
31035 * stdio-common/gentempfd.c: New file.
31036 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31037 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31038 unnamed file first.
31040 2017-09-01 Florian Weimer <fweimer@redhat.com>
31044 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31045 result to determine success or failure, not the errno value.
31046 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31047 (tst-nss-files-hosts-erange): Link with -ldl.
31048 * nss/tst-nss-files-hosts-erange.c: New file.
31049 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31050 (do_test): Add NO_DATA tests.
31051 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31052 (do_test): Call it.
31054 2017-09-01 Florian Weimer <fweimer@redhat.com>
31057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31058 coming from gethostbyname2_r.
31060 2017-09-01 Florian Weimer <fweimer@redhat.com>
31062 * support/namespace.h (struct support_chroot_configuration): Add
31064 (struct support_chroot): Add path_hosts, path_host_conf.
31065 * support/support_chroot.c (write_file): New function.
31066 (support_chroot_create): Call it to process /etc/resolv.conf,
31067 /etc/hosts, /etc/host.conf.
31068 (support_chroot_free): Update.
31070 2017-09-01 Florian Weimer <fweimer@redhat.com>
31072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31073 status indicates it is set.
31075 2017-09-01 Florian Weimer <fweimer@redhat.com>
31078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31079 function lookup failures more reliable.
31081 2017-09-01 Florian Weimer <fweimer@redhat.com>
31083 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31084 (getcanonname): Likewise.
31085 (gaih_inet): Likewise.
31087 2017-09-01 Florian Weimer <fweimer@redhat.com>
31089 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31090 (getcanonname): Likewise.
31091 (gaih_inet): Likewise.
31093 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31094 Richard Henderson <rth@twiddle.net>
31096 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31097 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31098 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31099 (IREG_SIZE, OREG_SIZE): New macros.
31100 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31101 (IREG_SIZE, OREG_SIZE): New macros.
31102 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31103 (IREG_SIZE): New macro.
31104 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31105 (IREG_SIZE): New macro.
31106 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31108 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31109 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31110 (__CONCATX): Handle exceptions correctly on large values that may
31112 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31113 Initialize if not already set.
31114 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31116 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31118 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31119 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31121 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31123 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31125 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31127 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31129 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31131 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31133 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31134 (NO_CANCELLATION): Likewise.
31135 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31137 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31139 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31141 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31142 (NO_CANCELLATION): Likewise.
31143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31144 (NO_CANCELLATION): Likewise.
31145 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31147 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31149 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31151 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31153 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31155 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31156 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31158 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31160 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31163 2017-08-31 Florian Weimer <fweimer@redhat.com>
31165 * include/libc-symbols.h (internal_function): Remove.
31167 2017-08-31 Florian Weimer <fweimer@redhat.com>
31169 * stdlib/fmtmsg.c (internal_addseverity): Remove
31172 2017-08-31 Florian Weimer <fweimer@redhat.com>
31174 * stdio-common/printf_fp.c (group_number): Remove
31176 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31178 2017-08-31 Florian Weimer <fweimer@redhat.com>
31180 * posix/fnmatch.c (internal_function): Remove definition.
31181 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31182 * posix/regcomp.c (peek_token, init_word_char)
31183 (duplicate_node_closure, fetch_token, peek_token)
31184 (peek_token_bracket, build_range_exp, build_collating_symbol):
31186 * posix/regex_internal.c (re_string_construct_common)
31187 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31188 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31189 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31190 (re_string_translate_buffer, re_string_reconstruct)
31191 (re_string_peek_byte_case, re_string_fetch_byte_case)
31192 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31193 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31194 (re_node_set_add_intersect, re_node_set_init_union)
31195 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31196 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31197 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31198 (re_acquire_state_context): Likewise.
31199 * posix/regex_internal.h (internal_function): Remove definition.
31200 (re_string_realloc_buffers, build_wcs_buffer)
31201 (build_wcs_upper_buffer, build_upper_buffer)
31202 (re_string_translate_buffer, re_string_context_at)
31203 (re_string_char_size_at, re_string_wchar_at)
31204 (re_string_elem_size_at): Likewise.
31205 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31206 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31207 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31208 (re_search_internal, re_search_2_stub, re_search_stub)
31209 (re_copy_regs, prune_impossible_nodes, check_matching)
31210 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31211 (free_fail_stack_return, sift_states_iter_mb)
31212 (sift_states_backward, build_sifted_states)
31213 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31214 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31215 (check_subexp_limits, sift_states_bkref, merge_state_array)
31216 (find_recover_state, transit_state, merge_state_with_log)
31217 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31218 (transit_state_mb, transit_state_bkref, get_subexp)
31219 (get_subexp_sub, find_subexp_node, check_arrival)
31220 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31221 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31222 (check_node_accept_bytes, find_collation_sequence_value)
31223 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31224 (acquire_init_state_context, check_halt_node_context)
31225 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31226 (sub_epsilon_src_nodes): Likewise.
31227 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31228 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31229 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31230 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31231 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31232 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31233 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31234 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31235 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31236 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31237 (PREADV): Likewise.
31238 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31239 (PREADV): Likewise.
31240 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31241 (PWRITEV): Likewise.
31242 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31243 (PWRITEV): Likewise.
31244 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31245 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31247 2017-08-31 Florian Weimer <fweimer@redhat.com>
31249 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31250 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31251 Remove internal_function.
31252 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31253 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31254 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31255 (__deallocate_stack, __libc_pthread_init)
31256 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31257 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31258 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31260 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31261 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31262 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31264 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31265 (__pthread_mutex_unlock_usercnt): Likewise.
31267 2017-08-31 Florian Weimer <fweimer@redhat.com>
31269 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31270 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31271 (fts_safe_changedir): Remove internal_function.
31272 * io/ftw.c (internal_function): Remove definition.
31273 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31275 2017-08-31 Florian Weimer <fweimer@redhat.com>
31277 * inet/deadline.c (__deadline_current_time)
31278 (__deadline_from_timeval, __deadline_to_ms): Remove
31280 * inet/getnameinfo.c (nrl_domainname): Likewise.
31281 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31282 * inet/inet6_option.c (add_pad): Likewise.
31283 * inet/net-internal.h (__deadline_current_time)
31284 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31285 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31286 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31287 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31289 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31291 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31292 include <bits/nan.h>.
31293 * math/Makefile (headers): Remove bits/nan.h.
31294 * bits/nan.h: Remove.
31295 * sysdeps/ieee754/bits/nan.h: Likewise.
31296 * sysdeps/mips/bits/nan.h: Likewise.
31298 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31299 not include <bits/inf.h>.
31300 * math/Makefile (headers): Remove bits/inf.h.
31301 * bits/inf.h: Remove.
31302 * sysdeps/ieee754/bits/inf.h: Likewise.
31304 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31305 bits/huge_vall.h or bits/huge_val_flt128.h.
31306 (HUGE_VAL): Define directly here.
31307 [__USE_ISOC99] (HUGE_VALF): Likewise.
31308 [__USE_ISOC99] (HUGE_VALL): Likewise.
31309 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31310 (HUGE_VAL_F128): Likewise.
31311 * math/Makefile (headers): Remove bits/huge_val.h,
31312 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31313 * bits/huge_val.h: Remove.
31314 * bits/huge_val_flt128.h: Likewise.
31315 * bits/huge_valf.h: Likewise.
31316 * bits/huge_vall.h: Likewise.
31317 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31318 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31319 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31320 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31321 * sysdeps/sh/bits/huge_val.h: Likewise.
31322 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31323 * sysdeps/x86/bits/huge_vall.h: Likewise.
31325 2017-08-31 Florian Weimer <fweimer@redhat.com>
31327 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31329 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31331 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31332 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31333 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31334 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31335 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31336 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31337 * elf/dl-libc.c (dlerror_run): Likewise.
31338 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31339 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31340 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31341 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31343 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31344 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31345 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31346 * elf/dl-profile.c (_dl_start_profile): Likewise.
31347 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31348 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31350 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31351 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31352 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31353 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31354 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31355 (_dl_allocate_tls_storage): Likewise.
31356 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31357 (_dl_check_all_versions): Likewise.
31358 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31359 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31360 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31361 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31362 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31363 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31364 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31365 internal_function from __dl_start.
31366 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31367 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31368 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31369 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31370 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31371 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31372 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31373 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31374 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31375 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31376 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31377 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31378 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31379 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31380 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31382 (struct rtld_global_ro): Remove internal_function from the
31383 _dl_lookup_symbol_x member.
31384 (_dl_symbol_value): Remove. No longer defined anywhere.
31385 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31387 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31388 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31389 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31390 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31391 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31392 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31393 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31394 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31395 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31396 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31397 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31398 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31400 2017-08-31 Florian Weimer <fweimer@redhat.com>
31402 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31403 Remove internal_function.
31404 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31406 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31409 2017-08-31 Florian Weimer <fweimer@redhat.com>
31411 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31412 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31413 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31415 2017-08-31 Florian Weimer <fweimer@redhat.com>
31417 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31418 (__gai_enqueue_request): Remove internal_function.
31419 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31420 (__gai_remove_request, __gai_notify, __gai_notify_only)
31421 (__gai_sigqueue): Likewise.
31422 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31423 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31424 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31425 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31428 2017-08-31 Florian Weimer <fweimer@redhat.com>
31430 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31431 * include/dirent.h (__opendirat, __getdents, __getdents64)
31432 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31433 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31434 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31435 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31437 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31439 2017-08-31 Florian Weimer <fweimer@redhat.com>
31441 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31443 (GETCWD_RETURN_TYPE): Likewise.
31445 2017-08-31 Florian Weimer <fweimer@redhat.com>
31447 * include/time.h (__tz_compute, __strptime_internal): Remove
31449 * time/strptime_l.c (__strptime_internal): Likewise.
31450 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31452 2017-08-31 Florian Weimer <fweimer@redhat.com>
31454 * iconv/gconv.c (__gconv): Remove internal_function.
31455 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31456 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31457 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31458 (__gconv_release_cache): Likewise.
31459 * iconv/gconv_close.c (__gconv_close): Likewise.
31460 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31461 (read_conf_file, __gconv_get_path): Likewise.
31462 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31463 (__gconv_release_step, gen_steps, increment_counter)
31464 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31465 (__gconv_close_transform, free_modules_db): Likewise.
31466 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31468 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31469 (__gconv_find_transform, __gconv_lookup_cache)
31470 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31471 (__gconv_close_transform, __gconv_release_cache)
31472 (__gconv_loaded_object, __gconv_release_shlib)
31473 (__gconv_compare_alias): Likewise.
31474 * iconv/gconv_open.c (__gconv_open): Likewise.
31475 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31476 * iconv/iconvconfig.c (add_module): Likewise.
31477 * intl/dcigettext.c (plural_lookup, guess_category_value)
31478 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31479 * intl/eval-plural.h (plural_eval): Likewise.
31480 * intl/finddomain.c (_nl_find_domain): Likewise.
31481 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31482 (_nl_load_domain, _nl_find_msg): Likewise.
31483 (internal_function): Remove definition.
31484 * intl/loadinfo.h (internal_function): Likewise.
31485 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31487 * intl/localealias.c (internal_function): Remove definition.
31488 (read_alias_file): Remove internal_function.
31489 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31490 * intl/plural-exp.h (internal_function): Remove definition.
31491 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31493 * intl/plural.c: Regenerate.
31494 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31495 * locale/coll-lookup.c (__collidx_table_lookup)
31496 (__collseq_table_lookup): Likewise.
31497 * locale/coll-lookup.h (__collidx_table_lookup)
31498 (__collseq_table_lookup): Likewise.
31499 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31500 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31501 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31502 (_nl_unload_locale): Likewise.
31503 * locale/localeinfo.h (struct __locale_data): Remove
31504 internal_function from cleanup member.
31505 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31506 (_nl_remove_locale, _nl_load_locale_from_archive)
31507 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31508 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31509 (_nl_cleanup_time): Remove internal_function.
31510 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31511 (_nl_parse_alt_digit): Likewise.
31512 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31513 (_nl_select_era_entry): Likewise.
31514 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31515 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31516 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31517 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31518 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31520 2017-08-31 Florian Weimer <fweimer@redhat.com>
31522 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31523 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31524 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31525 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31527 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31528 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31529 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31530 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31532 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31534 2017-08-31 Florian Weimer <fweimer@redhat.com>
31536 * misc/getttyent.c (skip, value): Remove internal_function.
31537 * misc/syslog.c (openlog_internal): Likewise.
31538 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31540 2017-08-31 Florian Weimer <fweimer@redhat.com>
31542 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31543 (__nss_rewrite_field): Remove internal_function.
31544 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31545 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31546 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31547 * nss/nsswitch.c (nss_parse_file, nss_getline)
31548 (nss_parse_service_list, nss_new_service): Likewise.
31549 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31550 * nss/valid_field.c (__nss_valid_field): Likewise.
31551 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31553 2017-08-31 Florian Weimer <fweimer@redhat.com>
31555 * malloc/arena.c (__malloc_fork_lock_parent)
31556 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31557 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31558 internal_function from defintions.
31559 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31560 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31561 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31562 internal_function from declarations.
31563 * malloc/malloc.c (internal_function): Do not define.
31564 (mem2mem_check): Remove internal_function from declaration.
31565 (munmap_chunk, mremap_chunk): Remove internal_function.
31566 * malloc/mtrace.c (tr_where): Likewise.
31568 2017-08-31 Florian Weimer <fweimer@redhat.com>
31570 * include/rpc/pmap_clnt.h (__get_socket): Remove
31572 * sunrpc/auth_des.c (synchronize): Likewise.
31573 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31574 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31575 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31576 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31577 (key_call): Likewise.
31578 * sunrpc/pm_getport.c (__get_socket): Likewise.
31579 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31580 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31581 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31582 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31583 (invalidate): Likewise.
31584 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31585 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31586 (set_input_fragment, get_input_bytes): Likewise.
31588 2017-08-31 Florian Weimer <fweimer@redhat.com>
31590 * malloc/malloc.c (_int_free): Remove locked variable and related
31593 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31596 * Makerules (build-module-helper-objlist): Filter out
31597 $(elf-objpfx)sofini.os.
31598 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31601 2017-08-31 Florian Weimer <fweimer@redhat.com>
31603 * libio/fcloseall.c: Assume weak_alias is defined.
31604 * libio/feof.c: Likewise.
31605 * libio/fileno.c: Likewise.
31606 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31607 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31609 (_IO_file_open): Call __open directly.
31610 (_IO_new_file_sync): Assume ESPIPE is defined.
31611 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31612 (_IO_new_file_write): Call __write directly.
31613 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31614 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31615 * libio/genops.c: Assume _LIBC is defined.
31616 (save_for_backup): Remove internal_function.
31617 * libio/getc.c: Assume weak_alias is defined.
31618 * libio/getwc.c: Likewise.
31619 * libio/iofclose.c: Assume _LIBC is defined.
31620 * libio/iofdopen.c: Likewise.
31621 (_IO_fcntl): Remove macro definition.
31622 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31623 Call __fcntl directly.
31624 * libio/iofflush.c: Assume weak_alias is defined.
31625 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31627 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31628 * libio/iofgets.c: Likewise.
31629 * libio/iofopen.c: Assume _LIBC is defined.
31630 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31631 * libio/iofputs.c: Assume weak_alias is defined.
31632 * libio/iofread.c: Likewise.
31633 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31634 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31635 * libio/ioftell.c: Assume weak_alias is defined.
31636 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31637 * libio/iofwide.c: Assume _LIBC is defined.
31638 (_IO_fwide): Drop SHARED conditional because it is implied by
31640 * libio/iofwrite.c: Assume weak_alias is defined.
31641 * libio/iogetdelim.c: Likewise.
31642 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31643 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31644 (_IO_getwline): Call __wmemcpy directly.
31645 * libio/iopopen.c: Assume _LIBC is defined.
31646 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31647 (_IO_close): Remove macro definitions.
31648 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31650 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31652 * libio/ioputs.c: Assume weak_alias is defined.
31653 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31654 * libio/iosetbuffer.c: Assume weak_alias is defined.
31655 * libio/iosetvbuf.c: Likewise.
31656 * libio/ioungetc.c: Likewise.
31657 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31658 libc_hidden_def, libc_hidden_weak, NULL are defined.
31659 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31660 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31662 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31664 (_IO_old_file_init_internal): Drop SHARED conditional because it
31665 is implied by SHLIB_COMPAT.
31666 (_IO_old_file_fopen): Call __open directly.
31667 (_IO_old_file_sync): Assume ESPIPE is defined.
31668 (_IO_old_file_write): Call __write directly.
31669 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31670 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31671 Call __fcntl directly.
31672 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31673 (_IO_old_fgetpos): Assume EIO is defined.
31674 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31675 (_IO_old_fgetpos64): Assume EIO is defined.
31676 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31677 (_IO_old_fsetpos): Assume EIO is defined.
31678 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31679 (_IO_old_fsetpos64): Assume EIO is defined.
31680 * libio/oldiopopen.c: Assume _LIBC is defined.
31681 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31682 (_IO_close): Remove macro definitions.
31683 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31685 (_IO_old_proc_close): Call __close, __waitpid directly.
31686 * libio/put.c: Assume weak_alias is defined.
31687 * libio/stdfiles.c: Assume _LIBC is defined.
31688 * libio/stdio.c: Likewise.
31689 * libio/wfileops.c: Likewise.
31690 (_IO_wfile_sync): Assume ESPIPE is defined.
31691 * libio/wgenops.c: Assume _LIBC is defined.
31692 (save_for_wbackup): Remove internal_function.
31694 2017-08-31 Florian Weimer <fweimer@redhat.com>
31696 * malloc/malloc.c (top_check): Change return type to void. Remove
31698 * malloc/hooks.c (top_check): Likewise.
31699 (malloc_check, realloc_check, memalign_check): Adjust.
31701 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31704 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31705 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31706 sigcontext and namespace requirements.
31707 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31708 * sysdeps/m68k/sys/ucontext.h: Likewise.
31709 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31710 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31711 <bits/sigcontext.h>.
31712 (__ctx): Define earlier.
31713 (mcontext_t): Define structure contents rather than using struct
31715 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31716 __glibc_reserved1 instead of __reserved.
31717 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31718 <bits/sigcontext.h>.
31719 (__ctx): Define earlier.
31720 (mcontext_t): Define structure contents rather than using struct
31722 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31723 mcontext_t instead of struct sigcontext.
31724 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31725 <bits/sigcontext.h>.
31726 (__ctx): Define earlier.
31727 (mcontext_t): Define structure contents rather than using struct
31729 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31730 <bits/sigcontext.h>.
31731 (__ctx): Define earlier.
31732 (mcontext_t): Define structure contents rather than using struct
31734 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31735 mcontext_t instead of struct sigcontext.
31736 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31737 mcontext_t instead of struct sigcontext.
31738 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31739 <bits/sigcontext.h>.
31740 (__ctx): New macro.
31741 (struct __ia64_fpreg_mcontext): New type.
31742 (mcontext_t): Define structure contents rather than using struct
31744 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31745 (uc_sigmask): Define using __ctx.
31746 (uc_stack): Likewise.
31747 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31748 <bits/sigcontext.h>.
31749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31750 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31751 <bits/sigcontext.h>.
31752 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31753 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31754 <bits/sigcontext.h>.
31755 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31756 <bits/sigcontext.h>.
31757 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31758 <bits/sigcontext.h>.
31759 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31760 <bits/sigcontext.h>.
31761 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31762 <bits/sigcontext.h>.
31763 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31764 <bits/sigcontext.h>.
31765 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31766 <bits/sigcontext.h>.
31767 (__ctx): Define earlier.
31768 (mcontext_t): Define structure contents rather than using struct
31770 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31771 <bits/sigcontext.h>. Include <bits/types.h>.
31772 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31773 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31774 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31775 (test-xfail-UNIX98/signal.h/conform): Likewise.
31776 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31777 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31778 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31779 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31780 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31781 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31782 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31783 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31784 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31786 2017-08-30 Florian Weimer <fweimer@redhat.com>
31788 * malloc/dynarray_emplace_enlarge.c
31789 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31790 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31791 * malloc/tst-dynarray.c (test_long_overflow): New function.
31792 (do_test): Call it.
31794 2017-08-30 Florian Weimer <fweimer@redhat.com>
31796 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31797 (set_arena_corrupt): Remove definitions.
31798 (mtrim): Do not check for corrupt arena.
31799 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31802 2017-08-30 Florian Weimer <fweimer@redhat.com>
31805 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31807 (ptmalloc_init): Do not set or use check_action.
31808 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31809 call to malloc_printerr. Remove return statement.
31810 (free_check): Likewise. Remove arena unlock.
31811 (top_check): Update comment. Adjust call to malloc_printerr.
31812 Remove heap repair code.
31813 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31814 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31815 (sysmalloc): Adjust call to malloc_printerr.
31816 (munmap_chunk, __libc_realloc): Likewise. Remove return
31818 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31819 Remove errout label and corresponding gotos.
31820 (_int_free): Likewise. Remove arena unlock.
31821 (do_set_mallopt_check): Do not set check_action.
31822 (malloc_printerr): Adjust parameter list. Do not mark arena as
31824 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31826 * manual/probes.texi (Memory Allocation Probes): Remove
31827 memory_mallopt_check_action.
31829 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31831 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31832 Use pointer to uint64_t instead of long int for sp.
31834 2017-08-30 Florian Weimer <fweimer@redhat.com>
31837 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31838 without printing a backtrace. Do not leak any information in the
31840 * manual/memory.texi (Heap Consistency Checking): Update.
31841 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31843 2017-08-30 Florian Weimer <fweimer@redhat.com>
31845 Do not scale NPTL tests with available number of CPUs.
31846 * nptl/tst-cond16.c (count): Set to constant value of 8.
31847 * nptl/tst-cond18.c (count): Likewise.
31849 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31852 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31853 Define to take a second argument that is a macro that
31854 concatentates a suffix, not the suffix itself.
31855 (__CONCAT_d): New macro.
31856 (__CONCAT_f): Likewise.
31857 (__CONCAT_l): Likewise.
31859 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31861 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31864 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31865 Aurelien Jarno <aurelien@aurel32.net>
31866 Maciej W. Rozycki <macro@imgtec.com>
31869 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31870 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31871 `mips16-syscall6' and `mips16-syscall7'.
31872 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31873 (CFLAGS-mips16-syscall7.c): Remove.
31874 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31875 Remove `__mips16_syscall5', `__mips16_syscall6' and
31876 `__mips16_syscall7'.
31877 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31878 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31879 `__mips_syscall_return'.
31880 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31881 (__mips16_syscall1): Likewise.
31882 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31883 (__mips16_syscall2): Likewise.
31884 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31885 (__mips16_syscall3): Likewise.
31886 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31887 (__mips16_syscall4): Likewise.
31888 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31890 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31892 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31894 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31895 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31896 `__mips16_syscall5'. Remove prototype.
31897 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31898 `__mips16_syscall6'. Remove prototype.
31899 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31900 `__mips16_syscall7'. Remove prototype.
31901 (__nomips16, __mips16_syscall_return): Move to...
31902 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31903 (__nomips16, __mips_syscall_return): ... here.
31904 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31905 `__mips16_syscall_return' to `__mips_syscall_return'.
31906 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31907 `internal_syscall##nr'.
31908 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31909 `internal_syscall##nr'.
31910 (FORCE_FRAME_POINTER): Remove.
31911 (__mips_syscall5): New prototype.
31912 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31913 (__mips_syscall6): New prototype.
31914 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31915 (__mips_syscall7): New prototype.
31916 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31917 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31918 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31919 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31920 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31921 (sysdep_routines): Add libc-do-syscall.
31922 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31923 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31925 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31928 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31929 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31930 (advise_stack_range): New function.
31931 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31932 stack non required to advise_stack_range at allocatestack.c
31934 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31936 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31938 2017-08-29 Florian Weimer <fweimer@redhat.com>
31941 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31942 __end_fct. Mangle __end_fct after setting it to NULL.
31943 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31944 (modules-names, modules-names-tests): Add
31945 tst-gconv-init-failure-mod.
31946 (gconv-modules): New target.
31947 (tst-gconv-init-failure-mod.so): Link against libsupport.
31948 (tst-gconv-init-failure): Depend on gconv-modules,
31949 tst-gconv-init-failure-mod.so.
31950 * iconv/tst-gconv-init-failure-mod.c: New file.
31951 * iconv/tst-gconv-init-failure.c: Likewise.
31952 * iconv/test-gconv-modules: Likewise.
31954 2017-08-29 Florian Weimer <fweimer@redhat.com>
31957 * iconv/gconv_db.c (free_derivation): Remove redundant
31959 (gen_steps): Unconditionally mangle __btowc_fct after
31961 (increment_counter): Likewise. Do not call init_fct for internal
31964 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31967 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31968 (_MSUF_): Remove macro.
31969 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31971 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31972 (__REDIRFROM_X): New macro.
31973 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31975 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31976 (__REDIRTO_X): Likewise.
31977 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31979 (__MATH_REDIRCALL_2): Likewise.
31980 (__MATH_REDIRCALL_INTERNAL): Likewise.
31981 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31982 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31983 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31984 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31985 * math/test-finite-macros.c: New file.
31986 * math/Makefile (tests): Add test-finite-macros.
31987 (CFLAGS-test-finite-macros.c): New variable.
31989 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31990 Jeff Law <law@redhat.com>
31993 Mangle NULL pointers in iconv/gconv.
31994 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31995 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31996 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31997 is non-NULL before demangling the end_fct. Check for NULL
31998 end_fct after demangling.
31999 (__gconv_release_step): Demangle the end_fct before checking
32000 it for NULL. Remove assert on __shlibc_handle != NULL.
32001 (gen_steps): Don't check btowc_fct for NULL before mangling.
32002 Demangle init_fct before checking for NULL.
32003 (increment_counter): Likewise.
32004 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32005 end_fct for NULL before mangling.
32006 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32009 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32012 * locale/iso-639.def: add Morisyen.
32014 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32017 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32018 (iszero): New C++ implementation that does not use
32019 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32020 signaling nans are enabled, since __builtin_types_compatible_p
32021 is a C-only feature.
32022 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32023 defined, include ieee754_float128.h for access to the union and
32024 member ieee854_float128.ieee.
32025 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32026 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32027 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32028 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32029 options of test-math-zero on powerpc64le.
32031 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32033 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32034 Change double to float.
32036 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32038 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32040 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32041 conditional code; define contents only for [LIBM_SVID_COMPAT].
32043 2017-08-28 Florian Weimer <fweimer@redhat.com>
32045 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32046 (abi-lp64_be-options): Remove.
32047 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32048 (abi-hard-options): Likewise.
32049 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32050 (abi-o32_hard-options, abi-o32_soft_2008-options)
32051 (abi-o32_hard_2008-options, abi-n32_soft-options)
32052 (abi-n32_hard-options, abi-n32_soft_2008-options)
32053 (abi-n32_hard_2008-options, abi-n64_soft-options)
32054 (abi-n64_hard-options, abi-n64_soft_2008-options)
32055 (abi-n64_hard_2008-options): Likewise.
32056 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32057 (abi-64-v1-options, abi-64-v2-options): Likewise.
32058 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32059 (abi-64-options): Likewise.
32060 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32061 (abi-64-options): Likewise.
32062 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32063 (abi-64-options): Likewise.
32064 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32065 (abi-64-options, abi-x32-options): Likewise.
32067 2017-08-28 Florian Weimer <fweimer@redhat.com>
32069 Store supported list of SYS_* system calls in the source tree.
32070 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32071 (bits/syscall.h): Generate from list file.
32072 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32073 [$(subdir) = misc] (tests): Add tst-syscall-list.
32074 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32075 [$(subdir) = misc] (tst-syscall-list-macros.list)
32076 [$(subdir) = misc] (tst-syscall-list-nr.list)
32077 (tst-syscall-list-sys.list): Helper targets for new
32078 tst-syscall-list test.
32079 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32080 tst-syscall-list.sh.
32081 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32082 target. Do not include bits/syscall.d.
32083 [$(subdir) = misc] (generated): Do not update.
32084 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32085 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32086 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32087 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32089 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32091 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32092 (tst-cxa_atexit, tst-on_exit): Likewise.
32093 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32094 tst-cxa_atexit, and tst-on_exit.
32095 * stdlib/tst-atexit-common.c: New file.
32096 * stdlib/tst-atexit.c: New file.
32097 * stdlib/tst-at_quick_exit.c: New file.
32098 * stdlib/tst-cxa_atexit.c: New file.
32099 * stdlib/tst-on_exit.c: New file.
32101 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32103 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32104 * mach/stack_chk_fail_local.c: New file.
32105 * hurd/stack_chk_fail_local.c: New file.
32106 * mach/Machrules ($(interface-library)-routines): Add
32107 stack_chk_fail_local.
32108 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32109 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32110 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32111 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32112 * hurd/Makefile (CFLAGS-hurdstartup.o,
32113 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32115 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32117 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32118 (index_cpu_*, index_arch_*): Removed.
32120 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32122 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32123 Use uint64_t instead of unsigned long.
32125 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32127 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32128 [__HAVE_DISTINCT_FLOAT128].
32130 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32131 of <bits/math-finite.h>.
32132 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32133 inclusion of <bits/math-finite.h>.
32134 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32135 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32136 __NO_LONG_DOUBLE_MATH].
32137 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32138 (__MATH_REDIRCALL_2): Likewise.
32139 (__MATH_REDIRCALL_INTERNAL): Likewise.
32140 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32141 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32142 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32156 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32157 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32158 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32159 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32161 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32162 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32163 w_sqrtf_compat-ppc32.
32165 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32167 * math/math.h [defined __cplusplus] (issignaling): In the long
32168 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32169 is not defined. Call __issignaling, otherwise.
32171 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32173 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32174 syscall definitions and replace __builtin_expect with __glibc_likely.
32175 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32177 (SYSCALL_CANCELLABLE): Removedefinition
32178 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32180 (PSEUDO_END): Likewise.
32181 [IS_IN (libpthread)] (CENABLE): Likewise.
32182 [IS_IN (libpthread)] (CDISABLE): Likewise.
32183 [IS_IN (libc)] (CENABLE): Likewise.
32184 [IS_IN (libc)] (CENABLE): Likewise.
32185 [IS_IN (librt)] (CDISABLE): Likewise.
32186 [IS_IN (librt)] (CDISABLE): Likewise.
32187 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32188 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32190 (PSEUDO_END): Likewise.
32191 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32192 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32193 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32194 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32195 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32196 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32197 (CENABLE): Likewise.
32198 (CDISABLE): Likewise.
32199 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32200 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32202 (PSEUDO_END): Likewise.
32203 [IS_IN (libpthread)] (CENABLE): Likewise.
32204 [IS_IN (libpthread)] (CDISABLE): Likewise.
32205 [IS_IN (libc)] (CENABLE): Likewise.
32206 [IS_IN (libc)] (CENABLE): Likewise.
32207 [IS_IN (librt)] (CDISABLE): Likewise.
32208 [IS_IN (librt)] (CDISABLE): Likewise.
32209 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32210 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32212 (PSEUDO_END): Likewise.
32213 [IS_IN (libpthread)] (CENABLE): Likewise.
32214 [IS_IN (libpthread)] (CDISABLE): Likewise.
32215 [IS_IN (libc)] (CENABLE): Likewise.
32216 [IS_IN (libc)] (CENABLE): Likewise.
32217 [IS_IN (librt)] (CDISABLE): Likewise.
32218 [IS_IN (librt)] (CDISABLE): Likewise.
32219 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32220 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32222 (PSEUDO_END): Likewise.
32223 [IS_IN (libpthread)] (CENABLE): Likewise.
32224 [IS_IN (libpthread)] (CDISABLE): Likewise.
32225 [IS_IN (libc)] (CENABLE): Likewise.
32226 [IS_IN (libc)] (CENABLE): Likewise.
32227 [IS_IN (librt)] (CDISABLE): Likewise.
32228 [IS_IN (librt)] (CDISABLE): Likewise.
32229 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32230 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32232 (PSEUDO_END): Likewise.
32233 [IS_IN (libpthread)] (CENABLE): Likewise.
32234 [IS_IN (libpthread)] (CDISABLE): Likewise.
32235 [IS_IN (libc)] (CENABLE): Likewise.
32236 [IS_IN (libc)] (CENABLE): Likewise.
32237 [IS_IN (librt)] (CDISABLE): Likewise.
32238 [IS_IN (librt)] (CDISABLE): Likewise.
32239 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32240 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32242 (PSEUDO_END): Likewise.
32243 [IS_IN (libpthread)] (CENABLE): Likewise.
32244 [IS_IN (libpthread)] (CDISABLE): Likewise.
32245 [IS_IN (libc)] (CENABLE): Likewise.
32246 [IS_IN (libc)] (CENABLE): Likewise.
32247 [IS_IN (librt)] (CDISABLE): Likewise.
32248 [IS_IN (librt)] (CDISABLE): Likewise.
32249 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32250 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32252 (PSEUDO_END): Likewise.
32253 [IS_IN (libpthread)] (CENABLE): Likewise.
32254 [IS_IN (libpthread)] (CDISABLE): Likewise.
32255 [IS_IN (libc)] (CENABLE): Likewise.
32256 [IS_IN (libc)] (CENABLE): Likewise.
32257 [IS_IN (librt)] (CDISABLE): Likewise.
32258 [IS_IN (librt)] (CDISABLE): Likewise.
32259 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32260 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32262 (PSEUDO_END): Likewise.
32263 [IS_IN (libpthread)] (CENABLE): Likewise.
32264 [IS_IN (libpthread)] (CDISABLE): Likewise.
32265 [IS_IN (libc)] (CENABLE): Likewise.
32266 [IS_IN (libc)] (CENABLE): Likewise.
32267 [IS_IN (librt)] (CDISABLE): Likewise.
32268 [IS_IN (librt)] (CDISABLE): Likewise.
32269 (SINGLE_THREAD_P): Likewise.
32270 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32272 (PSEUDO_END): Likewise.
32273 [IS_IN (libpthread)] (CENABLE): Likewise.
32274 [IS_IN (libpthread)] (CDISABLE): Likewise.
32275 [IS_IN (libc)] (CENABLE): Likewise.
32276 [IS_IN (libc)] (CENABLE): Likewise.
32277 [IS_IN (librt)] (CDISABLE): Likewise.
32278 [IS_IN (librt)] (CDISABLE): Likewise.
32279 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32280 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32282 (PSEUDO_END): Likewise.
32283 [IS_IN (libpthread)] (CENABLE): Likewise.
32284 [IS_IN (libpthread)] (CDISABLE): Likewise.
32285 [IS_IN (libc)] (CENABLE): Likewise.
32286 [IS_IN (libc)] (CENABLE): Likewise.
32287 [IS_IN (librt)] (CDISABLE): Likewise.
32288 [IS_IN (librt)] (CDISABLE): Likewise.
32289 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32290 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32291 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32292 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32295 (PSEUDO_END): Likewise.
32296 [IS_IN (libpthread)] (CENABLE): Likewise.
32297 [IS_IN (libpthread)] (CDISABLE): Likewise.
32298 [IS_IN (libc)] (CENABLE): Likewise.
32299 [IS_IN (libc)] (CENABLE): Likewise.
32300 [IS_IN (librt)] (CDISABLE): Likewise.
32301 [IS_IN (librt)] (CDISABLE): Likewise.
32302 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32305 (PSEUDO_END): Likewise.
32306 [IS_IN (libpthread)] (CENABLE): Likewise.
32307 [IS_IN (libpthread)] (CDISABLE): Likewise.
32308 [IS_IN (libc)] (CENABLE): Likewise.
32309 [IS_IN (libc)] (CENABLE): Likewise.
32310 [IS_IN (librt)] (CDISABLE): Likewise.
32311 [IS_IN (librt)] (CDISABLE): Likewise.
32312 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32313 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32315 (PSEUDO_END): Likewise.
32316 [IS_IN (libpthread)] (CENABLE): Likewise.
32317 [IS_IN (libpthread)] (CDISABLE): Likewise.
32318 [IS_IN (libc)] (CENABLE): Likewise.
32319 [IS_IN (libc)] (CENABLE): Likewise.
32320 [IS_IN (librt)] (CDISABLE): Likewise.
32321 [IS_IN (librt)] (CDISABLE): Likewise.
32322 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32325 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32326 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32328 (PSEUDO_END): Likewise.
32329 [IS_IN (libpthread)] (CENABLE): Likewise.
32330 [IS_IN (libpthread)] (CDISABLE): Likewise.
32331 [IS_IN (libc)] (CENABLE): Likewise.
32332 [IS_IN (libc)] (CENABLE): Likewise.
32333 [IS_IN (librt)] (CDISABLE): Likewise.
32334 [IS_IN (librt)] (CDISABLE): Likewise.
32335 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32336 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32338 (PSEUDO_END): Likewise.
32339 [IS_IN (libpthread)] (CENABLE): Likewise.
32340 [IS_IN (libpthread)] (CDISABLE): Likewise.
32341 [IS_IN (libc)] (CENABLE): Likewise.
32342 [IS_IN (libc)] (CENABLE): Likewise.
32343 [IS_IN (librt)] (CDISABLE): Likewise.
32344 [IS_IN (librt)] (CDISABLE): Likewise.
32345 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32347 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32349 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32351 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32353 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32355 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32358 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32359 middle and outer with size_t instead of int. Repleace %d and
32360 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32361 "MAX (outer, nchars - 64)" to support unsigned outer and
32362 nchars. Also exit loop when outer == 0.
32364 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32366 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32367 * include/signal.h (__sigsuspend_nocancel): Likewise.
32368 * include/time.h (__nanosleep_nocancel): Likewise.
32369 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32370 * login/utmp_file.c: Include non cancellable syscall header.
32371 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32374 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32376 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32377 .byte sequences with AVX512F instructions.
32378 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32379 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32380 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32383 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32386 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32387 Steve Ellcey <sellcey@cavium.com>
32389 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32390 Use PTR_REG macro in cmp instruction.
32392 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32394 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32395 Change the return type of the ifunc resolver to match the return
32396 type of the target function.
32398 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32400 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32401 (preadv64): Likewise.
32402 (pwrite64(: Likewise.
32403 (pwritev64): Likewise.
32405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32406 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32407 (LOAD_ARGS_0): Likewise.
32408 (LOAD_ARGS_1): Likewise.
32409 (LOAD_ARGS_2): Likewise.
32410 (LOAD_ARGS_3): Likewise.
32411 (LOAD_ARGS_4): Likewise.
32412 (LOAD_ARGS_5): Likewise.
32413 (LOAD_ARGS_6): Likewise.
32414 (LOAD_REGS_0): Likewise.
32415 (LOAD_REGS_1): Likewise.
32416 (LOAD_REGS_2): Likewise.
32417 (LOAD_REGS_3): Likewise.
32418 (LOAD_REGS_4): Likewise.
32419 (LOAD_REGS_5): Likewise.
32420 (LOAD_REGS_6): Likewise.
32421 (ASM_ARGS_0): Likewise.
32422 (ASM_ARGS_1): Likewise.
32423 (ASM_ARGS_2): Likewise.
32424 (ASM_ARGS_3): Likewise.
32425 (ASM_ARGS_4): Likewise.
32426 (ASM_ARGS_5): Likewise.
32427 (ASM_ARGS_6): Likewise.
32428 (LOAD_ARGS_TYPES_1): Likewise.
32429 (LOAD_ARGS_TYPES_2): Likewise.
32430 (LOAD_ARGS_TYPES_3): Likewise.
32431 (LOAD_ARGS_TYPES_4): Likewise.
32432 (LOAD_ARGS_TYPES_5): Likewise.
32433 (LOAD_ARGS_TYPES_6): Likewise.
32434 (LOAD_REGS_TYPES_1): Likewise.
32435 (LOAD_REGS_TYPES_2): Likewise.
32436 (LOAD_REGS_TYPES_3): Likewise.
32437 (LOAD_REGS_TYPES_4): Likewise.
32438 (LOAD_REGS_TYPES_5): Likewise.
32439 (LOAD_REGS_TYPES_6): Likewise.
32440 (TYPEFY): New define.
32441 (ARGIFY): Likewise.
32442 (internal_syscall0): Likewise.
32443 (internal_syscall1): Likewise.
32444 (internal_syscall2): Likewise.
32445 (internal_syscall3): Likewise.
32446 (internal_syscall4): Likewise.
32447 (internal_syscall5): Likewise.
32448 (internal_syscall6): Likewise.
32449 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32450 (INTERNAL_SYSCALL_NCS): Remove define.
32451 (internal_syscall1): Add define.
32453 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32455 * math/w_remainder_compat.c: Remove duplicate inclusion of
32456 math-svid-compat.h.
32457 * math/w_remainderf_compat.c: Likewise.
32458 * math/w_remainderl_compat.c: Likewise.
32460 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32464 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32467 * math/tgmath.h (__floating_type): Simplify definitions.
32468 (__real_integer_type): New macro.
32469 (__complex_integer_type): Likewise.
32470 (__expr_is_real): Likewise.
32471 (__tgmath_real_type_sub): Update comment to describe handling of
32473 (__tgmath_complex_type_sub): New macro.
32474 (__tgmath_complex_type): Likewise.
32475 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32476 (__TGMATH_CF128): Use __expr_is_real.
32477 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32479 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32480 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32481 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32484 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32486 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32488 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32490 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32493 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32494 nanosleep_not_cancel with __nanosleep_nocancel.
32495 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32496 (__nanosleep_nocancel): New macro.
32497 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32499 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32501 (__nanosleep_nocancel): New prototype.
32503 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32504 pause_not_cancel with __pause_nocancel.
32505 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32506 (__pause_nocancel): New macro.
32507 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32509 (__pause_nocancel): New prototype.
32510 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32512 2017-08-22 Martin Sebor <msebor@redhat.com>
32514 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32515 to return a pointer to the same type as the target function.
32517 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32521 * include/printf.h (__printf_fphex): Add attribute_hidden.
32522 (__guess_grouping): New prototype.
32523 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32524 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32525 libc_hidden_proto and libc_hidden_def.
32526 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32527 (__vstrfmon_l): Remove the third argument passed to
32530 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32532 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32533 definition for issignaling that does not rely on __MATH_TG,
32534 since __MATH_TG uses __builtin_types_compatible_p, which is only
32535 available in C mode.
32536 (CFLAGS-test-math-issignaling.cc): New variable.
32537 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32538 * math/test-math-issignaling.cc: New test for C++ implementation
32539 of type-generic issignaling.
32540 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32541 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32542 options of test-math-issignaling on powerpc64le.
32544 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32546 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32548 (hidden_proto): Likewise.
32549 (hidden_tls_proto): Likewise.
32550 (__hidden_proto): Likewise.
32552 2017-08-22 Florian Weimer <fweimer@redhat.com>
32554 math: Statically link tests of internal functionality.
32555 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32557 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32558 (gmp-objs): Remove assignment.
32559 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32561 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32564 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32566 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32568 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32571 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32572 variable definitions above inclusion of ../Rules.
32574 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32576 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32577 case calling __builtin_unreachable.
32579 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32581 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32582 __waitpid_nocancel.
32583 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32584 (__waitpid_nocancel): New macro.
32585 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32587 (__waitpid_nocancel): Replace macro with a function.
32588 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32591 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32593 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32594 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32596 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32597 __writev_nocancel_nostatus.
32598 (write_call_graph): Likewise.
32599 (write_bb_counts): Likewise.
32600 * resolv/herror.c (herror): Likewise.
32601 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32603 (__writev_nocancel_nostatus): New macro.
32604 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32606 (__writev_nocancel_nostatus): New function.
32608 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32611 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32613 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32615 (hidden_proto): Likewise.
32616 (hidden_tls_proto): Likewise.
32617 (__hidden_proto): Likewise.
32620 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32621 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32632 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32633 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32634 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32635 GLIBC_2.0 sqrtl symbol.
32637 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32638 [__USE_MISC] (_LIB_VERSION): Likewise.
32639 [__USE_MISC] (struct exception): Likewise.
32640 [__USE_MISC] (matherr): Likewise.
32641 [__USE_MISC] (DOMAIN): Likewise.
32642 [__USE_MISC] (SING): Likewise.
32643 [__USE_MISC] (OVERFLOW): Likewise.
32644 [__USE_MISC] (UNDERFLOW): Likewise.
32645 [__USE_MISC] (TLOSS): Likewise.
32646 [__USE_MISC] (PLOSS): Likewise.
32647 [__USE_MISC] (HUGE): Likewise.
32648 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32649 * math/math-svid-compat.h: New file.
32650 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32652 * include/math.h [!_ISOMAC] (__matherr): Remove.
32653 * manual/arith.texi (FP Exceptions): Do not document matherr.
32654 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32655 (tests-internal): New variable.
32656 (install-lib): Do not add libieee.a.
32657 (non-lib.a): Likewise.
32658 (extra-objs): Do not add libieee.a and ieee-math.o.
32659 (CPPFLAGS-s_lib_version.c): Remove variable.
32660 ($(objpfx)libieee.a): Remove rule.
32661 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32662 * math/ieee-math.c: Remove.
32663 * math/libm-test-support.c (matherr): Remove.
32664 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32665 and license notices. Include <math-svid-compat.h> and
32667 (matherr): Undefine as macro. Use compat_symbol_reference.
32668 (_LIB_VERSION): Likewise.
32669 * math/test-matherr-2.c: New file.
32670 * math/test-matherr-3.c: Likewise.
32671 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32673 (__kernel_standard_f): Likewise.
32674 (__kernel_standard_l): Likewise.
32675 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32676 <math_private.h>. Include <math-svid-compat.h>.
32677 (_LIB_VERSION): Undefine as macro.
32678 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32679 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32680 [LIBM_SVID_COMPAT], use compat_symbol.
32681 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32682 <math_private.h>. Include <math-svid-compat.h>.
32683 (matherr): Undefine as macro.
32684 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32686 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32687 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32688 compat_symbol_reference.
32689 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32690 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32691 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32692 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32693 (MATHERR_D): Remove declaration.
32694 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32695 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32696 [LIBM_BUILD] (pmatherrf): Likewise.
32697 [LIBM_BUILD] (pmatherr): Likewise.
32698 [LIBM_BUILD] (pmatherrl): Likewise.
32699 (DOMAIN): Likewise.
32701 (OVERFLOW): Likewise.
32702 (UNDERFLOW): Likewise.
32705 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32706 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32708 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32709 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32711 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32712 * math/w_acos_compat.c: Likewise.
32713 * math/w_acosf_compat.c: Likewise.
32714 * math/w_acosh_compat.c: Likewise.
32715 * math/w_acoshf_compat.c: Likewise.
32716 * math/w_acoshl_compat.c: Likewise.
32717 * math/w_acosl_compat.c: Likewise.
32718 * math/w_asin_compat.c: Likewise.
32719 * math/w_asinf_compat.c: Likewise.
32720 * math/w_asinl_compat.c: Likewise.
32721 * math/w_atan2_compat.c: Likewise.
32722 * math/w_atan2f_compat.c: Likewise.
32723 * math/w_atan2l_compat.c: Likewise.
32724 * math/w_atanh_compat.c: Likewise.
32725 * math/w_atanhf_compat.c: Likewise.
32726 * math/w_atanhl_compat.c: Likewise.
32727 * math/w_cosh_compat.c: Likewise.
32728 * math/w_coshf_compat.c: Likewise.
32729 * math/w_coshl_compat.c: Likewise.
32730 * math/w_exp10_compat.c: Likewise.
32731 * math/w_exp10f_compat.c: Likewise.
32732 * math/w_exp10l_compat.c: Likewise.
32733 * math/w_exp2_compat.c: Likewise.
32734 * math/w_exp2f_compat.c: Likewise.
32735 * math/w_exp2l_compat.c: Likewise.
32736 * math/w_fmod_compat.c: Likewise.
32737 * math/w_fmodf_compat.c: Likewise.
32738 * math/w_fmodl_compat.c: Likewise.
32739 * math/w_hypot_compat.c: Likewise.
32740 * math/w_hypotf_compat.c: Likewise.
32741 * math/w_hypotl_compat.c: Likewise.
32742 * math/w_j0_compat.c: Likewise.
32743 * math/w_j0f_compat.c: Likewise.
32744 * math/w_j0l_compat.c: Likewise.
32745 * math/w_j1_compat.c: Likewise.
32746 * math/w_j1f_compat.c: Likewise.
32747 * math/w_j1l_compat.c: Likewise.
32748 * math/w_jn_compat.c: Likewise.
32749 * math/w_jnf_compat.c: Likewise.
32750 * math/w_jnl_compat.c: Likewise.
32751 * math/w_lgamma_main.c: Likewise.
32752 * math/w_lgamma_r_compat.c: Likewise.
32753 * math/w_lgammaf_main.c: Likewise.
32754 * math/w_lgammaf_r_compat.c: Likewise.
32755 * math/w_lgammal_main.c: Likewise.
32756 * math/w_lgammal_r_compat.c: Likewise.
32757 * math/w_log10_compat.c: Likewise.
32758 * math/w_log10f_compat.c: Likewise.
32759 * math/w_log10l_compat.c: Likewise.
32760 * math/w_log2_compat.c: Likewise.
32761 * math/w_log2f_compat.c: Likewise.
32762 * math/w_log2l_compat.c: Likewise.
32763 * math/w_log_compat.c: Likewise.
32764 * math/w_logf_compat.c: Likewise.
32765 * math/w_logl_compat.c: Likewise.
32766 * math/w_pow_compat.c: Likewise.
32767 * math/w_powf_compat.c: Likewise.
32768 * math/w_powl_compat.c: Likewise.
32769 * math/w_remainder_compat.c: Likewise.
32770 * math/w_remainderf_compat.c: Likewise.
32771 * math/w_remainderl_compat.c: Likewise.
32772 * math/w_scalb_compat.c: Likewise.
32773 * math/w_scalbf_compat.c: Likewise.
32774 * math/w_scalbl_compat.c: Likewise.
32775 * math/w_sinh_compat.c: Likewise.
32776 * math/w_sinhf_compat.c: Likewise.
32777 * math/w_sinhl_compat.c: Likewise.
32778 * math/w_sqrt_compat.c: Likewise.
32779 * math/w_sqrtf_compat.c: Likewise.
32780 * math/w_sqrtl_compat.c: Likewise.
32781 * math/w_tgamma_compat.c: Likewise.
32782 * math/w_tgammaf_compat.c: Likewise.
32783 * math/w_tgammal_compat.c: Likewise.
32784 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32785 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32786 * sysdeps/ieee754/k_standard.c: Likewise.
32787 * sysdeps/ieee754/k_standardf.c: Likewise.
32788 * sysdeps/ieee754/k_standardl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32791 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32793 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32795 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32796 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32797 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32804 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32805 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32807 2017-08-21 Florian Weimer <fweimer@redhat.com>
32810 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32811 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32812 Move before inclusion of ../Rules.
32814 2017-08-21 Florian Weimer <fweimer@redhat.com>
32817 * assert/assert.h (assert): Use static_cast (bool) for C++.
32818 Use the ternary operator in the warning branch for GNU C.
32819 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32820 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32821 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32822 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32823 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32825 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32828 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32829 (__syscall_clock_gettime): Add attribute_hidden.
32830 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32831 (__start_context): Likewise.
32833 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32835 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32837 (hidden_proto): Likewise.
32838 (hidden_tls_proto): Likewise.
32839 (__hidden_proto): Likewise.
32841 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32843 * include/libc-symbols.h (attribute_hidden): Enable hidden
32844 visibility in libc.a compiled with PIE.
32846 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32849 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32850 Add attribute_hidden.
32852 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32855 * Makerules (all-nonlib): Add $(others-extras).
32856 * catgets/Makefile (others-extras): New.
32857 * elf/Makefile (others-extras): Likewise.
32858 * nss/Makefile (others-extras): Likewise.
32860 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32863 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32864 * elf/dl-open.c: Include <libc-internal.h>.
32865 (__libc_multiple_libcs): Removed.
32866 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32868 * include/libc-internal.h (__libc_multiple_libcs): New.
32869 * misc/sbrk.c: Include <libc-internal.h>.
32870 (__libc_multiple_libcs): Removed.
32872 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32875 * grp/initgroups.c (__nss_group_database): Removed.
32876 (__nss_initgroups_database): Likewise.
32877 * nscd/gai.c (__nss_hosts_database): Likewise.
32878 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32879 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32880 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32881 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32882 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32883 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32885 * nss/nsswitch.c (__nss_database_custom): Define only if
32886 USE_NSCD is defined.
32887 (__nss_configure_lookup): Use __nss_database_custom only if
32888 USE_NSCD is defined.
32889 * nss/nsswitch.h (__nss_database_custom): Declare only if
32890 USE_NSCD is defined. Add attribute_hidden.
32891 (__nss_setent): Add attribute_hidden.
32892 (__nss_endent): Likewise.
32893 (__nss_getent_r): Likewise.
32894 (__nss_getent): Likewise.
32895 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32897 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32900 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32901 libc_hidden_proto and libc_hidden_def.
32903 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32906 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32907 Add libc_hidden_proto.
32908 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32909 Add libc_hidden_def.
32911 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32914 * gmon/Makefile (routines): Remove bb_init_func and
32916 (elide-routines.os): Removed.
32917 * gmon/bb_exit_func.c: Likewise.
32918 * gmon/bb_init_func.c: Likewise.
32919 * include/sys/gmon.h (__bb): Likewise.
32920 (__bb_init_func): Likewise.
32921 (__bb_exit_func): Likewise.
32922 * sysdeps/alpha/bb_init_func.S: Likewise.
32924 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32926 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32927 * include/setjmp.h (____longjmp_chk): Here. Add
32930 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32933 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32935 (__strspn_sse2): Likewise.
32937 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32939 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32940 (close_not_cancel_no_status): Likewise.
32941 (__close_nocancel): New macro.
32942 (__close_nocancel_nostatus): Likewise.
32943 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32945 (close_not_cancel): Likewise.
32946 (close_not_cancel_no_status): Likewise.
32947 (__close_nocancel): New prototype.
32948 (__close_nocancel_nostatus): New function.
32949 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32950 * catgets/open_catalog.c (__open_catalog): Replace
32951 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32952 * gmon/gmon.c (write_gmon): Likewise.
32953 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32954 * intl/loadmsgcat.c (close): Likewise.
32955 * io/ftw.c (open_dir_stream): Likewise.
32956 (ftw_startup): Likewise.
32957 * libio/fileops.c (_IO_file_open): Likewise.
32958 (_IO_file_close_mmap): Likewise.
32959 (_IO_file_close): Likewise.
32960 * libio/iopopen.c (_IO_dup2): Likewise.
32961 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32962 * locale/loadlocale.c (_nl_load_locale): Likewise.
32963 * login/utmp_file.c (pututline_file): Likewise.
32964 (endutent_file): Likewise.
32965 * misc/daemon.c (daemon): Likewise.
32966 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32967 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32968 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32969 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32970 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32971 * nscd/nscd_helper.c (open_socket): Likewise.
32972 (__nscd_open_socket): Likewise.
32973 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32974 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32975 (__nscd_innetgr): Likewise.
32976 * nss/nss_db/db-open.c (internal_setent): Likewise.
32977 * resolv/res-close.c (__res_iclose): Likewise.
32978 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32979 * sysdeps/posix/closedir.c (__closedir): Likewise.
32980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32981 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32982 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32983 (opendir_tail): Likewise.
32984 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32985 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32986 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32987 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32988 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32989 (gethostid): Likewise.
32990 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32991 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32994 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32995 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32996 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32998 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32999 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33000 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33002 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33003 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33005 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33007 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33008 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33009 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33012 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33013 (openat_not_cancel_3): Likewise.
33014 (openat64_not_cancel_3): Likewise).
33015 (openat_not_cancel_3): Likewise).
33016 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33018 (openat_not_cancel_3): Likewise.
33019 (openat64_not_cancel): Likewise.
33020 (openat64_not_cancel_3): Likewise.
33021 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33022 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33023 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33024 __open{64}_nocancel.
33025 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33026 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33027 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33029 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33032 * include/argz.h (__argz_create_sep): New function prototype.
33033 (__argz_append): Likewise.
33034 (__argz_add): Likewise.
33035 (__argz_add_sep): Likewise.
33036 (__argz_delete): Likewise.
33037 (__argz_insert): Likewise.
33038 (__argz_replace): Likewise.
33039 * string/argz.h (__argz_create_sep): Removed.
33040 (__argz_append): Likewise.
33041 (__argz_add): Likewise.
33042 (__argz_add_sep): Likewise.
33043 (__argz_delete): Likewise.
33044 (__argz_insert): Likewise.
33045 (__argz_replace): Likewise.
33047 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33049 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33050 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33051 (GNU_PROPERTY_STACK_SIZE): Likewie.
33052 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33053 (GNU_PROPERTY_LOPROC): Likewise.
33054 (GNU_PROPERTY_HIPROC): Likewise.
33055 (GNU_PROPERTY_LOUSER): Likewise.
33056 (GNU_PROPERTY_HIUSER): Likewise.
33057 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33058 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33059 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33060 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33061 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33062 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33063 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33064 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33065 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33066 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33067 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33068 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33069 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33070 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33071 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33072 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33073 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33074 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33075 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33076 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33077 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33078 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33079 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33081 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33083 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33086 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33089 * math/math.h (isinf): Check if in C or C++ mode before using
33090 __builtin_types_compatible_p, since this is a C mode feature.
33092 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33094 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33095 (__write_nocancel): New macro.
33096 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33097 Rewrite as a function prototype.
33098 (write_not_cancel): Remove macro.
33099 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33100 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33101 (write_gmon): Likewise.
33102 * libio/fileops.c (_IO_new_file_write): Likewise.
33103 * login/utmp_file.c (pututline_file): Likewise.
33104 (updwtmp_file): Likewise.
33105 * stdio-common/psiginfo.c (psiginfo): Likewise.
33106 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33107 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33108 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33110 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33113 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33114 (__read_nocancel): New macro.
33115 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33117 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33119 (__read_nocancel): New prototype.
33120 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33121 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33122 with __read_nocancel.
33123 * intl/loadmsgcat.c (read): Likewise.
33124 * libio/fileops.c (_IO_file_read): Likewise.
33125 * locale/loadlocale.c (_nl_load_locale): Likewise.
33126 * login/utmp_file.c (getutent_r_file): Likewise.
33127 (internal_getut_r): Likewise.
33128 (getutline_r_file): Likewise.
33129 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33130 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33131 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33132 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33134 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33135 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33136 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33138 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33140 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33142 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33144 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33146 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33149 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33150 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33153 2017-08-17 DJ Delorie <dj@redhat.com>
33155 * bug17079.c: Update to new test harness.
33156 * test-digits-dots.c: Likewise.
33157 * test-netdb.c: Likewise.
33158 * tst-field.c: Likewise.
33159 * tst-nss-getpwent.c: Likewise.
33160 * tst-nss-static.c: Likewise.
33161 * tst-nss-test1.c: Likewise.
33162 * tst-nss-test2.c: Likewise.
33163 * tst-nss-test3.c: Likewise.
33164 * tst-nss-test4.c: Likewise.
33165 * tst-nss-test5.c: Likewise.
33167 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33169 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33170 (open_not_cancel_2): Likewise.
33171 (open_nocancel): New macro.
33172 (open64_nocancel): Likewise.
33173 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33174 (open_not_cancel_2): Likewise.
33175 (__open_nocancel): New prototype.
33176 (__open64_nocancel): Likewise.
33177 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33179 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33180 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33181 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33182 with __open_nocancel.
33183 * csu/check_fds.c (check_one_fd): Likewise.
33184 * gmon/gmon.c (write_gmon): Likewise.
33185 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33186 * intl/loadmsgcat.c (open): Likewise.
33187 * libio/fileops.c (_IO_file_open): Likewise.
33188 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33189 * locale/loadlocale.c (_nl_load_locale): Likewise.
33190 * login/utmp_file.c (setutent_file): Likewise.
33191 * misc/daemon.c (daemon): Likewise.
33192 * nss/nss_db/db-open.c (internal_setent): Likewise.
33193 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33194 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33195 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33196 (__opendir): Likewise.
33197 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33198 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33199 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33200 (gethostid): Likewise.
33201 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33205 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33206 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33207 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33209 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33211 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33213 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33215 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33217 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33219 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33220 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33222 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33224 * benchtests/bench-skeleton.c (main): Add support for
33225 latency benchmarking.
33226 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33228 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33230 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33231 the startup object.
33233 2017-08-17 Florian Weimer <fweimer@redhat.com>
33235 * include/sys/socket.h (__opensock): Remove internal_function.
33236 * socket/opensock.c (__opensock): Likewise.
33237 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33239 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33242 * signal/bits/types/__sigval_t.h: New file.
33243 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33244 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33245 and define sigval_t using __sigval_t.
33246 * include/bits/types/__sigval_t.h: New file.
33247 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33248 instead of <bits/types/__sigval_t.h>.
33249 (struct sigevent): Use __sigval_t instead of sigval_t.
33250 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33251 instead of <bits/types/__sigval_t.h>.
33252 (siginfo_t): Use __sigval_t instead of sigval_t.
33253 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33254 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33255 (struct sigevent): Use __sigval_t instead of sigval_t.
33256 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33257 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33258 (siginfo_t): Use __sigval_t instead of sigval_t.
33259 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33261 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33263 * NEWS: Remove "[Add new features here]" for 2.27.
33265 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33267 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33270 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33272 * NEWS: Mention x86-64 FMA optimization.
33274 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33279 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33280 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33281 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33283 2017-08-16 Andreas Schwab <schwab@suse.de>
33287 * elf/ldd.bash.in: Never run file directly.
33289 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33292 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33293 (L(SP_INF_0)): Likewise.
33295 2017-08-15 Florian Weimer <fweimer@redhat.com>
33297 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33300 2017-08-15 Florian Weimer <fweimer@redhat.com>
33302 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33303 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33304 BROKEN_THREAD_SIGNALS code.
33305 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33306 request_list): Remove caller_pid member used for
33307 BROKEN_THREAD_SIGNALS.
33308 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33309 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33310 Remove BROKEN_THREAD_SIGNALS support.
33311 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33312 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33314 2017-08-15 Florian Weimer <fweimer@redhat.com>
33316 * gmon/Makefile (tests): Add tst-gmon.
33317 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33319 (tests-special): Add tst-gmon-prof.out.
33320 (tst-gmon.out): Depend on clean-tst-gmon-data.
33321 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33322 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33323 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33325 * aclocal.m4 (GPROF): Set and substitute.
33326 * config.amke.in (GPROF): Set.
33327 * configure: Regenerate.
33329 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33331 * elf/elf.h A (NT_PPC_TAR): New macro.
33332 (NT_PPC_PPR): Likewise.
33333 (NT_PPC_DSCR): Likewise.
33334 (NT_PPC_EBB): Likewise.
33335 (NT_PPC_PMU): Likewise.
33336 (NT_PPC_TM_CGPR): Likewise.
33337 (NT_PPC_TM_CFPR): Likewise.
33338 (NT_PPC_TM_CVMX): Likewise.
33339 (NT_PPC_TM_CVSX): Likewise.
33340 (NT_PPC_TM_SPR): Likewise.
33341 (NT_PPC_TM_CTAR): Likewise.
33342 (NT_PPC_TM_CPPR): Likewise.
33343 (NT_PPC_TM_CDSCR): Likewise.
33345 2017-08-15 Florian Weimer <fweimer@redhat.com>
33347 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33348 regparm (2) instead of internal_function.
33349 (_MCOUNT_DECL): Adjust.
33351 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33353 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33354 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33356 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33358 * conform/data/sys/wait.h-data (si_value): Do not expect for
33361 2017-08-14 Florian Weimer <fweimer@redhat.com>
33364 NSS: Create stubs for accidentally exported lookup functions.
33365 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33366 Remove declaration.
33367 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33368 (ether_hostton): Call __nss_ethers_lookup2 instead.
33369 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33370 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33371 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33372 (setup): Call __nss_netgroup_lookup2 instead.
33373 * nss/Makefile (routines): Add compat-lookup.
33374 * nss/Versions (GLIBC_2.27): Add symbol version.
33375 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33376 (DB_COMPAT_FCT): Remove.
33377 * nss/compat-lookup.c: New file.
33378 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33379 from databases.def.
33380 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33381 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33382 (netname2user): Call __nss_publickey_lookup2 instead.
33383 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33384 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33387 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33388 Sergei Trofimovich <slyfox@inbox.ru>
33391 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33392 Rename to MMAP2_PAGE_UNIT.
33393 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33394 __OFF_T_MATCHES_OFF64_T is not defined.
33395 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33397 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33398 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33400 2017-08-14 Florian Weimer <fweimer@redhat.com>
33402 i386: Do not set internal_function.
33403 * config.h.in (USE_REGPARMS, internal_function): Remove.
33404 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33405 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33407 2017-08-14 Florian Weimer <fweimer@redhat.com>
33409 * elf/dl-init.c (_dl_init): Remove internal_function.
33410 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33411 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33413 2017-08-14 Florian Weimer <fweimer@redhat.com>
33415 * elf/rtld.c (_dl_start): Remove internal_function.
33416 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33419 2017-08-14 Florian Weimer <fweimer@redhat.com>
33421 * elf/dl-fini.c (_dl_fini): Remove internal_function
33422 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33424 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33426 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33427 (bit_cpu_SHSTK): Likewise.
33428 (index_cpu_IBT): Likewise.
33429 (index_cpu_SHSTK): Likewise.
33430 (reg_IBT): Likewise.
33431 (reg_SHSTK): Likewise.
33432 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33433 Handle index_cpu_IBT and index_cpu_SHSTK.
33435 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33438 * po/fr.po: Fix spelling mistake.
33440 2017-08-13 Florian Weimer <fweimer@redhat.com>
33442 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33443 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33444 (_dl_catch_error, _dl_receive_error): Likewise.
33445 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33446 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33447 (_dl_deallocate_tls): Likewise.
33448 * include/dlfcn.h (_dl_addr): Likewise.
33449 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33450 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33451 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33454 2017-08-13 Florian Weimer <fweimer@redhat.com>
33456 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33457 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33459 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33461 2017-08-13 Florian Weimer <fweimer@redhat.com>
33463 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33465 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33466 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33467 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33468 internal_function from _dl_make_stack_executable_hook member.
33469 (_dl_make_stack_executable): Remove internal_function.
33470 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33472 * sysdeps/unix/sysv/linux/dl-execstack.c
33473 (_dl_make_stack_executable): Likewise.
33475 2017-08-13 Florian Weimer <fweimer@redhat.com>
33477 * sysdeps/unix/sysv/linux/netlinkaccess.h
33478 (__netlink_assert_response): Remove internal_function.
33479 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33480 (__netlink_assert_response): Likewise.
33482 2017-08-13 Florian Weimer <fweimer@redhat.com>
33484 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33486 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33488 2017-08-13 Florian Weimer <fweimer@redhat.com>
33490 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33492 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33493 * inet/netgroup.h (__internal_setnetgrent)
33494 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33495 * inet/getnetgrent_r.c (__internal_setnetgrent)
33496 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33497 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33498 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33499 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33500 * nss/nsswitch.h (db_lookup_function): Likewise.
33502 2017-08-13 Florian Weimer <fweimer@redhat.com>
33504 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33505 Remove internal_function.
33506 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33507 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33508 message argument on the stack.
33509 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33512 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33514 Adapt test case data to the changes in the thousands
33518 * localedata/tst-langinfo.sh: Adapt test case data.
33519 * stdlib/tst-strfmon_l.c: Likewise.
33520 * stdlib/tst-strtod4.c: Likewise.
33521 * stdlib/tst-strtod5i.c: Likewise.
33523 2017-08-11 Florian Weimer <fweimer@redhat.com>
33526 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33527 Suppress pedantic warning resulting from statement expression.
33528 (__ASSERT_FUNCTION): Add missing __extension__.
33530 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33532 * benchtests/bench-memmove-large.c: Print output in JSON
33534 * benchtests/bench-memmove.c: Likewise.
33536 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33537 * benchtests/bench-memchr.c (do_one_test): Likewise.
33538 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33539 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33540 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33541 * benchtests/bench-memmove.c (do_one_test): Likewise.
33542 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33543 * benchtests/bench-memset.c (do_one_test): Likewise.
33544 * benchtests/bench-string.h (test_init): Remove memsets.
33546 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33549 (Computing the Width of an Integer Data Type): Rename section to
33550 "Width of an Integer Type". Remove inaccurate statement regarding
33551 lack of C language facilities for determining width of integer
33552 types, and reorder content to improve flow and context of
33555 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33557 * lang.texi (va_copy): Change standard from ISO to C99.
33558 (__va_copy): Add standard and header annotation.
33559 Update description for clarity of origins and current use.
33561 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33564 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33565 xssqrtqp requires operands to be in Vector Registers
33566 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33567 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33568 (__ieee754_sqrtf128): Likewise.
33570 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33572 * sysdeps/aarch64/memcmp.S (memcmp):
33573 Rewrite of optimized memcmp.
33575 2017-08-10 Florian Weimer <fweimer@redhat.com>
33577 Introduce ld.so exceptions.
33578 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33579 (_dl_exception_create, _dl_exception_create_format)
33580 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33581 (_dl_catch_exception): Declare.
33582 (_dl_catch_error): Update comment.
33583 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33584 errstring, malloced members with exception member.
33585 (_dl_out_of_memory): Remove.
33586 (fatal_error): New function, extracted from _dl_signal_error.
33587 (_dl_signal_exception, _dl_signal_cexception): New functions.
33588 (_dl_signal_error): Call _dl_exception_create to allocate an
33590 (_dl_catch_exception): New function, based on _dl_catch_error.
33591 (_dl_catch_error): Implement using _dl_catch_exception.
33592 * elf/dl-exception.c: New file.
33593 * elf/Makefile (dl-routines): Add dl-exception.
33594 (elide-routines.os): Likewise.
33595 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33596 _dl_exception_create_format, _dl_exception_free.
33597 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33598 _dl_signal_exception.
33599 * elf/dl-lookup.c (make_string): Remove.
33600 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33601 _dl_signal_cexception, _dl_exception_free.
33602 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33603 _dl_signal_exception.
33604 * elf/dl-sym.c (do_sym): Likewise.
33605 * elf/dl-version.c (make_string): Remove.
33606 (match_symbol): Use _dl_exception_create_format,
33607 _dl_signal_cexception, _dl_exception_free.
33608 (_dl_check_map_versions): Likewise.
33609 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33610 _dl_catch_exception.
33611 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33612 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33613 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33614 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33615 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33616 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33617 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33618 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33620 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33627 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33628 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33629 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33631 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33633 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33635 2017-08-10 Florian Weimer <fweimer@redhat.com>
33637 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33638 attribute_hidden, internal_function.
33639 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33642 2017-08-10 Florian Weimer <fweimer@redhat.com>
33644 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33645 function which calls __builtin_unreachable.
33647 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33649 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33650 Indian monetary formatting
33651 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33654 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33656 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33657 Fix typo in comment.
33660 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33661 PTRACE_SEIZE_DEVEL): Remove.
33662 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33663 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33666 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33668 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33670 * posix/bits/types.h (__qaddr_t): Remove.
33673 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33674 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33676 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33677 (ucontext_t): Use __ctx with uc_flags.
33678 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33679 (__ctxt): Likewise.
33680 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33682 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33683 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33685 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33686 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33688 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33690 (ucontext_t): Use __ctx with uc_flags.
33691 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33692 (ucontext_t): Use __ctx with uc_flags.
33693 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33694 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33695 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33696 (ucontext_t): Use __ctx with uc_flags.
33697 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33698 undefine further down.
33699 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33701 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33702 undefine further down.
33703 (ucontext_t): Use __ctx with uc_flags.
33704 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33705 undefine further down.
33706 (ucontext_t): Use __ctx with uc_flags.
33707 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33708 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33709 Rename uc_pad to __glibc_reserved1.
33710 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33711 undefine further down.
33712 (ucontext_t): Use __ctx with uc_flags.
33713 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33715 (ucontext_t): Use __ctx with uc_flags.
33716 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33717 __ctx with uc_flags.
33718 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33719 (ucontext_t): Use __ctx with uc_flags.
33720 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33721 __ctx with uc_flags.
33723 2017-08-09 Florian Weimer <fweimer@redhat.com>
33726 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33727 before early return.
33729 2017-08-09 Andreas Schwab <schwab@suse.de>
33732 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33736 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33737 tst-compat-forwarder.
33738 (modules-names): Add tst-compat-forwarder-mod.
33739 ($(objpfx)tst-compat-forwarder): Depend on
33740 $(objpfx)tst-compat-forwarder-mod.so.
33741 * nptl/tst-compat-forwarder.c: New file.
33742 * nptl/tst-compat-forwarder-mod.c: New file.
33744 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33746 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33749 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33750 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33752 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33754 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33755 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33756 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33757 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33759 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33762 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33765 * manual/setjmp.texi (getcontex): Document uc_stack value
33766 compatibility differences.
33768 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33770 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33771 (old_malloc_hook): Likewise.
33772 (old_memalign_hook): Likewise.
33773 (old_realloc_hook): Likewise.
33774 (struct hdr): Likewise.
33776 (freehook): Likewise.
33777 (mallochook): Likewise.
33778 (memalignhook): Likewise.
33779 (reallochook): Likewise.
33780 (mprobe): Likewise.
33781 * malloc/mtrace.c (mallwatch): Likewise.
33782 (tr_old_free_hook): Likewise.
33783 (tr_old_malloc_hook): Likewise.
33784 (tr_old_realloc_hook): Likewise.
33785 (tr_old_memalign_hook): Likewise.
33786 (tr_where): Likewise.
33787 (lock_and_info): Likewise.
33788 (tr_freehook): Likewise.
33789 (tr_mallochook): Likewise.
33790 (tr_reallochook): Likewise.
33791 (tr_memalignhook): Likewise.
33792 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33793 * misc/mmap.c (__mmap): Likewise.
33794 * misc/mmap64.c (__mmap64): Likewise.
33795 * misc/mprotect.c (__mprotect): Likewise.
33796 * misc/msync.c (msync): Likewise.
33797 * misc/munmap.c (__munmap): Likewise.
33798 * posix/posix_madvise.c (posix_madvise): Likewise.
33799 * socket/send.c (__send): Likewise.
33800 * socket/sendto.c (__sendto): Likewise.
33801 * socket/setsockopt.c (__setsockopt): Likewise.
33802 * string/memcmp.c (__ptr_t): Remove macro.
33803 (MEMCMP): Use void * instead of ptr_t.
33804 * string/memrchr.c (__ptr_t): Remove macro.
33805 (__memrchr): Use void * instead of ptr_t.
33806 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33807 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33808 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33809 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33810 * sysdeps/mach/msync.c (msync): Likewise.
33811 * sysdeps/mach/munmap.c (__munmap): Likewise.
33812 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33814 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33815 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33816 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33817 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33818 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33819 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33820 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33821 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33823 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33824 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33825 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33826 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33827 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33828 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33829 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33830 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33831 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33833 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33834 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33835 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33836 (MEMCMP): Use void * instead of ptr_t.
33837 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33838 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33840 2017-08-08 Florian Weimer <fweimer@redhat.com>
33842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33845 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33848 * csu/libc-tls.c: Include <startup.h> first.
33849 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33850 * elf/dl-tunables.c: Include <startup.h> first.
33851 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33852 * sysdeps/generic/startup.h: New file.
33853 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33854 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33855 (I386_USE_SYSENTER): New. Defined to 0.
33857 2017-08-08 Andreas Schwab <schwab@suse.de>
33860 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33861 * nptl/pt-system.c (system): Likewise.
33863 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33866 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33868 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33869 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33870 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33871 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33872 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33873 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33874 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33876 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33879 * bits/sigaction.h (struct sigaction): Define sa_handler and
33880 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33881 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33882 [__USE_XOPEN_EXTENDED].
33883 (SA_RESTART): Likewise.
33884 (SA_NODEFER): Likewise.
33885 (SA_RESETHAND): Likewise.
33886 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33887 (struct sigaction): Define sa_handler and sa_sigaction using union
33888 also for [__USE_XOPEN_EXTENDED].
33889 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33890 [__USE_XOPEN_EXTENDED].
33891 (SA_RESTART): Likewise.
33892 (SA_NODEFER): Likewise.
33893 (SA_RESETHAND): Likewise.
33894 * sysdeps/unix/sysv/linux/bits/sigaction.h
33895 (struct sigaction): Define sa_handler and sa_sigaction using union
33896 also for [__USE_XOPEN_EXTENDED].
33897 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33898 [__USE_XOPEN_EXTENDED].
33899 (SA_RESTART): Likewise.
33900 (SA_NODEFER): Likewise.
33901 (SA_RESETHAND): Likewise.
33902 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33903 (struct sigaction): Define sa_handler and sa_sigaction using union
33904 also for [__USE_XOPEN_EXTENDED].
33905 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33906 [__USE_XOPEN_EXTENDED].
33907 (SA_RESTART): Likewise.
33908 (SA_NODEFER): Likewise.
33909 (SA_RESETHAND): Likewise.
33910 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33911 (struct sigaction): Define sa_handler and sa_sigaction using union
33912 also for [__USE_XOPEN_EXTENDED].
33913 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33914 [__USE_XOPEN_EXTENDED].
33915 (SA_RESTART): Likewise.
33916 (SA_NODEFER): Likewise.
33917 (SA_RESETHAND): Likewise.
33918 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33919 (struct sigaction): Define sa_handler and sa_sigaction using union
33920 also for [__USE_XOPEN_EXTENDED].
33921 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33922 [__USE_XOPEN_EXTENDED].
33923 (SA_RESTART): Likewise.
33924 (SA_NODEFER): Likewise.
33925 (SA_RESETHAND): Likewise.
33926 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33927 (struct sigaction): Define sa_handler and sa_sigaction using union
33928 also for [__USE_XOPEN_EXTENDED].
33929 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33930 [__USE_XOPEN_EXTENDED].
33931 (SA_RESTART): Likewise.
33932 (SA_NODEFER): Likewise.
33933 (SA_RESETHAND): Likewise.
33934 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33935 (struct sigaction): Define sa_handler and sa_sigaction using union
33936 also for [__USE_XOPEN_EXTENDED].
33937 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33938 [__USE_XOPEN_EXTENDED].
33939 (SA_RESTART): Likewise.
33940 (SA_NODEFER): Likewise. Define directly rather than as alias.
33941 (SA_RESETHAND): Likewise.
33942 (SA_INTERRUPT): Define only for [__USE_MISC].
33943 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33944 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33946 (SA_STACK): Define only for [__USE_MISC].
33947 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33948 (struct sigaction): Define sa_handler and sa_sigaction using union
33949 also for [__USE_XOPEN_EXTENDED].
33950 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33951 [__USE_XOPEN_EXTENDED].
33952 (SA_RESTART): Likewise.
33953 (SA_NODEFER): Likewise.
33954 (SA_RESETHAND): Likewise.
33955 (SA_NOPTRACE): Define only for [__USE_MISC].
33957 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33958 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33959 (struct catalog_info): Likewise.
33960 * inet/htontest.c (lo): Likewise.
33962 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33963 * inet/inet_net.c (inet_network): Likewise.
33964 * inet/inet_netof.c (inet_netof): Likewise.
33965 * inet/rcmd.c (__ivaliduser): Likewise.
33966 (iruserok): Likewise.
33967 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33968 * locale/programs/locale-spec.c (locale_special): Likewise.
33969 * nis/nis_findserv.c (struct findserv_req): Likewise.
33970 (__nis_findfastest_with_timeout): Likewise.
33971 * nss/test-netdb.c (test_network): Likewise.
33972 * resolv/inet_neta.c (inet_neta): Likewise.
33973 * resolv/ns_date.c (ns_datetosecs): Likewise.
33974 (SECS_PER_DAY): Likewise.
33975 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33977 * resolv/res_comp.c (__putlong): Likewise.
33978 (__putshort): Likewise.
33979 (_getlong): Likewise.
33980 (_getshort): Likewise.
33981 * resolv/res_debug.c (p_time): Likewise.
33982 (precsize_ntoa): Likewise.
33983 (precsize_aton): Likewise.
33984 (latlon2ul): Likewise.
33985 (loc_aton): Likewise.
33986 (loc_ntoa): Likewise.
33987 * resolv/res_hconf.c (struct netaddr): Likewise.
33988 (_res_hconf_reorder_addrs): Likewise.
33989 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33990 (clnttcp_control): Likewise.
33991 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33992 (clntudp_control): Likewise.
33993 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33994 (clntunix_control): Likewise.
33995 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33996 * sunrpc/rpc/auth.h (union des_block): Likewise.
33997 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33998 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33999 (xdrrec_create): Likewise.
34000 (xdrrec_endofrecord): Likewise.
34001 (flush_out): Likewise.
34002 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34003 (xdrstdio_putlong): Likewise.
34004 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34007 * misc/sys/cdefs.h (__long_double_t): Remove.
34008 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34009 instead of __long_double_t,
34010 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34012 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34014 * benchtests/scripts/compare_strings.py: Avoid display error when
34015 running on a text terminal.
34017 * benchtests/scripts/compare_strings.py (main): Add an
34018 optional -base option.
34019 (process_results): New argument base_func.
34021 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34023 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34024 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34026 2017-08-07 Andreas Schwab <schwab@suse.de>
34028 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34029 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34030 * intl/Makefile ($(objpfx)tst-gettext.out)
34031 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34032 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34033 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34034 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34035 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34036 * posix/Makefile ($(objpfx)globtest.out)
34037 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34038 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34039 ($(objpfx)tst-printf.out): Likewise.
34040 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34041 ($(objpfx)tst-setcontext3.out): Likewise.
34043 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34045 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34046 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34047 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34048 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34049 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34051 (CFLAGS-doasin-fma.c): New.
34052 (CFLAGS-dosincos-fma.c): Likewise.
34053 (CFLAGS-e_asin-fma.c): Likewise.
34054 (CFLAGS-e_atan2-fma.c): Likewise.
34055 (CFLAGS-e_exp-fma.c): Likewise.
34056 (CFLAGS-e_log-fma.c): Likewise.
34057 (CFLAGS-e_pow-fma.c): Likewise.
34058 (CFLAGS-halfulp-fma.c): Likewise.
34059 (CFLAGS-mpa-fma.c): Likewise.
34060 (CFLAGS-mpatan-fma.c): Likewise.
34061 (CFLAGS-mpatan2-fma.c): Likewise.
34062 (CFLAGS-mpexp-fma.c): Likewise.
34063 (CFLAGS-mplog-fma.c): Likewise.
34064 (CFLAGS-mpsqrt-fma.c): Likewise.
34065 (CFLAGS-mptan-fma.c): Likewise.
34066 (CFLAGS-s_atan-fma.c): Likewise.
34067 (CFLAGS-sincos32-fma.c): Likewise.
34068 (CFLAGS-slowexp-fma.c): Likewise.
34069 (CFLAGS-slowpow-fma.c): Likewise.
34070 (CFLAGS-s_sin-fma.c): Likewise.
34071 (CFLAGS-s_tan-fma.c): Likewise.
34072 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34073 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34074 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34075 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34077 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34078 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34079 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34080 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34081 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34082 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34083 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34084 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34085 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34086 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34088 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34089 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34092 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34094 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34095 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34096 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34098 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34099 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34101 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34102 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34104 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34106 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34107 (min_of_type_f): New macro.
34108 (min_of_type_): Likewise.
34109 (min_of_type_l): Likewise.
34110 (min_of_type_f128): Likewise.
34111 (min_of_type): Define using __MATH_TG and taking an expression
34113 (math_check_force_underflow): Pass expression instead of type to
34115 (math_check_force_underflow_nonneg): Likewise.
34117 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34119 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34120 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34121 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34123 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34126 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34127 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34128 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34129 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34130 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34131 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34132 memmove_chk-nonshared and memset_chk-nonshared
34133 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34134 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34135 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34136 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34137 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34138 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34139 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34140 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34141 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34142 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34143 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34144 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34145 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34146 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34147 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34148 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34149 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34150 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34151 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34152 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34153 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34154 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34156 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34158 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34160 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34161 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34162 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34163 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34164 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34165 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34166 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34167 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34169 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34171 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34172 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34173 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34175 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34176 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34177 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34179 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34181 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34183 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34185 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34186 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34187 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34188 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34189 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34190 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34191 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34192 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34193 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34194 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34195 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34196 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34197 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34198 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34199 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34200 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34201 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34202 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34203 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34204 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34205 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34206 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34207 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34208 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34209 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34210 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34211 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34212 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34213 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34214 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34215 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34216 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34217 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34218 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34219 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34220 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34221 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34222 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34223 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34224 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34225 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34226 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34227 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34228 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34229 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34230 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34231 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34232 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34233 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34234 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34235 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34236 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34237 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34238 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34239 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34240 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34242 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34244 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34245 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34246 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34247 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34248 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34249 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34250 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34251 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34252 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34253 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34254 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34255 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34256 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34257 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34258 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34259 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34260 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34261 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34262 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34263 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34264 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34265 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34266 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34267 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34270 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34271 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34272 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34273 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34274 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34275 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34276 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34277 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34278 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34279 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34280 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34284 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34285 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34286 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34287 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34288 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34289 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34290 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34291 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34292 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34293 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34294 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34295 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34297 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34298 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34299 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34300 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34301 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34302 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34304 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34305 Don't include <sysdep.h> nor <init-arch.h>.
34306 (_ZGVbN2v_cos): Removed.
34307 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34309 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34310 Don't include <sysdep.h> nor <init-arch.h>.
34311 (_ZGVdN4v_cos): Removed.
34312 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34314 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34315 Don't include <sysdep.h> nor <init-arch.h>.
34316 (_ZGVeN8v_cos): Removed.
34317 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34319 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34320 Don't include <sysdep.h> nor <init-arch.h>.
34321 (_ZGVbN2v_exp): Removed.
34322 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34324 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34325 Don't include <sysdep.h> nor <init-arch.h>.
34326 (_ZGVdN4v_exp): Removed.
34327 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34329 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34330 Don't include <sysdep.h> nor <init-arch.h>.
34331 (_ZGVeN8v_exp): Removed.
34332 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34334 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34335 Don't include <sysdep.h> nor <init-arch.h>.
34336 (_ZGVbN2v_log): Removed.
34337 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34339 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34340 Don't include <sysdep.h> nor <init-arch.h>.
34341 (_ZGVdN4v_log): Removed.
34342 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34344 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34345 Don't include <sysdep.h> nor <init-arch.h>.
34346 (_ZGVeN8v_log): Removed.
34347 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34349 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34350 Don't include <sysdep.h> nor <init-arch.h>.
34351 (_ZGVbN2vv_pow): Removed.
34352 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34354 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34355 Don't include <sysdep.h> nor <init-arch.h>.
34356 (_ZGVdN4vv_pow): Removed.
34357 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34359 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34360 Don't include <sysdep.h> nor <init-arch.h>.
34361 (_ZGVeN8vv_pow): Removed.
34362 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34364 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34365 Don't include <sysdep.h> nor <init-arch.h>.
34366 (_ZGVbN2v_sin): Removed.
34367 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34369 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34370 Don't include <sysdep.h> nor <init-arch.h>.
34371 (_ZGVbN4v_sin): Removed.
34372 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34374 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34375 Don't include <sysdep.h> nor <init-arch.h>.
34376 (_ZGVbN8v_sin): Removed.
34377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34380 Don't include <sysdep.h> nor <init-arch.h>.
34381 (_ZGVbN2vvv_sincos): Removed.
34382 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34385 Don't include <sysdep.h> nor <init-arch.h>.
34386 (_ZGVdN4vvv_sincos): Removed.
34387 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34389 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34390 Don't include <sysdep.h> nor <init-arch.h>.
34391 (_ZGVeN8vvv_sincos): Removed.
34392 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34394 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34395 Don't include <sysdep.h> nor <init-arch.h>.
34396 (_ZGVeN16v_cosf): Removed.
34397 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34399 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34400 Don't include <sysdep.h> nor <init-arch.h>.
34401 (_ZGVbN4v_cosf): Removed.
34402 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34404 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34405 Don't include <sysdep.h> nor <init-arch.h>.
34406 (_ZGVdN8v_cosf): Removed.
34407 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34409 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34410 Don't include <sysdep.h> nor <init-arch.h>.
34411 (_ZGVeN16v_expf): Removed.
34412 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34414 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34415 Don't include <sysdep.h> nor <init-arch.h>.
34416 (_ZGVbN4v_expf): Removed.
34417 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34419 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34420 Don't include <sysdep.h> nor <init-arch.h>.
34421 (_ZGVdN8v_expf): Removed.
34422 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34424 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34425 Don't include <sysdep.h> nor <init-arch.h>.
34426 (_ZGVeN16v_logf): Removed.
34427 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34429 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34430 Don't include <sysdep.h> nor <init-arch.h>.
34431 (_ZGVbN4v_logf): Removed.
34432 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34434 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34435 Don't include <sysdep.h> nor <init-arch.h>.
34436 (_ZGVdN8v_logf): Removed.
34437 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34439 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34440 Don't include <sysdep.h> nor <init-arch.h>.
34441 (_ZGVeN16vv_powf): Removed.
34442 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34444 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34445 Don't include <sysdep.h> nor <init-arch.h>.
34446 (_ZGVbN4vv_powf): Removed.
34447 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34449 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34450 Don't include <sysdep.h> nor <init-arch.h>.
34451 (_ZGVdN8vv_powf): Removed.
34452 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34455 Don't include <sysdep.h> nor <init-arch.h>.
34456 (_ZGVeN16vvv_sincosf): Removed.
34457 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34459 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34460 Don't include <sysdep.h> nor <init-arch.h>.
34461 (_ZGVbN4vvv_sincosf): Removed.
34462 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34464 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34465 Don't include <sysdep.h> nor <init-arch.h>.
34466 (_ZGVdN8vvv_sincosf): Removed.
34467 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34469 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34470 Don't include <sysdep.h> nor <init-arch.h>.
34471 (_ZGVeN16v_sinf): Removed.
34472 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34474 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34475 Don't include <sysdep.h> nor <init-arch.h>.
34476 (_ZGVbN4v_sinf): Removed.
34477 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34479 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34480 Don't include <sysdep.h> nor <init-arch.h>.
34481 (_ZGVdN8v_sinf): Removed.
34483 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34485 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34486 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34487 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34488 s_rint-sse4_1 and s_rintf-sse4_1.
34489 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34490 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34491 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34492 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34493 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34494 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34495 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34496 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34497 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34498 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34499 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34500 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34502 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34503 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34504 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34505 (__ceilf): Removed.
34506 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34507 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34508 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34509 (__floor): Removed.
34510 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34511 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34512 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34513 (__floorf): Removed.
34514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34515 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34516 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34517 (__nearbyint): Removed.
34518 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34519 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34520 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34521 (__nearbyintf): Removed.
34522 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34523 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34524 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34526 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34527 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34528 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34529 (__rintf): Removed.
34531 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34533 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34534 SHARED. Avoid dynamic relocation against main in static PIE.
34536 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34539 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34540 (LDFLAGS-tst-prelink): Likewise.
34542 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34544 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34545 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34546 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34547 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34548 (INTERNAL_SYSCALL_NCS): Likewise.
34549 (LOADARGS_1): Likewise.
34550 (LOADARGS_5): Likewise.
34551 (RESTOREARGS_1): Likewise.
34552 (RESTOREARGS_5): Likewise.
34554 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34556 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34557 (MEMPCPY_SYMBOL): Likewise.
34558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34559 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34563 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34565 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34566 (__hidden_ver1): Don't use in libc.a.
34567 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34568 (__mempcpy): Don't create a weak alias in libc.a.
34569 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34571 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34572 (__hidden_ver1): Don't use in libc.a.
34574 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34576 * config.make.in (have-insert): New.
34577 * configure.ac (libc_cv_insert): New. Set to yes if linker
34578 supports INSERT in linker script.
34579 (AC_SUBST(libc_cv_insert): New.
34580 * configure: Regenerated.
34581 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34582 if $(have-insert) == yes.
34584 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34586 * elf/Makefile (tests): Add vismain only if
34587 $(have-protected-data) == yes.
34588 (tests-pie): Likewise.
34590 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34593 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34594 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34596 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34599 * sysdeps/i386/i586/memset.S
34600 (__memset_zero_constant_len_parameter): Removed.
34601 * sysdeps/i386/i686/memset.S
34602 (__memset_zero_constant_len_parameter): Likewise.
34603 * sysdeps/i386/i686/multiarch/memset_chk.S
34604 (__memset_zero_constant_len_parameter): Likewise.
34605 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34608 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34610 * stdlib/getentropy.c (getentropy): Change return type to int.
34612 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34614 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34616 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34618 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34620 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34621 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34623 (ieee_float_shape_type): Likewise.
34624 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34625 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34626 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34627 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34628 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34629 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34630 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34631 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34632 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34634 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34635 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34636 (__ieee754_yn): Likewise.
34637 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34638 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34639 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34641 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34642 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34643 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34644 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34645 (__erfc): Likewise.
34646 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34647 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34648 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34649 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34650 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34651 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34653 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34654 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34655 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34656 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34657 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34658 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34659 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34660 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34661 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34662 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34663 (__issignaling): Likewise.
34664 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34665 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34666 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34668 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34669 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34670 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34671 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34673 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34675 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34676 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34677 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34678 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34679 (__erfcf): Likewise.
34680 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34681 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34682 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34683 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34685 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34686 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34688 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34689 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34690 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34691 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34692 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34693 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34694 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34695 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34697 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34699 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34701 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34702 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34704 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34706 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34707 (__ieee754_ynl): Likewise.
34708 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34711 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34713 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34714 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34715 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34717 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34718 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34719 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34720 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34721 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34722 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34723 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34724 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34726 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34727 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34728 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34730 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34731 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34732 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34733 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34734 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34737 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34739 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34743 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34744 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34745 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34746 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34747 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34748 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34749 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34751 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34756 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34757 (__ieee754_remainderl): Likewise.
34758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34759 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34760 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34761 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34764 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34767 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34768 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34769 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34770 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34774 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34775 (__ieee754_y0l): Likewise.
34778 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34779 (__ieee754_y1l): Likewise.
34782 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34783 (__ieee754_ynl): Likewise.
34784 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34785 (__ieee754_lgammal_r): Likewise.
34786 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34788 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34789 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34790 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34791 (__erfcl): Likewise.
34792 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34793 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34795 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34796 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34797 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34798 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34799 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34803 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34804 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34805 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34806 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34807 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34809 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34810 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34812 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34813 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34814 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34815 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34816 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34818 2017-08-03 Florian Weimer <fweimer@redhat.com>
34821 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34822 on memory allocation failure.
34824 2017-08-03 Alan Modra <amodra@gmail.com>
34826 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34827 tst-tlsopt-powerpc.c with function name change and no test harness.
34828 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34829 Call tls_get_addr_opt_test.
34830 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34831 (modules-names): Add mod-tlsopt-powerpc.
34832 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34833 (tst-tlsopt-powerpc): Depend on .so.
34834 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34835 define. Expand use in TLS_GD and TLS_LD.
34837 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34839 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34841 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34843 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34846 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34847 comparing size with that of double.
34848 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34849 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34850 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34851 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34852 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34853 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34854 unsigned __int128 types.
34856 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34858 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34859 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34860 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34861 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34862 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34864 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34866 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34868 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34870 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34872 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34873 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34875 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34876 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34877 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34880 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34883 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34884 bit-field expressions passed to sizeof or typeof.
34885 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34886 (__TGMATH_F128): Likewise.
34887 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34888 (__TGMATH_CF128): Likewise.
34889 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34890 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34891 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34892 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34893 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34894 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34895 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34896 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34897 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34898 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34899 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34900 (__TGMATH_UNARY_IMAG): Likewise.
34901 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34902 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34903 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34905 (define_vars_for_type): Handle bit_field type specially.
34906 (Tests.__init__): Declare structure with bit-field element.
34908 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34911 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34912 (MEMCPY_CHK): Define only if SHARED is defined.
34913 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34918 See ChangeLog.18 for earlier changes.