1 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
7 2019-05-20 Joseph Myers <joseph@codesourcery.com>
9 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
10 (NT_ARM_PACG_KEYS): Likewise.
12 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
14 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
15 (tcache_put): Remove redundant assert.
16 (tcache_get): Remove redundant asserts.
17 (__libc_malloc): Check tcache count is not zero.
18 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
20 2019-05-17 Florian Weimer <fweimer@redhat.com>
22 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
24 2019-05-16 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
29 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
31 * sysdeps/unix/sysv/linux/sh/kernel-features.h
32 (__ASSUME_STATX): Likewise.
34 2019-05-16 Florian Weimer <fweimer@redhat.com>
36 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
38 (LINE_PARSER): Do not map IPv4 addresses.
39 (internal_nis_gethostent_r): Remove flags argument. Adjust call
41 (_nss_nis_gethostent_r): Always pass AF_INET to
42 internal_nis_gethostent_r.
43 (internal_gethostbyname2_r): Remove flags argument. Adjust call
45 (_nss_nis_gethostbyname2_r): Adjust call to
46 internal_nis_gethostent_r.
47 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
48 call to internal_nis_gethostent_r.
49 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
51 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
52 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
53 Remove flags argument. Do not map IPv4 addresses.
54 (internal_nisplus_gethostent_r): Adjust call to
55 _nss_nisplus_parse_hostent.
56 (internal_gethostbyname2_r): Remove flags argument. Adjust call
57 to _nss_nisplus_parse_hostent.
58 (_nss_nisplus_gethostbyname2_r): Adjust call to
59 internal_gethostbyname2_r.
60 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
61 Adjust call to internal_gethostbyname2_r.
62 (_nss_nisplus_gethostbyaddr_r): Adjust call to
63 _nss_nisplus_parse_hostent.
64 (_nss_nisplus_gethostbyname4_r): Adjust call to
65 internal_gethostbyname2_r.
67 2019-05-16 Florian Weimer <fweimer@redhat.com>
69 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
71 (LINE_PARSER): Remove address mapping.
72 (EXTRA_ARGS_VALUE): Remove flags argument.
73 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
74 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
76 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
77 _nss_files_gethostbyname3_r.
78 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
80 2019-05-16 Florian Weimer <fweimer@redhat.com>
82 * support/support_test_compare_blob.c (report_blob): Report
85 2019-05-15 Mark Wielaard <mark@klomp.org>
88 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
89 __libc_once_get (once) and static_buf == NULL.
90 (__dlerror): Check we have a valid key, set result to static_buf
93 2019-05-15 Andreas Schwab <schwab@suse.de>
96 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
98 * libio/Makefile (tests): Add tst-wfile-sync.
99 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
100 * libio/tst-wfile-sync.c: New file.
101 * libio/tst-wfile-sync.input: New file.
103 2019-05-15 Florian Weimer <fweimer@redhat.com>
105 nss: Turn __nss_database_lookup into a compatibility symbol.
106 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
107 __nss_database_lookup.
108 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
109 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
110 __nss_database_lookup.
111 (__nss_next): Move to …
112 * nss/compat-lookup.c (nss_next): … here. Change it to fail
114 (__nss_database_lookup): New function.
115 * nss/Versions (GLIBC_2.0): Update comment.
116 (GLIBC_PRIVATE): Export __nss_database_lookup2.
117 * grp/initgroups.c (internal_getgrouplist): Call
118 __nss_database_lookup2 instead of __nss_database_lookup.
119 * nscd/aicache.c (addhstaiX): Likewise.
120 * nscd/initgrcache.c (addinitgroupsX): Likewise.
121 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
122 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
123 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
124 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
126 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
127 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
130 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
132 * support/support.h (support_install_rootsbindir): New variable.
133 * support/support_paths.c: Likewise.
134 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
136 2019-05-15 Florian Weimer <fweimer@redhat.com>
138 * iconv/gconv.h (__gconv_transliterate): Move declaration …
139 * iconv/gconv_int.h (__gconv_transliterate): … here.
140 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
141 * iconv/skeleton.c: Likewise.
143 2019-05-14 Florian Weimer <fweimer@redhat.com>
145 Linux: Add the tgkill function.
146 * bits/signal_ext.h: New file.
147 * manual/signal.texi (Signaling Another Process): Document tgkill.
148 * signal/Makefile (headers): Add bits/signal_ext.h.
149 * signal/signal.h: Include <bits/signal_ext.h>.
150 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
151 (tst-tgkill): Link with libpthread.
152 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
153 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
154 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
155 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
157 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
158 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
159 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
160 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
161 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
162 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
163 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
164 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
165 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
166 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
167 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
170 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
171 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
180 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
181 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
182 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
183 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
184 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
185 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
186 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
187 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
189 2019-05-14 Carlos O'Donell <carlos@redhat.com>
191 * manual/search.texi (Tree Search Function): Adjust twalk_r
194 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
197 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
200 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
201 * support/support.h (support_bindir_prefix): New variable.
202 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
204 * config.make.in (bindir): New variable.
206 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
207 (lll_trylock): Call __lll_trylock.
208 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
209 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
210 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
211 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
212 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
213 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
214 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
216 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
217 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
218 lowlevellock-futex.h.
220 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
221 initialization for LLL_LOCK_INITIALIZER different than 0.
222 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
223 Assume LLL_LOCK_INITIALIZER being 0.
224 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
225 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
227 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
228 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
230 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
231 Optimize futex call and add systemtap probe.
233 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
234 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
235 __libc_disable_asynccancel, __librt_enable_asynccancel,
236 __libc_disable_asynccancel, __librt_enable_asynccancel,
237 __librt_disable_asynccancel): Move to ...
238 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
239 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
240 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
241 * sysdeps/generic/single-thread.h: New file.
242 * sysdeps/unix/sysdep.h: Include single-thread.h.
243 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
244 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
246 2019-05-08 Mike FABIAN <mfabian@redhat.com>
249 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
250 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
252 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
253 * localedata/unicode-gen/PropList.txt: Likewise.
254 * localedata/unicode-gen/UnicodeData.txt: Likewise.
255 * localedata/charmaps/UTF-8: Regenerate.
256 * localedata/locales/i18n_ctype: Likewise.
257 * localedata/locales/tr_TR: Likewise.
258 * localedata/locales/translit_circle: Likewise.
259 * localedata/locales/translit_cjk_compat: Likewise.
260 * localedata/locales/translit_combining: Likewise.
261 * localedata/locales/translit_compat: Likewise.
262 * localedata/locales/translit_font: Likewise.
263 * localedata/locales/translit_fraction: Likewise.
265 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
268 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
269 (do_set_tcache_count): Only update if count is small enough.
270 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
272 2019-05-10 Florian Weimer <fweimer@redhat.com>
274 * nptl/sem_close.c (struct walk_closure): Define.
275 (walker): Adjust for __twalk_r.
276 (sem_close): Call __twalk_r.
278 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
280 * support/timespec.c (test_timespec_before_impl,
281 test_timespec_equal_or_after_impl): print timespec member as intmax_t
284 2019-05-09 Mike Crowe <mac@mcrowe.com>
286 * nptl/tst-abstime.c: Use libsupport.
288 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
289 small bug where only tv.tv_usec was checked which could cause an
290 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
293 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
296 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
297 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
299 * nptl/tst-cond11.c: Use libsupport.
301 * support/timespec.h: New file. Provide timespec helper functions
302 along with macros in the style of those in check.h.
303 * support/timespec.c: New file. Implement check functions declared
304 in support/timespec.h.
305 * support/timespec-add.c: New file from gnulib containing
306 timespec_add implementation that handles overflow.
307 * support/timespec-sub.c: New file from gnulib containing
308 timespec_sub implementation that handles overflow.
309 * support/README: Mention timespec.h.
311 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
314 * nptl/Makefile: Move tst-eintr1 to xtests.
316 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
318 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
320 (round_mode): Add definition for TRUNC.
321 * sysdeps/powerpc/fpu/s_trunc.c: New file.
322 * sysdeps/powerpc/fpu/s_truncf.c: New file.
323 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
324 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
325 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
327 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
329 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
331 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
333 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
335 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
337 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
339 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
341 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
342 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
343 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
344 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
345 s_truncf-power5+, and s_truncf-ppc64.
346 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
347 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
349 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
351 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
352 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
354 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
357 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
359 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
360 s_truncf-power5+, and s_truncf-ppc64.
361 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
363 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
364 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
366 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
367 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
368 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
369 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
370 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
372 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
374 (round_mode): Add definition for ROUND.
375 (round_to_integer_float): Likewise.
376 * sysdeps/powerpc/fpu/s_round.c: New file.
377 * sysdeps/powerpc/fpu/s_roundf.c: New file.
378 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
379 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
380 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
382 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
384 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
386 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
388 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
390 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
392 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
394 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
396 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
397 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
398 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
399 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
400 s_roundf-power5+, and s_roundf-ppc64.
401 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
402 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
404 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
406 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
407 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
409 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
412 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
414 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
415 s_roundf-power5+, and s_roundf-ppc64.
416 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
418 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
419 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
421 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
422 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
423 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
424 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
425 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
427 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
429 (round_mode): Add definition for FLOOR.
430 * sysdeps/powerpc/fpu/s_floor.c: New file.
431 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
432 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
433 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
450 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
451 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
452 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
453 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
454 s_floorf-power5+, and s_floorf-ppc64.
455 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
456 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
458 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
460 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
461 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
463 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
466 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
468 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
469 s_floorf-power5+, and s_floorf-ppc64.
470 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
478 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
479 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
480 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
481 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
483 2019-05-08 Mike Crowe <mac@mcrowe.com>
485 * support/xclock_gettime.c (xclock_gettime): New file. Provide
486 clock_gettime wrapper for use in tests that fails the test rather
487 than returning failure.
489 * support/xtime.h: New file to declare xclock_gettime.
491 * support/Makefile: Add xclock_gettime.c.
493 * support/README: Mention xtime.h.
495 2019-05-08 Florian Weimer <fweimer@redhat.com>
497 malloc/tst-mallocfork2: Use process-shared barriers.
498 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
499 (signal_count, sigusr1_sender_pid): Remove.
500 (iterations): Define constant.
501 (shared): New variable.
502 (sigusr1_received): Update comment.
503 (sigusr1_handler): Do not send SIGSTOP to the sender process.
504 (signal_sender): Optional use barriers to avoid sending signals
505 during irrelevant times.
506 (do_it): Initialize variable shared. Use xfork for error
507 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
508 the iteration count, independent of signal delivery. Check for
509 deadlocks in fork. Introduce barriers for reducing signal
510 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
511 replaced by the barriers. Count signals during fork/free/malloc
513 * malloc/Makefile (tst-mallocfork): Link with libpthread.
515 2019-05-07 Joseph Myers <joseph@codesourcery.com>
517 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
519 (clock_adjtime64) New syscall.
520 (clock_getres_time64) Likewise.
521 (clock_gettime64) Likewise.
522 (clock_nanosleep_time64) Likewise.
523 (clock_settime64) Likewise.
524 (futex_time64) Likewise.
525 (io_pgetevents_time64) Likewise.
526 (io_uring_enter) Likewise.
527 (io_uring_register) Likewise.
528 (io_uring_setup) Likewise.
529 (mq_timedreceive_time64) Likewise.
530 (mq_timedsend_time64) Likewise.
531 (pidfd_send_signal) Likewise.
532 (ppoll_time64) Likewise.
533 (pselect6_time64) Likewise.
534 (recvmmsg_time64) Likewise.
535 (rt_sigtimedwait_time64) Likewise.
536 (sched_rr_get_interval_time64) Likewise.
537 (semtimedop_time64) Likewise.
538 (timer_gettime64) Likewise.
539 (timer_settime64) Likewise.
540 (timerfd_gettime64) Likewise.
541 (timerfd_settime64) Likewise.
542 (utimensat_time64) Likewise.
544 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
547 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
549 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
550 __memmove_thunderx2 to the list of implementations
551 * sysdeps/aarch64/multiarch/memmove.c: Likewise
552 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
553 (__memmove_thunderx2): Rewritten using SIMD ld/st
554 (__memcpy_thunderx2): Fixed handling overlapping cases.
555 Used ldp/stp instead of ldr/str if possible. Made loops
558 2019-05-03 Florian Weimer <fweimer@redhat.com>
560 * misc/tst-tsearch.c (walk_tree): Add more error checking.
562 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
565 * elf/tst-pldd.c (in_str_list): New function.
566 (do_test): Add default names for ld and libc as one option.
568 2019-05-02 Florian Weimer <fweimer@redhat.com>
570 misc: Add twalk_r function.
571 * include/search.h (__twalk_r): Declare.
572 * manual/examples/twalk.c: New file.
573 * manual/search.texi (Tree Search Function): Document twalk_r.
574 * misc/Versions (2.30): Export twalk_r.
575 (GLIBC_PRIVATE): Export __twalk_r.
576 * misc/search.h [__USE_GNU] (twalk_r): Declare.
577 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
578 (twalk_r): Add weak alias.
579 * misc/tst-tsearch.c (struct walk_trace_element): Define.
580 (walk_trace): New variable.
581 (struct twalk_with_twalk_r_closure): Define.
582 (twalk_with_twalk_r_action): New function.
583 (twalk_with_twalk_r): Likewise.
584 (walk_action): Call walk_trace_add.
585 (walk_tree_with): Rename from walk_tree. Add walk argument.
586 (walk_tree): New function.
587 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
588 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
590 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
592 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
593 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
594 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
595 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
596 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
597 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
599 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
603 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
604 (GLIBC_2.30): Likewise.
605 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
606 (GLIBC_2.30): Likewise.
607 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
608 (GLIBC_2.30): Likewise.
609 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
610 (GLIBC_2.30): Likewise.
611 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
614 (GLIBC_2.30): Likewise.
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
616 (GLIBC_2.30): Likewise.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
618 (GLIBC_2.30): Likewise.
619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
620 (GLIBC_2.30): Likewise.
621 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
623 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
625 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
627 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
628 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
630 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
632 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
634 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
637 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
639 Make mktime etc. compatible with __time64_t
640 Keep these functions compatible with Gnulib while adding
641 __time64_t support. The basic idea is to move private API
642 declarations from include/time.h to time/mktime-internal.h, since
643 the former file cannot easily be shared with Gnulib whereas the
645 Also, do some other minor cleanup while in the neighborhood.
646 * include/time.h: Include stdbool.h, time/mktime-internal.h.
647 (__mktime_internal): Move this prototype to time/mktime-internal.h,
648 since Gnulib needs it.
649 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
650 Move these macros to time/mktime-internal.h, since Gnulib needs them.
651 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
652 (in_time_t_range): New static function.
653 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
654 so that glibc users are not tempted to use __time64_t.
655 * time/mktime-internal.h: Rewrite so that it does both glibc
656 and Gnulib work. Include time.h if not _LIBC.
657 (mktime_offset_t) [!_LIBC]: Define for gnulib.
658 (__time64_t): New type or macro, moved here from
660 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
661 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
663 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
664 New macros, taken from GNulib.
665 (__mktime_internal): New prototype, moved here from include/time.h.
666 * time/mktime.c (mktime_min, mktime_max, convert_time)
667 (ranged_convert, __mktime_internal, __mktime64):
668 * time/timegm.c (__timegm64):
669 Use __time64_t, not time_t.
670 * time/mktime.c: Stop worrying about whether time_t is floating-point.
671 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
673 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
674 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
677 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
679 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
681 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
684 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
685 from `-Wmaybe-uninitialized'.
686 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
688 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
690 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
692 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
693 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
694 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
695 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
696 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
698 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
717 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
718 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
720 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
723 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
724 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
726 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
729 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
732 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
733 s_ceilf-power5+, and s_ceilf-ppc64.
734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
739 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
740 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
741 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
742 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
744 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
745 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
746 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
748 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
750 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
751 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
752 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
753 (sem_getvalue): Likewise.
755 2019-04-26 Florian Weimer <fweimer@redhat.com>
757 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
758 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
760 2019-04-26 Florian Weimer <fweimer@redhat.com>
762 Makeconfig: Move -Wl,-rpath-link options before library references.
763 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
764 (link-libc): Remove $(link-libc-rpath-link).
766 2019-04-25 Florian Weimer <fweimer@redhat.com>
768 * Makeconfig (+link-pie-before-libc): Remove $(CC).
769 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
770 (+link-static-before-libc): Remove $(CC).
771 (+link-static, +link-static-tests): Add $(CC).
772 (+link-before-libc): Remove $(CC).
773 (+link, +link-pie, +link-pie-printers): Add $(CC).
775 2019-04-26 Florian Weimer <fweimer@redhat.com>
777 * Makeconfig (+link-pie-before-libc): Remove $(CC).
778 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
779 (+link-static-before-libc): Remove $(CC).
780 (+link-static, +link-static-tests): Add $(CC).
781 (+link-before-libc): Remove $(CC).
782 (+link, +link-pie, +link-pie-printers): Add $(CC).
784 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
787 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
789 2019-04-25 Florian Weimer <fweimer@redhat.com>
791 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
792 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
793 (bench-link-targets): New variable.
794 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
796 2019-04-25 Florian Weimer <fweimer@redhat.com>
798 Also enable BIND_NOW for programs if --enable-bind-now.
799 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
800 (+link-pie): Use $(link-extra-flags).
801 (+link-static): Likewise.
802 [! $(build-pie-default)] (+link): Likewise.
803 * manual/install.texi (Configuring and compiling): Update
804 --enable-bind-now description.
805 * INSTALL: Regenerated.
807 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
809 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
810 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
812 2019-04-24 Mike Frysinger <vapier@gentoo.org>
815 * malloc/Makefile (others): Add memusagestat.
816 ($(objpfx)memusagestat): Delete rule.
817 (LDLIBS-memusagestat): New variable.
819 2019-04-24 Florian Weimer <fweimer@redhat.com>
821 * locale/Makefile (tests-special): Guard setting by
822 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
823 to run while cross-compiling.
825 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
828 * elf/Makefile (tests-container): Add tst-pldd.
829 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
830 (E(find_maps)): Avoid use alloca, use default read file operations
831 instead of explicit LFS names, and fix infinite loop.
832 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
833 (get_process_info): Use _Static_assert instead of assert, use default
834 directory operations instead of explicit LFS names, and free some
836 * elf/tst-pldd.c: New file.
838 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
840 * malloc/arena.c (do_set_mallopt_check): Removed.
842 2019-04-23 Florian Weimer <fweimer@redhat.com>
844 locale: Add LOCPATH diagnostics to the locale program.
845 * locale/programs/locale.c (setlocale_failed): New variable.
846 (try_setlocale): New function.
847 (quote_string): Likewise.
848 (setlocale_diagnostics): Likewise.
849 (main): Call try_setlocale instead of setlocale. Call
850 setlocale_diagnostics.
851 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
852 (tst-locale-locpath.out): New target.
853 * locale/tst-locale-locpath.sh: New file.
855 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
857 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
860 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
863 * malloc/hooks.c (malloc_check, realloc_check): Use
864 __builtin_add_overflow on overflow check and adapt to
865 checked_request2size change.
866 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
867 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
868 allocation size to PTRDIFF_MAX.
869 (REQUEST_OUT_OF_RANGE): Remove macro.
870 (checked_request2size): Change to inline function and limit maximum
871 requested size to PTRDIFF_MAX.
872 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
873 maximum allocation size to PTRDIFF_MAX.
874 (_mid_memalign): Use _int_memalign call for overflow check.
875 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
876 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
877 limit maximum requested size to PTRDIFF_MAX.
878 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
879 valloc, pvalloc): Add __attribute_alloc_size__.
880 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
881 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
882 larger than PTRDIFF_MAX.
883 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
884 around tests of malloc with negative sizes.
885 * malloc/tst-posix_memalign.c (do_test): Likewise.
886 * malloc/tst-pvalloc.c (do_test): Likewise.
887 * malloc/tst-valloc.c (do_test): Likewise.
888 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
889 with resulting size allocation larger than PTRDIFF_MAX with
891 (reallocarray_nowarn): New function.
892 * NEWS: Mention the malloc function semantic change.
894 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
896 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
897 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
899 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
900 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
901 * sysdeps/powerpc/fpu/s_fma.c: New file.
902 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
904 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
905 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
907 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
908 the magic flag store.
909 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
911 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
913 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
914 Remove rt_sigreturn call.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
917 Remove rt_sigreturn call.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
923 * support/Makefile (libsupport-routines): Add support_subprocess,
924 xposix_spawn, xposix_spawn_file_actions_addclose, and
925 xposix_spawn_file_actions_adddup2.
926 (tst-support_capture_subprocess-ARGS): New rule.
927 * support/capture_subprocess.h (support_capture_subprogram): New
929 * support/support_capture_subprocess.c (support_capture_subprocess):
930 Refactor to use support_subprocess and support_capture_poll.
931 (support_capture_subprogram): New function.
932 * support/tst-support_capture_subprocess.c (write_mode_to_str,
933 str_to_write_mode, test_common, parse_int, handle_restart,
934 do_subprocess, do_subprogram, do_multiple_tests): New functions.
935 (do_test): Add support_capture_subprogram tests.
936 * support/subprocess.h: New file.
937 * support/support_subprocess.c: Likewise.
938 * support/xposix_spawn.c: Likewise.
939 * support/xposix_spawn_file_actions_addclose.c: Likewise.
940 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
941 * support/xspawn.h: Likewise.
943 2019-04-17 Mike Gerow <gerow@google.com>
945 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
948 2019-04-11 Florian Weimer <fweimer@redhat.com>
950 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
951 domain with empty string.
952 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
954 2019-04-11 Florian Weimer <fweimer@redhat.com>
956 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
958 (alloc_buffer_next): Change return type to non-const. Update
961 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
963 * manual/time.texi (Formatting Calendar Time): Add missing percent
964 sign to conversion specifier.
966 2019-04-09 Carlos O'Donell <carlos@redhat.com>
967 Kwok Cheung Yeung <kcy@codesourcery.com>
970 * malloc/mtrace.c: Define prototypes for all hooks.
971 (set_default_hooks): New function.
972 (set_trace_hooks): Likewise.
973 (save_default_hooks): Likewise.
974 (tr_freehook): Use new s*_hooks functions.
975 (tr_mallochook): Likewise.
976 (tr_reallochook): Likewise.
977 (tr_memalignhook): Likewise.
979 (muntrace): Likewise.
981 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
983 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
984 (generic_stpcpy): New function.
985 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
986 (generic_stpncpy): New function.
987 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
988 (generic_strcat): New function.
989 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
990 (generic_strcpy): New function.
991 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
992 (STUPID_STRNCAT): Remove function.
993 (generic_strncat): New function.
994 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
995 (STUPID_STRNCPY): Remove function.
996 (generic_strncpy): New function.
997 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
998 (generic_strnlen): New function.
999 (memchr_strnlen): New function.
1000 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1001 (memchr_strlen): Likewise.
1003 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1005 * benchtests/bench-strstr.c (input): Add realistic input text.
1006 (stupid_strstr): Remove function.
1007 (basic_strstr): Add function.
1008 (twoway_strstr): Add function.
1009 (do_one_test): Add result checking.
1010 (do_test): Use new input text. Remove accidental early matches.
1011 (test_main): Improve range of tests, reduce unaligned cases.
1013 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1015 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1016 (basic_memmem): Add function.
1017 (twoway_memmem): Add function.
1019 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1021 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1022 * benchtests/bench-malloc-thread.c: Likewise.
1023 * benchtests/bench-skeleton.c: Likewise.
1024 * benchtests/bench-strtod.c: Likewise.
1025 * benchtests/bench-timing.h: Likewise.
1027 2019-04-08 Florian Weimer <fweimer@redhat.com>
1029 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1031 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1032 RES_INSECURE2 security checks.
1033 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1034 RES_INSECURE2 handling.
1036 2019-04-08 Florian Weimer <fweimer@redhat.com>
1038 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1039 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1040 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1042 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1043 (tests-internal): Update justification for tst-resolv-res_init,
1044 tst-resolv-res_init-thread.
1045 (tst-res_use_inet6): Remove target.
1046 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1047 * resolv/res_debug.c (p_option): Remove "inet6" support.
1048 * resolv/res_init.c (res_setoptions): Likewise.
1049 * resolv/res_use_inet6.h: Remove file.
1050 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1052 (res_use_inet6): Always return false.
1053 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1054 * resolv/resolv_context.h: Adjust file comment.
1055 (struct resolv_context): Update comment on __next field.
1056 (__resolv_context_put): Update comment.
1057 * resolv/tst-res_use_inet6.c: Remove file.
1058 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1060 (test_cases): Adjust test case.
1061 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1062 (thread_byname2_af_inet6): Use old byname_inet6 code.
1063 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1064 (gai): Remove do_inet6 argument.
1065 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1066 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1067 (thread_gai_unspec_inet6): Remove functions.
1068 (do_test): Adjust thread_funcs.
1069 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1071 (gaih_inet): Do not disable RES_USE_INET6 flag.
1073 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1075 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1076 and remove redundant code.
1078 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1080 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1082 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1090 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1091 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1094 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1096 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1098 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1101 Remove wcsrchr optimizations.
1102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1104 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1107 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1109 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1117 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1118 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1119 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1120 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1121 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1123 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1125 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1128 Remove wcschr optimizations.
1129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1131 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1134 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1136 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1144 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1145 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1146 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1147 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1148 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1150 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1152 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1155 Remove wcscpy optimizations.
1156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1158 * include/loop_unroll.h: New file.
1159 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1160 besides generic implementation.
1162 2019-04-03 DJ Delorie <dj@redhat.com>
1164 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1165 snprintf truncating output.
1167 2019-04-02 DJ Delorie <dj@redhat.com>
1169 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1172 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1175 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1177 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1178 (mkreftable): Add rules for the new Japanese era and the new dates.
1180 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1181 Rafal Luzynski <digitalfreak@lingonborough.com>
1183 * time/tst-strftime2.c (date_t): Explicitly define the type.
1184 (dates): Use natural month and year numbers to express a date.
1185 (is_before): New function to compare dates.
1186 (mkreftable): Minor improvements to simplify maintenance.
1187 (do_test): Reflect the changes in dates array.
1190 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1191 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1192 * time/tst-strftime2.c (locales): Likewise.
1193 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1194 2010-04-01, and 2011-04-01.
1195 (mkreftable): Add rules for the new locales and the new dates.
1197 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1199 * localedata/locales/ja_JP: Add comments to era entries.
1201 2019-04-01 DJ Delorie <dj@redhat.com>
1204 * time/strptime_l.c (%Ey): Fix fencepost error.
1205 * time/tst-strftime3.c: New.
1206 * time/Makefile (tests): Add tst-strftime3.
1208 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1210 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1211 conditional branch to DIVBYZERO. Fix unwind info.
1212 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1213 excb after conditional branch to $powerof2. Add missing unop
1214 instructions and .align directives and reorder instructions to
1217 2019-04-01 Richard Henderson <rth@twiddle.net>
1219 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1221 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1224 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1226 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1227 $libc_cv_riscv_float_abi in `test' invocation.
1228 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1230 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1232 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1234 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1236 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1237 (_GET_SI_FPSCR): Likewise.
1238 (_SET_SI_FPSCR): Likewise.
1240 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1242 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1244 (signbit): Use builtin for clang 3.3.
1245 (isinf): Use builtin for clang 3.7.
1247 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1249 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1251 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1253 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1256 2019-03-25 Mike Crowe <mac@mcrowe.com>
1258 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1259 pthread_rwlock_timedrdlock with calls to
1260 pthread_rwlock_timedwrlock to ensure that the latter is tested
1261 too. Use new function name in diagnostic messages too.
1263 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1264 (do_test) Use libsupport test macros rather than hand-coded
1265 conditionals and error messages. Ensure that sem_init returns zero
1266 rather than not -1. Use <support/test-driver.c> rather than
1269 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1270 test macros rather than hand-coded conditionals and error messages.
1271 Use <support/test-driver.c> rather than test-skeleton.c.
1273 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1275 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1277 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1278 (NT_MIPS_MSA): Likewise.
1280 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1282 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1283 * benchtests/README: Update description.
1284 * benchtests/bench-timing.h: Default to hp-timing.
1285 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1286 HP_TIMING_PRINT): Remove.
1287 (HP_TIMING_NOW): Add generic implementation.
1288 (hp_timing_t): Change to uint64_t.
1290 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1292 * nptl/descr.h: Likewise.
1293 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1294 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1295 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1296 Abstract hp-timing usage with RTLD_* macros.
1297 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1298 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1299 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1300 HP_TIMING_NONAVAIL): Likewise.
1301 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1303 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1304 HP_SMALL_TIMING_AVAIL): Likewise.
1305 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1306 HP_SMALL_TIMING_AVAIL): Likewise.
1307 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1308 HP_SMALL_TIMING_AVAIL): Likewise.
1309 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1310 HP_SMALL_TIMING_AVAIL): Likewise.
1311 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1313 * sysdeps/generic/hp-timing-common.h: Update comment with
1314 HP_TIMING_AVAIL removal.
1316 * include/random-bits.h: New file.
1317 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1318 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1320 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1321 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1324 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1325 * rt/Makefile (clock-routines): Remove get_clockfreq.
1326 * rt/get_clockfreq.c: Remove file.
1327 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1328 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1330 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1331 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1333 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1334 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1335 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1336 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1337 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1339 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1340 pthread_clock_settime.
1341 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1342 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1343 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1344 * elf/rtld.c (_dl_start_final): Likewise.
1345 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1346 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1348 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1349 (_dl_cpuclock_offset): Remove.
1350 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1351 cpuclock_offset_ununsed.
1352 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1353 cpuclock_offset set.
1354 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1355 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1356 * nptl/pthread_clock_gettime.c: Remove file.
1357 * nptl/pthread_clock_settime.c: Likewise.
1358 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1359 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1360 and CLOCK_PROCESS_CPUTIME_ID support.
1361 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1362 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1363 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1364 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1365 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1367 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1369 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1371 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1372 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1373 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1375 * sysdeps/s390/memmem-arch13.S: New file.
1376 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1377 if it is only used as fallback.
1378 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1379 * sysdeps/s390/multiarch/ifunc-impl-list.c
1380 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1382 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1384 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1385 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1386 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1388 * sysdeps/s390/multiarch/ifunc-impl-list.c
1389 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1390 * sysdeps/s390/strstr-arch13.S: New file.
1391 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1392 if it is only used as fallback.
1393 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1395 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1397 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1398 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1399 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1400 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1402 * sysdeps/s390/multiarch/ifunc-impl-list.c
1403 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1404 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1405 S390_IS_ARCH13_MIE3): New defines.
1407 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1409 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1410 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1411 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1412 * sysdeps/s390/configure: Regenerated.
1414 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1416 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1417 Add vxe2, vxp, dflt, sort flags.
1418 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1419 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1421 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1422 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1423 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1424 HWCAP_S390_DFLT): Define.
1426 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1429 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1430 of compiler warning.
1431 * locale/programs/ld-collate.c (collate_output): Likewise.
1433 2019-03-21 DJ Delorie <dj@redhat.com>
1436 * iconv/iconvconfig.c (write_output): Replace floating point math
1437 with integer math to avoid imprecise results.
1438 * locale/programs/ld-collate.c (collate_output): Likewise.
1440 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1442 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1443 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1445 2019-03-20 mansayk <6688000@gmail.com>
1448 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1449 (abday): Likewise, but remove the trailing dots.
1451 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1453 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1455 (HWCAP_PACA): Likewise.
1456 (HWCAP_PACG): Likewise.
1457 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1459 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1461 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1463 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1466 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1468 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1470 (old_getpagesize): New syscall.
1472 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1475 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1476 * localedata/locales/cmn_TW (era): Likewise.
1477 * localedata/locales/hak_TW (era): Likewise.
1478 * localedata/locales/lzh_TW (era): Likewise.
1479 * localedata/locales/nan_TW (era): Likewise.
1481 2019-03-14 Adam Maris <amaris@redhat.com>
1483 * malloc/malloc.c (_int_malloc): Check for large bin list
1484 corruption when inserting unsorted chunk.
1486 2019-03-14 Florian Weimer <fweimer@redhat.com>
1488 Remove obsolete, never-implemented XSI STREAMS declarations.
1489 * manual/terminal.texi (Allocation): Remove portability note and
1491 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1493 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1494 * sysdeps/unix/inet/Subdirs (streams): Remove.
1495 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1496 (conformtest-headers-UNIX98): Likewise.
1497 (conformtest-headers-XOPEN2K): Likewise.
1498 (conformtest-headers-POSIX2008): Likewise.
1499 * posix/compat-streams.c: New file.
1500 * posix/Makefile (routines): Add it.
1501 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1502 getpmsg, isastream, putmsg, putpmsg.
1503 (GLIBC_2.30): New section.
1504 * bits/stropts.h: Remove file.
1505 * bits/xtitypes.h: Likewise.
1506 * conform/data/stropts.h-data: Likewise.
1507 * include/stropts.h: Likewise.
1508 * include/sys/stropts.h: Likewise.
1509 * include/xtitypes.h: Likewise.
1510 * streams/Makefile: Likewise.
1511 * streams/fattach.c: Likewise.
1512 * streams/fdetach.c: Likewise.
1513 * streams/getmsg.c: Likewise.
1514 * streams/getpmsg.c: Likewise.
1515 * streams/isastream.c: Likewise.
1516 * streams/putmsg.c: Likewise.
1517 * streams/putpmsg.c: Likewise.
1518 * streams/stropts.h: Likewise.
1519 * streams/sys/stropts.h: Likewise.
1520 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1521 * sysdeps/s390/bits/xtitypes.h: Likewise.
1522 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1523 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1524 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1525 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1526 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1527 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1528 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1530 * sysdeps/x86/bits/xtitypes.h: Likewise.
1532 2019-03-14 Florian Weimer <fweimer@redhat.com>
1534 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1536 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1537 but not with libnss_files.
1538 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1540 2019-03-14 Zack Weinberg <zackw@panix.com>
1542 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1543 Specify encoding="utf-8" when opening headers to check.
1545 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1547 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1549 (Context.checkout_tar): Handle variable major version for Linux
1552 2019-03-13 Florian Weimer <fweimer@redhat.com>
1555 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1557 2019-03-13 Zack Weinberg <zackw@panix.com>
1559 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1561 * include/inttypes.h: Adjust to match.
1562 * include/stdint.h: New wrapper.
1564 2019-03-13 Zack Weinberg <zackw@panix.com>
1566 * scripts/check-obsolete-constructs.py: New test script.
1567 * scripts/check-installed-headers.sh: Remove tests for
1568 obsolete typedefs, superseded by check-obsolete-constructs.py.
1569 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1570 as a special test. Update commentary.
1571 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1572 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1574 * posix/sys/types.h (__u_intN_t): Remove.
1575 (u_int8_t): Typedef using __uint8_t.
1576 (u_int16_t): Typedef using __uint16_t.
1577 (u_int32_t): Typedef using __uint32_t.
1578 (u_int64_t): Typedef using __uint64_t.
1580 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1582 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1584 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1585 Ignore types other than AT_HWCAP.
1586 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1587 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1589 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1590 in the case of falling back to generic output mechanism.
1591 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1594 2019-03-12 Florian Weimer <fweimer@redhat.com>
1596 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1598 2019-03-12 Florian Weimer <fweimer@redhat.com>
1601 resolv: Enable full ICMP errors for UDP DNS sockets
1602 * resolv/res_enable_icmp.c: New file.
1603 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1604 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1605 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1608 2019-03-11 Mao Han <han_mao@c-sky.com>
1610 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1611 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1613 2019-03-11 Mao Han <han_mao@c-sky.com>
1615 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1616 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1617 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1619 2019-03-11 Mao Han <han_mao@c-sky.com>
1621 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1623 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1626 2019-03-11 Mao Han <han_mao@c-sky.com>
1628 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1629 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1632 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1635 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1636 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1638 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1639 * localedata/unicode-gen/PropList.txt: Likewise.
1640 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1641 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1642 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1643 * localedata/charmaps/UTF-8: Regenerate.
1644 * localedata/locales/i18n_ctype: Likewise.
1645 * localedata/locales/tr_TR: Likewise.
1646 * localedata/locales/translit_circle: Likewise.
1647 * localedata/locales/translit_cjk_compat: Likewise.
1648 * localedata/locales/translit_combining: Likewise.
1649 * localedata/locales/translit_compat: Likewise.
1650 * localedata/locales/translit_font: Likewise.
1651 * localedata/locales/translit_fraction: Likewise.
1653 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1655 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1656 than after operators.
1657 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1658 (setitimer_locked): Likewise.
1659 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1660 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1661 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1662 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1663 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1664 (PPC_CPU_SUPPORTED): Likewise.
1665 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1666 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1667 (stat_overflow): Likewise.
1668 (statfs_overflow): Likewise.
1669 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1670 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1671 (eq_ttyname_r): Likewise.
1672 (run_chroot_tests): Likewise.
1674 2019-03-07 Florian Weimer <fweimer@redhat.com>
1676 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1679 2019-03-07 Martin Liska <mliska@suse.cz>
1681 * math/Makefile: Change location where math-vector-fortran.h is
1683 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1684 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1685 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1686 * scripts/check-installed-headers.sh: Skip Fortran header files.
1687 * scripts/check-wrapper-headers.py: Likewise.
1689 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1691 * nptl/nptl-init.c (__have_futex_clock_realtime,
1692 __have_futex_clock_realtime): Remove definition.
1693 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1694 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1695 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1696 __ASSUME_FUTEX_CLOCK_REALTIME support.
1697 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1699 * sysdeps/unix/sysv/linux/kernel-features.h
1700 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1701 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1704 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1706 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1707 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1708 __GI___wcscpy and wcscpy.
1710 2019-03-04 Florian Weimer <fweimer@redhat.com>
1712 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1714 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1717 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1719 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1720 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1722 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1725 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1726 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1728 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1730 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1732 (do_test): Likewise.
1733 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1734 (do_test_call_varg): Likewise.
1735 (do_test_call_rarg): Likewise.
1736 * sysdeps/ieee754/ldbl-opt/Makefile
1737 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1739 ($(objpfx)tst-nldbl-warn.c): New rule.
1740 ($(objpfx)tst-nldbl-error.c): Likewise.
1741 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1744 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1747 * include/bits/error-ldbl.h: New file.
1748 * include/error.h: Include stdarg.h. Declare internal functions
1749 __error_internal and __error_at_line_internal.
1750 * misc/Makefile (headers): Add bits/error-ldbl.h.
1751 * misc/bits/error-ldbl.h: New file.
1752 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1753 avoid the inclusion of bits/error.h.
1754 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1755 and __nldbl_error_at_line.
1756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1757 (__nldbl_error, __ndlbl_error_at_line): New functions.
1758 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1759 Redirect error and error_at_line.
1760 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1769 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1771 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1773 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1776 * include/bits/err-ldbl.h: New file.
1777 * include/err.h: Add prototypes for the internal functions:
1778 __vwarnx_internal and __vwarn_internal.
1779 * misc/Makefile (headers): Add bits/err-ldbl.h.
1780 * misc/bits/err-ldbl.h: New file.
1781 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1782 defined, i.e.: when -mlong-double-64 is in use.
1783 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1784 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1785 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1786 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1787 (VA_CALL): New macro.
1788 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1789 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1791 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1792 declare prototypes for the new functions.
1793 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1802 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1803 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1806 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1808 * sysdeps/ieee754/ldbl-opt/Makefile
1809 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1810 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1811 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1813 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1816 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1817 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1818 * argp/bits/argp-ldbl.h: New file.
1819 * include/argp.h: Include stdarg.h. Add prototypes for internal
1820 functions: __argp_error_internal and __argp_failure_internal.
1821 * include/bits/argp-ldbl.h: New file.
1822 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1823 __nldbl_argp_error and __nldbl_argp_failure.
1824 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1825 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1826 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1827 Redirect argp_error and argp_failure calls.
1828 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1837 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1838 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1839 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1841 2019-03-01 Florian Weimer <fweimer@redhat.com>
1844 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1845 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1846 code, to avoid creating an ABI tag note.
1847 (modules-names-nobuild): Add tst-big-note-lib.
1849 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1851 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1852 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1854 2019-03-01 Florian Weimer <fweimer@redhat.com>
1857 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1858 (__netlink_assert_response): Add additional missing newlines.
1860 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1862 * sysdeps/powerpc/powerpc32/dl-machine.c
1863 (__elf_machine_fixup_plt): Use space before '('.
1864 (__process_machine_rela): Likewise.
1865 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1867 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1869 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1871 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1872 (pattern): Likewise.
1874 (check_result): Likewise.
1875 (check_excepts): Likewise.
1876 (check_op): Likewise.
1877 (fail_xr): Likewise.
1878 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1879 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1881 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1884 (__makecontext): Likewise.
1885 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1888 2019-02-28 Florian Weimer <fweimer@redhat.com>
1891 elf: Add test with a local IFUNC resolver.
1892 * elf/ifuncmain9.c: New file.
1893 * elf/ifuncmain9pic.c: Likewise.
1894 * elf/ifuncmain9picstatic.c: Likewise.
1895 * elf/ifuncmain9pie.c: Likewise.
1896 * elf/ifuncmain9static.c: Likewise.
1897 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1898 ifuncmain9static, ifuncmain9picstatic.
1899 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1900 Add ifuncmain9, ifuncmain9pic.
1901 * elf/Makefile [multi-arch && build-shared && have-fpie]
1902 (ifunc-pie-tests): Add ifuncmain9pie.
1903 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1904 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1905 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1907 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1909 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1910 * configure: Regenerated.
1911 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1913 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1916 symbol as __wcspcy instead of wcscpy.
1918 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1920 * include/stdio.h (__renameat2): New hidden prototype.
1921 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1922 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1923 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1924 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1926 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1928 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1931 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1932 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1933 * benchtests/bench-strlen.c (do_test): Likewise.
1934 (test_main): Likewise.
1935 * catgets/gencat.c (read_old): Likewise.
1936 * elf/cache.c (load_aux_cache): Likewise.
1937 * iconvdata/bug-iconv8.c (do_test): Likewise.
1938 * math/test-tgmath-ret.c (do_test): Likewise.
1939 * nis/nis_call.c (rec_dirsearch): Likewise.
1940 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1941 * nptl/tst-audit-threads.c (do_test): Likewise.
1942 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1943 * nss/nss_test1.c (init): Likewise.
1944 * nss/test-netdb.c (test_hosts): Likewise.
1945 * posix/execvpe.c (maybe_script_execute): Likewise.
1946 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1947 * stdio-common/tst-printf.c (do_test): Likewise.
1948 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1949 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1950 * stdlib/qsort.c (STACK_SIZE): Likewise.
1951 * stdlib/test-canon.c (do_test): Likewise.
1952 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1953 * string/memcmp.c (OPSIZ): Likewise.
1954 * string/test-strcpy.c (do_test): Likewise.
1955 (do_random_tests): Likewise.
1956 * string/test-strlen.c (do_test): Likewise.
1957 (test_main): Likewise.
1958 * string/test-strrchr.c (do_test): Likewise.
1959 (do_random_tests): Likewise.
1960 * string/tester.c (test_memrchr): Likewise.
1961 (test_memchr): Likewise.
1962 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1963 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1964 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1965 (read_encoded_value_with_base): Likewise.
1966 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1967 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1968 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1969 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1970 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1971 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1973 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1975 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1976 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1977 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1979 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1981 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1983 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1985 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1986 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1987 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1988 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1989 * time/test_time.c (main): Likewise.
1991 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1993 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1995 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1998 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2001 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2003 * include/wchar.h (__wcscpy): New prototype.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2005 (__wcscpy): Route internal symbol to generic implementation.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2007 Add internal __wcscpy alias.
2008 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2009 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2010 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2011 * wcsmbs/wcscpy.c (wcscpy): Add
2012 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2013 use generic implementation.
2014 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2016 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2019 * sysdeps/m68k/wcpcpy.c: Remove file.
2020 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2022 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2024 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2025 than after operators.
2026 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2027 * sysdeps/mach/hurd/getcwd.c
2028 (__hurd_canonicalize_directory_name_internal): Likewise.
2029 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2030 (pthread_mutex_consistent): Likewise.
2031 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2033 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2034 (__pthread_mutex_transfer_np): Likewise.
2035 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2036 (__pthread_mutex_unlock): Likewise.
2037 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2038 (mtx_owned_p): Likewise.
2039 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2040 (pthread_mutexattr_getrobust): Likewise.
2041 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2042 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2044 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2045 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2046 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2047 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2048 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2052 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2054 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2055 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2056 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2057 (____longjmp_chk): Likewise.
2058 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2061 (INTERNAL_SYSCALL): Likewise.
2062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2063 (INTERNAL_SYSCALL): Likewise.
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2065 (__get_clockfreq_via_cpuinfo): Likewise.
2067 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2069 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2070 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2071 (WORD_COPY_BWD): Likewise.
2072 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2075 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2076 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2078 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2080 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2082 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2083 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2084 rather than after operators.
2085 * elf/cache.c (print_cache): Likewise.
2086 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2087 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2088 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2089 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2090 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2091 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2092 (reauth_proc): Likewise.
2093 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2094 (__file_name_split_at): Likewise.
2095 (__directory_name_split_at): Likewise.
2096 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2097 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2098 * iconv/gconv_dl.c (do_print): Likewise.
2099 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2100 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2101 * locale/setlocale.c (new_composite_name): Likewise.
2102 * malloc/memusagestat.c (main): Likewise.
2103 * misc/fstab.c (fstab_convert): Likewise.
2104 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2106 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2107 (getgrent_next_file): Likewise.
2108 (internal_getgrnam_r): Likewise.
2109 (internal_getgrgid_r): Likewise.
2110 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2112 (internal_getgrent_r): Likewise.
2113 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2114 (getpwent_next_nss): Likewise.
2115 (getpwent_next_file): Likewise.
2116 (internal_getpwnam_r): Likewise.
2117 (internal_getpwuid_r): Likewise.
2118 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2120 (getspent_next_nss): Likewise.
2121 (internal_getspnam_r): Likewise.
2122 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2123 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2124 * string/strchr.c (STRCHR): Likewise.
2125 * string/strchrnul.c (STRCHRNUL): Likewise.
2126 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2127 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2128 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2129 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2130 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2132 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2133 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2134 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2135 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2136 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2137 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2138 (open_file): Likewise.
2139 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2140 (pthread_mutexattr_setprotocol): Likewise.
2141 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2142 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2143 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2144 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2145 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2147 (elf_machine_rela): Likewise.
2148 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2149 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2150 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2151 * sysdeps/posix/rename.c (rename): Likewise.
2152 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2153 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2154 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2155 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2156 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2157 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2158 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2160 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2162 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2163 * time/tzfile.c (__tzfile_compute): Likewise.
2165 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2167 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2168 rather than after operators.
2169 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2170 * crypt/md5.c (md5_finish_ctx): Likewise.
2171 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2172 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2173 * elf/cache.c (load_aux_cache): Likewise.
2174 * elf/dl-load.c (open_verify): Likewise.
2175 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2176 * elf/readelflib.c (process_elf_file): Likewise.
2177 * elf/rtld.c (dl_main): Likewise.
2178 * elf/sprof.c (generate_call_graph): Likewise.
2179 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2180 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2181 * hurd/dtable.c (reauth_dtable): Likewise.
2182 * hurd/getdport.c (__getdport): Likewise.
2183 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2184 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2185 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2187 * hurd/hurdioctl.c (fioctl): Likewise.
2188 * hurd/hurdselect.c (_hurd_select): Likewise.
2189 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2190 (STOPSIGS): Likewise.
2191 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2192 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2193 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2194 * hurd/msgportdemux.c (msgport_server): Likewise.
2195 * hurd/setauth.c (_hurd_setauth): Likewise.
2196 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2197 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2198 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2199 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2200 * login/tst-utmp.c (do_check): Likewise.
2201 (simulate_login): Likewise.
2202 * mach/lowlevellock.h (lll_lock): Likewise.
2203 (lll_trylock): Likewise.
2204 * math/test-fenv.c (ALL_EXC): Likewise.
2205 * math/test-fenvinline.c (ALL_EXC): Likewise.
2206 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2207 * nis/nis_call.c (__do_niscall3): Likewise.
2208 * nis/nis_callback.c (cb_prog_1): Likewise.
2209 * nis/nis_defaults.c (searchaccess): Likewise.
2210 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2211 * nis/nis_ismember.c (internal_ismember): Likewise.
2212 * nis/nis_local_names.c (nis_local_principal): Likewise.
2213 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2214 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2216 * nis/ypclnt.c (yp_match): Likewise.
2217 (yp_first): Likewise.
2218 (yp_next): Likewise.
2219 (yp_master): Likewise.
2220 (yp_order): Likewise.
2221 * nscd/hstcache.c (cache_addhst): Likewise.
2222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2223 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2224 (internal_getpwuid_r): Likewise.
2225 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2226 * posix/glob.h (__GLOB_FLAGS): Likewise.
2227 * posix/regcomp.c (peek_token): Likewise.
2228 (peek_token_bracket): Likewise.
2229 (parse_expression): Likewise.
2230 * posix/regexec.c (sift_states_iter_mb): Likewise.
2231 (check_node_accept_bytes): Likewise.
2232 * posix/tst-spawn3.c (do_test): Likewise.
2233 * posix/wordexp-test.c (testit): Likewise.
2234 * posix/wordexp.c (parse_tilde): Likewise.
2235 (exec_comm): Likewise.
2236 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2237 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2238 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2239 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2240 * stdio-common/tst-fileno.c (do_test): Likewise.
2241 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2242 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2243 * stdlib/strtod_l.c (round_and_return): Likewise.
2244 (____STRTOF_INTERNAL): Likewise.
2245 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2246 * string/strcspn.c (STRCSPN): Likewise.
2247 * string/test-memmem.c (simple_memmem): Likewise.
2248 * termios/tcsetattr.c (tcsetattr): Likewise.
2249 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2250 * time/asctime.c (asctime_internal): Likewise.
2251 * time/strptime_l.c (__strptime_internal): Likewise.
2252 * time/sys/time.h (timercmp): Likewise.
2253 * time/tzfile.c (__tzfile_compute): Likewise.
2255 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2258 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2260 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2262 * argp/argp-help.c (__argp_error_internal): New function,
2263 renamed from __argp_error, but that takes a 'mode_flags'
2264 parameter to control the format of long double parameters.
2265 (__argp_error): Converted into a call __argp_error_internal.
2266 (__argp_failure_internal): New function, renamed from
2267 __argp_failure, but that takes a 'mode_flags' parameter.
2268 (__argp_failure): Converted into a call __argp_failure_internal.
2269 * misc/err.c (__vwarnx_internal): New function, renamed from
2270 vwarnx, but that takes a 'mode_flags' parameter.
2271 (vwarnx): Converted into a call to __vwarnx_internal.
2272 (__vwarn_internal): New function, renamed from vwarn, but that
2273 takes a 'mode_flags' parameter.
2274 (vwarn): Converted into a call to __vwarn_internal.
2275 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2276 call to __vfxprintf with 'mode_flags'.
2277 (__error_internal): New function, renamed from error, but that
2278 takes a 'mode_flags' parameter.
2279 (error): Converted into a call to __error_internal.
2280 (__error_at_line_internal): New function, renamed from
2281 error_at_line, but that takes a 'mode_flags' parameter.
2282 (error_at_line): Converted into a call to
2283 __error_at_line_internal.
2284 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2285 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2288 2019-02-20 Martin Liska <mliska@suse.cz>
2290 * math/Makefile: Install math-vector-fortran.h.
2291 * bits/math-vector-fortran.h: New file.
2292 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2294 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2296 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2297 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2299 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2301 * nptl/pthread_mutex_trylock.c: Fix comment.
2303 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2305 * nptl/pthread_tryjoin.c: Fix comment.
2307 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2310 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2311 after R_SPARC_H34 case.
2313 2019-02-18 Florian Weimer <fweimer@redhat.com>
2315 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2316 (getanswer): Do not call Dprintf.
2317 (res_gethostbyname2_context): Likewise.
2318 (res_gethostbyaddr_context): Likewise.
2320 2019-02-18 Florian Weimer <fweimer@redhat.com>
2322 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2324 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2326 * libio/stdfiles.c: Update comment.
2327 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2328 set _IO_stdin, _IO_stdout, _IO_stderr.
2329 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2330 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2332 (_IO_deallocate_file): New inline function.
2333 * libio/iolibio.h (_IO_vprintf): Remove definition.
2334 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2335 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2336 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2338 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2339 __builtin_expect. Use _IO_legacy_file.
2341 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2343 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2344 Initialize ctid with a known value and remove update of ctid
2346 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2347 as assumed current value of ctid_ptr.
2349 2019-02-16 Florian Weimer <fweimer@redhat.com>
2351 Check that non-sysdeps headers have wrapper headers.
2352 * scripts/check-wrapper-headers.py: New file.
2353 * Makefile (tests-special): Add check-wrapper-headers.out.
2354 (check-wrapper-headers.out): New target.
2355 * Rules (tests-special): Add check-wrapper-headers.out.
2356 (check-wrapper-headers.out): New target.
2358 2019-02-16 Florian Weimer <fweimer@redhat.com>
2360 Add missing header wrappers under include/.
2361 * include/ar.h: New file.
2362 * include/bits/mqueue2.h: Likewise.
2363 * include/bits/stdio.h: Likewise.
2364 * include/bits/stdio2.h: Likewise.
2365 * include/fstab.h: Likewise.
2366 * include/fts.h: Likewise.
2367 * include/lastlog.h: Likewise.
2368 * include/netinet/icmp6.h: Likewise.
2369 * include/netinet/igmp.h: Likewise.
2370 * include/netinet/ip6.h: Likewise.
2371 * include/re_comp.h: Likewise.
2372 * include/regexp.h: Likewise.
2373 * include/rpcsvc/bootparam.h: Likewise.
2374 * include/rpcsvc/yp_prot.h: Likewise.
2375 * include/sys/random.h: Likewise.
2376 * include/sys/stropts.h: Likewise.
2377 * include/sys/ttychars.h: Likewise.
2378 * include/sys/vfs.h: Likewise.
2379 * include/wait.h: Likewise.
2381 2019-02-16 Florian Weimer <fweimer@redhat.com>
2383 * nptl_db/proc_service.h: Move to ...
2384 * sysdeps/nptl/proc_service.h: ... here.
2385 * nptl_db/thread_db.h: Move to ...
2386 * sysdeps/nptl/thread_db.h: ... here.
2387 * nptl/descr.h: Include <thread_db.h>.
2389 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2391 * io/Makefile (tests): Add tst-lockf.
2392 * io/lockf.c (lockf): Use __fcntl and only define for
2393 !__OFF_T_MATCHES_OFF64_T.
2394 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2395 __OFF_T_MATCHES_OFF64_T case.
2396 * io/tst-lockf.c: New file.
2397 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2398 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2399 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2400 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2401 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2403 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2404 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2405 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2407 2019-02-15 Florian Weimer <fweimer@redhat.com>
2410 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2411 pd->result after the thread descriptor has been freed.
2413 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2415 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2416 from function return type.
2418 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2420 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2422 * scripts/test_printers_common.py: Set TERM to a known harmless
2425 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2427 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2428 (xdr_u_int): Likewise.
2429 (xdr_enum): Likewise.
2430 (xdr_bytes): Reword fall-through comment.
2431 (xdr_string): Likewise.
2433 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2436 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2437 (tests): Add tst-join8 tst-join9.
2438 * nptl/lll_timedwait_tid.c: Remove file.
2439 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2440 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2441 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2442 * nptl/pthread_join_common.c (timedwait_tid): New function.
2443 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2445 * nptl/tst-join5.c (thread_join): New function.
2446 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2448 * nptl/tst-join8.c: New file.
2449 * nptl/tst-join9.c: Likewise.
2450 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2451 lll_futex_timed_wait_cancel): Add generic macros.
2452 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2454 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2456 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2457 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2459 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2461 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2462 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2463 (lll_futex_timed_wait_cancel): New macro.
2465 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2467 * benchtests/Makefile: Add malloc-simple benchmark.
2468 * benchtests/bench-malloc-simple.c: New benchmark.
2470 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2472 * benchtests/bench-memmove.c (do_one_test): Remove unused
2475 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2479 2019-01-13 Jim Wilson <jimw@sifive.com>
2482 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2483 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2485 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2487 * nptl/Makefile (tests): Add tst-unwind-thread.
2488 (CFLAGS-tst-unwind-thread.c): Define.
2489 * nptl/tst-unwind-thread.c: New file.
2490 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2493 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2495 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2497 * nis/nis_call.c (__do_niscall3): Likewise.
2499 * catgets/gencat.c (normalize_line): Use braces around empty
2501 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2502 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2503 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2504 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2505 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2506 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2507 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2510 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2513 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2515 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2516 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2517 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2518 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2519 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2520 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2521 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2522 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2523 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2524 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2525 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2526 * benchtests/bench-bcopy.c: Delete file.
2527 * benchtests/bench-bzero.c: Likewise.
2528 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2529 (simple_memccpy): Remove.
2530 (generic_memccpy): Add function.
2531 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2532 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2533 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2534 (generic_mempcpy): Add new function.
2535 * benchtests/bench-memset.c (simple_bzero): Remove.
2536 (builtin_bzero): Remove.
2537 (builtin_memset): Remove.
2538 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2539 (generic_rawmemchr): Add new function.
2541 2019-02-12 Florian Weimer <fweimer@redhat.com>
2543 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2545 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2548 * elf/Makefile (tests): Add tst-audit13.
2549 (modules-names): Add tst-audit13mod1.
2550 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2552 * elf/tst-audit13.c: New file.
2553 * elf/tst-audit13mod1.c: Likewise.
2555 2019-02-12 Florian Weimer <fweimer@redhat.com>
2558 * elf/rtld.c (unload_audit_module): New function.
2559 (report_audit_module_load_error): Likewise.
2560 (load_audit_module): Likewise. Extracted from dl_main. Call
2561 _dl_close if the laversion symbol cannot be found. Use early
2562 returns for error handling. Add malloc error check. Check for a
2563 zero return value from la_version. Remove spurious comment about
2564 static TLS initialization. Remove useless casts.
2565 (notify_audit_modules_of_loaded_object): New function. Extracted
2567 (load_audit_module): Likewise.
2568 (dl_main): Call load_audit_modules.
2570 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2572 * elf/dl-exception.c (_dl_exception_create_format): Add
2573 fall-through comments.
2574 * elf/ldconfig.c (parse_conf_include): Likewise.
2575 * elf/rtld.c (print_statistics): Likewise.
2576 * locale/programs/charmap.c (parse_charmap): Likewise.
2577 * misc/mntent_r.c (__getmntent_r): Likewise.
2578 * posix/wordexp.c (parse_arith): Likewise.
2579 (parse_backtick): Likewise.
2580 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2581 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2584 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2586 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2587 Use float instead of double.
2589 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2591 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2593 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2595 * sysdeps/powerpc/bits/mathinline.h: Remove.
2597 2019-02-08 Florian Weimer <fweimer@redhat.com>
2599 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2600 * math/bits/math-finite.h: Move to ...
2601 * bits/math-finite.h: ... here.
2603 2019-02-08 Florian Weimer <fweimer@redhat.com>
2605 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2606 * bits/unistd_ext.h: here.
2608 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2611 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2612 * nss/tst-nss-files-hosts-long.c: New file.
2613 * nss/tst-nss-files-hosts-long.root: New directory.
2614 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2615 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2617 2019-02-08 Florian Weimer <fweimer@redhat.com>
2619 * include/bits/unistd_ext.h: Remove file.
2620 * posix/bits/unistd_ext.h: Move to ...
2621 * sysdeps/generic/bits/unistd_ext.h: ... here.
2623 2019-02-08 Florian Weimer <fweimer@redhat.com>
2625 * include/bits/unistd_ext.h: New file.
2627 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2629 * time/tst-strftime2.c: Use array_length macros instead of magic
2632 2019-02-08 Florian Weimer <fweimer@redhat.com>
2635 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2637 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2638 locking if the new do_locking argument is true.
2639 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2640 __run_fork_handlers.
2642 2019-02-08 Florian Weimer <fweimer@redhat.com>
2645 Linux: Add gettid system call wrapper.
2646 * posix/Makefile (headers): Add bits/unistd_ext.h.
2647 * posix/bits/unistd_ext.h: New file.
2648 * posix/unistd.h: Include it.
2649 * manual/process.texi (Process Identification): Document gettid.
2650 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2651 tst-gettid, tst-gettid-kill.
2652 (tst-gettid): Link with $(shared-thread-library).
2653 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2654 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2655 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2656 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2657 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2658 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2660 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2662 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2663 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2665 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2667 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2669 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2671 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2673 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2675 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2677 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2678 (GLIBC_2.30): Likewise.
2679 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2680 (GLIBC_2.30): Likewise.
2681 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2682 (GLIBC_2.30): Likewise.
2683 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2684 (GLIBC_2.30): Likewise.
2685 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2688 (GLIBC_2.30): Likewise.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2690 (GLIBC_2.30): Likewise.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2692 (GLIBC_2.30): Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2694 (GLIBC_2.30): Likewise.
2695 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2697 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2699 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2701 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2706 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2708 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2710 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2712 2019-02-08 Florian Weimer <fweimer@redhat.com>
2714 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2715 compatibility symbols.
2717 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2720 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2721 Add compiler barriers and comments.
2723 2019-02-07 Florian Weimer <fweimer@redhat.com>
2725 * include/array_length.h (array_length): Do not use a statement
2726 expression and _Static_assert, so that array_length can be used at
2727 file scope and as a constant expression.
2729 2019-02-07 Florian Weimer <fweimer@redhat.com>
2731 * support/xdlfcn.h (xdlmopen): Declare.
2732 * support/xdlmopen.c: New file.
2733 * support/Makefile (libsupport-routines): Add xdlmopen.
2735 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2737 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2738 before return type, without separate inline.
2739 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2740 * elf/dl-tunables.h (tunable_is_name): Likewise.
2741 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2742 (do_set_top_pad): Likewise.
2743 (do_set_mmap_threshold): Likewise.
2744 (do_set_mmaps_max): Likewise.
2745 (do_set_mallopt_check): Likewise.
2746 (do_set_perturb_byte): Likewise.
2747 (do_set_arena_test): Likewise.
2748 (do_set_arena_max): Likewise.
2749 (do_set_tcache_max): Likewise.
2750 (do_set_tcache_count): Likewise.
2751 (do_set_tcache_unsorted_limit): Likewise.
2752 * nis/nis_subr.c (count_dots): Likewise.
2753 * nptl/allocatestack.c (advise_stack_range): Likewise.
2754 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2756 (reduce_sincos): Likewise.
2757 (do_sincos): Likewise.
2758 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2759 (do_set_elision_enable): Likewise.
2760 (TUNABLE_CALLBACK_FNDECL): Likewise.
2762 2019-02-06 Florian Weimer <fweimer@redhat.com>
2764 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2765 (xdlsym): Use dlerror to detect a NULL symbol.
2767 2019-02-06 Florian Weimer <fweimer@redhat.com>
2769 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2771 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2773 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2775 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2777 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2779 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2780 __wmemcmp and weak alias to wmemcmp.
2782 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2785 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2786 TLS_TCB_AT_TP tls variant.
2787 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2788 Add alignment checks.
2789 * support/Makefile (libsupport-routines): Add xposix_memalign and
2791 * support/support.h: Add xposix_memalign.
2792 * support/xthread.h: Add xpthread_attr_setstack.
2793 * support/xposix_memalign.c: New File.
2794 * support/xpthread_attr_setstack.c: Likewise.
2796 2019-02-05 Florian Weimer <fweimer@redhat.com>
2799 arm: Use "nr" constraint for Systemtap probes, to avoid the
2800 compiler using memory operands for constants, due to the "o"
2801 alternative in the default "nor" constraint.
2802 * include/stap-probe.h [USE_STAP_PROBE]: Include
2803 <stap-probe-machine.h>
2804 * sysdeps/generic/stap-probe-machine.h: New file.
2805 * sysdeps/arm/stap-probe-machine.h: Likewise.
2807 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2809 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2810 with 0, not tcache->entries[tc_idx].
2812 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2815 2019-02-04 Andreas Schwab <schwab@suse.de>
2819 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2820 looking up collating elements match against (wide) character
2821 sequence instead of name. Correct alignment adjustment.
2822 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2823 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2824 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2825 (LOCALES): Add cs_CZ.ISO-8859-2.
2826 * posix/tst-fnmatch4.c: New file.
2827 * posix/tst-fnmatch5.c: New file.
2828 * include/wchar.h (__wmemcmp): Declare.
2829 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2830 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2831 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2832 * sysdeps/s390/wmemcmp.c: Likewise.
2834 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2838 * NEWS: Updated for CVE-2019-7309.
2839 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2840 upper 32 bits of RDX register for x32. Use unsigned Jcc
2841 instructions, instead of signed.
2842 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2843 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2845 2019-02-04 Florian Weimer <fweimer@redhat.com>
2847 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2848 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2849 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2851 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2852 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2853 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2854 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2856 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2858 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2860 (posix_spawn_file_actions_addopen): Likewise.
2861 (posix_spawn_file_actions_addclose): Likewise.
2862 (posix_spawn_file_actions_adddup2): Likewise.
2863 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2865 (posix_spawn_file_actions_addfchdir_np): Likewise.
2867 2019-02-04 David Newall <glibc@davidnewall.com>
2869 elf: Implement --preload option for the dynamic linker.
2870 * elf/rtld.c (preloadarg): New variable.
2871 (handle_preload_list): Pass through “where” argument to
2873 (dl_main): Handle "--preload" and add second call to
2874 handle_preload_list.
2875 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2876 (tst-rtld-preload-OBJS): Set variable.
2877 (tst-rtld-preload.out): New target.
2878 * elf/tst-rtld-preload.sh: New file.
2880 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2882 * Makefile (testrun.sh): Exit in case of incorrect argument.
2884 2019-02-04 Florian Weimer <fweimer@redhat.com>
2886 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2889 2019-02-03 Florian Weimer <fweimer@redhat.com>
2891 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2892 implicit overflow checks.
2894 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2896 * stdlib/isomac.c: Include <unistd.h>.
2898 2019-02-03 Florian Weimer <fweimer@redhat.com>
2900 * include/time.h (__tzfile_default): Use int, not long int, for
2902 * time/tzfile.c (struct ttinfo): Change type of the offset member
2904 (__tzfile_read): Remove useless cast.
2905 (__tzfile_default): Adjust prototype.
2906 * time/tzset.c (tz_rule): Change type of the offset member to int.
2907 (parse_offset): Change the type of the sign variable to int.
2909 2019-02-03 Florian Weimer <fweimer@redhat.com>
2912 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2913 * libio/getchar.c (getchar): Likewise.
2914 * libio/getchar_u.c (getchar_unlocked): Likewise.
2915 * libio/getwchar.c (getwchar): Likewise.
2916 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2917 * libio/iogets.c (_IO_gets): Likewise.
2918 * libio/vscanf.c (_IO_vscanf): Likewise.
2919 * libio/vwscanf.c (__vwscanf): Likewise.
2920 * libio/tst-bz24153.c: New file.
2921 * libio/Makefile (tests): Add it.
2923 2019-02-02 Florian Weimer <fweimer@redhat.com>
2926 * manual/resource.texi (Basic Scheduling Functions): Add
2927 portability note. Change process to task throughout the section.
2928 Remove incorrect comment about sched_yield as it affects
2929 tasks/threads, not entire processes.
2930 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2931 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2933 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2935 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2936 * configure: Regenerated.
2937 * manual/install.texi (Tools for Compilation): Update minimum GCC
2939 * INSTALL: Regenerated.
2941 2019-02-01 Florian Weimer <fweimer@redhat.com>
2943 * support/support_test_compare_string.c
2944 (support_test_compare_string): Use "string" in error message.
2945 * support/tst-test_compare_string.c (do_test): Adjust.
2947 2019-02-01 Florian Weimer <fweimer@redhat.com>
2949 * support/support_format_address_family.c
2950 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2952 2019-02-01 Florian Weimer <fweimer@redhat.com>
2954 * manual/socket.texi (Internet Address Formats): Clarify the byte
2955 order of struct sockaddr_in, struct sockaddr_in6. Document
2956 sin6_flowinfo and sin6_scope_id.
2958 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2960 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2961 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2962 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2963 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2964 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2965 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2967 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2969 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2970 [!MEMCHR](MEMCHR): Set to __memchr.
2971 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2972 Add memchr_generic and memchr_nosimd.
2973 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2974 (__libc_ifunc_impl_list): Add memchr ifuncs.
2975 * sysdeps/aarch64/multiarch/memchr.c: New file.
2976 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2977 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2979 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2981 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2983 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2984 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2985 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2986 Add IS_EMAG check for ifunc dispatch.
2987 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2988 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2990 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2992 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2993 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2995 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2998 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3000 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3002 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3004 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3005 syscall-template file.
3007 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3008 Torvald Riegel <triegel@redhat.com>
3009 Rik Prohaska <prohaska7@gmail.com>
3012 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3013 tst-rwlock-trywrlock-stall.
3014 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3015 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3016 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3017 Set __wrphase_fute to 1 only if we started the write phase.
3018 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3019 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3020 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3021 * support/xpthread_rwlock_destroy.c: New file.
3022 * support/xthread.h: Declare xpthread_rwlock_destroy.
3024 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3026 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3029 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3032 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3033 * libio/fileops.c (_IO_new_file_underflow): Likewise
3034 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3035 * libio/putchar.c (putchar): Likewise.
3036 * libio/putchar_u.c (putchar_unlocked): Likewise.
3037 * libio/putwchar.c (putchar): Likewise.
3038 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3039 * libio/tst-bz24051.c: New test.
3040 * libio/Makefile (tests): Add tst-bz24051
3042 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3045 regex: fix read overrun [BZ #24114]
3046 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3047 https://debbugs.gnu.org/34140
3048 * posix/regexec.c (proceed_next_node):
3049 Do not read past end of input buffer.
3051 2019-01-31 Florian Weimer <fweimer@redhat.com>
3054 * nss/nss_files/files-alias.c (get_next_alias): Handle
3055 continuation line without newline at the end.
3056 * nss/tst-nss-files-alias-truncated.c: New file.
3057 * nss/Makefile [$(build-shared)] (tests): Add
3058 tst-nss-files-alias-truncated.
3059 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3060 * support/namespace.h (struct support_chroot_configuration): Add
3062 (struct support_chroot): Add path_aliases member.
3063 * support/support_chroot.c (support_chroot_create): Handle
3065 (support_chroot_free): Free path_aliases.
3067 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3069 * version.h (RELEASE): Set to "development".
3070 (VERSION): Set to "2.29.9000".
3071 * NEWS: Add section for 2.30.
3073 * version.h (RELEASE): Set to "stable".
3074 (VERSION): Set to "2.29".
3075 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3077 * NEWS: Add the list of bugs fixed in 2.29.
3078 * manual/contrib.texi: Update contributors list with some more
3080 * manual/install.texi: Update latest versions of packages
3082 * INSTALL: Regenerated.
3084 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3086 * po/be.po: Update translations.
3087 * po/bg.po: Likewise.
3088 * po/ca.po: Likewise.
3089 * po/cs.po: Likewise.
3090 * po/da.po: Likewise.
3091 * po/de.po: Likewise.
3092 * po/el.po: Likewise.
3093 * po/eo.po: Likewise.
3094 * po/es.po: Likewise.
3095 * po/fi.po: Likewise.
3096 * po/fr.po: Likewise.
3097 * po/gl.po: Likewise.
3098 * po/hr.po: Likewise.
3099 * po/hu.po: Likewise.
3100 * po/ia.po: Likewise.
3101 * po/id.po: Likewise.
3102 * po/it.po: Likewise.
3103 * po/ja.po: Likewise.
3104 * po/ko.po: Likewise.
3105 * po/lt.po: Likewise.
3106 * po/nb.po: Likewise.
3107 * po/nl.po: Likewise.
3108 * po/pl.po: Likewise.
3109 * po/pt_BR.po: Likewise.
3110 * po/ru.po: Likewise.
3111 * po/rw.po: Likewise.
3112 * po/sk.po: Likewise.
3113 * po/sl.po: Likewise.
3114 * po/sv.po: Likewise.
3115 * po/tr.po: Likewise.
3116 * po/uk.po: Likewise.
3117 * po/vi.po: Likewise.
3118 * po/zh_CN.po: Likewise.
3119 * po/zh_TW.po: Likewise.
3121 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3124 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3125 of $f3 register on $y_is_neg path.
3127 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3130 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3131 sigaltstack.ss_flags.
3133 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3136 * manual/time.texi (strftime): Document "%Ey".
3137 * time/strftime_l.c (__strftime_internal): Set the default width
3138 padding with zero of "%Ey" to 2.
3141 * manual/time.texi (strftime): Document "%EC" and "%EY".
3142 * time/Makefile (tests): Add tst-strftime2.
3143 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3144 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3145 override padding for "%Ey".
3146 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3147 "%Ey" in the subformat as if decorated with that flag.
3148 * time/tst-strftime2.c: New file.
3150 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3152 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3156 * elf/Makefile (tests): Add tst-audit13.
3157 (modules-names): Add tst-audit13mod1.
3158 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3160 * elf/rtld.c (dl_main): Handle invalid audit module version.
3161 * elf/tst-audit13.c: New file.
3162 * elf/tst-audit13mod1.c: Likewise.
3164 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3166 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3167 returned by __hurd_at_flags.
3168 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3169 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3170 directly instead of __hurd_file_name_lookup.
3172 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3174 * scripts/build-many-glibcs.py (Context.checkout): Default
3175 binutils version to 2.32 branch.
3177 2019-01-21 Florian Weimer <fweimer@redhat.com>
3181 resolv: Reject trailing characters in host names
3182 * include/arpa/inet.h (__inet_aton_exact): Declare.
3183 (inet_aton): Remove hidden prototype. No longer used internally.
3184 * nscd/gai.c (__inet_aton): Do not define.
3185 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3186 * nss/digits_dots.c (__inet_aton): Likewise.
3187 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3188 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3189 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3190 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3191 (tst-resolv-trailing): Likewise.
3192 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3194 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3195 Make static. Add endp parameter.
3196 (__inet_aton_exact): New function.
3197 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3198 (__inet_addr): Call inet_aton_end.
3199 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3200 not just IPv6. Call __inet_aton_exact.
3201 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3202 (tests): Make const. Add additional test cases with trailing
3204 (do_test): Use array_length.
3205 * resolv/tst-inet_aton_exact.c: New file.
3206 * resolv/tst-resolv-trailing.c: Likewise.
3207 * resolv/tst-resolv-nondecimal.c: Likewise.
3208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3210 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3214 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3215 Clear the upper 32 bits of RSI register.
3216 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3217 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3218 and tst-size_t-wcsnlen.
3219 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3220 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3222 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3226 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3229 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3230 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3232 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3236 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3237 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3238 * sysdeps/x86_64/strcmp.S: Likewise.
3239 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3240 tst-size_t-strncmp and tst-size_t-wcsncmp.
3241 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3242 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3243 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3245 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3249 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3250 RDX_LP for length. Clear the upper 32 bits of RDX register.
3251 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3252 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3253 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3254 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3256 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3260 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3261 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3262 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3263 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3265 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3269 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3270 length. Clear the upper 32 bits of RDX register.
3271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3272 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3274 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3276 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3278 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3280 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3284 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3285 length. Clear the upper 32 bits of RDX register.
3286 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3287 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3288 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3290 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3291 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3293 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3297 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3298 upper 32 bits of RDX register.
3299 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3300 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3302 * sysdeps/x86_64/x32/test-size_t.h: New file.
3303 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3304 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3306 2019-01-18 Florian Weimer <fweimer@redhat.com>
3309 resolv: Do not send queries for non-host-names in nss_dns.
3310 * resolv/nss_dns/dns-host.c (check_name): New function.
3311 (_nss_dns_gethostbyname2_r): Use it.
3312 (_nss_dns_gethostbyname_r): Likewise.
3313 (_nss_dns_gethostbyname4_r): Likewise.
3315 2019-01-21 Florian Weimer <fweimer@redhat.com>
3317 * resolv/inet_addr.c: Reformat to GNU style.
3318 (__inet_addr, __inet_aton): Update comment.
3320 2019-01-18 Florian Weimer <fweimer@redhat.com>
3322 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3323 ("malloc: Use current (C11-style) atomics for fastbin access").
3324 This commit introduces a substantial performance regression on
3326 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3327 (REMOVE_FB): Define.
3328 (_int_malloc): Use it and reindent.
3329 (_int_free): Use CAS loop with
3330 catomic_compare_and_exchange_val_rel.
3331 (malloc_consolidate): Use atomic_exchange_acq.
3334 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3336 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3338 (LDFLAGS-tst-minsigstksz-2): Likewise.
3339 (LDFLAGS-tst-minsigstksz-3): Likewise.
3340 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3341 (LDFLAGS-tst-minsigstksz-4): Likewise.
3343 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3345 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3348 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3350 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3352 2019-01-16 Zack Weinberg <zackw@panix.com>
3354 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3355 (xget_sigstack_location): New test support functions.
3356 * support/xsigstack.c: New file, implementing them.
3357 * support/tst-xsigstack.c: New test for them.
3358 * support/Makefile: Update.
3360 * signal/tst-minsigstksz-1.c
3361 * signal/tst-minsigstksz-2.c
3362 * signal/tst-minsigstksz-3.c
3363 * signal/tst-minsigstksz-3a.c
3364 * signal/tst-minsigstksz-4.c: New tests.
3365 * signal/Makefile: Run them.
3367 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3369 * po/libc.pot: Regenerate.
3371 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3373 * math/libm-test-fma.inc (fma_test_data): Set
3374 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3376 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3378 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3379 (do_test): Changed __vector __int128_t to __vector unsigned int.
3381 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3384 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3385 stpcpy-avx2 and stpncpy-avx2.
3386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3387 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3388 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3390 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3391 ifunc-strcpy.h}: rename header for a more generic name.
3392 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3393 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3394 AVX unaligned load is fast and vzeroupper is preferred.
3395 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3396 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3397 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3398 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3399 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3400 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3402 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3404 * argp/argp-help.c: Fix typo in comment.
3405 * misc/sys/cdefs.h: Likewise.
3406 * posix/regexec.c (sift_states_iter_mb): Likewise.
3407 * socket/sockatmark.c: Likewise.
3408 * socket/sys/socket.h: Likewise.
3409 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3410 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3411 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3412 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3413 * sysdeps/unix/sockatmark.c: Likewise.
3414 * time/strptime_l.c: Likewise.
3416 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3418 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3419 missing space after the cast of "_NL_CURRENT".
3421 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3423 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3424 ifdef to fix read of VSCR.
3425 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3426 tst-ucontext-ppc64-vscr.c to test list.
3427 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3429 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3431 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3434 2019-01-09 Jim Wilson <jimw@sifive.com>
3436 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3438 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3440 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3441 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3442 __memcpy_falkor for ares.
3443 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3445 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3448 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3451 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3452 4_FP_W_TYPEs are used for IEEE quad precision.
3453 * soft-fp/extendhftf2.c: Likewise.
3454 * soft-fp/extendsftf2.c: Likewise.
3455 * soft-fp/extendxftf2.c: Likewise.
3456 * soft-fp/trunctfdf2.c: Likewise.
3457 * soft-fp/trunctfhf2.c: Likewise.
3458 * soft-fp/trunctfsf2.c: Likewise.
3459 * soft-fp/trunctfxf2.c: Likewise.
3460 * sysdeps/alpha/ots_cvttx.c: Likewise.
3461 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3462 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3463 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3464 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3465 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3466 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3467 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3468 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3469 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3470 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3471 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3472 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3473 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3474 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3475 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3476 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3477 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3479 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3482 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3483 code with -fmath-errno.
3484 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3485 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3486 * string/test-strerror-errno.c: New file.
3488 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3491 * localedata/locales/en_US (date_fmt): Add, set to
3492 "%a %d %b %Y %r %Z".
3494 2019-01-07 Florian Weimer <fweimer@redhat.com>
3497 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3498 instead of @var{errno}.
3499 (Parsing of Integers): Likewise.
3500 (Parsing of Floats): Likewise.
3501 * manual/filesys.texi (Working with Directory Trees): Likewise.
3502 (Temporary Files): Likewise.
3503 * manual/job.texi (Terminal Access Functions): Likewise.
3504 * manual/llio.texi (Synchronizing I/O): Likewise.
3505 * manual/math.texi (SVID Random): Likewise.
3506 * manual/message.texi (The catgets Functions): Likewise.
3507 (Translation with gettext): Likewise.
3508 (Locating gettext catalog): Likewise.
3509 (Charset conversion in gettext): Likewise.
3510 * manual/nss.texi (NSS Module Function Internals): Likewise.
3511 * manual/search.texi (Hash Search Function): Likewise.
3512 * manual/setjmp.texi (System V contexts): Likewise.
3513 * manual/time.texi (Sleeping): Likewise.
3514 * manual/users.texi (Lookup User): Likewise.
3515 (Lookup Group): Likewise.
3517 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3519 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3522 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3525 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3526 __builtin_unreachable for default case in switch.
3527 (__ieee754_yn): Likewise.
3528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3529 (__ieee754_ynl): Likewise.
3530 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3531 (__ieee754_ynl): Likewise.
3532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3533 (__ieee754_ynl): Likewise.
3535 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3537 * manual/maint.texi: Use @{ and @}.
3539 2019-01-04 Florian Weimer <fweimer@redhat.com>
3541 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3543 (do_in_chroot_1): Call it.
3545 Improve error reporting in case it is not possible to create a
3546 collision for the PTY name required by the test.
3548 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3550 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3551 lll_wait_tid with timeout.
3552 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3553 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3554 futex_reltimed_wait_cancelable for cancelabla mode.
3555 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3556 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3558 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3559 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3560 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3561 SYSCALL_CANCEL_NCS): New macro.
3562 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3563 (lll_timedwait_tid): Remove macro.
3564 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3566 (lll_timedwait_tid): Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3569 (lll_timedwait_tid): Likewise.
3570 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3572 (lll_timedwait_tid): Likewise.
3573 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3574 Use INTERNAL_SYSCALL_CANCEL.
3575 * sysdeps/unix/sysv/linux/futex-internal.h
3576 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3577 instead of __pthread_{enable,disable}_asynccancel.
3578 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3579 (lll_futex_wait_cancel): New macro.
3581 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3582 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3584 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3585 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3587 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3588 in backtrace analysis.
3589 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3591 (tf_send): Likewise.
3593 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3594 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3595 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3596 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3597 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3598 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3599 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3600 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3601 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3602 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3603 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3604 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3606 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3607 tst-cancel-wrappers.sh.
3608 (generated): Remove tst-cancel-wrappers.out.
3609 (tst-cancel-wrappers.out): Remove rule.
3610 * nptl/tst-cancel-wrappers.sh: Remove file.
3612 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3614 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3615 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3618 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3621 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3622 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3623 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3624 close-on-exec reset for adddup2 file action.
3625 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3627 2019-01-03 Zack Weinberg <zackw@panix.com>
3629 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3630 parameter. Only use deprecated scanf when __USE_GNU is defined
3631 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3632 than 201103L, whichever is relevant for the language being compiled.
3634 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3635 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3636 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3637 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3638 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3642 * libio/iovswscanf.c
3647 * stdio-common/fscanf.c
3648 * stdio-common/scanf.c
3649 * stdio-common/vfscanf.c
3650 * stdio-common/vfwscanf.c
3651 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3652 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3653 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3654 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3655 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3656 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3657 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3658 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3659 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3660 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3661 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3662 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3663 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3664 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3665 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3667 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3668 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3669 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3671 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3672 with a preprocessor macro.
3674 * stdio-common/bug21.c, stdio-common/scanf14.c:
3675 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3676 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3677 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3678 to xscanf, xfscanf, xsscanf.
3680 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3681 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3682 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3683 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3685 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3686 override feature selection macros or provide definitions of u_char etc.
3687 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3688 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3689 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3692 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3695 bits/termios-misc.h.
3696 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3697 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3698 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3700 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3701 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3703 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3705 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3706 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3707 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3708 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3710 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3711 (sysdep_headers): Add termios-misc.h.
3713 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3714 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3715 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3719 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3720 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3721 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3722 TCSAFLUSH): Move to termios-tcflow.h.
3723 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3724 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3725 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3726 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3730 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3731 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3732 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3733 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3734 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3735 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3736 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3737 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3739 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3740 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3746 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3747 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3749 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3750 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3752 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3753 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3754 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3760 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3761 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3762 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3763 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3764 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3765 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3766 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3767 __MAX_BAUD): Move to termios-baud.h.
3768 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3769 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3770 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3771 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3772 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3776 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3777 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3778 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3779 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3780 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3781 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3783 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3784 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3786 [USE_MISC] (XTABS): Likewise.
3787 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3788 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3789 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3790 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3792 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3794 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3795 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3796 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3797 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3798 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3799 IUTF8): Move to termios-c_iflag.h.
3800 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3801 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3802 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3803 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3805 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3807 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3808 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3809 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3810 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3811 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3812 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3813 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3814 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3815 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3816 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3820 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3821 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3822 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3823 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3826 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3828 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3830 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3832 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3834 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3836 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3837 _HAVE_C_OSPEED): Define.
3838 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3839 _HAVE_C_OSPEED): Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3841 _HAVE_C_OSPEED): Likewise.
3842 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3843 (cfsetospeed): Check for define value instead of existence.
3844 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3845 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3846 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3847 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3848 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3851 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3853 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3854 (TIOCSER_TEMT): Likewise.
3855 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3856 (TEOCSER_TEMT): Likewise.
3858 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3861 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3863 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3865 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3867 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3869 * sysdeps/htl/pt-barrierattr-setpshared.c
3870 (pthread_barrierattr_setpshared): Add stub warning.
3871 * sysdeps/htl/pt-condattr-setpshared.c
3872 (pthread_condattr_setpshared): Likewise.
3873 * sysdeps/htl/pt-mutexattr-setpshared.c
3874 (pthread_mutexattr_setpshared): Likewise.
3875 * sysdeps/htl/pt-rwlockattr-setpshared.c
3876 (pthread_rwlockattr_setpshared): Likewise.
3877 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3878 (pthread_mutexattr_setpshared): Likewise.
3880 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3882 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3883 constants to match with Linux 4.20.
3885 * sysdeps/mips/mips32/libm-test-ulps: Update.
3886 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3888 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3891 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3892 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3893 than __typeof (...) for the a_ptr variable.
3895 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3897 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3898 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3899 * libio/Makefile (tests): Add tst-sprintf-ub and
3901 (CFLAGS-tst-sprintf-ub.c): New variable.
3902 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3903 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3904 destination buffer and check for overflows in fortified mode.
3905 * libio/libioP.h (PRINTF_CHK): New macro.
3906 * libio/tst-sprintf-chk-ub.c: New file.
3907 * libio/tst-sprintf-ub.c: Likewise.
3909 2019-01-02 Florian Weimer <fweimer@redhat.com>
3912 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3915 2019-01-02 Florian Weimer <fweimer@redhat.com>
3917 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3919 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3921 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3924 * sysdeps/unix/sysv/linux/netpacket/packet.h
3925 (PACKET_IGNORE_OUTGOING): New macro.
3927 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3930 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3932 (riscv_flush_icache): New syscall.
3934 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3935 trailing whitespace removed.
3936 * scripts/config.guess: Update to version 2019-01-01.
3937 * scripts/config.sub: Update to version 2019-01-01.
3938 * scripts/move-if-change: Update from gnulib.
3940 * NEWS: Update copyright dates.
3941 * catgets/gencat.c (print_version): Likewise.
3942 * csu/version.c (banner): Likewise.
3943 * debug/catchsegv.sh: Likewise.
3944 * debug/pcprofiledump.c (print_version): Likewise.
3945 * debug/xtrace.sh (do_version): Likewise.
3946 * elf/ldconfig.c (print_version): Likewise.
3947 * elf/ldd.bash.in: Likewise.
3948 * elf/pldd.c (print_version): Likewise.
3949 * elf/sotruss.sh: Likewise.
3950 * elf/sprof.c (print_version): Likewise.
3951 * iconv/iconv_prog.c (print_version): Likewise.
3952 * iconv/iconvconfig.c (print_version): Likewise.
3953 * locale/programs/locale.c (print_version): Likewise.
3954 * locale/programs/localedef.c (print_version): Likewise.
3955 * login/programs/pt_chown.c (print_version): Likewise.
3956 * malloc/memusage.sh (do_version): Likewise.
3957 * malloc/memusagestat.c (print_version): Likewise.
3958 * malloc/mtrace.pl: Likewise.
3959 * manual/libc.texinfo: Likewise.
3960 * nptl/version.c (banner): Likewise.
3961 * nscd/nscd.c (print_version): Likewise.
3962 * nss/getent.c (print_version): Likewise.
3963 * nss/makedb.c (print_version): Likewise.
3964 * posix/getconf.c (main): Likewise.
3965 * scripts/test-installation.pl: Likewise.
3966 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3968 * All files with FSF copyright notices: Update copyright dates
3969 using scripts/update-copyrights.
3970 * locale/programs/charmap-kw.h: Regenerated.
3971 * locale/programs/locfile-kw.h: Likewise.
3973 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3975 * timezone/zdump.c: Update from tzcode 2018i.
3976 * timezone/zic.c: Likewise.
3978 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3980 regex: improve Gnulib port to AIX
3981 From the glibc point of view, this removes duplicate macro
3982 definitions and is obviously safe.
3983 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3984 * posix/regex_internal.h:
3985 (__attribute__, __attribute_warn_unused_result__):
3986 Remove; already defined elsewhere.
3988 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3991 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3992 copying operation. (ncopies had the wrong type, resulting in an
3993 integer wraparound and too few elements being copied.)
3995 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3998 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3999 <asm/syscalls.h> exists with __has_include__ before including it.
4001 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4003 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4006 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4008 * hurd/lookup-retry: Include <unistd.h>.
4009 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4010 Release it on return. Handle "pid" magical lookup retry.
4012 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4015 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4016 (t_fmt_ampm): Likewise.
4017 * localedata/locales/aa_ER (t_fmt): Likewise.
4018 (t_fmt_ampm): Likewise.
4019 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4020 (t_fmt_ampm): Likewise.
4021 * localedata/locales/aa_ET (t_fmt): Likewise.
4022 (t_fmt_ampm): Likewise.
4023 * localedata/locales/am_ET (t_fmt): Likewise.
4024 (t_fmt_ampm): Likewise.
4025 * localedata/locales/byn_ER (t_fmt): Likewise.
4026 (t_fmt_ampm): Likewise.
4027 * localedata/locales/om_ET (t_fmt): Likewise.
4028 (t_fmt_ampm): Likewise.
4029 * localedata/locales/sid_ET (t_fmt): Likewise.
4030 (t_fmt_ampm): Likewise.
4031 * localedata/locales/so_DJ (t_fmt): Likewise.
4032 (t_fmt_ampm): Likewise.
4033 * localedata/locales/so_ET (t_fmt): Likewise.
4034 (t_fmt_ampm): Likewise.
4035 * localedata/locales/so_SO (t_fmt): Likewise.
4036 (t_fmt_ampm): Likewise.
4037 * localedata/locales/ti_ER (t_fmt): Likewise.
4038 (t_fmt_ampm): Likewise.
4039 * localedata/locales/ti_ET (t_fmt): Likewise.
4040 (t_fmt_ampm): Likewise.
4041 * localedata/locales/tig_ER (t_fmt): Likewise.
4042 (t_fmt_ampm): Likewise.
4043 * localedata/locales/wal_ET (t_fmt): Likewise.
4044 (t_fmt_ampm): Likewise.
4046 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4047 * localedata/locales/ar_IN (t_fmt): Likewise.
4048 * localedata/locales/bhb_IN (t_fmt): Likewise.
4049 * localedata/locales/bho_IN (t_fmt): Likewise.
4050 * localedata/locales/bi_VU (t_fmt): Likewise.
4051 * localedata/locales/bn_BD (t_fmt): Likewise.
4052 * localedata/locales/bn_IN (t_fmt): Likewise.
4053 * localedata/locales/brx_IN (t_fmt): Likewise.
4054 * localedata/locales/doi_IN (t_fmt): Likewise.
4055 * localedata/locales/en_HK (t_fmt): Likewise.
4056 (t_fmt_ampm): Likewise.
4057 * localedata/locales/en_IN (t_fmt): Likewise.
4058 * localedata/locales/en_PH (t_fmt): Likewise.
4059 * localedata/locales/gu_IN (t_fmt): Likewise.
4060 * localedata/locales/hi_IN (t_fmt): Likewise.
4061 * localedata/locales/hif_FJ (t_fmt): Likewise.
4062 * localedata/locales/hne_IN (t_fmt): Likewise.
4063 * localedata/locales/kn_IN (t_fmt): Likewise.
4064 * localedata/locales/kok_IN (t_fmt): Likewise.
4065 * localedata/locales/ks_IN (t_fmt): Likewise.
4066 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4067 * localedata/locales/mag_IN (t_fmt): Likewise.
4068 * localedata/locales/mai_IN (t_fmt): Likewise.
4069 * localedata/locales/mjw_IN (t_fmt): Likewise.
4070 * localedata/locales/ml_IN (t_fmt): Likewise.
4071 * localedata/locales/mni_IN (t_fmt): Likewise.
4072 * localedata/locales/mr_IN (t_fmt): Likewise.
4073 * localedata/locales/ms_MY (t_fmt): Likewise.
4074 * localedata/locales/pa_IN (t_fmt): Likewise.
4075 * localedata/locales/raj_IN (t_fmt): Likewise.
4076 * localedata/locales/sa_IN (t_fmt): Likewise.
4077 * localedata/locales/sat_IN (t_fmt): Likewise.
4078 * localedata/locales/sd_IN (t_fmt): Likewise.
4079 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4080 * localedata/locales/tcy_IN (t_fmt): Likewise.
4081 * localedata/locales/the_NP (t_fmt): Likewise.
4082 * localedata/locales/to_TO (t_fmt): Likewise.
4083 * localedata/locales/ur_IN (t_fmt): Likewise.
4085 * localedata/locales/hif_FJ (d_t_fmt): Set to
4086 "%A %d %b %Y %I:%M:%S %p".
4087 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4089 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4090 * localedata/locales/ar_BH (t_fmt): Likewise.
4091 * localedata/locales/ar_DZ (t_fmt): Likewise.
4092 * localedata/locales/ar_EG (t_fmt): Likewise.
4093 * localedata/locales/ar_IQ (t_fmt): Likewise.
4094 * localedata/locales/ar_JO (t_fmt): Likewise.
4095 * localedata/locales/ar_KW (t_fmt): Likewise.
4096 * localedata/locales/ar_LB (t_fmt): Likewise.
4097 * localedata/locales/ar_LY (t_fmt): Likewise.
4098 * localedata/locales/ar_OM (t_fmt): Likewise.
4099 * localedata/locales/ar_QA (t_fmt): Likewise.
4100 * localedata/locales/ar_SD (t_fmt): Likewise.
4101 * localedata/locales/ar_SS (t_fmt): Likewise.
4102 * localedata/locales/ar_SY (t_fmt): Likewise.
4103 * localedata/locales/ar_TN (t_fmt): Likewise.
4104 * localedata/locales/ar_YE (t_fmt): Likewise.
4106 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4107 (t_fmt_ampm): Likewise.
4108 * localedata/locales/gez_ET (t_fmt): Likewise.
4109 (t_fmt_ampm): Likewise.
4111 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4112 (t_fmt_ampm): Likewise.
4113 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4115 * localedata/locales/zh_HK (t_fmt):
4116 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4118 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4119 because this locale does not use the 12-hour clock.
4120 (t_fmt): Set to "%Z %H:%M:%S".
4121 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4123 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4124 because this locale does not use the 12-hour clock.
4125 (t_fmt): Set to "%H:%M:%S %Z".
4126 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4128 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4129 because this locale does not use the 12-hour clock.
4130 (t_fmt): Set to "%T".
4131 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4132 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4134 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4135 because this locale does not use the 12-hour clock.
4136 (t_fmt): Set to "%H:%M:%S %Z".
4137 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4139 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4140 because this locale does not use the 12-hour clock.
4141 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4142 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4144 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4148 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4149 (t_fmt_ampm): Likewise.
4150 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4151 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4152 (d_fmt): Set to "%-d.%-m.%y".
4154 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4156 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4157 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4158 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4160 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4161 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4162 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4164 * support/blob_repeat.c (check_mul_overflow_size_t,
4165 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4167 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4169 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4171 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4173 regex: simplify Gnulib port
4174 This simplifies the code, by removing stuff intended for porting
4175 to Gnulib but no longer needed there.
4176 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4177 uses of libc_hidden_def, weak_alias.
4178 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4179 _Restrict_ except for public-facing headers.
4180 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4181 Remove; already defined elsewhere.
4182 * posix/regex.c, posix/regex_internal.h:
4183 Use __GNUC_PREREQ instead of rolling our own.
4184 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4186 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4188 * benchtests/bench-strlen.c (generic_strlen): New function.
4189 (memchr_strlen): New function.
4191 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4193 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4194 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4195 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4197 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4201 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4203 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4204 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4205 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4206 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4207 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4208 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4209 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4211 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4214 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4215 PLT reference in libc.so.
4216 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4217 _Q_lltoq and _Q_qtod PLT references in libc.so.
4219 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4221 * benchtests/bench-memchr.c: Cleanup defines.
4222 * benchtests/bench-memcmp.c: Likewise.
4223 * benchtests/bench-memset.c: Likewise.
4224 * benchtests/bench-memset-large.c: Likewise.
4225 * benchtests/bench-memset-walk.c: Likewise.
4226 * benchtests/bench-stpcpy.c: Likewise.
4227 * benchtests/bench-stpncpy.c: Likewise.
4228 * benchtests/bench-strcat.c: Likewise.
4229 * benchtests/bench-strchr.c: Likewise.
4230 * benchtests/bench-strcmp.c: Likewise.
4231 * benchtests/bench-strcpy.c: Likewise.
4232 * benchtests/bench-strcspn.c: Likewise.
4233 * benchtests/bench-string.h: Likewise.
4234 * benchtests/bench-strlen.c: Likewise.
4235 * benchtests/bench-strncat.c: Likewise.
4236 * benchtests/bench-strncmp.c: Likewise.
4237 * benchtests/bench-strncpy.c: Likewise.
4238 * benchtests/bench-strnlen.c: Likewise.
4239 * benchtests/bench-strpbrk.c: Likewise.
4240 * benchtests/bench-strrchr.c: Likewise.
4241 * benchtests/bench-strspn.c: Likewise.
4243 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4245 * stdlib/longlong.h: Update from GCC.
4248 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4249 * configure: Regenerated.
4250 * manual/install.texi (Tools for Compilation): Update minimum GCC
4252 * INSTALL: Regenerated.
4254 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4256 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4258 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4260 * malloc/malloc.c (mremap_chunk): Additional checks.
4262 2018-12-21 Mao Han <han_mao@c-sky.com>
4264 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4265 * scripts/build-many-glibcs.py: Add C-SKY targets.
4266 * sysdeps/csky/Implies: New file.
4267 * sysdeps/csky/Makefile: Likewise.
4268 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4269 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4270 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4271 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4272 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4273 * sysdeps/csky/abiv2/memmove.S: Likewise.
4274 * sysdeps/csky/abiv2/memset.S: Likewise.
4275 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4276 * sysdeps/csky/abiv2/start.S: Likewise.
4277 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4278 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4279 * sysdeps/csky/abiv2/strlen.S: Likewise.
4280 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4281 * sysdeps/csky/abort-instr.h: Likewise.
4282 * sysdeps/csky/atomic-machine.h: Likewise.
4283 * sysdeps/csky/bits/endian.h: Likewise.
4284 * sysdeps/csky/bits/fenv.h: Likewise.
4285 * sysdeps/csky/bits/link.h: Likewise.
4286 * sysdeps/csky/bits/setjmp.h: Likewise.
4287 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4288 * sysdeps/csky/bsd-setjmp.S: Likewise.
4289 * sysdeps/csky/configure: Likewise.
4290 * sysdeps/csky/configure.ac: Likewise.
4291 * sysdeps/csky/dl-machine.h: Likewise.
4292 * sysdeps/csky/dl-procinfo.c: Likewise.
4293 * sysdeps/csky/dl-procinfo.h: Likewise.
4294 * sysdeps/csky/dl-sysdep.h: Likewise.
4295 * sysdeps/csky/dl-tls.h: Likewise.
4296 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4297 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4298 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4299 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4300 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4301 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4302 * sysdeps/csky/fpu/fegetround.c: Likewise.
4303 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4304 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4305 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4306 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4307 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4308 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4309 * sysdeps/csky/fpu/fesetround.c: Likewise.
4310 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4311 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4312 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4313 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4314 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4315 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4316 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4317 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4318 * sysdeps/csky/fpu_control.h: Likewise.
4319 * sysdeps/csky/gccframe.h: Likewise.
4320 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4321 * sysdeps/csky/ldsodefs.h: Likewise.
4322 * sysdeps/csky/libc-tls.c: Likewise.
4323 * sysdeps/csky/linkmap.h: Likewise.
4324 * sysdeps/csky/machine-gmon.h: Likewise.
4325 * sysdeps/csky/memusage.h: Likewise.
4326 * sysdeps/csky/nofpu/Implies: Likewise.
4327 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4328 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4329 * sysdeps/csky/nptl/Makefile: Likewise.
4330 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4331 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4332 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4333 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4334 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4335 * sysdeps/csky/nptl/tls.h: Likewise.
4336 * sysdeps/csky/preconfigure: Likewise.
4337 * sysdeps/csky/sfp-machine.h: Likewise.
4338 * sysdeps/csky/sotruss-lib.c: Likewise.
4339 * sysdeps/csky/stackinfo.h: Likewise.
4340 * sysdeps/csky/sysdep.h: Likewise.
4341 * sysdeps/csky/tininess.h: Likewise.
4342 * sysdeps/csky/tst-audit.h: Likewise.
4343 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4344 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4345 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4346 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4347 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4348 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4349 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4350 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4351 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4352 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4353 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4354 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4355 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4356 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4357 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4358 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4359 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4360 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4361 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4362 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4364 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4369 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4370 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4371 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4372 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4373 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4374 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4375 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4376 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4377 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4378 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4379 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4380 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4381 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4382 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4383 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4384 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4385 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4386 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4388 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4390 * include/time.h (__difftime64): Add.
4391 * time/difftime.c (subtract): convert to 64-bit time.
4392 * time/difftime.c (__difftime64): Add.
4393 * time/difftime.c (__difftime): Wrap around __difftime64.
4395 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4397 * manual/examples/add.c: Remove redundant "if not".
4398 * manual/examples/argp-ex1.c: Likewise.
4399 * manual/examples/argp-ex2.c: Likewise.
4400 * manual/examples/argp-ex3.c: Likewise.
4401 * manual/examples/argp-ex4.c: Likewise.
4402 * manual/examples/atexit.c: Likewise.
4403 * manual/examples/db.c: Likewise.
4404 * manual/examples/dir.c: Likewise.
4405 * manual/examples/dir2.c: Likewise.
4406 * manual/examples/execinfo.c: Likewise.
4407 * manual/examples/filecli.c: Likewise.
4408 * manual/examples/filesrv.c: Likewise.
4409 * manual/examples/fmtmsgexpl.c: Likewise.
4410 * manual/examples/genpass.c: Likewise.
4411 * manual/examples/inetcli.c: Likewise.
4412 * manual/examples/inetsrv.c: Likewise.
4413 * manual/examples/isockad.c: Likewise.
4414 * manual/examples/longopt.c: Likewise.
4415 * manual/examples/memopen.c: Likewise.
4416 * manual/examples/memstrm.c: Likewise.
4417 * manual/examples/mkdirent.c: Likewise.
4418 * manual/examples/mkfsock.c: Likewise.
4419 * manual/examples/mkisock.c: Likewise.
4420 * manual/examples/mygetpass.c: Likewise.
4421 * manual/examples/pipe.c: Likewise.
4422 * manual/examples/popen.c: Likewise.
4423 * manual/examples/rprintf.c: Likewise.
4424 * manual/examples/search.c: Likewise.
4425 * manual/examples/select.c: Likewise.
4426 * manual/examples/setjmp.c: Likewise.
4427 * manual/examples/sigh1.c: Likewise.
4428 * manual/examples/sigusr.c: Likewise.
4429 * manual/examples/stpcpy.c: Likewise.
4430 * manual/examples/strdupa.c: Likewise.
4431 * manual/examples/strftim.c: Likewise.
4432 * manual/examples/subopt.c: Likewise.
4433 * manual/examples/swapcontext.c: Likewise.
4434 * manual/examples/termios.c: Likewise.
4435 * manual/examples/testopt.c: Likewise.
4436 * manual/examples/testpass.c: Likewise.
4437 * manual/examples/timeval_subtract.c: Likewise.
4439 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4441 * sysdeps/x86/fpu/math_private.h: New file.
4442 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4444 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4449 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4451 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4452 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4453 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4454 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4456 (_dl_show_auxv): Give a special treatment to
4457 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4458 and AT_L3_CACHEGEOMETRY.
4459 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4460 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4461 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4462 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4464 2018-12-19 Andreas Schwab <schwab@suse.de>
4466 * nscd/connections.c (check_use): Don't abort on invalid len.
4468 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4470 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4471 values in the 64bit value cases.
4473 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4479 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4485 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4488 (__gmtime64_r): Add.
4490 (__gmtime64_r): Add.
4491 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4497 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4500 (__localtime64_r): Add.
4502 (__localtime64_r): Add.
4503 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4505 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4507 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4508 kernel_sigction definition.
4510 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4512 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4514 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4515 __syscall_rt_sigaction.
4516 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4517 (kernel_sigaction): Use Linux generic defintion.
4519 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4520 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4521 (__syscall_rt_sigaction): Remove implementation.
4522 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4524 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4525 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4526 INTERNAL_SYSCALL): Remove definitions.
4527 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4528 action and signal set size.
4529 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4530 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4532 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4533 James Clarke <jrtc27@jrtc27.com>
4536 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4537 Define if SA_RESTORER is defined.
4538 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4539 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4541 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4542 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4544 (HAS_SA_RESTORER): Define.
4545 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4546 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4547 (HAS_SA_RESTORER): Define.
4548 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4549 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4550 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4551 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4552 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4554 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4556 * sysdeps/unix/sysv/linux/kernel-features.h
4557 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4558 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4559 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4560 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4561 (__ASSUME_ST_INO_64_BIT): Likewise.
4562 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4563 <kernel-features.h>.
4564 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4565 Remove conditional code.
4566 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4567 <kernel-features.h>.
4568 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4569 Remove conditional code.
4570 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4571 <kernel-features.h>.
4572 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4573 Remove conditional code.
4574 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4575 <kernel-features.h>.
4576 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4577 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4579 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4581 * sysdeps/s390/multiarch/ifunc-resolve.h
4582 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4583 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4584 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4585 Delete macro definition.
4586 (s390_libc_ifunc_init): Rename to
4587 s390_libc_ifunc_expr_stfle_init.
4588 * sysdeps/s390/bzero: Use
4589 s390_libc_ifunc_expr_stfle_init instead of
4590 s390_libc_ifunc_init.
4591 * sysdeps/s390/memcmp.c: Likewise.
4592 * sysdeps/s390/memcpy.c: Likewise.
4593 * sysdeps/s390/mempcpy.c: Likewise.
4594 * sysdeps/s390/memset.c: Likewise.
4596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4598 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4599 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4601 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4603 * sysdeps/s390/multiarch/Makefile
4604 (sysdep_routines): Remove wmemcmp variants.
4605 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4606 * sysdeps/s390/multiarch/ifunc-impl-list.c
4607 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4608 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4609 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4610 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4611 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4612 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4613 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4614 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4616 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4618 * sysdeps/s390/multiarch/Makefile
4619 (sysdep_routines): Remove wmemset variants.
4620 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4621 * sysdeps/s390/multiarch/ifunc-impl-list.c
4622 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4623 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4624 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4625 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4626 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4627 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4628 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4629 * sysdeps/s390/ifunc-wmemset.h: New file.
4631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4633 * sysdeps/s390/multiarch/Makefile
4634 (sysdep_routines): Remove wmemchr variants.
4635 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4636 * sysdeps/s390/multiarch/ifunc-impl-list.c
4637 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4638 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4639 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4640 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4641 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4642 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4643 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4644 * sysdeps/s390/ifunc-wmemchr.h: New file.
4646 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4648 * sysdeps/s390/multiarch/Makefile
4649 (sysdep_routines): Remove wcscspn variants.
4650 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4651 * sysdeps/s390/multiarch/ifunc-impl-list.c
4652 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4653 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4654 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4655 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4656 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4657 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4658 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4659 * sysdeps/s390/ifunc-wcscspn.h: New file.
4661 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4663 * sysdeps/s390/multiarch/Makefile
4664 (sysdep_routines): Remove wcspbrk variants.
4665 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4666 * sysdeps/s390/multiarch/ifunc-impl-list.c
4667 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4668 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4669 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4670 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4671 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4672 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4673 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4674 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4676 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4678 * sysdeps/s390/multiarch/Makefile
4679 (sysdep_routines): Remove wcsspn variants.
4680 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4681 * sysdeps/s390/multiarch/ifunc-impl-list.c
4682 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4683 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4684 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4685 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4686 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4687 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4688 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4689 * sysdeps/s390/ifunc-wcsspn.h: New file.
4691 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4693 * sysdeps/s390/multiarch/Makefile
4694 (sysdep_routines): Remove wcsrchr variants.
4695 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4696 * sysdeps/s390/multiarch/ifunc-impl-list.c
4697 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4698 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4699 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4700 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4701 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4702 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4703 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4704 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4706 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4708 * sysdeps/s390/multiarch/Makefile
4709 (sysdep_routines): Remove wcschrnul variants.
4710 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4711 * sysdeps/s390/multiarch/ifunc-impl-list.c
4712 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4713 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4714 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4715 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4716 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4717 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4718 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4719 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4721 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4723 * sysdeps/s390/multiarch/Makefile
4724 (sysdep_routines): Remove wcschr variants.
4725 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4726 * sysdeps/s390/multiarch/ifunc-impl-list.c
4727 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4728 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4729 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4730 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4731 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4732 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4733 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4734 * sysdeps/s390/ifunc-wcschr.h: New file.
4736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4738 * sysdeps/s390/multiarch/Makefile
4739 (sysdep_routines): Remove wcsncmp variants.
4740 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4741 * sysdeps/s390/multiarch/ifunc-impl-list.c
4742 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4743 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4744 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4745 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4746 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4747 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4748 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4749 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4753 * sysdeps/s390/multiarch/Makefile
4754 (sysdep_routines): Remove wcscmp variants.
4755 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4756 * sysdeps/s390/multiarch/ifunc-impl-list.c
4757 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4758 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4759 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4760 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4761 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4762 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4763 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4764 * sysdeps/s390/ifunc-wcscmp.h: New file.
4766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4768 * sysdeps/s390/multiarch/Makefile
4769 (sysdep_routines): Remove wcsncat variants.
4770 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4771 * sysdeps/s390/multiarch/ifunc-impl-list.c
4772 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4773 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4774 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4775 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4776 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4777 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4778 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4779 * sysdeps/s390/ifunc-wcsncat.h: New file.
4781 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4783 * sysdeps/s390/multiarch/Makefile
4784 (sysdep_routines): Remove wcscat variants.
4785 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4786 * sysdeps/s390/multiarch/ifunc-impl-list.c
4787 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4788 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4789 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4790 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4791 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4792 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4793 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4794 * sysdeps/s390/ifunc-wcscat.h: New file.
4796 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4798 * sysdeps/s390/multiarch/Makefile
4799 (sysdep_routines): Remove wcpncpy variants.
4800 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4801 * sysdeps/s390/multiarch/ifunc-impl-list.c
4802 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4803 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4804 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4805 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4806 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4807 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4808 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4809 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4811 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4813 * sysdeps/s390/multiarch/Makefile
4814 (sysdep_routines): Remove wcsncpy variants.
4815 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4816 * sysdeps/s390/multiarch/ifunc-impl-list.c
4817 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4818 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4819 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4820 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4821 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4822 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4823 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4824 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4826 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4828 * sysdeps/s390/multiarch/Makefile
4829 (sysdep_routines): Remove wcpcpy variants.
4830 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4831 * sysdeps/s390/multiarch/ifunc-impl-list.c
4832 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4833 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4834 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4835 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4836 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4837 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4838 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4839 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4843 * sysdeps/s390/multiarch/Makefile
4844 (sysdep_routines): Remove wcscpy variants.
4845 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4846 * sysdeps/s390/multiarch/ifunc-impl-list.c
4847 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4848 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4849 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4850 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4851 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4852 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4853 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4854 * sysdeps/s390/ifunc-wcscpy.h: New file.
4856 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4858 * sysdeps/s390/multiarch/Makefile
4859 (sysdep_routines): Remove wcsnlen variants.
4860 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4861 * sysdeps/s390/multiarch/ifunc-impl-list.c
4862 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4863 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4864 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4865 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4866 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4867 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4868 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4869 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4873 * sysdeps/s390/multiarch/Makefile
4874 (sysdep_routines): Remove wcslen variants.
4875 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4876 * sysdeps/s390/multiarch/ifunc-impl-list.c
4877 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4878 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4879 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4880 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4881 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4882 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4883 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4884 * sysdeps/s390/ifunc-wcslen.h: New file.
4886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4888 * sysdeps/s390/multiarch/Makefile
4889 (sysdep_routines): Remove memrchr variants.
4890 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4891 * sysdeps/s390/multiarch/ifunc-impl-list.c
4892 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4893 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4894 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4895 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4896 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4897 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4898 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4899 * sysdeps/s390/ifunc-memrchr.h: New file.
4901 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4903 * sysdeps/s390/multiarch/Makefile
4904 (sysdep_routines): Remove memccpy variants.
4905 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4906 * sysdeps/s390/multiarch/ifunc-impl-list.c
4907 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4908 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4909 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4910 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4911 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4912 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4913 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4914 * sysdeps/s390/ifunc-memccpy.h: New file.
4916 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4918 * sysdeps/s390/multiarch/Makefile
4919 (sysdep_routines): Remove rawmemchr variants.
4920 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4921 * sysdeps/s390/multiarch/ifunc-impl-list.c
4922 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4923 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4924 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4925 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4926 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4927 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4928 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4929 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4931 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4933 * sysdeps/s390/multiarch/Makefile
4934 (sysdep_routines): Remove memchr variants.
4935 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4936 * sysdeps/s390/multiarch/ifunc-impl-list.c
4937 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4938 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4939 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4940 * sysdeps/s390/multiarch/memchr.c: Move to ...
4941 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4942 * sysdeps/s390/ifunc-memchr.h: New file.
4943 * sysdeps/s390/s390-64/memchr.S: Move to ...
4944 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4945 for 31/64bit and ifunc handling.
4946 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4947 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4948 * sysdeps/s390/s390-32/memchr.S: Likewise.
4950 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4952 * sysdeps/s390/multiarch/Makefile
4953 (sysdep_routines): Remove strcspn variants.
4954 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4955 * sysdeps/s390/multiarch/ifunc-impl-list.c
4956 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4957 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4958 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4959 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4960 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4961 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4962 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4963 * sysdeps/s390/ifunc-strcspn.h: New file.
4965 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4967 * sysdeps/s390/multiarch/Makefile
4968 (sysdep_routines): Remove strpbrk variants.
4969 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4970 * sysdeps/s390/multiarch/ifunc-impl-list.c
4971 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4972 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4973 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4974 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4975 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4976 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4977 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4978 * sysdeps/s390/ifunc-strpbrk.h: New file.
4980 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4982 * sysdeps/s390/multiarch/Makefile
4983 (sysdep_routines): Remove strspn variants.
4984 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4985 * sysdeps/s390/multiarch/ifunc-impl-list.c
4986 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4987 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4988 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4989 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4990 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4991 * sysdeps/s390/multiarch/strspn.c: Move to ...
4992 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4993 * sysdeps/s390/ifunc-strspn.h: New file.
4995 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4997 * sysdeps/s390/multiarch/Makefile
4998 (sysdep_routines): Remove strrchr variants.
4999 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5000 * sysdeps/s390/multiarch/ifunc-impl-list.c
5001 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5002 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5003 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5004 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5005 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5006 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5007 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5008 * sysdeps/s390/ifunc-strrchr.h: New file.
5010 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5012 * sysdeps/s390/multiarch/Makefile
5013 (sysdep_routines): Remove strchrnul variants.
5014 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5015 * sysdeps/s390/multiarch/ifunc-impl-list.c
5016 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5017 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5018 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5019 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5020 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5021 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5022 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5023 * sysdeps/s390/ifunc-strchrnul.h: New file.
5025 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5027 * sysdeps/s390/multiarch/Makefile
5028 (sysdep_routines): Remove strchr variants.
5029 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5030 * sysdeps/s390/multiarch/ifunc-impl-list.c
5031 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5032 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5033 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5034 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5035 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5036 * sysdeps/s390/multiarch/strchr.c: Move to ...
5037 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5038 * sysdeps/s390/ifunc-strchr.h: New file.
5040 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5042 * sysdeps/s390/multiarch/Makefile
5043 (sysdep_routines): Remove strncmp variants.
5044 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5045 * sysdeps/s390/multiarch/ifunc-impl-list.c
5046 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5047 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5048 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5049 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5050 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5051 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5052 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5053 * sysdeps/s390/ifunc-strncmp.h: New file.
5055 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5057 * sysdeps/s390/multiarch/Makefile
5058 (sysdep_routines): Remove strcmp variants.
5059 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5060 * sysdeps/s390/multiarch/ifunc-impl-list.c
5061 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5062 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5063 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5064 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5065 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5066 * sysdeps/s390/ifunc-strcmp.h: New file.
5067 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5068 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5069 for 31/64bit and ifunc handling.
5070 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5071 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5072 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5076 * sysdeps/s390/multiarch/Makefile
5077 (sysdep_routines): Remove strncat variants.
5078 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5079 * sysdeps/s390/multiarch/ifunc-impl-list.c
5080 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5081 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5082 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5083 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5084 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5085 * sysdeps/s390/multiarch/strncat.c: Move to ...
5086 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5087 * sysdeps/s390/ifunc-strncat.h: New file.
5089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5091 * sysdeps/s390/multiarch/Makefile
5092 (sysdep_routines): Remove strcat variants.
5093 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5094 * sysdeps/s390/multiarch/ifunc-impl-list.c
5095 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5096 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5097 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5098 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5099 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5100 * sysdeps/s390/multiarch/strcat.c: Move to ...
5101 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5102 * sysdeps/s390/ifunc-strcat.h: New file.
5104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5106 * sysdeps/s390/multiarch/Makefile
5107 (sysdep_routines): Remove stpncpy variants.
5108 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5109 * sysdeps/s390/multiarch/ifunc-impl-list.c
5110 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5111 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5112 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5113 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5114 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5115 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5116 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5117 * sysdeps/s390/ifunc-stpncpy.h: New file.
5119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5121 * sysdeps/s390/multiarch/Makefile
5122 (sysdep_routines): Remove strncpy variants.
5123 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5124 * sysdeps/s390/multiarch/ifunc-impl-list.c
5125 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5126 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5127 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5128 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5129 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5130 * sysdeps/s390/ifunc-strncpy.h: New file.
5131 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5132 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5133 and adjust ifunc handling.
5134 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5135 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5136 and adjust ifunc handling.
5137 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5138 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5142 * sysdeps/s390/multiarch/Makefile
5143 (sysdep_routines): Remove stpcpy variants.
5144 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5145 * sysdeps/s390/multiarch/ifunc-impl-list.c
5146 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5147 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5148 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5149 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5150 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5151 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5152 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5153 * sysdeps/s390/ifunc-stpcpy.h: New file.
5155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5157 * sysdeps/s390/multiarch/Makefile
5158 (sysdep_routines): Remove strcpy variants.
5159 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5160 * sysdeps/s390/multiarch/ifunc-impl-list.c
5161 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5162 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5163 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5164 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5165 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5166 * sysdeps/s390/ifunc-strcpy.h: New file.
5167 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5168 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5169 for 31/64bit and ifunc handling.
5170 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5171 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5172 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5174 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5176 * sysdeps/s390/multiarch/Makefile
5177 (sysdep_routines): Remove strnlen variants.
5178 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5179 * sysdeps/s390/multiarch/ifunc-impl-list.c
5180 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5181 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5182 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5183 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5184 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5185 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5186 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5187 * sysdeps/s390/ifunc-strnlen.h: New file.
5189 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5191 * sysdeps/s390/multiarch/Makefile
5192 (sysdep_routines): Remove strlen variants.
5193 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5194 * sysdeps/s390/multiarch/ifunc-impl-list.c
5195 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5196 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5197 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5198 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5199 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5200 * sysdeps/s390/multiarch/strlen.c: Move to ...
5201 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5202 * sysdeps/s390/ifunc-strlen.h: New file.
5204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5206 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5207 * sysdeps/s390/multiarch/ifunc-impl-list.c
5208 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5209 * sysdeps/s390/ifunc-memmem.h: New file.
5210 * sysdeps/s390/memmem.c: Likewise.
5211 * sysdeps/s390/memmem-c.c: Likewise.
5212 * sysdeps/s390/memmem-vx.c: Likewise.
5214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5216 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5217 * sysdeps/s390/multiarch/ifunc-impl-list.c
5218 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5219 * sysdeps/s390/ifunc-strstr.h: New file.
5220 * sysdeps/s390/strstr.c: Likewise.
5221 * sysdeps/s390/strstr-c.c: Likewise.
5222 * sysdeps/s390/strstr-vx.c: Likewise.
5224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5226 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5227 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5228 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5229 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5231 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5232 * sysdeps/s390/memmove-c.c: New file.
5233 * sysdeps/s390/memmove.c: Likewise.
5234 * sysdeps/s390/multiarch/ifunc-impl-list.c
5235 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5239 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5240 * sysdeps/s390/configure.ac: Add check for z13 support.
5241 * sysdeps/s390/configure: Regenerated.
5243 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5245 * sysdeps/s390/memcopy.h: New file.
5247 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5249 * sysdeps/s390/s390-32/bcopy.S: Remove.
5250 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5254 * sysdeps/s390/ifunc-memcpy.h: New File.
5255 * sysdeps/s390/memcpy.S: Move to ...
5256 * sysdeps/s390/memcpy-z900.S ... here.
5257 Move implementations from memcpy-s390x.s to here.
5258 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5259 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5260 Remove memcpy/mempcpy variants.
5261 * sysdeps/s390/Makefile (sysdep_routines):
5262 Add memcpy/mempcpy variants.
5263 * sysdeps/s390/multiarch/ifunc-impl-list.c
5264 (__libc_ifunc_impl_list): Adjust ifunc variants for
5266 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5268 * sysdeps/s390/memcpy.c: ... here.
5269 Adjust ifunc variants for memcpy.
5270 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5271 * sysdeps/s390/mempcpy.c: ... here.
5272 Adjust ifunc variants for mempcpy.
5273 * sysdeps/s390/mempcpy.S: Delete file.
5275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5277 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5278 * sysdeps/s390/memcpy.S: ... here.
5279 Adjust to be usable for 31/64bit.
5280 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5281 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5282 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5283 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5284 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5285 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5286 Adjust to be usable for 31/64bit.
5287 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5288 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5289 * sysdeps/s390/multiarch/memcpy.c: ... here.
5290 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5292 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5294 * sysdeps/s390/ifunc-memcmp.h: New File.
5295 * sysdeps/s390/memcmp.S: Move to ...
5296 * sysdeps/s390/memcmp-z900.S ... here.
5297 Move implementations from memcmp-s390x.s to here.
5298 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5299 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5300 Remove memcmp variants.
5301 * sysdeps/s390/Makefile (sysdep_routines):
5302 Add memcmp variants.
5303 * sysdeps/s390/multiarch/ifunc-impl-list.c
5304 (__libc_ifunc_impl_list): Adjust ifunc variants for
5306 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5308 * sysdeps/s390/memcmp.c: ... here.
5309 Adjust ifunc variants for memcmp.
5311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5313 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5314 * sysdeps/s390/memcmp.S: ... here.
5315 Adjust to be usable for 31/64bit.
5316 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5317 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5318 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5320 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5321 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5322 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5323 Adjust to be usable for 31/64bit.
5324 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5325 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5326 * sysdeps/s390/multiarch/memcmp.c: ... here.
5327 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5329 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5331 * sysdeps/s390/s390-32/bzero.S: Delete file.
5332 * sysdeps/s390/s390-64/bzero.S: Likewise.
5333 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5334 * sysdeps/s390/bzero.c: New file.
5335 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5336 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5337 * sysdeps/s390/multiarch/ifunc-impl-list.c
5338 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5342 * sysdeps/s390/ifunc-memset.h: New File.
5343 * sysdeps/s390/memset.S: Move to ...
5344 * sysdeps/s390/memset-z900.S ... here.
5345 Move implementations from memset-s390x.s to here.
5346 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5347 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5348 Remove memset variants.
5349 * sysdeps/s390/Makefile (sysdep_routines):
5350 Add memset variants.
5351 * sysdeps/s390/multiarch/ifunc-impl-list.c
5352 (__libc_ifunc_impl_list): Adjust ifunc variants for
5354 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5356 * sysdeps/s390/memset.c: ... here.
5357 Adjust ifunc variants for memset.
5359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5361 * sysdeps/s390/s390-64/memset.S: Move to ...
5362 * sysdeps/s390/memset.S: ... here.
5363 Adjust to be usable for 31/64bit.
5364 * sysdeps/s390/s390-32/memset.S: Delete File.
5365 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5366 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5368 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5369 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5370 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5371 Adjust to be usable for 31/64bit.
5372 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5373 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5374 * sysdeps/s390/multiarch/memset.c: ... here.
5375 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5377 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5379 * sysdeps/s390/multiarch/ifunc-resolve.h
5380 (s390_libc_ifunc_init, s390_libc_ifunc,
5381 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5385 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5386 * sysdeps/s390/configure.ac: Add check for z10 support.
5387 * sysdeps/s390/configure: Regenerated.
5389 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5391 * sysdeps/i386/atomic-machine.h: Merged with ...
5392 * sysdeps/x86_64/atomic-machine.h: To ...
5393 * sysdeps/x86/atomic-machine.h: This. New file.
5395 2018-12-18 Florian Weimer <fweimer@redhat.com>
5397 Rewrite locale/gen-translit.pl in Python.
5398 * locale/Makefile (generated): Add C-translit.h.
5399 (before-compile): Add $(objpfx)C-translit.h.
5400 (C-translit.h): Move to $(objpfx). Create target directory.
5401 Build using Python script.
5402 * locale/gen-translit.py: New file.
5403 * locale/gen-translit.pl: Remove file.
5404 * locale/C-translit.h.in: Change comment character to '#' for
5405 easier parsing without a C preprocessor.
5406 * locale/C-translit.h: Remove generated file.
5407 * manual/install.texi (Tools for Compilation): Do not mention
5409 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5410 Remove locale/C-translit.h.
5411 * scripts/update-copyrights: Likewise.
5412 * INSTALL: Regenerate.
5414 2018-12-18 Florian Weimer <fweimer@redhat.com>
5417 * localedata/locales/bi_VU: Remove executable bit from file.
5419 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5422 (__localtime64): Add.
5423 * manual/maint.texi: Document Y2038 symbol handling.
5425 (__localtime64): Add.
5426 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5428 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5430 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5433 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5434 to allow extra macros from first or second sources.
5435 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5436 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5437 (tests-special): Add $(objpfx)tst-mman-consts.out.
5438 ($(objpfx)tst-mman-consts.out): New makefile target.
5440 2018-12-17 Mao Han <han_mao@c-sky.com>
5442 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5443 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5444 without stat64 system call support.
5445 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5446 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5447 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5448 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5449 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5450 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5451 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5452 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5453 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5454 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5455 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5457 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5459 regex: fix storage-exhaustion error
5461 * posix/regexec.c (get_subexp):
5462 Do not continue if storage is exhausted.
5464 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5466 regex: fix heap-use-after-free error
5468 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5469 https://debbugs.gnu.org/32592
5470 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5471 call extend_buffers which reallocates the re_string_t internal buffer.
5472 Local variable 'buf' was not updated in such case, resulting in
5474 * posix/regexec.c (get_subexp): Update 'buf' after call to
5477 2018-12-15 Florian Weimer <fweimer@redhat.com>
5479 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5480 (minimum_stride_size): Use it.
5481 (support_blob_repeat_allocate): Likewise.
5483 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5485 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5490 2018-12-14 Florian Weimer <fweimer@redhat.com>
5492 * manual/process.texi (Process Creation Concepts): Remove
5493 documentation of process (ID) lifetime. List more process
5494 creation functions. Reference Process Identification section.
5495 (Process Identification): Add information about process ID
5496 lifetime. Describe Linux thread/task IDs.
5497 * manual/signal.texi (Signaling Another Process): Mention that the
5498 signal is always sent to the process.
5500 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5502 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5503 and tst-ldbl-efgcvt.
5504 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5505 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5506 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5507 (fcvt_tests, output_error, output_r_error, do_test): Use the
5508 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5509 select the type of floating-point variables and arguments; to
5510 produce extra tests for double and conversion specifiers for
5511 printf; and to set the names of called functions.
5512 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5513 in tst-efgcvt-template.c.
5514 * misc/tst-ldbl-efgcvt.c: Likewise.
5516 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5518 * nss/Makefile (tst-nss-test3.out): New rule.
5520 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5522 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5525 2018-12-13 fanjinke <fanjinke@hygon.cn>
5527 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5530 2018-12-13 Andreas Schwab <schwab@suse.de>
5533 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5534 (__pthread_rwlock_rdlock_full): Update expected value for
5535 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5536 * nptl/tst-rwlock-pwn.c: New file.
5537 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5539 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5541 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5544 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5546 * benchtests/scripts/compare_bench.py (do_compare): write to
5547 stderr in casestat is not present.
5548 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5549 stderr in case timings field is not present. Also string showing
5550 the output filename goes into the stderr.
5552 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5554 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5555 and ZeroDivisorError exceptions.
5556 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5557 argument to loop through user provided statistics.
5558 * benchtests/scripts/compare_bench.py (main): Include the --stats
5561 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5563 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5566 2018-12-12 Florian Weimer <fweimer@redhat.com>
5568 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5569 clause to copyright header.
5571 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5574 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5575 registers saved in the stack frame.
5576 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5577 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5579 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5581 * include/bits/monetary-ldbl.h: New file.
5582 * include/bits/printf-ldbl.h: Likewise.
5583 * include/bits/stdio-ldbl.h: Likewise.
5584 * include/bits/stdlib-ldbl.h: Likewise.
5585 * include/bits/syslog-ldbl.h: Likewise.
5586 * include/bits/wchar-ldbl.h: Likewise.
5588 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5590 * libio/libio.h: Remove redirection for _IO_vfprintf.
5592 2018-12-11 Andreas Schwab <schwab@suse.de>
5594 * Makerules: Remove all references to abilist-pattern.
5595 (update-all-abi): Simplify find expression.
5597 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5600 * math/auto-libm-test-in: Add new test case.
5601 * math/auto-libm-test-out-pow: Regenerated.
5602 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5604 2018-12-10 DJ Delorie <dj@redhat.com>
5607 * support/test-container.c: Move postclean step to before we
5610 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5612 * scripts/gen-as-const.py (main): Handle --python option.
5613 * scripts/gen-py-const.awk: Remove.
5614 * Makerules (py-const-script): Use gen-as-const.py.
5615 ($(py-const)): Likewise.
5616 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5617 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5618 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5619 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5620 ~PTHREAD_MUTEX_NO_ELISION_NP.
5621 * manual/README.pretty-printers: Update reference to
5624 * scripts/glibcextract.py: New file.
5625 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5626 or tempfile. Import glibcexctract.
5627 (compute_c_consts): Remove. Moved to glibcextract.py.
5628 (gen_test): Update reference to compute_c_consts.
5630 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5631 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5632 * sysdeps/unix/sysv/linux/Makefile
5633 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5634 Redirect stderr as well as stdout.
5636 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5639 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5640 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5641 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5642 ALWAYS_USE_VSYSCALL.
5643 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5644 ALWAYS_USE_VSYSCALL.
5645 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5646 ALWAYS_USE_VSYSCALL.
5648 2018-12-10 Florian Weimer <fweimer@redhat.com>
5651 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5652 offset instead of count for clarity. Fix typo in comment.
5653 (__old_getdents64): Keep track of previous offset. Use it to call
5655 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5656 that d_off is never zero.
5658 2018-12-10 Andreas Schwab <schwab@suse.de>
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5661 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5663 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5664 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5666 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5668 * timezone/private.h: Update from tzcode 2018g.
5669 * timezone/tzfile.h: Likewise.
5670 * timezone/tzselect.ksh: Likewise.
5671 * timezone/zdump.c: Likewise.
5672 * timezone/zic.c: Likewise.
5674 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5677 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5678 (do_test): Adjust buffer size and fix format.
5680 2018-12-07 DJ Delorie <dj@redhat.com>
5683 * malloc/tst-tcfree3.c: New.
5684 * malloc/Makefile: Add it.
5686 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5688 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5690 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5692 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5693 used as a mask for the mode argument of __vfscanf_internal and
5694 __vfwscanf_internal.
5695 * stdio-common/vfscanf-internal.c
5696 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5697 (__strtof128_internal): Define to __wcstof128_internal.
5698 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5699 __strtof128_internal or __wcstof128_internal when the format of
5700 long double is the same as _Float128.
5702 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5704 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5705 * posix/confstr.c (confstr): Rename to __confstr.
5706 (__confstr): Add hidden def.
5707 (confstr): Add weak alias for __confstr.
5708 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5711 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5713 * NEWS: Mention getcpu.
5714 * include/sched.h (__getcpu): New libc_hidden_proto.
5715 * manual/resource.texi: Document getcpu.
5716 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5717 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5718 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5719 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5720 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5721 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5722 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5723 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5724 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5725 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5726 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5727 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5728 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5730 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5731 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5732 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5741 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5742 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5743 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5744 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5745 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5746 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5747 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5748 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5749 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5750 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5751 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5754 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5756 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5758 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5760 2018-12-07 Florian Weimer <fweimer@redhat.com>
5763 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5764 * posix/Versions (GLIBC_2.29): Export
5765 posix_spawn_file_actions_addfchdir_np.
5766 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5767 * posix/spawn_faction_destroy.c
5768 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5769 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5770 and the field action.fchdir_action.
5771 * posix/tst-spawn-chdir.c (add_chdir): New function.
5772 (do_test): Add do_fchdir loop. Call add_chdir.
5773 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5774 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5775 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5776 posix_spawn_file_actions_addfchdir_np.
5777 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5779 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5781 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5782 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5784 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5786 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5788 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5790 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5792 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5794 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5795 (GLIBC_2.29): Likewise.
5796 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5797 (GLIBC_2.29): Likewise.
5798 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5799 (GLIBC_2.29): Likewise.
5800 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5801 (GLIBC_2.29): Likewise.
5802 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5805 (GLIBC_2.29): Likewise.
5806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5807 (GLIBC_2.29): Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5809 (GLIBC_2.29): Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5811 (GLIBC_2.29): Likewise.
5812 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5814 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5816 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5818 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5819 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5823 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5825 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5828 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5830 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5831 trailing whitespace removed.
5832 * scripts/config.guess: Update to version 2018-11-28.
5833 * scripts/config.sub: Update to version 2018-11-28.
5834 * scripts/install-sh: Update to version 2018-03-11.20.
5835 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5836 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5838 2018-12-07 Florian Weimer <fweimer@redhat.com>
5842 * inet/tst-if_index-long.c: New file.
5843 * inet/Makefile (tests): Add tst-if_index-long.
5845 2018-12-07 Florian Weimer <fweimer@redhat.com>
5847 * support/check.h (support_record_failure_is_failed): Declare.
5848 * support/descriptors.h: New file.
5849 * support/support_descriptors.c: Likewise.
5850 * support/tst-support_descriptors.c: Likewise.
5851 * support/support_record_failure.c
5852 (support_record_failure_is_failed): New function.
5853 * support/Makefile (libsupport-routines): Add support_descriptors.
5854 (tests): Add tst-support_descriptors.
5856 2018-12-05 Zack Weinberg <zackw@panix.com>
5857 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5859 * stdio-common/vfprintf-internal.c
5860 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5861 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5863 and __no_long_double.
5864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5865 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5866 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5867 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5868 and __nldbl_*syslog* functions.
5869 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5870 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5871 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5872 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5873 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5874 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5875 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5876 (__nldbl_vwprintf, __nldbl_wprintf):
5877 Directly call the appropriate __v*printf_internal routine, passing
5878 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5880 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5881 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5882 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5883 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5884 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5885 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5886 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5887 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5888 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5889 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5890 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5891 (__nldbl_syslog, __nldbl_vsyslog):
5892 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5893 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5895 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5898 2018-12-05 Zack Weinberg <zackw@panix.com>
5899 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5902 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5903 Moved here from debug/vsprintf_chk.c.
5904 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5905 and completion logic for the strfile to match exactly what
5906 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5907 _IO_str_init_static_internal instead of maxlen-1.
5908 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5909 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5910 __vsprintf_internal.
5912 * debug/vsprintf_chk.c (__vsprintf_chk)
5913 * debug/sprintf_chk.c (__sprintf_chk):
5914 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5915 'flags' argument is positive, and slen as maxlen. No need to lock
5916 the FILE and/or construct a temporary FILE. Minimize and normalize
5917 header inclusions and variable names. Do not libc_hidden_def anything.
5919 * debug/asprintf_chk.c (__asprintf_chk)
5920 * debug/dprintf_chk.c (__dprintf_chk)
5921 * debug/fprintf_chk.c (__fprintf_chk)
5922 * debug/fwprintf_chk.c (__fwprintf_chk)
5923 * debug/printf_chk.c (__printf_chk)
5924 * debug/snprintf_chk.c (__snprintf_chk)
5925 * debug/swprintf_chk.c (__swprintf_chk)
5926 * debug/vasprintf_chk.c (__vasprintf_chk)
5927 * debug/vdprintf_chk.c (__vdprintf_chk)
5928 * debug/vfprintf_chk.c (__vfprintf_chk)
5929 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5930 * debug/vprintf_chk.c (__vprintf_chk)
5931 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5932 * debug/vswprintf_chk.c (__vswprintf_chk)
5933 * debug/vwprintf_chk.c (__vwprintf_chk)
5934 * debug/wprintf_chk.c (__wprintf_chk):
5935 Directly call the corresponding vxxprintf_internal function, passing
5936 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5937 the FILE and/or construct a temporary FILE. Minimize and normalize
5938 header inclusions and variable names. Do not libc_hidden_def anything.
5940 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5941 __obstack_vprintf_internal.
5942 (__obstack_vprintf_chk): Convert into a wrapper that calls
5943 __obstack_vprintf_internal (these two functions already had the
5944 same code) and move to new file...
5945 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5947 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5948 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5949 * debug/Makefile (routines): Add vobprintf_chk.
5951 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5952 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5953 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5954 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5955 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5956 (__nldbl___obstack_vfprintf_chk):
5957 Directly call the corresponding vxxprintf_internal function,
5958 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5959 duplicate comparison of slen with 0 or maxlen from the corresponding
5960 non-__nldbl function.
5962 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5963 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5964 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5965 Remove libc_hidden_proto.
5967 * stdio-common/vfprintf-internal.c
5968 (__vfprintf_internal, __vfwprintf_internal):
5969 Do not check _IO_FLAGS2_FORTIFY.
5970 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5971 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5972 a comment explaining why it has the maxlen argument.
5973 (_IO_acquire_lock_clear_flags2_fct): Remove.
5974 (_IO_acquire_lock_clear_flags2): Remove.
5975 (_IO_release_lock): Remove conditional statement which will
5977 (_IO_acquire_lock): Remove variable which is now unused.
5978 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5979 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5981 * stdio-common/Makefile (tests): Add tst-bz11319 and
5982 tst-bz11319-fortify2.
5983 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5984 * stdio-common/tst-bz11319-fortify2.c: New file.
5985 * stdio-common/tst-bz11319.c: Likewise.
5987 2018-12-05 Zack Weinberg <zackw@panix.com>
5988 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5990 * misc/syslog.c: Include libioP.h, not iolibio.h.
5991 (__vsyslog_internal): New function with the former body of
5992 __vsyslog_chk; takes mode_flags argument same as
5993 __v*printf_internal. Call __vfprintf_internal directly.
5995 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5996 Remove libc_hidden_def.
5997 (__syslog, __syslog_chk): Use __vsyslog_internal.
5998 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6000 * include/sys/syslog.h: Add multiple inclusion guard.
6001 Add prototype for __vsyslog_internal.
6002 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6004 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6005 Use __vsyslog_internal.
6007 2018-12-05 Zack Weinberg <zackw@panix.com>
6008 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6010 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6011 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6012 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6014 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6015 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6017 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6018 Include wctype.h here if COMPILE_WPRINTF is defined.
6019 Define __vfprintf_internal or __vfwprintf_internal, depending
6021 Temporarily, on entry to this function, update mode_flags
6022 according to the environmental settings corresponding to
6023 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6024 Throughout, check mode_flags instead of __ldbl_is_dbl and
6025 _IO_FLAGS2_FORTIFY on the destination FILE.
6026 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6027 Include vfprintf-internal.c. Don't include wctype.h.
6028 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6029 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6031 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6032 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6034 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6036 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6037 and add mode_flags argument; use __vfprintf_internal.
6038 (__vdprintf): New function. Alias vdprintf to this.
6039 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6040 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6041 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6042 (__obstack_printf): Use __obstack_printf_internal.
6043 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6044 public aliases __vsnprintf and vsnprintf.
6045 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6047 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6048 public aliases _IO_vsprintf and vsprintf.
6049 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6050 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6051 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6052 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6053 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6055 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6056 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6057 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6058 * stdio-common/printf.c: Use __vfprintf_internal.
6060 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6061 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6062 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6064 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6065 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6066 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6067 __vfwprintf_internal.
6069 * libio/libio.h: Remove libc_hidden_proto and declaration for
6071 Remove declaration of _IO_vfwprintf.
6072 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6074 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6076 * include/stdio.h: Add prototype for __vasprintf.
6077 (__vsnprintf): Remove declaration, because there are no more
6079 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6080 declaration, because there are no more internal calls.
6082 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6083 __vsnprintf_internal, instead of _IO_vsnprintf.
6084 * argp/argp-help.c (__argp_error, __argp_failure): Use
6085 __vasprintf_internal, instead of _IO_vasprintf.
6086 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6087 redefine, because there are no more internal calls.
6089 2018-12-05 Zack Weinberg <zackw@panix.com>
6090 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6092 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6093 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6094 Include libio/strfile.h instead of libioP.h.
6095 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6096 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6097 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6098 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6099 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6100 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6101 necessary. Do not set __no_long_double. Normalize variable names.
6102 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6103 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6104 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6105 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6106 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6107 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6108 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6109 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6110 Do not set __no_long_double. Normalize variable names.
6112 2018-12-05 Zack Weinberg <zackw@panix.com>
6113 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6115 * stdio-common/isoc99_scanf.c
6116 * stdio-common/isoc99_fscanf.c
6117 * stdio-common/isoc99_sscanf.c
6118 * stdio-common/isoc99_vscanf.c
6119 * stdio-common/isoc99_vfscanf.c
6120 * stdio-common/isoc99_vsscanf.c
6121 * wcsmbs/isoc99_wscanf.c
6122 * wcsmbs/isoc99_fwscanf.c
6123 * wcsmbs/isoc99_swscanf.c
6124 * wcsmbs/isoc99_vwscanf.c
6125 * wcsmbs/isoc99_vfwscanf.c
6126 * wcsmbs/isoc99_vswscanf.c:
6127 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6128 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6129 No need to lock and unlock the FILE passed to that function.
6131 * stdio-common/vfscanf-internal.c
6132 (__vfscanf_internal, __vfwscanf_internal):
6133 Don't look at _IO_FLAGS2_SCANF_STD.
6134 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6135 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6136 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6138 2018-12-05 Zack Weinberg <zackw@panix.com>
6139 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6141 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6142 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6143 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6144 * libio/strfile.h: Add multiple inclusion guard.
6145 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6147 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6148 consistency with the other version of this file.
6149 (ldbl_compat_symbol): New macro.
6150 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6153 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6154 Define __vfscanf_internal or __vfwscanf_internal, depending on
6155 COMPILE_WSCANF; don't define any other public symbols.
6156 Remove errval and code to set errp.
6157 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6158 as the mode_flags argument.
6159 (encode_error, conv_error, input_error): Don't set errval.
6160 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6161 Include vfscanf-internal.c.
6162 * stdio-common/vfscanf.c: New file defining the public entry
6163 point vfscanf, which calls __vfscanf_internal.
6164 * stdio-common/vfwscanf.c: New file defining the public entry
6165 point vfwscanf, which calls __vfwscanf_internal.
6167 * stdio-common/iovfscanf.c: New file.
6168 * stdio-common/iovfwscanf.c: Likewise.
6170 * stdio-common/Makefile (routines): Add vfscanf-internal,
6171 vfwscanf-internal, iovfscanf, iovfwscanf.
6172 * stdio-common/Versions: Mention GLIBC_2.29, so that
6173 it can be used in SHLIB_COMPAT expressions.
6174 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6175 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6176 Call __vfscanf_internal, instead of _IO_vfscanf.
6177 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6179 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6182 * libio/iovsscanf.c: Clean up includes, when possible. Use
6183 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6184 __vfscanf_internal or __vfwscanf_internal directly.
6185 * libio/iovswscanf.c: Likewise.
6186 * libio/swscanf.c: Likewise.
6187 * libio/vscanf.c: Likewise.
6188 * libio/vwscanf.c: Likewise.
6189 * libio/wscanf.c: Likewise.
6190 * stdio-common/isoc99_fscanf.c: Likewise.
6191 * stdio-common/isoc99_scanf.c: Likewise.
6192 * stdio-common/isoc99_sscanf.c: Likewise.
6193 * stdio-common/isoc99_vfscanf.c: Likewise.
6194 * stdio-common/isoc99_vscanf.c: Likewise.
6195 * stdio-common/isoc99_vsscanf.c: Likewise.
6196 * stdio-common/scanf.c: Likewise.
6197 * stdio-common/sscanf.c: Likewise.
6198 * wcsmbs/isoc99_fwscanf.c: Likewise.
6199 * wcsmbs/isoc99_swscanf.c: Likewise.
6200 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6201 * wcsmbs/isoc99_vswscanf.c: Likewise.
6202 * wcsmbs/isoc99_vwscanf.c: Likewise.
6203 * wcsmbs/isoc99_wscanf.c: Likewise.
6205 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6208 (__tz_compute): Replace time_t with __time64_t.
6209 (__tz_convert): Replace time_t* with __time64_t.
6210 (__offtime): Replace time_t* with __time64_t.
6212 (__gmtime_r): Adjust call to __tz_convert.
6215 (__localtime_r): Likewise.
6216 (localtime): Likewise.
6217 * time/offtime.c: Replace time_t with __time64_t.
6218 * time/tzset.c: Likewise.
6220 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6222 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6223 dynamic linker unless [$(run-built-tests) = yes].
6225 2018-12-03 DJ Delorie <dj@delorie.com>
6227 * support/test-container.c (check_for_unshare_hints): New.
6228 (main): Call it if unshare fails. Add support for "su" scriptlet
6231 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6233 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6234 'START' to indicate that start text should be output.
6235 (gen_test): Likewise.
6236 (main): Generate 'START' for first symbol or '--' line, or at end
6237 of input if not previously generated.
6239 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6242 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6243 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6244 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6245 ALWAYS_USE_VSYSCALL.
6247 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6250 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6253 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6256 * locale/programs/localedef.c: Declare boolean hard_links default true.
6257 (options): Add --no-hard-links option.
6258 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6259 * locale/programs/localedef.h: Declare prototype for hard_links.
6260 * locale/programs/locfile.c (write_locale_data): Don't use hard
6261 links if hard_links is false.
6263 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6265 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6267 (__cache_sysconf): Likewise.
6268 (init_cacheinfo): Likewise.
6269 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6270 populate COMMON_CPUID_INDEX_80000007 and
6271 COMMON_CPUID_INDEX_80000008.
6272 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6273 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6274 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6275 (init_cpu_features): Use _Static_assert on
6276 index_arch_Fast_Unaligned_Load.
6277 __get_cpuid_registers and __get_arch_feature. Updated for
6278 cpu_features_basic. Set stepping in cpu_features.
6279 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6280 (FEATURE_INDEX_2): New.
6281 (FEATURE_INDEX_MAX): Changed to enum.
6282 (COMMON_CPUID_INDEX_D_ECX_1): New.
6283 (COMMON_CPUID_INDEX_80000007): Likewise.
6284 (COMMON_CPUID_INDEX_80000008): Likewise.
6285 (cpuid_registers): Likewise.
6286 (cpu_features_basic): Likewise.
6287 (CPU_FEATURE_USABLE): Likewise.
6288 (bit_arch_XXX_Usable): Likewise.
6289 (cpu_features): Use cpuid_registers and cpu_features_basic.
6290 (bit_arch_XXX): Reweritten.
6291 (bit_cpu_XXX): Likewise.
6292 (index_cpu_XXX): Likewise.
6293 (reg_XXX): Likewise.
6294 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6296 (CHECK_CPU_FEATURE): New.
6297 (CHECK_CPU_FEATURE_USABLE): Likewise.
6298 (cpu_kinds): Likewise.
6299 (do_test): Print vendor, family, model and stepping. Check
6300 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6301 (TEST_FUNCTION): Removed.
6302 Include <support/test-driver.c> instead of
6303 "../../test-skeleton.c".
6304 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6305 Check POPCNT instead of POPCOUNT.
6306 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6308 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6310 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6311 there is no element in `consts'.
6313 2018-12-01 Florian Weimer <fweimer@redhat.com>
6315 * support/support_capture_subprocess.c
6316 (support_capture_subprocess): Check that pipe descriptors have
6317 expected values. Close original pipe descriptors in subprocess.
6319 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6322 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6323 attr with __pthread_default_barrierattr.
6324 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6325 attr with __pthread_default_condattr.
6326 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6327 attr with __pthread_default_mutexattr.
6328 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6329 attr with __pthread_default_rwlockattr.
6331 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6333 * manual/tunables.texi (POSIX Thread Tunables): New node.
6334 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6335 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6336 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6337 __pthread_tunables_init.
6338 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6339 (max_adaptive_count): Define.
6340 * nptl/pthread_mutex_conf.c: New file.
6341 * nptl/pthread_mutex_conf.h: New file.
6342 * sysdeps/generic/adaptive_spin_count.h: New file.
6343 * sysdeps/nptl/dl-tunables.list: New file.
6344 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6345 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6346 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6349 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6352 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6353 * stdlib/on_exit.c (__on_exit): Likewise.
6354 * stdlib/Makefile (tests): Add tst-bz20544.
6355 * stdlib/tst-bz20544.c: New test.
6357 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6360 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6361 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6364 2018-11-30 Florian Weimer <fweimer@redhat.com>
6366 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6367 Extend error logging.
6368 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6371 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6373 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6374 __sigismember instead of sigismember.
6375 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6376 cancel_handler): New definitions.
6377 (do_system): Use posix_spawn instead of fork and execl and remove
6379 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6380 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6381 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6382 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6383 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6384 * sysdeps/unix/sysv/linux/system.c: Likewise.
6388 * NEWS: Add new semantic for atfork with popen and system.
6389 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6392 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6395 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6396 modification order when accessing reloc_result->addr.
6397 * include/link.h (reloc_result): Add field init.
6398 * nptl/Makefile (tests): Add tst-audit-threads.
6399 (modules-names): Add tst-audit-threads-mod1 and
6400 tst-audit-threads-mod2.
6401 Add rules to build tst-audit-threads.
6402 * nptl/tst-audit-threads-mod1.c: New file.
6403 * nptl/tst-audit-threads-mod2.c: Likewise.
6404 * nptl/tst-audit-threads.c: Likewise.
6405 * nptl/tst-audit-threads.h: Likewise.
6407 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6409 * scripts/gen-as-const.py: New file.
6410 * scripts/gen-as-const.awk: Remove.
6411 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6413 ($(objpfx)test-as-const-%.c): Likewise.
6415 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6417 * elf/dl-exception.c: Include <_itoa.h>.
6419 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6421 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6422 returned by __f_setlk.
6424 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6425 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6427 * elf/Makefile (tests-internal): Add tst-create_format1.
6428 * elf/dl-exception.c (_dl_exception_create_format): Support
6430 * elf/tst-create_format1.c: New file.
6432 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6434 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6435 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6437 * argp/argp-help.c (__argp_failure): Likewise.
6439 2018-11-29 Mao Han <han_mao@c-sky.com>
6441 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6442 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6443 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6444 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6445 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6446 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6447 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6448 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6449 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6450 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6451 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6452 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6453 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6454 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6455 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6456 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6457 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6458 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6459 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6460 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6461 (R_CKCORE_TLS_TPOFF32): New defines.
6463 2018-11-29 Florian Weimer <fweimer@redhat.com>
6465 * posix/Makefile (before-compile): Remove testcases.h and
6467 (generated): Add testcases.h and ptestcases.h.
6468 (testcases.h, ptestcases.h): Move to $(objpfx).
6469 (runtests.o): Add dependency on testcases.h.
6470 (runptests.o): Add dependency on ptestcases.h.
6471 * posix/testcases.h, posix/ptestcases.h: Remove files.
6472 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6473 not touch posix/testcases.h and posix/ptestcases.h.
6475 2018-11-28 Florian Weimer <fweimer@redhat.com>
6477 support: Add signal support to support_capture_subprocess_check.
6478 * support/capture_subprocess.h (support_capture_subprocess_check):
6479 Adjust comment and rename parameter.
6480 * support/support_capture_subprocess_check.c
6481 (print_actual_status): New function.
6482 (support_capture_subprocess_check): Support negative
6483 status_or_signal. Call print_actual_status.
6484 * support/tst-support_capture_subprocess.c (do_test): Call
6485 support_capture_subprocess_check.
6486 * libio/tst-vtables-common.c (termination_status)
6487 (init_termination_status): Remove.
6488 (check_for_termination): Adjust support_capture_subprocess_check
6490 (do_test): Remove call to init_termination_status.
6492 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6494 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6495 source directory instead of a copy.
6496 (CommandList.create_copy_dir): Remove.
6498 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6500 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6502 2018-11-28 Florian Weimer <fweimer@redhat.com>
6504 * support/support.h (support_quote_string): Do not use str
6507 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6509 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6510 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6512 2018-11-27 Florian Weimer <fweimer@redhat.com>
6514 * support/support.h (support_quote_string): Declare.
6515 * support/support_quote_string.c: New file.
6516 * support/tst-support_quote_string.c: Likewise.
6517 * support/Makefile (libsupport-routines): Add
6518 support_quote_string.
6519 (tests): Add tst-support_quote_string.
6521 2018-11-27 Florian Weimer <fweimer@redhat.com>
6525 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6526 descriptor leak in case of ENODEV error.
6528 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6531 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6532 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6535 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6537 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6538 Error for unknown lines.
6540 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6542 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6543 Touch additional files.
6545 2018-11-26 Florian Weimer <fweimer@redhat.com>
6548 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6551 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6554 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6555 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6556 SHARED. Include sysdep.h.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6558 ALWAYS_USE_VSYSCALL.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6560 ALWAYS_USE_VSYSCALL.
6562 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6565 * nptl/Makefile (tests-static): Add tst-cond11-static.
6567 * nptl/tst-cond11-static.c: New File.
6568 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6569 tst-affinity-static.
6571 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6573 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6574 (USE_VSYSCALL): Likewise.
6575 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6576 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6578 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6583 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6586 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6587 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6590 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6592 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6593 (tst-cet-legacy-1a-ARGS): New.
6594 ($(objpfx)tst-cet-legacy-1a): New target.
6595 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6597 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6599 * conform/conformtest.py (CompileSubTest.__init__): Set
6600 self.run_early to False.
6601 (ExecuteSubTest.__init__): Likewise.
6602 (HeaderTests.run): Try running all non-optional, non-XFAILed
6603 compilation tests in a single execution of the compiler.
6605 * conform/conformtest.py (CompileSubTest): New class.
6606 (ExecuteSubTest): Likewise.
6607 (ElementTest.run): Rename to gen_subtests. Append tests to
6608 self.subtests instead of running them.
6609 (ConstantTest.run): Likewise.
6610 (SymbolTest.run): Likewise.
6611 (TypeTest.run): Likewise.
6612 (TagTest.run): Likewise.
6613 (FunctionTest.run): Likewise.
6614 (VariableTest.run): Likewise.
6615 (MacroFunctionTest.run): Likewise.
6616 (MacroStrTest.run): Likewise.
6617 (HeaderTests.handle_test_line): Generate subtests for tests.
6618 (HeaderTests.run): Run subtests for tests.
6620 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6622 * math/Versions (GLIBC_2.29): Add pow.
6623 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6625 * math/w_pow.c: New file.
6626 * sysdeps/i386/fpu/w_pow.c: New file.
6627 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6629 and add necessary aliases.
6630 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6631 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6632 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6633 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6634 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6635 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6636 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6637 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6638 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6639 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6640 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6641 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6642 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6643 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6644 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6649 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6650 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6651 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6652 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6654 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6655 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6656 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6659 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6660 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6662 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6664 * math/Versions (GLIBC_2.29): Add log2.
6665 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6667 * math/w_log2.c: New file.
6668 * sysdeps/i386/fpu/w_log2.c: New file.
6669 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6670 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6671 and add necessary aliases.
6672 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6673 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6674 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6675 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6676 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6677 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6678 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6679 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6680 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6681 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6682 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6683 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6684 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6685 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6686 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6691 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6693 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6695 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6699 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6701 * math/Versions (GLIBC_2.29): Add log.
6702 * math/w_log_compat.c (__log_compat): Change to versioned compat
6704 * math/w_log.c: New file.
6705 * sysdeps/i386/fpu/w_log.c: New file.
6706 * sysdeps/ia64/fpu/e_log.S: Update.
6707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6708 and add necessary aliases.
6709 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6710 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6711 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6712 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6714 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6715 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6716 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6717 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6718 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6719 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6720 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6721 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6722 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6723 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6728 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6730 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6731 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6732 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6733 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6734 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6735 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6737 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6738 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6739 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6740 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6742 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6744 * math/Versions (GLIBC_2.29): Add exp and exp2.
6745 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6746 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6747 * math/w_exp_compat.c (__exp_compat): Likewise.
6748 * math/w_exp.c: New file.
6749 * math/w_exp2.c: New file.
6750 * sysdeps/i386/fpu/w_exp.c: New file.
6751 * sysdeps/i386/fpu/w_exp2.c: New file.
6752 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6753 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6754 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6755 and add necessary aliases.
6756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6757 and add necessary aliases.
6758 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6759 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6760 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6761 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6762 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6763 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6764 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6765 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6766 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6767 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6768 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6769 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6770 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6771 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6772 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6773 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6774 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6779 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6780 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6781 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6782 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6783 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6784 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6786 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6787 (__ieee754_exp): Rename to __exp.
6788 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6789 (__ieee754_exp): Rename to __exp.
6790 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6791 (__ieee754_exp): Rename to __exp.
6792 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6794 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6796 2018-11-20 DJ Delorie <dj@redhat.com>
6798 * malloc/malloc.c (tcache_entry): Add key field.
6799 (tcache_put): Set it.
6800 (tcache_get): Likewise.
6801 (_int_free): Check for double free in tcache.
6802 * malloc/tst-tcfree1.c: New.
6803 * malloc/tst-tcfree2.c: New.
6804 * malloc/Makefile: Run the new tests.
6805 * manual/probes.texi: Document memory_tcache_double_free probe.
6807 * dlfcn/dlerror.c (check_free): Prevent double frees.
6809 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6811 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6813 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6815 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6816 in tests. Use names for format arguments.
6817 (ConstantTest.run): Likewise.
6818 (SymbolTest.run): Likewise.
6819 (TypeTest.run): Likewise.
6820 (TagTest.run): Likewise.
6821 (FunctionTest.run): Likewise.
6822 (VariableTest.run): Likewise.
6823 (MacroFunctionTest.run): Likewise.
6824 (MacroStrTest.run): Likewise.
6825 (HeaderTests.__init__): Set self.num_tests.
6826 (HeaderTests.handle_test_line): Set test.num. Increment
6829 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6831 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6832 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6835 2018-11-19 Mao Han <han_mao@c-sky.com>
6837 * scripts/config.guess: Update to version 2018-08-29.
6838 * scripts/config.sub: Update to version 2018-08-29.
6840 2018-11-19 Florian Weimer <fweimer@redhat.com>
6842 support: Print timestamps in timeout handler.
6843 * support/support_test_main.c (print_timestamp): New function.
6844 (signal_handler): Use it to print the termination time and the
6845 time of the last write to standard output.
6847 2018-11-16 Zack Weinberg <zackw@panix.com>
6848 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6850 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6851 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6853 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6854 and add flags argument. Check flags instead of __ldbl_is_dbl when
6855 deciding whether to set is_long_double.
6856 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6857 passing zero for flags argument.
6858 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6860 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6861 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6862 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6863 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6864 variable names. Remove libc_hidden_def/libc_hidden_proto from
6865 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6866 longer called from within the library.
6867 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6868 for __nldbl___vstrfmon_l, declare it explicitly.
6870 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6872 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6874 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6876 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6877 F_SETLK64, F_SETLKW64, respectively.
6878 * sysdeps/mach/hurd/f_setlk.c: New file.
6879 * sysdeps/mach/hurd/f_setlk.h: New file.
6880 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6882 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6883 (__libc_fcntl): Move non-flock operations to...
6884 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6885 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6887 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6889 mktime: DEBUG_MKTIME cleanup
6890 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6891 And it’s no longer needed now that glibc and Gnulib both have
6892 their own testing mechanisms for mktime.
6893 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6895 mktime: fix non-EOVERFLOW errno handling
6897 mktime was not properly reporting failures when the underlying
6898 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6899 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6900 The problem could happen on non-glibc platforms, with Gnulib.
6901 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6902 (tm_diff): ... this simpler function, which does not change errno.
6903 All callers changed to deal with errno themselves.
6904 (ranged_convert, __mktime_internal): Return failure immediately if
6905 the underlying function reports any failure other than EOVERFLOW.
6906 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6909 mktime: fix bug with Y2038 DST transition
6911 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6912 mishandle a DST transition that jumps over the Y2038 boundary.
6913 No such DST transitions are known so this is only a theoretical
6914 bug, but we might as well do things right.
6916 mktime: make more room for overflow
6918 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6919 This is so that we can add tm_diff results to a previous guess,
6920 which will be useful in a later patch.
6922 mktime: simplify offset guess
6924 * time/mktime.c (__mktime_internal): Omit excess precision.
6926 mktime: new test for mktime failure
6928 Based on a test suggested by Albert Aribaud in:
6929 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6930 * time/Makefile (tests): Add bug-mktime4.
6931 * time/bug-mktime4.c: New file.
6933 mktime: fix EOVERFLOW bug
6935 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6936 Include libc-config.h, not config.h, for __set_errno.
6937 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6939 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6941 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6942 __attribute_copy__ to copy attributes from name. Drop static qualifier
6943 to avoid warnings about leaf attribute not having effect on static
6946 2018-11-13 Florian Weimer <fweimer@redhat.com>
6948 * malloc/malloc.c (fastbin_push_entry): New function.
6949 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6950 (REMOVE_FB): Remove macro.
6951 (_int_malloc): Use fastbin_pop_entry and reindent.
6952 (_int_free): Use fastbin_push_entry.
6953 (malloc_consolidate): Use atomic_exchange_acquire.
6955 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6957 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6958 alias attribute, not with strong_alias.
6960 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6961 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6962 with additional parameter thread.
6963 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6964 in terms of __hidden_ver2.
6965 (hidden_tls_def): New macro.
6966 (libc_hidden_tls_def): Likewise.
6967 (rtld_hidden_tls_def): Likewise.
6968 (libm_hidden_tls_def): Likewise.
6969 (libmvec_hidden_tls_def): Likewise.
6970 (libresolv_hidden_tls_def): Likewise.
6971 (librt_hidden_tls_def): Likewise.
6972 (libdl_hidden_tls_def): Likewise.
6973 (libnss_files_hidden_tls_def): Likewise.
6974 (libnsl_hidden_tls_def): Likewise.
6975 (libnss_nisplus_hidden_tls_def): Likewise.
6976 (libutil_hidden_tls_def): Likewise.
6977 (libutil_hidden_tls_def): Likweise.
6978 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6979 libc_hidden_tls_def.
6980 (__sim_disabled_exceptions_thread): Likewise.
6981 (__sim_round_mode_thread): Likewise.
6983 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6984 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6985 copy attributes from name.
6987 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6989 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6990 Use __attribute_copy__ to copy attributes from name.
6992 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6993 with __hidden_ver1 call.
6994 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6995 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6996 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6997 (__cosf): Do not declare here.
6998 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6999 (__sincosf): Do not declare here.
7000 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7001 (__sinf): Do not declare here.
7003 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7004 (__BIG_ENDIAN): Likewise.
7005 (__BYTE_ORDER): Likewise.
7006 (strong_alias): Likewise.
7007 (_strong_alias): Likewise.
7009 2018-11-12 Florian Weimer <fweimer@redhat.com>
7011 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7012 function. Move after the definition of in_smallbin_range. Do not
7013 use __builtin_expect for paths that lead to a noreturn function.
7014 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7015 because it is unclear whether this is in fact an unlikely
7017 (_int_malloc, _int_free): Adjust.
7018 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7020 * malloc/arena.c (heap_trim): Likewise.
7022 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7024 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7025 it, free it if needed.
7026 (reauthenticate): Test and use ccwdir.
7027 (child_init_port): In non-resetids case, test and use ccwdir.
7028 (child_chdir): New nested function to set ccwdir.
7029 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7030 * hurd/hurd/port.h (_hurd_port_move): New function.
7031 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7032 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7033 * hurd/Versions (_hurd_port_move): Export function.
7034 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7036 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7037 of dtablesize for allocating dtable_cloexec.
7039 2018-11-09 Martin Sebor <msebor@redhat.com>
7041 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7042 it's already defined.
7043 (_strong_alias): Use __attribute_copy__.
7044 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7045 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7046 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7047 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7048 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7049 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7050 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7051 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7052 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7053 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7054 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7055 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7056 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7057 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7058 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7059 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7060 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7061 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7062 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7064 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7066 * misc/tst-efgcvt.c: Include support/check.h and
7067 support/test-driver.c. Do not include test-skeleton.c.
7068 (error_count): Remove.
7069 (output_error): Replace increments to error_count with calls to
7070 support_record_failure.
7071 (output_r_error): Likewise.
7072 (special): Likewise.
7073 (do_test): Unconditionally return zero.
7074 (TEST_FUNCTION): Remove.
7076 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7078 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7080 ($(linknamespace-header-tests)): Likewise.
7082 * conform/conformtest.py: New file.
7083 * conform/conformtest.pl: Remove.
7084 * conform/GlibcConform.pm: Likewise.
7085 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7086 (KEYWORDS_C99): Likewise.
7087 (KEYWORDS): Likewise.
7088 * conform/Makefile ($(conformtest-header-tests)): Use
7089 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7090 option. Use --header instead of --headers.
7091 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7093 * conform/data/spawn.h-data: Likewise.
7094 * conform/data/fcntl.h-data (openat): Add space after function
7096 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7097 (wcscasecmp_l): Likewise.
7098 * conform/data/termios.h-data (c_cc): Add space after element
7101 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7103 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7104 instead of manually comparing and reporting mismatching strings.
7105 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7106 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7108 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7110 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7111 __ASSUME_SOCKETCALL.
7112 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7113 (__ASSUME_SOCKETCALL): Remove.
7114 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7115 (__ASSUME_SOCKETCALL): Likewise.
7116 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7117 (__ASSUME_SOCKETCALL): Likewise.
7118 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7119 (__ASSUME_SOCKETCALL): Likewise.
7120 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7121 (__ASSUME_SOCKETCALL): Likewise.
7122 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7123 (__ASSUME_SOCKETCALL): Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7125 (__ASSUME_SOCKETCALL): Likewise.
7127 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7130 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7131 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7132 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7133 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7134 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7137 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7140 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7142 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7145 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7146 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7148 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7150 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7152 * support/support_test_compare_string.c
7153 (support_test_compare_string): Fix printf format.
7155 2018-11-07 Florian Weimer <fweimer@redhat.com>
7157 Implement TEST_COMPARE_STRING.
7158 * support/check.h (TEST_COMPARE_STRING): Define.
7159 (support_test_compare_string): Declare.
7160 * support/Makefile (libsupport-routines): Add
7161 support_test_compare_string.
7162 (tests): Add tst-test_compare_string.
7163 * support/support_test_compare_string.c: New file.
7164 * support/tst-test_compare_string.c: Likewise.
7166 2018-11-07 Andreas Schwab <schwab@suse.de>
7169 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7170 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7173 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7176 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7177 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7178 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7179 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7182 2018-11-06 Florian Weimer <fweimer@redhat.com>
7185 * posix/Makefile (routines): Add spawn_faction_addchdir.
7186 (tests): Add tst-spawn-chdir.
7187 * posix/Versions (GLIBC_2.29): Add
7188 posix_spawn_file_actions_addchdir_np.
7189 * posix/spawn_faction_addchdir.c: New file.
7190 * posix/spawn_faction_destroy.c
7191 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7192 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7193 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7195 * posix/tst-spawn-chdir.c: New file.
7196 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7197 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7198 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7199 posix_spawn_file_actions_addchdir_np.
7200 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7202 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7204 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7205 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7207 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7209 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7211 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7213 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7215 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7217 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7218 (GLIBC_2.29): Likewise.
7219 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7220 (GLIBC_2.29): Likewise.
7221 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7222 (GLIBC_2.29): Likewise.
7223 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7224 (GLIBC_2.29): Likewise.
7225 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7228 (GLIBC_2.29): Likewise.
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7230 (GLIBC_2.29): Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7232 (GLIBC_2.29): Likewise.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7234 (GLIBC_2.29): Likewise.
7235 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7237 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7239 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7241 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7244 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7246 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7248 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7251 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7253 * misc/Makefile (tests): Add tst-ldbl-error.
7254 * misc/tst-ldbl-error.c: New file.
7256 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7258 * misc/Makefile (tests): Add tst-ldbl-warn.
7259 * misc/tst-ldbl-warn.c: New file.
7261 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7263 * argp/Makefile (tests): Add tst-ldbl-argp.
7264 * argp/tst-ldbl-argp.c: New file.
7266 2018-11-05 Arjun Shankar <arjun@redhat.com>
7268 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7269 __gconv_path_elem and call __gconv_get_path unconditionally.
7271 2018-11-05 Andreas Schwab <schwab@suse.de>
7274 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7275 creating the first helper thread failed.
7277 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7279 * sysdeps/mach/hurd/msync.c: New file.
7281 2018-11-02 Florian Weimer <fweimer@redhat.com>
7283 * support/shell-container.c (copy_func): Call
7284 support_copy_file_range instead of copy_file_range to support
7285 cross-device copies.
7287 2018-11-02 Florian Weimer <fweimer@redhat.com>
7289 * support/test-container.c: Include <libc-pointer-arith.h> for
7292 2018-11-01 Zong Li <zong@andestech.com>
7294 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7295 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7296 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7297 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7299 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7300 variable to avoid overlap arguments.
7302 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7304 * posix/bug-regex22.c (main): Use puts with distinct error
7305 messages for unexpected success of re_compile_pattern, not printf
7306 with NULL argument to %s.
7308 * stdio-common/bug22.c: Include <libc-diag.h>.
7309 (do_test): Disable -Wformat-overflow= warnings around fprintf
7310 calls outputting more than INT_MAX characters.
7311 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7312 around printf call with NULL %s argument.
7315 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7316 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7318 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7319 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7320 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7321 (__ASSUME_SENDTO_SYSCALL): Likewise.
7322 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7323 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7325 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7326 (__ASSUME_CONNECT_SYSCALL): Likewise.
7327 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7328 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7329 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7331 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7333 [__LINUX_KERNEL_VERSION >= 0x040400]
7334 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7338 (setsockopt): Likewise.
7340 2018-11-01 Fredrik Noring <noring@nocrew.org>
7342 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7343 with the ISA override.
7345 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7347 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7350 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7352 * manual/errno.texi (EIEIO): Document how translators should
7353 translate the error message.
7354 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7355 printing trailing whitespaces refused by git.
7356 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7357 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7358 * hurd/Makefile (user-interfaces): Add pci.
7360 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7362 * conform/linknamespace.py: New file.
7363 * conform/linknamespace.pl: Remove file.
7364 * conform/Makefile ($(linknamespace-header-tests)): Use
7365 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7368 2018-10-30 Florian Weimer <fweimer@redhat.com>
7370 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7373 2018-10-30 Florian Weimer <fweimer@redhat.com>
7375 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7377 2018-10-30 Florian Weimer <fweimer@redhat.com>
7379 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7380 support_blob_repeat.
7382 2018-10-30 Florian Weimer <fweimer@redhat.com>
7384 Avoid spurious test failures in stdlib/test-bz22786.
7385 * support/Makefile (libsupport-routines): Add blob_repeat.
7386 (tests): Add tst-support_blob_repeat.
7387 * support/blob_repeat.h: New file.
7388 * support/blob_repeat.c: Likewise.
7389 * support/tst-support_blob_repeat.c: Likewise.
7390 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7391 support_blob_repeat_allocate.
7393 2018-10-30 Andreas Schwab <schwab@suse.de>
7396 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7397 Don't use tail call.
7398 * elf/tst-unwind-main.c: New file.
7399 * elf/Makefile (tests): Add tst-unwind-main.
7400 (CFLAGS-tst-unwind-main.c): Define.
7402 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7405 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7407 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7409 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7411 * conform/glibcconform.py: Do not import shutil.
7412 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7415 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7416 critic_missing for versions before 3.4.
7417 * configure: Regenerated.
7418 * manual/install.texi (Tools for Compilation): Document
7419 requirement for Python to build glibc.
7420 * INSTALL: Regenerated.
7421 * Rules [PYTHON]: Make code unconditional.
7422 * benchtests/Makefile [PYTHON]: Likewise.
7423 * conform/Makefile [PYTHON]: Likewise.
7424 * manual/Makefile [PYTHON]: Likewise.
7425 * math/Makefile [PYTHON]: Likewise.
7427 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7429 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7430 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7431 answer to interrupt_operation, return EIEIO instead of EINTR.
7432 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7433 _hurd_intr_rpc_msg_about_to global point to start of controlled
7434 assembly snippet. Make it check canceled flag.
7435 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7436 the _hurd_intr_rpc_msg_about_to point.
7437 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7438 issue, remove cancel flag check.
7440 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7442 * scripts/build-many-glibcs.py: Remove compatibility for missing
7443 os.cpu_count and re.fullmatch.
7445 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7448 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7449 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7450 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7452 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7454 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7457 2018-10-25 Florian Weimer <fweimer@redhat.com>
7461 XFAIL siginfo_t si_band conform test on sparc64.
7462 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7463 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7465 (conformtest-xfail-conds): Add sparc64-linux.
7466 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7468 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7470 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7472 * elf/elf.h (NT_MIPS_DSP): New macro.
7473 (NT_MIPS_FP_MODE): Likewise.
7475 2018-10-25 Zong Li <zong@andestech.com>
7477 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7478 name by adding the file extension (.so).
7480 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7482 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7483 (test-xfail-ISO11/threads.h/linknamespace,
7484 test-xfail-ISO11/threads.h/conform): Add.
7486 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7488 * math/gen-libm-test.py: Import os.
7489 (ALL_FLOATS_MANUAL): New constant.
7490 (ALL_FLOATS_SUFFIX): Likewise.
7491 (Ulps.all_functions): New function.
7492 (real_all_ulps): Likewise.
7493 (generate_err_table_sub): Likewise.
7494 (generate_err_table): Likewise.
7495 (main): Handle -s and -m options.
7496 * manual/libm-err-tab.pl: Remove.
7497 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7498 instead of libm-err-tab.pl.
7499 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7501 * manual/install.texi (Tools for Compilation): Document
7502 requirement for Python to build manual.
7503 * INSTALL: Regenerated.
7505 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7507 * bits/time64.h: New file.
7508 * include/time.h: Replace internal_time_t with __time64_t.
7509 * posix/bits/types (__time64_t): Add.
7510 * stdlib/Makefile: Add bits/time64.h to includes.
7511 * time/tzfile.c: Replace internal_time_t with __time64_t.
7513 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7515 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7516 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7517 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7518 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7519 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7521 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7522 * posix/spawn_faction_addclose.c
7523 (__posix_spawn_file_actions_addclose): Add hidden definition.
7524 * posix/spawn_faction_adddup2.c
7525 (__posix_spawn_file_actions_adddup2): Likewise.
7526 * posix/spawn_faction_destroy.c
7527 (__posix_spawn_file_actions_destroy): Likewise.
7528 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7530 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7531 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7532 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7534 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7535 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7538 2018-10-24 Andreas Schwab <schwab@suse.de>
7541 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7543 * elf/cache.c (print_cache): Likewise.
7545 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7547 * bits/timesize.h: New file.
7548 * stdlib/Makefile (headers): Add bits/timesize.h.
7549 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7550 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7551 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7552 (__SEM_PAD_AFTER_TIME): Likewise.
7553 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7554 (__SHM_PAD_AFTER_TIME): Likewise.
7555 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7556 (__MSQ_PAD_BEFORE_TIME): Likewise.
7557 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7558 (__SEM_PAD_BEFORE_TIME): Likewise.
7559 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7560 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7561 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7562 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7563 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7564 (__MSQ_PAD_BEFORE_TIME): Likewise.
7565 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7566 (__SEM_PAD_BEFORE_TIME): Likewise.
7567 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7568 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7569 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7570 (__MSQ_PAD_BEFORE_TIME): Likewise.
7571 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7572 (__SEM_PAD_BEFORE_TIME): Likewise.
7573 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7574 (__SHM_PAD_BEFORE_TIME): Likewise.
7575 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7576 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7577 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7579 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7581 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7582 USE_RDTSCP is defined.
7583 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7584 USE_RDTSCP is defined.
7586 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7588 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7592 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7593 independently of other flags.
7595 2018-10-23 Florian Weimer <fweimer@redhat.com>
7597 * time/tst-mktime2.c (N_STRINGS): Remove.
7598 (set_timezone): New function.
7599 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7600 (mktime_test1): Report localtime failure and check errno value.
7602 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7603 (do_test): Remove alarm call. Use set_timezone and array_length.
7605 2018-10-23 Andreas Schwab <schwab@suse.de>
7607 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7608 (__start_context): Use END instead of PSEUDO_END.
7610 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7612 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7615 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7619 * wcsmbs/c32rtomb.c: New file.
7620 * wcsmbs/mbrtoc32.c: Likewise.
7621 * wcsmbs/tst-c32-state.c: Likewise.
7622 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7623 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7624 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7625 (tests): Add tst-c32-state.
7626 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7629 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7631 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7632 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7634 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7637 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7638 pair and return 0 in that case, and use saved character to
7639 interpret following character.
7640 * wcsmbs/tst-c16-surrogate.c: New file.
7641 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7642 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7643 Depend on $(gen-locales)
7645 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7648 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7649 (struct siginfo_t): Use correct type for si_band.
7651 2018-10-19 Florian Weimer <fweimer@redhat.com>
7654 * resource/bits/types/struct_rusage.h (struct rusage): Update
7655 comment on struct. Remove extraneous field comment.
7657 2018-10-18 David S. Miller <davem@davemloft.net>
7659 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7660 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7661 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7662 sysdep_routines in subdir elf.
7663 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7664 version for __vdso_clock_gettime.
7665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7667 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7668 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7670 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7672 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7674 * sysdeps/i386/init-arch.h: Removed.
7675 * sysdeps/i386/i586/init-arch.h: Likewise.
7676 * sysdeps/i386/i686/init-arch.h: Likewise.
7677 * sysdeps/i386/i686/hp-timing.h: Likewise.
7678 * sysdeps/x86_64/hp-timing.h: Likewise.
7679 * sysdeps/i386/isa.h: New file.
7680 * sysdeps/i386/i586/isa.h: Likewise.
7681 * sysdeps/i386/i686/isa.h: Likewise.
7682 * sysdeps/x86_64/isa.h: Likewise.
7683 * sysdeps/x86/hp-timing.h: New file.
7684 * sysdeps/x86/init-arch.h: Include <isa.h>.
7686 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7688 * math/libm-test-pow.inc (pow_test_data): Do not allow
7689 divide-by-zero exception for pow(+/- 0, -Inf).
7691 2018-10-17 Zack Weinberg <zackw@panix.com>
7693 * manual/job.texi (Job Control is Optional): Remove node, as
7694 job control has not been optional in quite some time.
7695 (Job Control): Mention briefly that systems older than
7696 POSIX.1-2001 might not support job control.
7697 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7698 defined on systems conforming to POSIX.1-2001.
7700 2018-10-17 Arjun Shankar <arjun@redhat.com>
7703 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7705 * (__gconv_read_conf): Mark function static.
7706 * (once): New static variable.
7707 * (__gconv_load_conf): New function.
7708 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7709 * iconv/gconv_db.c (once): Remove static variable.
7710 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7712 * (__gconv_find_transform): Likewise.
7713 * iconv/tst-iconv-mt.c: New test.
7714 * iconv/Makefile: Add tst-iconv_mt.
7716 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7720 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7721 (shmatt_t): Define as __syscall_ulong_t.
7722 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7723 and [__SHM_PAD_AFTER_TIME].
7724 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7725 Define shm_segsz and associated padding based on
7726 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7727 Use __syscall_ulong_t instead of unsigned long int.
7728 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7730 [__USE_MISC] (struct shm_info): Likewise.
7731 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7732 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7733 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7735 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7736 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7737 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7738 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7739 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7740 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7741 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7745 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7746 (SHMLBA): Remove macro.
7747 (__getpagesize): Remove function declaration.
7748 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7750 (SHMLBA): Remove macro.
7751 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7753 (SHMLBA): Remove macro.
7754 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7756 (SHMLBA): Remove macro.
7757 (__getpagesize): Remove function declaration.
7758 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7760 (SHMLBA): Remove macro.
7761 (__getshmlba): Remove function declaration.
7762 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7763 (SHMLBA): Remove macro.
7764 (__getpagesize): Remove function declaration.
7765 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7766 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7767 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7768 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7769 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7770 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7771 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7772 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7773 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7776 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7779 * nptl/tst-mutex10.c: New File.
7780 * nptl/Makefile (tests): Add tst-mutex10.
7781 (tst-mutex10-ENV): New variable.
7782 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7783 Ensure that elision path is used if elision is available.
7784 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7786 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7788 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7789 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7790 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7791 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7793 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7794 (__pthread_mutex_cond_lock_adjust): Likewise.
7795 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7797 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7798 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7799 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7800 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7802 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7803 Use atomic_load_relaxed and atomic_store_relaxed.
7804 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7805 Use atomic_store_relaxed.
7807 2018-10-17 Andreas Schwab <schwab@suse.de>
7809 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7810 * crypt/badsalttest.c (TIMEOUT): Likewise.
7811 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7812 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7813 * io/test-lfs.c (TIMEOUT): Likewise.
7814 * libio/tst-atime.c (TIMEOUT): Likewise.
7815 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7816 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7817 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7818 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7819 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7820 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7821 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7822 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7823 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7824 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7825 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7826 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7827 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7828 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7829 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7830 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7831 * nptl/tst-once2.c (TIMEOUT): Likewise.
7832 * nptl/tst-once3.c (TIMEOUT): Likewise.
7833 * nptl/tst-once4.c (TIMEOUT): Likewise.
7834 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7835 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7836 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7837 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7838 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7839 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7840 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7841 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7842 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7843 * posix/tst-chmod.c (TIMEOUT): Likewise.
7844 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7845 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7846 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7847 * posix/tst-regex2.c (TIMEOUT): Likewise.
7848 * posix/tst-waitid.c (TIMEOUT): Likewise.
7849 * rt/tst-aio.c (TIMEOUT): Likewise.
7850 * rt/tst-aio10.c (TIMEOUT): Likewise.
7851 * rt/tst-aio4.c (TIMEOUT): Likewise.
7852 * rt/tst-aio5.c (TIMEOUT): Likewise.
7853 * rt/tst-aio6.c (TIMEOUT): Likewise.
7854 * rt/tst-aio64.c (TIMEOUT): Likewise.
7855 * rt/tst-aio7.c (TIMEOUT): Likewise.
7856 * rt/tst-aio9.c (TIMEOUT): Likewise.
7857 * rt/tst-clock.c (TIMEOUT): Likewise.
7858 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7859 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7860 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7861 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7862 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7863 * rt/tst-timer4.c (TIMEOUT): Likewise.
7864 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7865 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7866 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7867 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7868 * time/tst-ftime.c (TIMEOUT): Likewise.
7869 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7871 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7873 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7874 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7877 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7881 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7882 instead of <bits/wordsize.h>.
7883 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7884 and [__SEM_PAD_AFTER_TIME].
7885 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7886 __syscall_ulong_t instead of unsigned long int.
7887 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7888 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7889 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7890 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7891 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7892 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7893 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7894 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7895 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7896 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7897 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7899 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7901 regex: simplify by using intprops.h
7903 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7904 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7905 intprops.h defines them.
7907 regex: __builtin_expect → __glibc_unlikely
7909 This refactoring was prompted by a problem when the regex code is
7910 used as part of Gnulib and when the builder’s compiler does not grok
7911 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7912 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7913 Although this refactoring does not fix the problem directly,
7914 we might as well have Gawk use the now-preferred glibc style for when
7915 __builtin_expect is unavailable.
7916 * posix/regex_internal.h (BE): Remove.
7917 All uses replaced by __glibc_unlikely or __glibc_likely.
7919 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7923 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7924 instead of <bits/wordsize.h>.
7925 (msgqnum_t): Define as __syscall_ulong_t.
7926 (msglen_t): Likewise.
7927 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7928 and [__MSQ_PAD_AFTER_TIME].
7929 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7930 __syscall_ulong_t instead of unsigned long int.
7931 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7932 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7933 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7934 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7935 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7936 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7937 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7938 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7939 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7941 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7943 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7945 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7946 (struct shmid_ds): Condition padding after time fields on
7948 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7949 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7950 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7952 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7953 (struct semid_ds): Condition padding after time fields on
7955 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7956 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7957 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7958 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7960 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7961 (struct msqid_ds): Condition padding after time fields on
7963 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7964 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7965 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7966 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7968 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7970 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7972 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7974 * libio/tst-readline.c (TIMEOUT): Define.
7976 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7978 mktime fix for Gnulib + coreutils
7980 This fix affects only Gnulib. Problem discovered when
7981 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7983 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7984 Do not define since it is not used. Defining an unused static
7985 function prompts a warning from GCC when Coreutils is configured
7986 with --enable-gcc-warnings.
7988 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7990 * benchtests/scripts/compare_bench.py (main): set float type on
7993 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7996 * localedata/locales/kl_GL (mon): Update, the relative case.
7997 (alt_mon): Add, fill with month names in the nominative case.
7998 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7999 (d_fmt): Set to "%b %d %Y".
8001 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8003 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8004 <bits/mman-linux.h>.
8005 (PROT_READ): Don't define here.
8006 (PROT_WRITE): Likewise.
8007 (PROT_EXEC): Likewise.
8008 (PROT_NONE): Likewise.
8009 (PROT_GROWSDOWN): Likewise.
8010 (PROT_GROWSUP): Likewise.
8011 (MAP_SHARED): Likewise.
8012 (MAP_PRIVATE): Likewise.
8013 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8014 [__USE_MISC] (MAP_FILE): Likewise.
8015 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8016 [__USE_MISC] (MAP_ANON): Likewise.
8017 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8018 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8019 (MCL_CURRENT): Likewise.
8020 (MCL_FUTURE): Likewise.
8021 (MCL_ONFAULT): Likewise.
8022 [__USE_MISC] (MADV_NORMAL): Likewise.
8023 [__USE_MISC] (MADV_RANDOM): Likewise.
8024 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8025 [__USE_MISC] (MADV_WILLNEED): Likewise.
8026 [__USE_MISC] (MADV_DONTNEED): Likewise.
8027 [__USE_MISC] (MADV_FREE): Likewise.
8028 [__USE_MISC] (MADV_REMOVE): Likewise.
8029 [__USE_MISC] (MADV_DONTFORK): Likewise.
8030 [__USE_MISC] (MADV_DOFORK): Likewise.
8031 [__USE_MISC] (MADV_HWPOISON): Likewise.
8032 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8033 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8034 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8035 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8036 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8037 (__MAP_ANONYMOUS): New macro.
8038 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8039 <bits/mman-linux.h> inclusion.
8040 (MAP_FIXED): Likewise.
8041 (MS_SYNC): Likewise.
8042 (MS_ASYNC): Likewise.
8043 (MS_INVALIDATE): Likewise.
8044 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8045 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8046 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8047 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8048 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8049 [__USE_MISC] (MADV_DODUMP): Likewise.
8050 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8051 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8054 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8056 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8057 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8058 Add test-nldbl-redirect.
8059 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8060 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8061 $(objpfx)libnldbl_nonshared.a.
8063 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8065 * support/support.h (support_objdir_elf_ldso): New variable.
8066 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8067 * support/Makefile (CFLAGS-support_paths.c): Add definition
8068 for OBJDIR_ELF_LDSO_PATH.
8069 * support/test-container.c (main): Search for the ld.so
8070 which is also used by the testsuite.
8072 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8075 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8076 should be "sap" rather than "sab".
8077 (day): Fix spelling of Sunday, should be "sapaat" rather than
8080 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8082 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8084 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8087 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8088 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8089 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8091 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8093 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8095 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8097 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8099 (CFLAGS-elision-unlock.c): Likewise.
8100 (CFLAGS-elision-timed.c): Likewise.
8101 (CFLAGS-elision-trylock.c): Likewise.
8102 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8104 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8107 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8108 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8109 new fd_to_filename interface.
8110 * libio/freopen64.c (freopen64): Likewise.
8111 * libio/tst-memstream.h: New file.
8112 * libio/tst-memstream4.c: Likewise.
8113 * libio/tst-wmemstream4.c: Likewise.
8114 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8115 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8116 and remove internal dynamic allocation.
8118 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8120 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8121 (MREMAP_MAYMOVE): Do not define here.
8122 [__USE_GNU] (MREMAP_FIXED): Likewise.
8123 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8124 (MREMAP_MAYMOVE): Define here instead.
8125 [__USE_GNU] (MREMAP_FIXED): Likewise.
8126 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8127 (MREMAP_MAYMOVE): Remove.
8128 [__USE_GNU] (MREMAP_FIXED): Likewise.
8130 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8132 * math/fromfp.h: Do not include <math_private.h>.
8133 * math/s_cacosh_template.c: Likewise.
8134 * math/s_casin_template.c: Likewise.
8135 * math/s_casinh_template.c: Likewise.
8136 * math/s_ccos_template.c: Likewise.
8137 * math/s_cproj_template.c: Likewise.
8138 * math/s_fdim_template.c: Likewise.
8139 * math/s_fmaxmag_template.c: Likewise.
8140 * math/s_fminmag_template.c: Likewise.
8141 * math/s_iseqsig_template.c: Likewise.
8142 * math/s_ldexp_template.c: Likewise.
8143 * math/s_nextdown_template.c: Likewise.
8144 * math/w_log1p_template.c: Likewise.
8145 * math/w_scalbln_template.c: Likewise.
8146 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8147 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8148 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8149 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8150 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8151 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8152 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8153 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8154 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8155 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8156 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8157 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8158 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8159 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8160 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8161 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8162 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8167 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8168 * sysdeps/ieee754/k_standardf.c: Likewise.
8169 * sysdeps/ieee754/k_standardl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8172 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8176 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8177 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8178 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8179 * sysdeps/ieee754/s_signgam.c: Likewise.
8180 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8181 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8182 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8183 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8184 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8185 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8186 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8187 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8188 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8189 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8190 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8191 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8192 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8193 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8194 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8195 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8196 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8197 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8198 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8199 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8200 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8201 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8202 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8203 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8204 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8205 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8206 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8207 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8208 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8209 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8210 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8211 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8212 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8213 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8214 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8215 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8216 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8218 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8220 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8223 * sysdeps/i386/dl-cet.c: Removed.
8224 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8226 (_dl_runtime_profile_shstk): Likewise.
8227 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8228 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8230 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8233 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8234 do_test_with_invalid_iov): New tests.
8235 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8236 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8237 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8239 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8240 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8241 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8243 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8245 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8246 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8247 (MATH_REDIRECT_BINARY_ARGS): New macro.
8248 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8249 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8250 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8252 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8254 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8255 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8265 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8266 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8271 * sysdeps/generic/math_private_calls.h
8272 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8273 Do not declare and define as an inline function.
8274 * math/divtc3.c (__divtc3): Use copysign functions instead of
8275 __copysign variants.
8276 * math/multc3.c (__multc3): Likewise.
8277 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8278 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8279 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8280 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8282 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8283 (__ieee754_yn): Likewise.
8284 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8285 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8286 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8287 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8288 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8290 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8297 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8298 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8300 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8301 (__ieee754_ynf): Likewise.
8302 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8303 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8304 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8305 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8307 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8308 (__ieee754_ynl): Likewise.
8309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8314 (__ieee754_ynl): Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8320 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8323 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8324 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8325 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8326 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8328 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8329 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8330 using MATH_REDIRECT.
8331 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8333 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8336 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8337 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8344 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8345 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8347 (round): Redirect to __round.
8348 (__roundl): Call round instead of __round.
8349 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8351 [_ARCH_PWR5X] (__roundf): Likewise.
8352 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8353 functions instead of __round variants.
8354 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8355 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8357 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8361 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8364 (__ieee754_expl): Call roundl instead of __roundl.
8366 2018-09-27 Andreas Schwab <schwab@suse.de>
8369 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8370 (do_test): Make st1 static.
8372 2018-09-26 Andreas Schwab <schwab@suse.de>
8375 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8376 * elf/Makefile (tests): Add tst-unwind-ctor.
8377 (modules-names): Add tst-unwind-ctor-lib.
8378 ($(objpfx)tst-unwind-ctor): Depend on
8379 $(objpfx)tst-unwind-ctor-lib.so.
8381 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8383 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8384 file. Most contents moved from ....
8385 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8386 and include <bits/mman-map-flags-generic.h>.
8387 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8388 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8389 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8390 <bits/mman-map-flags-generic.h>.
8391 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8392 macros defined in <bits/mman-map-flags-generic.h>.
8393 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8394 <bits/mman-map-flags-generic.h>.
8395 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8396 defined in <bits/mman-map-flags-generic.h>.
8398 2018-09-26 Andreas Schwab <schwab@suse.de>
8400 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8403 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8404 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8405 Fangrui Song <maskray@google.com>
8408 * config.make.in (have-textrel_ifunc): New define.
8409 * configure.ac: Add check if linker supports textrel relocation with
8411 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8413 (CFLAGS-tst-ifunc-textrel.c): New rule.
8414 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8415 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8416 * elf/tst-ifunc-textrel.c: New file.
8418 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8420 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8421 <bits/procfs-prregset.h>.
8422 (prgregset_t): Define using __prgregset_t.
8423 (prfpregset_t): Define using __prfpregset_t.
8424 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8425 (sysdep_headers): Add bits/procfs-prregset.h.
8426 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8427 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8428 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8429 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8431 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8432 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8433 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8435 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8436 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8437 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8438 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8439 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8440 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8441 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8442 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8443 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8444 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8445 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8446 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8447 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8448 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8449 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8450 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8451 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8452 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8453 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8454 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8455 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8456 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8457 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8458 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8460 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8461 AArch64 version. Include <bits/procfs.h>.
8462 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8463 (sysdep_headers): Add bits/procfs.h.
8464 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8465 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8466 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8467 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8468 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8469 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8470 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8471 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8472 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8473 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8474 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8475 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8476 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8477 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8478 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8479 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8480 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8482 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8484 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8487 2018-09-25 Arjun Shankar <arjun@redhat.com>
8489 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8490 (__gconv_max_path_elem_len): Likewise.
8491 (__gconv_nmodules): Likewise.
8492 (__gconv_get_path): Likewise.
8493 (path_elem): Move to ...
8494 * iconv/gconv_conf.c: ... here.
8495 (__gconv_get_path): Mark function static.
8496 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8497 * iconv/gconv_open.c: ... here.
8499 2018-09-24 Andreas Schwab <schwab@suse.de>
8501 * scripts/haveversions.awk: New file.
8502 * Makerules ($(common-objpfx)Versions.def)
8503 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8504 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8506 * Makeconfig ($(common-objpfx)Versions.def)
8507 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8508 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8510 ($(common-objpfx)Versions.mk): New rule. Include it.
8511 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8512 Emit error if build-obsolete-nsl = yes.
8513 * manual/install.texi (Configuring and compiling): Describe
8514 --enable-obsolete-nsl as unavaiable after version 2.28.
8515 * INSTALL: Regenerate.
8517 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8519 * NEWS: Add note about new TLE support on powerpc64le.
8520 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8521 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8523 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8524 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8525 * sysdeps/powerpc/powerpc32/sysdep.h,
8526 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8527 ABORT_TRANSACTION): Remove macros.
8528 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8530 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8532 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8533 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8535 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8537 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8540 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8541 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8542 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8543 which is the same as in it_IT.
8544 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8545 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8547 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8549 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8550 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8551 using MATH_REDIRECT.
8552 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8554 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8556 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8558 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8564 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8565 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8566 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8567 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8568 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8569 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8570 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8572 (ceil): Redirect to __ceil.
8573 (floor): Redirect to __floor.
8574 (trunc): Redirect to __trunc.
8575 (__truncl): Call trunc instead of __trunc.
8576 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8578 [_ARCH_PWR5X] (__truncf): Likewise.
8579 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8580 trunc functions instead of __trunc variants.
8581 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8583 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8585 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8587 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8590 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8591 [__i586__ || __pentium__].
8592 [__i486__]: Handle explicitly.
8593 (HAS_CPUID): Define to 1 if above macros are undefined.
8594 (HAS_I586): Likewise.
8595 (HAS_I686): Likewise.
8597 2018-09-20 Florian Weimer <fweimer@redhat.com>
8599 * misc/tst-gethostid.c: New file.
8600 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8601 (tst-gethostid): Link with -ldl.
8603 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8605 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8606 value from gethostbyname_r.
8608 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8610 * stdlib/tst-setcontext9.c (f1): Rename to...
8612 (f1b): New function implementing lower half of f1 in alternate stack.
8614 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8616 Fix mktime localtime offset confusion
8618 * include/time.h (__mktime_internal): The localtime offset is now
8619 of type long int instead of time_t. This is the longstanding type
8620 in glibc, and it is more than enough to represent difference
8621 between localtime and gmtime even if it is 32 bits and time_t is
8622 64. Changing it now will let us avoid an unnecessary change when
8623 time_t is widened to 64 bits on 32-bit platforms.
8624 * time/mktime-internal.h (mktime_offset_t): Now long int.
8626 Merge mktime, timegm from upstream Gnulib
8627 [BZ #23603][BZ #16346]
8628 This fixes some obscure problems with integer overflow.
8629 Although it looks scary, it is almost all a byte-for-byte copy
8630 from Gnulib, and the Gnulib code has been tested reasonably well.
8631 * include/intprops.h: New file, copied from Gnulib.
8632 * include/verify.h, time/mktime-internal.h:
8633 New tiny files, simplified from Gnulib.
8634 * time/mktime.c: Copy from Gnulib. This has the following changes:
8635 Do not include config.h if DEBUG_MKTIME is nonzero.
8636 Include stdbool.h, intprops.h, verify.h.
8637 Include string.h only if needed.
8638 Include stdlib.h on MS-Windows.
8639 Include mktime-internal.h.
8640 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8641 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8642 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8643 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8644 simplify later conditionals; default the others to zero. Use
8645 these conditionals to express only the code needed on the current
8646 platform. In uses of these conditionals, explicitly spell out how
8647 _LIBC affects things, so it’s easier to review from a glibc
8649 (WRAPV): Remove; no longer needed now that we have
8650 systematic overflow checking.
8651 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8652 compartmentalize tzset issues. Move system-dependent tzsettish
8653 code here from mktime.
8654 (verify): Remove; now done by verify.h. All uses changed.
8655 (long_int): Use a more-conservative definition, to avoid
8657 (SHR): Remove, replacing with ...
8658 (shr): New function, which means we needn’t worry about side
8659 effects in args, and conversion analysis is simpler.
8660 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8661 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8662 (time_t_avg, time_t_add_ok): Remove.
8663 (mktime_min, mktime_max): New constants.
8664 (leapyear, isdst_differ): Use bool for booleans.
8665 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8666 Use long_int, not time_t, for mktime differences.
8667 (long_int_avg): New function, replacing time_t_avg.
8668 INT_ADD_WRAPV replaces time_t_add_ok.
8669 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8671 (convert_time): New function.
8672 (ranged_convert): Use it.
8673 (__mktime_internal): Last arg now points to mktime_offset_t, not
8674 time_t. All uses changed. This is a no-op on glibc, where
8675 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8676 offset guess. Directly check for integer overflow instead of
8677 using a heuristic that works only 99.9...% of the time.
8678 Access *OFFSET only once, to avoid an unlikely race if the
8679 compiler delays a load and if this cascades into a signed integer
8681 (mktime): Move tzsettish code to my_tzset, and move
8682 localtime_offset to within mktime so that it doesn’t
8683 need a separate ifdef.
8684 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8685 instead of localtime.
8686 * time/timegm.c: Copy from Gnulib. This has the following changes:
8687 Include mktime-internal.h.
8688 [!_LIBC]: Include config.h and time.h. Do not include
8689 timegm.h or time_r.h. Make __mktime_internal a macro,
8690 and include mktime-internal.h to get its declaration.
8691 (timegm): Temporary is now mktime_offset_t, not time_t.
8692 This affects only Gnulib.
8694 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8697 * string/test-strstr.c (pr23637): New function.
8698 (test_main): Add tests with longer needles.
8699 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8700 * string/strstr.c (AVAILABLE): Likewise.
8702 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8704 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8706 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8708 * NEWS: Mention pow improvements.
8709 * math/Makefile (type-double-routines): Add e_pow_log_data.
8710 * sysdeps/generic/math_private.h (__exp1): Remove.
8711 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8712 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8713 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8715 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8716 (exp_inline): Remove.
8717 (__ieee754_exp): Only single double input is handled.
8718 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8719 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8720 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8721 (__pow_log_data): Define.
8722 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8723 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8724 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8725 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8727 (CFLAGS-e_pow-fma4.c): Likewise.
8729 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8731 Simplify tzfile fstat failure code
8733 * time/tzfile.c (__tzfile_read): Simplify slightly.
8735 Fix tzfile low-memory assertion failure
8737 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8738 when registering time zone abbreviations.
8740 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8742 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8743 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8744 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8745 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8746 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8747 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8748 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8754 (__ceill): Call ceil instead of __ceil.
8755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8757 (__floorl): Call floor instead of __floor.
8759 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8761 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8762 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8763 using MATH_REDIRECT.
8764 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8766 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8769 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8770 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8773 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8778 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8779 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8782 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8783 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8784 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8786 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8787 functions instead of __ceil variants.
8788 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8789 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8793 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8796 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8797 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8800 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8802 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8803 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8804 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8805 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8806 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8807 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8808 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8809 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8810 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8811 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8812 (ILL_BADIADDR): Remove constant.
8813 (TRAP_BRANCH): Likewise.
8814 (TRAP_HWBKPT): Likewise.
8816 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8819 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8820 Remove [_MIPS_SIM = _ABIN32] conditional case.
8821 (struct elf_prpsinfo): Likewise.
8824 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8825 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8826 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8828 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8829 elf_prpsinfo): Likewise.
8830 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8831 elf_prpsinfo): Likewise.
8832 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8835 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8836 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8837 using MATH_REDIRECT.
8838 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8840 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8841 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8842 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8843 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8846 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8847 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8850 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8851 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8852 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8853 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8854 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8855 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8856 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8857 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8858 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8863 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8864 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8865 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8866 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8868 * math/e_scalbf.c (invalid_fn): Likewise.
8869 * math/e_scalbl.c (invalid_fn): Likewise.
8870 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8872 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8874 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8875 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8876 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8878 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8880 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8882 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8883 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8885 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8886 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8888 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8889 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8890 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8891 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8892 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8893 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8894 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8895 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8896 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8897 && !NO_MATH_REDIRECT] (floor): Likewise.
8898 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8900 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8903 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8904 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8907 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8912 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8913 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8916 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8917 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8918 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8920 [_ARCH_PWR5X] (__floorf): Likewise.
8921 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8923 [__SSE4_1__] (__floorf): Likewise.
8924 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8925 instead of __floor variants.
8926 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8927 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8928 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8929 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8930 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8931 * math/w_tgamma_compat.c (__tgamma): Likewise.
8932 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8933 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8934 * math/w_tgammal_compat.c (__tgammal): Likewise.
8935 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8936 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8938 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8939 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8940 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8943 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8944 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8946 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8952 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8953 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8954 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8955 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8956 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8957 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8959 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8961 * elf/Makefile (modules-names-tests): New variable.
8963 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8965 * NEWS: Mention log2 improvements.
8966 * math/Makefile (type-double-routines): Add e_log2_data.
8967 * sysdeps/i386/fpu/e_log2_data.c: New file.
8968 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8969 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8970 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8971 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8972 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8973 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8975 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8977 * NEWS: Mention log improvement.
8978 * math/Makefile (type-double-routines): Add e_log_data.
8979 * sysdeps/i386/fpu/e_log_data.c: New file.
8980 * sysdeps/ia64/fpu/e_log_data.c: New file.
8981 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8982 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8983 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8984 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8985 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8986 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8988 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8989 Xuepeng Guo <xuepeng.guo@intel.com>
8992 * sysdeps/i386/start.S: Include <sysdep.h>
8993 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8994 enabled. Add cfi_undefined (eip).
8996 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8998 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9000 (EXTRACT_WORDS64): Likewise.
9001 (INSERT_WORDS64): Likewise.
9002 (GET_FLOAT_WORD): Likewise.
9003 (SET_FLOAT_WORD): Likewise.
9005 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9007 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9008 build, but not for second build if --full-gcc. Use
9009 --enable-languages=all for second build if --full-gcc.
9010 (get_parser): Add --full-gcc option.
9011 (main): Update call to Context.
9013 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9016 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9017 Single Quotation Mark).
9018 (thousands_sep): Likewise.
9019 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9020 * localedata/locales/it_IT (thousands_sep): Use ".".
9021 (grouping): Use "3;3".
9023 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9025 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9026 x86_64 and i686 configs using --enable-obsolete-rpc
9027 --enable-obsolete-nsl.
9029 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9031 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9033 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9035 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9036 Increment size of new_argv by one.
9038 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9041 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9042 * localedata/locales/ar_IN (d_fmt): Likewise.
9043 * localedata/locales/bhb_IN (d_fmt): Likewise.
9044 * localedata/locales/bho_IN (d_fmt): Likewise.
9045 * localedata/locales/bn_BD (d_fmt): Likewise.
9046 * localedata/locales/bn_IN (d_fmt): Likewise.
9047 * localedata/locales/doi_IN (d_fmt): Likewise.
9048 * localedata/locales/gu_IN (d_fmt): Likewise.
9049 * localedata/locales/hi_IN (d_fmt): Likewise.
9050 * localedata/locales/hne_IN (d_fmt): Likewise.
9051 * localedata/locales/kn_IN (d_fmt): Likewise.
9052 * localedata/locales/mag_IN (d_fmt): Likewise.
9053 * localedata/locales/mai_IN (d_fmt): Likewise.
9054 * localedata/locales/mjw_IN (d_fmt): Likewise.
9055 * localedata/locales/ml_IN (d_fmt): Likewise.
9056 * localedata/locales/mni_IN (d_fmt): Likewise.
9057 * localedata/locales/mr_IN (d_fmt): Likewise.
9058 * localedata/locales/pa_IN (d_fmt): Likewise.
9059 * localedata/locales/raj_IN (d_fmt): Likewise.
9060 * localedata/locales/sat_IN (d_fmt): Likewise.
9061 * localedata/locales/sd_IN (d_fmt): Likewise.
9062 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9063 * localedata/locales/ta_IN (d_fmt): Likewise.
9064 * localedata/locales/ta_LK (d_fmt): Likewise.
9065 * localedata/locales/tcy_IN (d_fmt): Likewise.
9066 * localedata/locales/ur_IN (d_fmt): Likewise.
9068 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9069 * localedata/locales/ks_IN (d_fmt): Likewise.
9070 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9072 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9073 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9074 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9075 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9077 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9079 * NEWS: Mention exp and exp2 improvements.
9080 * math/Makefile (libm-support): Remove t_exp.
9081 (type-double-routines): Add math_err and e_exp_data.
9082 * sysdeps/aarch64/libm-test-ulps: Update.
9083 * sysdeps/arm/libm-test-ulps: Update.
9084 * sysdeps/i386/fpu/e_exp_data.c: New file.
9085 * sysdeps/i386/fpu/math_err.c: New file.
9086 * sysdeps/i386/fpu/t_exp.c: Remove.
9087 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9088 * sysdeps/ia64/fpu/math_err.c: New file.
9089 * sysdeps/ia64/fpu/t_exp.c: Remove.
9090 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9091 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9092 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9094 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9095 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9096 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9097 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9098 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9099 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9100 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9101 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9102 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9103 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9107 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9109 * sysdeps/alpha/fpu/math_private.h: Remove.
9111 * sysdeps/generic/math_private.h
9112 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9113 Move this inline function ....
9114 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9115 * include/math.h [!_ISOMAC]: To here....
9117 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9119 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9121 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9122 * include/fenv.h [!_ISOMAC]: ... to here.
9123 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9124 (feraiseexcept): Likewise.
9125 * math/fromfp.h: Do not include <fenv_private.h>.
9126 * math/s_cexp_template.c: Likewise.
9127 * math/s_csin_template.c: Likewise.
9128 * math/s_csinh_template.c: Likewise.
9129 * math/s_ctan_template.c: Likewise.
9130 * math/s_ctanh_template.c: Likewise.
9131 * math/s_iseqsig_template.c: Likewise.
9132 * math/w_acos_compat.c: Likewise.
9133 * math/w_acosf_compat.c: Likewise.
9134 * math/w_acosl_compat.c: Likewise.
9135 * math/w_asin_compat.c: Likewise.
9136 * math/w_asinf_compat.c: Likewise.
9137 * math/w_asinl_compat.c: Likewise.
9138 * math/w_j0_compat.c: Likewise.
9139 * math/w_j0f_compat.c: Likewise.
9140 * math/w_j0l_compat.c: Likewise.
9141 * math/w_j1_compat.c: Likewise.
9142 * math/w_j1f_compat.c: Likewise.
9143 * math/w_j1l_compat.c: Likewise.
9144 * math/w_jn_compat.c: Likewise.
9145 * math/w_jnf_compat.c: Likewise.
9146 * math/w_log10_compat.c: Likewise.
9147 * math/w_log10f_compat.c: Likewise.
9148 * math/w_log10l_compat.c: Likewise.
9149 * math/w_log2_compat.c: Likewise.
9150 * math/w_log2f_compat.c: Likewise.
9151 * math/w_log2l_compat.c: Likewise.
9152 * math/w_log_compat.c: Likewise.
9153 * math/w_logf_compat.c: Likewise.
9154 * math/w_logl_compat.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9160 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9161 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9162 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9163 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9164 * sysdeps/ieee754/k_standardl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9177 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9182 * math/w_ilogb_template.c: Include <fenv.h> instead of
9184 * math/w_llogb_template.c: Likewise.
9185 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9186 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9188 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9190 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9191 * math/fromfp.h: Include <fenv_private.h>.
9192 * math/math-narrow.h: Likewise.
9193 * math/s_cexp_template.c: Likewise.
9194 * math/s_csin_template.c: Likewise.
9195 * math/s_csinh_template.c: Likewise.
9196 * math/s_ctan_template.c: Likewise.
9197 * math/s_ctanh_template.c: Likewise.
9198 * math/s_iseqsig_template.c: Likewise.
9199 * math/w_acos_compat.c: Likewise.
9200 * math/w_acosf_compat.c: Likewise.
9201 * math/w_acosl_compat.c: Likewise.
9202 * math/w_asin_compat.c: Likewise.
9203 * math/w_asinf_compat.c: Likewise.
9204 * math/w_asinl_compat.c: Likewise.
9205 * math/w_ilogb_template.c: Likewise.
9206 * math/w_j0_compat.c: Likewise.
9207 * math/w_j0f_compat.c: Likewise.
9208 * math/w_j0l_compat.c: Likewise.
9209 * math/w_j1_compat.c: Likewise.
9210 * math/w_j1f_compat.c: Likewise.
9211 * math/w_j1l_compat.c: Likewise.
9212 * math/w_jn_compat.c: Likewise.
9213 * math/w_jnf_compat.c: Likewise.
9214 * math/w_llogb_template.c: Likewise.
9215 * math/w_log10_compat.c: Likewise.
9216 * math/w_log10f_compat.c: Likewise.
9217 * math/w_log10l_compat.c: Likewise.
9218 * math/w_log2_compat.c: Likewise.
9219 * math/w_log2f_compat.c: Likewise.
9220 * math/w_log2l_compat.c: Likewise.
9221 * math/w_log_compat.c: Likewise.
9222 * math/w_logf_compat.c: Likewise.
9223 * math/w_logl_compat.c: Likewise.
9224 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9225 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9226 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9227 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9231 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9232 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9252 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9253 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9254 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9256 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9257 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9258 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9259 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9260 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9261 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9262 * sysdeps/ieee754/k_standardl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9294 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9299 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9300 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9301 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9302 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9303 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9304 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9305 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9306 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9307 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9308 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9309 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9310 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9311 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9312 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9313 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9314 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9315 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9316 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9317 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9318 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9319 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9320 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9321 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9322 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9323 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9324 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9325 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9326 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9327 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9328 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9329 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9330 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9331 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9332 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9333 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9335 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9338 * include/stdio.h (__libc_fatal): Mention newline in comment.
9339 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9340 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9342 * nss/nsswitch.c (__nss_next2): Likewise.
9343 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9344 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9345 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9346 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9347 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9348 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9349 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9350 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9351 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9352 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9353 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9354 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9355 (__netlink_assert_response): Likewise.
9357 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9359 * conform/glibcconform.py: New file.
9360 * conform/list-header-symbols.py: Likewise.
9361 * conform/list-header-symbols.pl: Remove.
9362 * conform/Makefile (tests-special): Only add linknamespace tests
9364 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9366 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9369 * support/Makefile (libsupport-routines): Add
9370 support_copy_file_range and xcopy_file_range.
9371 * support/support.h: Include <sys/types.h>.
9372 (support_copy_file_range): New prototype.
9373 * support/support_copy_file_range.c: New file. Copied and
9374 modified from io/copy_file_range-compat.c.
9375 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9376 instead of copy_file_range.
9377 * support/xcopy_file_range.c: New file.
9378 * support/xunistd.h (xcopy_file_range): New prototype.
9380 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9382 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9383 xpthread_create and xpthread_join.
9385 2018-08-30 Florian Weimer <fweimer@redhat.com>
9387 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9389 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9391 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9394 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9396 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9397 and minus_oflow as non-finite.
9399 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9401 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9402 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9403 moved to fenv_private.h except for ...
9404 (TOINT_INTRINSICS): Kept in math_private.h.
9405 (roundtoint): Likewise.
9406 (converttoint): Likewise.
9407 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9408 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9409 * sysdeps/arm/math_private.h: Remove.
9410 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9412 * sysdeps/generic/math_private.h: ... this file. Include
9413 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9414 Include <fenv_private.h>. Remove functions and macros moved to
9416 * sysdeps/i386/fpu/math_private.h: Remove.
9417 * sysdeps/mips/math_private.h: Move to ....
9418 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9419 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9420 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9421 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9422 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9423 * sysdeps/powerpc/fpu/math_private.h: Do not include
9425 * sysdeps/riscv/rvf/math_private.h: Move to ....
9426 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9427 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9429 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9430 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9431 * sysdeps/sparc/fpu/math_private.h: Remove.
9432 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9433 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9434 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9436 * sysdeps/x86_64/fpu/math_private.h: Do not include
9437 <sysdeps/i386/fpu/fenv_private.h>.
9439 2018-08-28 Florian Weimer <fweimer@redhat.com>
9442 * posix/tst-regcomp-truncated.c: New file.
9443 * posix/Makefile (tests): Add it.
9444 (tst-regcomp-truncated.out): Depend on generated locales.
9446 2018-08-28 Florian Weimer <fweimer@redhat.com>
9448 * support/test-container.c (main): Treat unshare failure with
9449 EPERM as an unsupported test.
9451 2018-08-28 Florian Weimer <fweimer@redhat.com>
9454 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9455 * nscd/netgroupcache.c
9456 (addgetnetgrentX): Add tofreep parameter. Do not free
9457 heap-allocated buffer.
9458 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9459 (addgetnetgrentX_ignore): New function.
9460 (addgetnetgrent): Call it.
9461 (readdgetnetgrent): Likewise.
9463 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9465 * string/memmem.c: Use memcmp for first match.
9467 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9470 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9472 2018-08-27 DJ Delorie <dj@redhat.com>
9474 * support/Makefile (others): Don't list programs explicitly as a
9475 dependency of "others".
9477 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9479 * sysdeps/generic/math-tests-trap-force.h: New file.
9480 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9481 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9482 * sysdeps/powerpc/math-tests.h: Remove file.
9483 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9485 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9486 Torvald Riegel <triegel@redhat.com>
9489 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9490 Update r to include the set wake-request flag if waiters are
9491 remaining after spinning.
9493 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9495 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9497 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9500 regex: fix uninitialized memory access
9501 I introduced this bug into gnulib in commit
9502 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9503 eventually it was merged into glibc. The bug was found by
9504 project-repo <bugs@feusi.co> and reported here:
9505 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9506 Diagnosis and draft fix reported by Assaf Gordon here:
9507 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9508 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9509 * posix/regex_internal.c (build_wcs_upper_buffer):
9510 Fix bug when mbrtowc returns 0.
9512 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9514 * po/be.po: Update translation.
9516 2018-08-24 DJ Delorie <dj@delorie.com>
9518 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9521 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9524 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9525 create temporary files in source tree.
9527 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9529 * sysdeps/generic/math-tests-trap.h: New file.
9530 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9531 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9532 * sysdeps/aarch64/math-tests.h: Remove file.
9533 * sysdeps/arm/math-tests.h: Likewise.
9534 * sysdeps/riscv/math-tests.h: Likewise.
9535 * sysdeps/aarch64/math-tests-trap.h: New file.
9536 * sysdeps/arm/math-tests-trap.h: Likewise.
9537 * sysdeps/riscv/math-tests-trap.h: Likewise.
9539 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9541 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9542 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9543 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9544 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9545 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9546 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9550 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9551 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9552 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9553 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9554 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9555 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9556 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9557 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9558 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9560 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9562 * sysdeps/generic/math-tests-exceptions.h: New file.
9563 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9564 (EXCEPTION_TESTS_float): Do not define here.
9565 (EXCEPTION_TESTS_double): Likewise.
9566 (EXCEPTION_TESTS_long_double): Likewise.
9567 (EXCEPTION_TESTS_float128): Likewise.
9568 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9570 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9571 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9572 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9573 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9574 * sysdeps/mips/math-tests.h: Likewise.
9575 * sysdeps/nios2/math-tests.h: Likewise.
9576 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9577 (EXCEPTION_TESTS_float): Do not define here.
9578 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9579 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9580 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9582 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9584 * NEWS: Move optimized sinf entry to 2.29.
9586 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9588 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9590 2018-08-22 DJ Delorie <dj@redhat.com>
9592 * Makefile (testroot.pristine): New rules to initialize the
9593 test-in-container "testroot".
9594 * Makerules (all-testsuite): Add tests-container.
9595 * Rules (tests-expected): Add tests-container.
9596 (binaries-all-tests): Likewise.
9597 (tests-container): New, run these tests in the testroot container.
9598 * support/Makefile (others): Add *-container, support_paths.c,
9599 xmkdirp, and links-dso-program.
9600 * support/links-dso-program-c.c: New.
9601 * support/links-dso-program.cc: New.
9602 * support/test-container.c: New.
9603 * support/shell-container.c: New.
9604 * support/echo-container.c: New.
9605 * support/true-container.c: New.
9606 * support/xmkdirp.c: New.
9607 * support/xsymlink.c: New.
9608 * support/support_paths.c: New.
9609 * support/support.h: Add support paths prototypes.
9610 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9612 * nss/tst-nss-test3.c: Convert to test-in-container.
9613 * nss/tst-nss-test3.root/: New.
9615 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9617 regex: port Gnulib code to z/OS POSIX environment
9618 Problem reported by Arnold Robbins in:
9619 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9620 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9623 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9625 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9626 (ROUNDING_TESTS_double): Remove.
9627 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9628 (ROUNDING_TESTS_double): Remove.
9629 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9630 (ROUNDING_TESTS_double): Remove.
9631 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9632 (ROUNDING_TESTS_float): Remove.
9633 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9634 (ROUNDING_TESTS_float): Remove.
9635 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9636 (ROUNDING_TESTS_float): Remove.
9637 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9639 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9640 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9642 * sysdeps/generic/math-tests-rounding.h: New file.
9643 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9644 (ROUNDING_TESTS_float): Do not define here.
9645 (ROUNDING_TESTS_double): Likewise.
9646 (ROUNDING_TESTS_long_double): Likewise.
9647 (ROUNDING_TESTS_float128): Likewise.
9648 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9649 (ROUNDING_TESTS_double): Undefine before defining.
9650 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9651 (ROUNDING_TESTS_double): Undefine before defining.
9652 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9653 (ROUNDING_TESTS_double): Undefine before defining.
9654 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9655 (ROUNDING_TESTS_float): Undefine before defining.
9656 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9657 (ROUNDING_TESTS_float): Undefine before defining.
9658 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9659 (ROUNDING_TESTS_float): Undefine before defining.
9660 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9661 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9663 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9664 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9665 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9666 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9667 (ROUNDING_TESTS_float): Do not define here.
9668 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9669 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9670 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9671 (ROUNDING_TESTS_float): Likewise.
9672 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9673 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9674 * sysdeps/mips/math-tests.h [__mips_soft_float]
9675 (ROUNDING_TESTS_float): Likewise.
9676 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9677 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9678 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9679 (ROUNDING_TESTS_double): Likewise.
9680 (ROUNDING_TESTS_long_double): Likewise.
9682 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9684 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9685 (PF_XDP): New macro.
9686 (AF_XDP): New macro.
9687 (SOL_XDP): New macro.
9689 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9691 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9692 (TCP_INQ): Likewise.
9693 (TCP_CM_INQ): Likewise.
9694 (TCP_REPAIR_ON): Likewise.
9695 (TCP_REPAIR_OFF): Likewise.
9696 (TCP_REPAIR_OFF_NO_WP): Likewise.
9697 (struct tcp_zerocopy_receive): New type.
9699 2018-08-21 Florian Weimer <fweimer@redhat.com>
9701 * support/support.h (support_descriptor_supports_holes): Declare.
9702 * support/Makefile (libsupport-routines): Add
9703 support_descriptor_supports_holes.
9704 * support/support_descriptor_supports_holes.c: New file.
9705 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9706 and stop testing if holes are not supported.
9707 * io/test-lfs.c (do_prepare): Likewise.
9708 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9710 * timezone/tst-tzset.c (create_tz_file): Likewise.
9711 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9713 (do_prepare): Set it.
9714 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9716 2018-08-21 Florian Weimer <fweimer@redhat.com>
9719 * Makeconfig (+cflags): Do not sort (and deduplicate).
9721 2018-08-21 Florian Weimer <fweimer@redhat.com>
9723 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9724 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9726 2018-08-20 Florian Weimer <fweimer@redhat.com>
9728 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9729 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9731 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9733 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9734 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9735 and ssi_arch members.
9737 * elf/elf.c (NT_VMCOREDD): New macro.
9738 (AT_MINSIGSTKSZ): Likewise.
9740 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9743 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9744 s_cosf-ppc64 and s_cosf-power8.
9745 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9746 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9747 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9748 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9755 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9756 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9758 2018-08-17 Florian Weimer <fweimer@redhat.com>
9760 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9762 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9764 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9766 2018-08-16 Florian Weimer <fweimer@redhat.com>
9768 * configure.ac: Add --with-nonshared-cflags option.
9769 * config.make.in (extra-nonshared-cflags): Set variable.
9770 * Makeconfig (CFLAGS-.oS): Use it.
9771 * manual/install.texi (Configuring and compiling): Document
9772 --with-nonshared-cflags.
9773 * configure: Regenerate.
9774 * INSTALL: Likewise.
9776 2018-08-16 Florian Weimer <fweimer@redhat.com>
9778 * Makeconfig (ASFLAGS): Always append required assembler flags.
9780 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9782 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9783 (malloc_consolidate): Likewise.
9785 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9787 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9789 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9791 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9794 * benchtests/bench-strlen.c: Print performance numbers in json.
9796 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9798 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9799 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9800 only for little endian.
9801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9802 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9803 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9804 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9805 Add check for little endian.
9806 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9807 (__strcmp_power9): Add check for little endian.
9808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9809 Add check for little endian.
9810 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9811 (__strncmp_power9): Add check for little endian.
9812 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9813 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9814 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9815 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9816 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9818 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9820 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9821 [!STRLEN](STRLEN): Set to __strlen.
9822 * sysdeps/aarch64/multiarch/strlen.c: New file.
9823 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9824 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9825 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9826 (__libc_ifunc_impl_list): Add strlen.
9827 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9828 strlen_generic and strlen_asimd.
9830 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9832 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9833 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9834 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9836 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9838 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9840 2018-08-14 Florian Weimer <fweimer@redhat.com>
9843 * include/stdio.h (__vfxprintf): Declare.
9844 * stdio-common/fxprintf.c (__vfxprintf): New function.
9845 (__fxprintf): Call it.
9846 * misc/err.c (convert_and_print): Remove function.
9847 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9848 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9849 * misc/Makefile (tests): Add tst-warn-wide.
9850 * misc/tst-warn-wide.c: New file.
9852 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9853 Szabolcs Nagy <szabolcs.nagy@arm.com>
9855 * NEWS: Mention sinf, cosf, sincosf.
9856 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9857 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9858 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9859 constants rather than including generic sincosf.h.
9860 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9861 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9862 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9863 (reduced_cos): Remove.
9864 (sinf_poly): New function.
9865 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9867 2018-08-14 Florian Weimer <fweimer@redhat.com>
9871 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9872 processing, bail out if no room, and close the stream before
9874 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9875 (tst-nss-files-alias-leak): Link with libdl.
9876 (tst-nss-files-alias-leak.out): Depend on nss_files.
9878 * nss/tst-nss-files-alias-leak.c: New file.
9880 2018-08-14 Florian Weimer <fweimer@redhat.com>
9882 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9883 server_user, stat_user.
9885 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9887 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9889 (io_pgetevents): New syscall.
9892 * manual/install.texi (Configuring and compiling): Do not list
9893 tools used for testing pretty printers here.
9894 (Tools for Compilation): List Python, PExpect and GDB here.
9895 Update descriptions of uses of Perl and Python.
9896 * INSTALL: Regenerate.
9898 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9901 2018-08-13 Florian Weimer <fweimer@redhat.com>
9903 * misc/error.c (error): Add missing va_end call.
9904 (error_at_line): Likewise.
9906 2018-08-13 Florian Weimer <fweimer@redhat.com>
9908 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9910 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9912 * benchtests/scripts/benchout.schema.json (properties): Add
9915 * benchtests/bench-skeleton.c (main): Add duration and
9916 iterations attributes.
9918 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9920 regex: Gnulib unibyte RRI uses bytes not chars
9921 Adjust the non-glibc code to agree with what Gawk needs for
9922 rational range interpretation (RRI) for regular expression ranges.
9923 In unibyte locales, Gawk wants ranges to use the underlying byte
9924 rather than the character code point. This change does not affect
9926 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9927 In unibyte locales, use the byte value rather than
9928 running it through btowc.
9930 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9932 * sysdeps/generic/math-tests-snan.h: New file.
9933 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9934 (SNAN_TESTS_float): Do not define here.
9935 (SNAN_TESTS_double): Likewise.
9936 (SNAN_TESTS_long_double): Likewise.
9937 (SNAN_TESTS_float128): Likewise.
9938 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9939 * sysdeps/i386/fpu/math-tests.h: Remove file.
9940 * sysdeps/ia64/math-tests-snan.h: New file.
9941 * sysdeps/ia64/math-tests.h: Remove file.
9942 * sysdeps/x86/math-tests.h: Likewise.
9943 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9945 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9946 Szabolcs Nagy <szabolcs.nagy@arm.com>
9948 * math/Makefile: Add s_sincosf_data.c.
9949 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9950 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9951 (sincosf_poly): Likewise.
9952 (reduce_small): Likewise.
9953 (reduce_large): Likewise.
9954 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9955 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9956 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9957 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9959 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9960 Szabolcs Nagy <szabolcs.nagy@arm.com>
9962 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9963 (converttoint): Use lround.
9964 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9965 document the semantics when TOINT_INTRINSICS is set.
9966 (converttoint): Likewise.
9967 (TOINT_RINT): Remove.
9968 (TOINT_SHIFT): Remove.
9969 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9972 2018-08-10 Florian Weimer <fweimer@redhat.com>
9975 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9977 (__old_getdents64): Use getdents64. Convert entries without
9979 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9980 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9981 tst-readdir64-compat.
9983 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9985 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9988 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9990 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9991 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9992 code to s390x-mcount.h and #include it.
9993 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9994 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9997 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9999 * stdlib/Versions: Remove __fentry__.
10000 * sysdeps/i386/Versions: Add __fentry__.
10001 * sysdeps/x86_64/Versions: Add __fentry__.
10003 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10005 * sysdeps/s390/Makefile: Register the new tests.
10006 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10007 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10008 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10009 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10010 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10011 * sysdeps/s390/tst-dl-runtime.c: New file.
10013 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10015 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10018 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10020 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10023 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10025 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10028 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10030 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10033 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10035 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10036 Use symbolic offsets for stack variables.
10038 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10040 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10041 Use symbolic offsets for stack variables.
10043 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10045 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10046 Use symbolic offsets for stack variables.
10048 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10050 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10051 Use symbolic offsets for stack variables.
10053 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10055 * math/gen-libm-test.py: New file.
10056 * math/gen-libm-test.pl: Remove.
10057 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10058 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10060 ($(libm-test-c-noauto-obj)): Likewise.
10061 ($(libm-test-c-auto-obj)): Likewise.
10062 ($(libm-test-c-narrow-obj)): Likewise.
10063 (regen-ulps): Likewise.
10064 * math/README.libm-test: Update references to gen-libm-test.pl.
10065 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10066 referencing gen-libm-test.pl.
10067 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10068 * math/libm-test-support.c: Likewise.
10069 * math/libm-test-support.h: Likewise.
10070 * sysdeps/generic/libm-test-ulps: Likewise.
10072 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10074 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10077 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10079 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10080 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10082 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10084 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10086 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10087 __pthread_setspecific): Add hidden proto.
10088 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10089 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10091 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10093 * benchtests/bench-string.h (buf1_size, buf2_size): New
10095 (init_sizes): New function.
10096 (test_init): Use it.
10097 (alloc_buf, exit_error): New functions.
10098 (alloc_bufs): Use ALLOC_BUF.
10099 (realloc_bufs): Remove.
10100 * benchtests/bench-memcmp.c (do_test): Adjust.
10101 * benchtests/bench-memset-large.c (do_test): Likewise.
10102 * benchtests/bench-memset-walk.c (do_test): Likewise.
10103 * benchtests/bench-memset.c (do_test): Likewise.
10104 * benchtests/bench-strncmp.c (do_test): Likewise.
10106 2018-08-06 Andreas Schwab <schwab@suse.de>
10108 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10109 of CONST_THREAD_AREA.
10111 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10113 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10114 (STATE_SAVE_MASK): Likewise.
10115 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10116 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10117 (STATE_SAVE_MASK): Likewise.
10118 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10119 instead of <cpu-features.h>.
10121 2018-08-03 DJ Delorie <dj@redhat.com>
10123 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10124 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10126 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10128 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10130 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10131 after TEST_* calls.
10132 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10133 * math/libm-test-logb.inc (logb_test_data): Likewise.
10135 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10137 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10138 * string/strstr.c (AVAILABLE): Likewise.
10140 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10142 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10144 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10145 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10146 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10148 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10150 * po/be.po: Update translation.
10152 * po/be.po: Update translation.
10154 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10156 * sysdeps/x86/cpu-features-offsets.sym
10157 (rtld_global_ro_offsetof): Removed.
10158 (CPU_FEATURES_SIZE): Likewise.
10159 (CPUID_OFFSET): Likewise.
10160 (CPUID_SIZE): Likewise.
10161 (CPUID_EAX_OFFSET): Likewise.
10162 (CPUID_EBX_OFFSET): Likewise.
10163 (CPUID_ECX_OFFSET): Likewise.
10164 (CPUID_EDX_OFFSET): Likewise.
10165 (FAMILY_OFFSET): Likewise.
10166 (MODEL_OFFSET): Likewise.
10167 (FEATURE_OFFSET): Likewise.
10168 (FEATURE_SIZ): Likewise.
10169 (COMMON_CPUID_INDEX_1): Likewise.
10170 (COMMON_CPUID_INDEX_7): Likewise.
10171 (FEATURE_INDEX_1): Likewise.
10172 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10174 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10176 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10177 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10178 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10179 (install-locales): Depend on install-locale-archive.
10180 (install-locale-archive): Define.
10181 (install-locale-files): Define.
10182 (build-one-locale): Define macro.
10183 * manual/install.texi (Running make install): Document.
10184 * manual/INSTALL: Regenerate.
10186 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10188 * benchtests/scripts/compare_strings.py: Import traceback.
10189 (parse_file): Pretty-print error.
10191 * NEWS: Mention the change.
10192 * elf/dl-tunables.list: Rename tune namespace to cpu.
10193 * sysdeps/powerpc/dl-tunables.list: Likewise.
10194 * sysdeps/x86/dl-tunables.list: Likewise.
10195 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10197 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10198 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10199 * manual/README.tunables: Likewise.
10200 * manual/tunables.texi: Likewise.
10201 * sysdeps/powerpc/cpu-features.c: Likewise.
10202 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10203 (init_cpu_features): Likewise.
10204 * sysdeps/x86/cpu-features.c: Likewise.
10205 * sysdeps/x86/cpu-features.h: Likewise.
10206 * sysdeps/x86/cpu-tunables.c: Likewise.
10207 * sysdeps/x86_64/Makefile: Likewise.
10208 * sysdeps/x86/dl-cet.c: Likewise.
10210 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10213 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10214 [__mips_hard_float].
10215 (FE_UNDERFLOW): Likewise.
10216 (FE_OVERFLOW): Likewise.
10217 (FE_DIVBYZERO): Likewise.
10218 (FE_INVALID): Likewise.
10219 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10220 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10221 (FE_UPWARD): Likewise.
10222 (FE_DOWNWARD): Likewise.
10223 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10224 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10225 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10226 [__mips_hard_float].
10227 (FP_ROUNDMODE): Likewise.
10228 (FP_RND_NEAREST): Likewise.
10229 (FP_RND_ZERO): Likewise.
10230 (FP_RND_PINF): Likewise.
10231 (FP_RND_MINF): Likewise.
10232 (FP_EX_INVALID): Likewise.
10233 (FP_EX_OVERFLOW): Likewise.
10234 (FP_EX_UNDERFLOW): Likewise.
10235 (FP_EX_DIVZERO): Likewise.
10236 (FP_EX_INEXACT): Likewise.
10237 (FP_INIT_ROUNDMODE): Likewise.
10238 * sysdeps/mips/nofpu/fesetenv.c: New file.
10239 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10241 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10243 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10244 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10245 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10246 conditional on [FE_UPWARD].
10248 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10250 regex: fix memory leak in Gnulib
10251 Problem and fix reported by Assaf Gordon in:
10252 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10253 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10254 range_ends members too, as they are defined in 'struct
10255 re_charset_t' even if not _LIBC. This affects only Gnulib.
10257 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10259 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10261 (get_common_indices): This.
10262 (init_cpu_features): Updated.
10264 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10266 * sysdeps/generic/math-tests-snan-payload.h: New file.
10267 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10268 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10269 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10270 * sysdeps/generic/math-tests.h: Include
10271 <math-tests-snan-payload.h>.
10272 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10273 * sysdeps/hppa/math-tests.h: Remove file.
10274 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10275 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10276 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10279 * sysdeps/generic/math-tests-snan-cast.h: New file.
10280 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10281 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10282 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10283 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10285 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10287 * version.h (RELEASE): Set to "development".
10288 (VERSION): Set to "2.28.9000".
10289 * NEWS (2.29): New section.
10291 * version.h (RELEASE): Set to "stable".
10292 (VERSION): Set to "2.28".
10293 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10294 * NEWS: Add the list of bugs fixed in 2.28.
10296 * po/ca.po: Update to latest version.
10297 * po/cs.po: Likewise
10298 * po/da.po: Likewise
10299 * po/el.po: Likewise
10300 * po/eo.po: Likewise
10301 * po/es.po: Likewise
10302 * po/fi.po: Likewise
10303 * po/fr.po: Likewise
10304 * po/gl.po: Likewise
10305 * po/hu.po: Likewise
10306 * po/ia.po: Likewise
10307 * po/id.po: Likewise
10308 * po/it.po: Likewise
10309 * po/ja.po: Likewise
10310 * po/ko.po: Likewise
10311 * po/lt.po: Likewise
10312 * po/nb.po: Likewise
10313 * po/nl.po: Likewise
10314 * po/pt_BR.po: Likewise
10315 * po/ru.po: Likewise
10316 * po/rw.po: Likewise
10317 * po/sk.po: Likewise
10318 * po/sl.po: Likewise
10319 * po/tr.po: Likewise
10320 * po/zh_CN.po: Likewise
10321 * po/zh_TW.po: Likewise
10323 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10325 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10327 (init): ... before initializing libpthread.
10329 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10330 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10331 (__mach_setup_tls): ... new function.
10332 (mach_setup_tls): New alias.
10333 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10334 __mach_setup_thread.
10335 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10336 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10337 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10338 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10340 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10342 * manual/install.texi: Update versions.
10343 * INSTALL: Regenerate.
10345 * manual/contrib.texi (Contributors): Update contributions.
10347 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10349 * po/be.po: Update translations.
10351 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10353 * sysdeps/sh/libm-test-ulps: Update.
10355 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10357 * po/bg.po: Update translations.
10358 * po/de.po: Likewise.
10359 * po/hr.po: Likewise.
10360 * po/pt_BR.po: Likewise.
10361 * po/sv.po: Likewise.
10362 * po/vi.po: Likewise.
10364 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10367 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10368 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10369 (CFLAGS-tst-cet-property-1.o): New.
10370 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10371 ($(objpfx)tst-cet-property-2): Likewise.
10372 ($(objpfx)tst-cet-property-2.out): Likewise.
10373 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10374 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10375 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10376 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10377 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10379 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10382 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10384 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10386 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10387 __sbrk): Do not set attribute_hidden.
10388 * sysdeps/mach/hurd/not-errno.h: New file.
10389 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10390 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10392 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10394 * po/uk.po: Update translations.
10395 * po/cs.po: Likewise.
10396 * po/pl.po: Likewise.
10398 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10400 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10401 parse beyond the note end.
10403 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10405 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10406 kernel does not support OFD locks.
10407 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10409 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10411 * sysdeps/mach/hurd/Versions (libc): Make __access and
10412 __access_noerrno external so they can override the ld symbols.
10413 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10414 __writev, __open64, __access_noerrno extern so they can be overrided.
10415 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10416 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10418 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10420 * po/libc.pot: Regenerate.
10422 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10424 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10426 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10429 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10431 (init_cpu_features): Call get_extended_indices for both Intel
10433 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10434 Remove "for AMD" comment.
10436 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10439 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10440 COMMON_CPUID_INDEX_80000001.
10442 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10444 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10445 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10447 2018-07-26 Florian Weimer <fweimer@redhat.com>
10449 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10450 aliases for symbols not in the implementation namespace.
10452 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10455 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10456 lowercase in LATIN script.
10457 * localedata/Makefile (test-input): Add en_US.UTF-8.
10458 * localedata/en_US.UTF-8.in: New file.
10459 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10460 and restore old tests.
10461 * posix/tst-regexloc.c (do_test): Add back range expression test.
10463 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10465 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10467 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10469 * nptl/threads.h: Move to ...
10470 * sysdeps/nptl/threads.h: ... here.
10471 * sysdeps/hurd/stdc-predef.h: New file.
10473 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10475 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10476 tst-cet-setcontext-1 if CET is enabled.
10477 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10478 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10480 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10482 * include/threads.h: Move to ...
10483 * sysdeps/nptl/threads.h: ... here.
10484 * sysdeps/htl/threads.h: New file.
10485 * conform/Makefile (linknamespace-libs-ISO11): Use
10486 static-thread-library instead of linking libpthread.
10487 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10489 2018-07-25 Florian Weimer <fweimer@redhat.com>
10491 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10492 nanoseconds into seconds.
10493 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10494 (do_test): Likewise.
10495 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10496 (do_test): Likewise. Avoid nanosecond overflow and spurious
10497 timeouts due to system load.
10498 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10499 (child_wait): Increment it.
10500 (do_test): Wait as long as necessary until all expected threads
10503 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10504 H.J. Lu <hongjiu.lu@intel.com>
10506 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10508 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10509 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10510 (__push___start_context): New.
10511 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10513 (__getcontext): Record the current shadow stack base. Save the
10514 caller's shadow stack pointer and base.
10515 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10516 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10517 (__push___start_context): New prototype.
10518 (__makecontext): Call __push___start_context to allocate a new
10519 shadow stack, push __start_context onto the new stack as well
10520 as the new shadow stack.
10521 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10523 (__setcontext): Restore the target shadow stack.
10524 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10526 (__swapcontext): Record the current shadow stack base. Save
10527 the caller's shadow stack pointer and base. Restore the target
10529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10530 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10531 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10533 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10535 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10536 tst-setcontext8 and tst-setcontext9.
10537 * stdlib/tst-setcontext6.c: New file.
10538 * stdlib/tst-setcontext7.c: Likewise.
10539 * stdlib/tst-setcontext8.c: Likewise.
10540 * stdlib/tst-setcontext9.c: Likewise.
10542 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10544 * stdlib/Makefile ((tests): Add tst-setcontext5.
10545 * stdlib/tst-setcontext5.c: New file.
10547 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10549 * stdlib/Makefile (tests): Add tst-setcontext4.
10550 * stdlib/tst-setcontext4.c: New file.
10552 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10554 * stdlib/Makefile (tests): Add tst-swapcontext1.
10555 * stdlib/tst-swapcontext1.c: New test.
10557 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10559 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10560 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10561 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10562 and tst-cet-legacy-4c.
10563 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10564 and tst-cet-legacy-mod-4.
10565 (CFLAGS-tst-cet-legacy-2.c): New.
10566 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10567 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10568 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10569 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10570 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10571 ($(objpfx)tst-cet-legacy-1): Likewise.
10572 ($(objpfx)tst-cet-legacy-2): Likewise.
10573 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10574 ($(objpfx)tst-cet-legacy-2a): Likewise.
10575 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10576 ($(objpfx)tst-cet-legacy-4): Likewise.
10577 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10578 ($(objpfx)tst-cet-legacy-4a): Likewise.
10579 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10580 (tst-cet-legacy-4a-ENV): Likewise.
10581 ($(objpfx)tst-cet-legacy-4b): Likewise.
10582 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10583 (tst-cet-legacy-4b-ENV): Likewise.
10584 ($(objpfx)tst-cet-legacy-4c): Likewise.
10585 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10586 (tst-cet-legacy-4c-ENV): Likewise.
10587 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10588 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10589 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10590 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10591 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10592 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10593 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10594 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10595 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10596 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10597 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10599 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10601 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10602 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10604 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10605 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10608 2018-07-25 Andreas Schwab <schwab@suse.de>
10611 * locale/weightwc.h (findidx): Handle the case where usrc is a
10612 prefix of cp but one character too short.
10614 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10616 * NEWS: Add ISO C threads addition.
10618 2018-07-24 Florian Weimer <fweimer@redhat.com>
10620 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10621 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10622 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10625 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10627 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10628 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10629 <sys/prctl.h> and <asm/prctl.h>.
10630 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10631 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10633 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10634 ARCH_CET_LEGACY_BITMAP.
10635 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10636 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10637 * sysdeps/x86/libc-start.c: Include <startup.h>.
10639 2018-07-24 Florian Weimer <fweimer@redhat.com>
10641 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10642 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10644 2018-07-24 Rical Jasan <rj@2c3t.io>
10645 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10646 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10649 * manual/debug.texi: Update adjacent chapter name.
10650 * manual/probes.texi: Likewise.
10651 * manual/threads.texi (ISO C Threads): New section.
10652 (POSIX Threads): Convert to a section.
10654 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10655 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10658 * nptl/Makefile (tests): Add new test files.
10659 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10660 * nptl/tst-cnd-basic.c: Likewise.
10661 * nptl/tst-cnd-broadcast.c: Likewise.
10662 * nptl/tst-cnd-timedwait.c: Likewise.
10663 * nptl/tst-mtx-basic.c: Likewise.
10664 * nptl/tst-mtx-recursive.c: Likewise.
10665 * nptl/tst-mtx-timedlock.c: Likewise.
10666 * nptl/tst-mtx-trylock.c: Likewise.
10667 * nptl/tst-thrd-basic.c: Likewise.
10668 * nptl/tst-thrd-detach.c: Likewise.
10669 * nptl/tst-thrd-sleep.c: Likewise.
10670 * nptl/tst-tss-basic.c: Likewise.
10672 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10675 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10676 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10678 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10683 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10684 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10685 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10686 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10705 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10706 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10707 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10708 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10709 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10711 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10720 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10722 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10729 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10734 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10736 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10739 * conform/data/threads.h-data (thread_local): New macro.
10740 (TSS_DTOR_ITERATIONS): Likewise.
10742 (tss_dtor_t): Likewise.
10743 (tss_create): New function.
10744 (tss_get): Likewise.
10745 (tss_set): Likewise.
10746 (tss_delete): Likewise.
10747 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10748 tss_get, and tss_set objects.
10749 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10750 * nptl/tss_create.c: New file.
10751 * nptl/tss_delete.c: Likewise.
10752 * nptl/tss_get.c: Likewise.
10753 * nptl/tss_set.c: Likewise.
10754 * sysdeps/nptl/threads.h (thread_local): New define.
10755 (TSS_DTOR_ITERATIONS): Likewise.
10756 (tss_t): New typedef.
10757 (tss_dtor_t): Likewise.
10758 (tss_create): New prototype.
10759 (tss_get): Likewise.
10760 (tss_set): Likewise.
10761 (tss_delete): Likewise.
10764 * conform/data/threads.h-data (cnd_t): New type.
10765 (cnd_init): New function.
10766 (cnd_signal): Likewise.
10767 (cnd_broadcast): Likewise.
10768 (cnd_wait): Likewise.
10769 (cnd_timedwait): Likewise.
10770 (cnd_destroy): Likewise.
10771 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10772 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10774 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10775 * nptl/cnd_broadcast.c: New file.
10776 * nptl/cnd_destroy.c: Likewise.
10777 * nptl/cnd_init.c: Likewise.
10778 * nptl/cnd_signal.c: Likewise.
10779 * nptl/cnd_timedwait.c: Likewise.
10780 * nptl/cnd_wait.c: Likewise.
10781 * sysdeps/nptl/threads.h (cnd_t): New type.
10782 (cnd_init): New prototype.
10783 (cnd_signa): Likewise.
10784 (cnd_broadcast): Likewise.
10785 (cnd_wait): Likewise.
10786 (cnd_timedwait): Likewise.
10787 (cnd_destroy): Likewise.
10790 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10791 (once_flag): New type.
10792 (call_once): New function.
10793 * nptl/Makefile (libpthread-routines): Add call_once object.
10794 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10795 * nptl/call_once.c: New file.
10796 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10797 (once_flag): New type.
10798 (call_once): New prototype.
10801 * conform/data/threads.h-data (mtx_plain): New constant.
10802 (mtx_recursive): Likewise.
10803 (mtx_timed): Likewise.
10805 (mtx_init): New function.
10806 (mtx_lock): Likewise.
10807 (mtx_timedlock): Likewise.
10808 (mtx_trylock): Likewise.
10809 (mtx_unlock): Likewise.
10810 (mtx_destroy): Likewise.
10811 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10812 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10813 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10814 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10815 * nptl/mtx_destroy.c: New file.
10816 * nptl/mtx_init.c: Likewise.
10817 * nptl/mtx_lock.c: Likewise.
10818 * nptl/mtx_timedlock.c: Likewise.
10819 * nptl/mtx_trylock.c: Likewise.
10820 * nptl/mtx_unlock.c: Likewise.
10821 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10822 (mtx_recursive): Likewise.
10823 (mtx_timed): Likewise.
10825 (mtx_init): New prototype.
10826 (mtx_lock): Likewise.
10827 (mtx_timedlock): Likewise.
10828 (mtx_trylock): Likewise.
10829 (mtx_unlock): Likewise.
10830 (mtx_destroy): Likewise.
10833 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10834 (linknamespace-libs-ISO11): Add libpthread.a.
10835 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10837 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10838 * nptl/Makefile (headers): Add threads.h.
10839 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10840 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10842 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10843 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10844 thrd_join, thrd_sleep, and thrd_yield symbols.
10845 * nptl/descr.h (struct pthread): Add c11 field.
10846 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10847 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10848 routine with expected function prototype.
10849 (__pthread_create_2_1): Add C11 threads check based on attribute
10851 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10852 * nptl/thrd_create.c: New file.
10853 * nptl/thrd_current.c: Likewise.
10854 * nptl/thrd_detach.c: Likewise.
10855 * nptl/thrd_equal.c: Likewise.
10856 * nptl/thrd_exit.c: Likewise.
10857 * nptl/thrd_join.c: Likewise.
10858 * nptl/thrd_priv.h: Likewise.
10859 * nptl/thrd_sleep.c: Likewise.
10860 * nptl/thrd_yield.c: Likewise.
10861 * include/threads.h: Likewise.
10863 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10865 * bits/indirect-return.h: New file.
10866 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10867 * sysdeps/x86/bits/indirect-return.h: Likewise.
10868 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10869 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10870 (swapcontext): Add __INDIRECT_RETURN.
10871 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10872 (prepare_test_buffer): Use it.
10874 2018-07-24 Andreas Schwab <schwab@suse.de>
10877 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10878 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10880 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10882 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10883 Redefine if shadow stack is enabled.
10884 (SYSCALL_ERROR_LABEL): Likewise.
10885 (__vfork): Pop shadow stack and jump back to to caller directly
10886 when shadow stack is in use.
10887 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10888 Redefine if shadow stack is enabled.
10889 (SYSCALL_ERROR_LABEL): Likewise.
10890 (__vfork): Pop shadow stack and jump back to to caller directly
10891 when shadow stack is in use.
10893 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10895 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10898 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10901 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10903 * scripts/build-many-glibcs.py (Context.checkout): Default
10904 binutils version to 2.31 branch.
10906 2018-07-20 Zong Li <zong@andestech.com>
10908 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10909 URL of gcc's tarball.
10911 2018-07-20 Florian Weimer <fweimer@redhat.com>
10914 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10915 not compare an extra byte after the end of the weights.
10917 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10919 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10921 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10923 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10924 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10925 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10926 list of libraries whose stack executability is expected.
10927 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10928 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10930 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10931 libc.so libpthread.so.
10933 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10935 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10937 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10939 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10941 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10943 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10945 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10946 library to improve command line parsing.
10947 (__main__): make schema file as optional parameter (--schema),
10948 defaulting to benchtests/scripts/benchout.schema.json.
10949 (main): move out of the parsing stuff to __main_ and leave it
10950 only as caller of main comparison functions.
10952 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10954 * NEWS: Add a note for Intel CET status.
10955 * manual/install.texi: Likewise.
10956 * INSTALL: Regenerated.
10958 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10961 * localedata/locales/oc_FR (mon): Rename to...
10962 (alt_mon): This, then update October (typo fix).
10963 (mon): New content (genitive case, month names preceded by
10967 * localedata/locales/oc_FR (abday): Update all items.
10968 (day): Update Wednesday and Saturday (typo fixes).
10969 (abmon): Update all items, except May.
10970 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10971 (LC_IDENTIFICATION): Bump the revision number and date.
10972 Keep the "category" entries in alphabetic order.
10973 (LC_ADDRESS): Remove no longer needed comment.
10974 (LC_COLLATE): Use “copy "ca_ES"”.
10975 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10978 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10980 * grp/tst_fgetgrent.c: Include <unistd.h>.
10981 (main): Use mkstemp instead of tmpnam.
10982 * io/test-utime.c (main): Likewise.
10983 * posix/annexc.c (macrofile): Change to modifiable array.
10984 (main): Remove macrofile here.
10985 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10987 (check_header): Do not remove macrofile here.
10988 * posix/bug-getopt1.c: Include <stdlib.h>.
10989 (do_test): Use mkstemp instead of tmpnam.
10990 * posix/bug-getopt2.c: Include <stdlib.h>.
10991 (do_test): Use mkstemp instead of tmpnam.
10992 * posix/bug-getopt3.c: Include <stdlib.h>.
10993 (do_test): Use mkstemp instead of tmpnam.
10994 * posix/bug-getopt4.c: Include <stdlib.h>.
10995 (do_test): Use mkstemp instead of tmpnam.
10996 * posix/bug-getopt5.c: Include <stdlib.h>.
10997 (do_test): Use mkstemp instead of tmpnam.
10998 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10999 (main): Use mkstemp instead of tmpnam.
11000 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11001 (main): Use mkstemp instead of tmpnam.
11002 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11003 (main): use mkstemp instead of tmpnam.
11004 * stdlib/isomac.c (macrofile): Change to modifiable array.
11005 (main): Remove macrofile here.
11006 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11008 (check_header): Do not remove macrofile here.
11010 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11012 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11013 glibc.tune.x86_shstk.
11015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11017 * NEWS: Mention --enable-cet.
11018 * manual/install.texi: Document --enable-cet.
11019 * INSTALL: Regenerated.
11021 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11023 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11024 Add _CET_NOTRACK before indirect jump to jump table.
11026 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11028 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11029 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11032 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11034 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11035 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11038 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11041 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11044 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11046 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11047 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11050 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11052 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11053 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11055 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11057 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11059 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11060 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11063 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11065 * sysdeps/i386/i686/multiarch/memset-sse2.S
11066 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11069 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11071 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11072 indirect jump to jump table.
11074 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11076 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11077 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11079 (MEMCPY): Likewise.
11081 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11084 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11086 (MEMCPY): Likewise.
11088 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11090 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11091 _CET_NOTRACK before indirect jump to jump table.
11093 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11095 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11096 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11099 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11101 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11102 indirect jump to jump table.
11104 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11107 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11108 (LOCALES): Likewise.
11109 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11110 * localedata/locales/sah_RU: New file.
11111 * localedata/sah_RU.UTF-8.in: New file.
11113 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11115 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11117 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11118 _CET_ENDBR to indirect jump targets and adjust jump destination
11120 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11122 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11123 _CET_ENDBR to indirect jump targets and adjust jump destination
11125 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11127 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11128 _CET_ENDBR to indirect jump targets and adjust jump destination
11131 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11133 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11136 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11138 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11140 (_dl_tlsdesc_undefweak): Likewise.
11141 (_dl_tlsdesc_dynamic): Likewise.
11142 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11143 (_dl_tlsdesc_resolve_rel): Likewise.
11144 (_dl_tlsdesc_resolve_rela): Likewise.
11145 (_dl_tlsdesc_resolve_hold): Likewise.
11146 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11147 (_dl_tlsdesc_undefweak): Likewise.
11148 (_dl_tlsdesc_dynamic): Likewise.
11149 (_dl_tlsdesc_resolve_rela): Likewise.
11150 (_dl_tlsdesc_resolve_hold): Likewise.
11152 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11154 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11156 * sysdeps/x86_64/crti.S (_init): Likewise.
11159 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11162 * localedata/locales/os_RU (mon): Rename to...
11164 (mon): Import from CLDR (genitive case).
11166 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11168 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11169 cet-tunables.h> when CET is enabled.
11171 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11174 * configure.ac: Add --enable-cet.
11175 * configure: Regenerated.
11176 * elf/Makefille (all-built-dso): Add a comment.
11177 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11178 Include <dl-prop.h>.
11179 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11181 * elf/dl-open.c: Include <dl-prop.h>.
11182 (dl_open_worker): Call _dl_open_check.
11183 * elf/rtld.c: Include <dl-prop.h>.
11184 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11186 * sysdeps/generic/dl-prop.h: New file.
11187 * sysdeps/i386/dl-cet.c: Likewise.
11188 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11189 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11190 * sysdeps/x86/cet-tunables.h: Likewise.
11191 * sysdeps/x86/check-cet.awk: Likewise.
11192 * sysdeps/x86/configure: Likewise.
11193 * sysdeps/x86/configure.ac: Likewise.
11194 * sysdeps/x86/dl-cet.c: Likewise.
11195 * sysdeps/x86/dl-procruntime.c: Likewise.
11196 * sysdeps/x86/dl-prop.h: Likewise.
11197 * sysdeps/x86/libc-start.h: Likewise.
11198 * sysdeps/x86/link_map.h: Likewise.
11199 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11201 (_dl_runtime_profile): Likewise.
11202 (_dl_runtime_resolve_shstk): New.
11203 (_dl_runtime_profile_shstk): Likewise.
11204 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11206 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11207 (CFLAGS-.os): Likewise.
11208 (CFLAGS-.op): Likewise.
11209 (CFLAGS-.oS): Likewise.
11210 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11212 (tests-special): Add $(objpfx)check-cet.out.
11213 (cet-built-dso): New.
11214 (+$(cet-built-dso:=.note)): Likewise.
11215 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11216 ($(objpfx)check-cet.out): New.
11217 (generated): Add check-cet.out.
11218 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11220 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11221 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11222 (init_cpu_features): Call get_cet_status to check CET status
11223 and update dl_x86_feature_1 with CET status. Call
11224 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11225 (set_x86_shstk). Disable and lock CET in libc.a.
11226 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11227 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11228 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11229 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11230 (_CET_ENDBR): Define if not defined.
11231 (ENTRY): Add _CET_ENDBR.
11232 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11234 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11236 (_dl_runtime_profile): Likewise.
11238 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11241 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11242 restore r2 on longjmp.
11243 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11245 Added rules to build test tst-setjmp-bug21895-static.
11246 Added module setjmp-bug21895 and rules to build a shared object from it.
11247 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11248 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11250 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11252 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11253 * benchtests/bench-strstr.c: Likewise.
11254 * string/memmem.c (FASTSEARCH): Define.
11255 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11256 Add support for FASTSEARCH.
11257 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11258 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11259 (FASTSEARCH): Define.
11260 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11261 * string/test-strstr.c: Likewise.
11263 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11266 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11268 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11269 H.J. Lu <hongjiu.lu@intel.com>
11271 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11272 (__longjmp): Restore shadow stack pointer if shadow stack is
11273 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11274 isn't defined for __longjmp_cancel.
11275 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11276 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11277 and SHADOW_STACK_POINTER_OFFSET is defined.
11278 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11279 (setjmp): Save shadow stack pointer if shadow stack is enabled
11280 and SHADOW_STACK_POINTER_OFFSET is defined.
11281 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11282 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11283 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11284 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11286 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11287 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11288 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11289 Remove jmp_buf-ssp.sym.
11290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11292 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11293 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11294 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11296 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11297 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11298 (__longjmp): Restore shadow stack pointer if shadow stack is
11299 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11300 isn't defined for __longjmp_cancel.
11301 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11302 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11303 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11305 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11308 * nptl/pthread_create.c: Include <tls-setup.h>.
11309 (__pthread_create_2_1): Call tls_setup_tcbhead.
11310 * sysdeps/generic/tls-setup.h: New file.
11311 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11312 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11313 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11315 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11317 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11318 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11319 (X86_FEATURE_1_SHSTK): Likewise.
11320 (CET_ENABLED): Likewise.
11321 (IBT_ENABLED): Likewise.
11322 (SHSTK_ENABLED): Likewise.
11324 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11327 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11328 (LOCALES): Likewise.
11329 * localedata/dsb_DE.UTF-8.in: New file.
11330 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11332 2018-07-12 Florian Weimer <fweimer@redhat.com>
11334 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11335 __mprotect, not mprotect.
11337 2018-07-11 Florian Weimer <fweimer@redhat.com>
11339 * io/Makefile (headers): Add bits/statx.h.
11341 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11343 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11344 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11346 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11347 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11350 2018-07-10 Florian Weimer <fweimer@redhat.com>
11352 * io/Makefile (routines): Add statx.
11353 (tests-internal): Add tst-statx.
11354 * io/Versions (GLIBC_2.28): Export statx.
11355 * io/bits/statx.h: New file.
11356 * io/sys/stat.h [__USE_GNU]: Include it.
11357 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11358 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11360 * io/statx.c: New file.
11361 * io/statx_generic.: Likewise.
11362 * io/tst-statx.: Likewise.
11363 * include/bits/statx.h: Likewise.
11364 * sysdeps/unix/sysv/linux/kernel-features.h
11365 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11367 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11368 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11370 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11371 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11372 * sysdeps/unix/sysv/linux/statx.c: New file.
11373 * manual/filesys.texi: Note that statx is undocumented.
11374 * sysdeps/**/libc*.abilist: Update.
11376 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11378 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11379 a kernel issue which lead to test failure in some cases.
11381 2018-07-10 Florian Weimer <fweimer@redhat.com>
11384 * posix/regexec.c (check_node_accept_bytes): When comparing
11385 weights, do not compare an extra byte after the end of the
11388 2018-07-10 Florian Weimer <fweimer@redhat.com>
11390 * libio/readline.c: Fix copyright year.
11391 * libio/tst-readline.c Likewise.
11392 * nss/tst-nss-files-hosts-getent.c: Likewise.
11394 2018-07-06 Florian Weimer <fweimer@redhat.com>
11397 * nss/nss_files/files-XXX.c (internal_getent): Use
11398 __libc_readline_unlocked. Seek back to the start of the line if
11399 parsing failes with ERANGE.
11400 (get_contents_ret, get_contents): Remove.
11401 * nss/tst-nss-files-hosts-getent.c: New file.
11402 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11403 (tst-nss-files-hosts-getent): Link with -ldl.
11405 2018-07-06 Florian Weimer <fweimer@redhat.com>
11407 * include/stdio.h (__libc_readline_unlocked): Declare.
11408 (__ftello64, __fseeko64): Declare aliases.
11409 * libio/readline.c: New file.
11410 * libio/tst-readline.c: Likewise.
11411 (routines): Add readline.
11412 (tests-internal): Add tst-readlime.
11413 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11414 __libc_readline_unlocked.
11415 * libio/fseeko.c (__fseeko): Rename from fseeko.
11416 (fseeko): Add alias.
11417 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11418 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11419 (fseeko64): Add alias.
11420 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11421 * libio/ftello64.c (__ftello64): Rename from ftello64.
11422 (ftello64): Add alias.
11424 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11426 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11429 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11431 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11432 Use dl_hwcap without masking.
11433 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11434 Remove HWCAP_CPUID.
11436 2018-07-06 Florian Weimer <fweimer@redhat.com>
11438 * conform/conformtest.pl (checknamespace): Escape literal braces
11439 in regular expressions.
11441 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11443 * sysdeps/x86/cpu-features.c (get_common_indeces):
11444 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11445 * sysdeps/x86/cpu-features.c (init_cpu_features):
11446 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11448 2018-07-05 Florian Weimer <fweimer@redhat.com>
11450 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11452 (CFLAGS-elf-init.oS): Likewise.
11454 2018-07-05 Florian Weimer <fweimer@redhat.com>
11455 Carlos O'Donell <carlos@redhat.com>
11457 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11458 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11459 with stack protector enabled because there is no risk of infinite
11462 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11466 * libc-abis (ABSOLUTE): New ABI.
11467 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11468 * NEWS: Mention the new ABI.
11470 2018-07-05 Florian Weimer <fweimer@redhat.com>
11473 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11474 (RENAME_WHITEOUT): Define.
11475 [__USE_GNU] (renameat2): Declare.
11476 * stdio-common/Makefile (routines): Add renameat2.
11477 (tests): Add tst-renameat2.
11478 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11479 * stdio-common/renameat2.c: New file.
11480 * stdio-common/tst-renameat2.c: Likewise.
11481 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11482 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11484 * sysdeps/unix/sysv/linux/kernel-features.h
11485 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11487 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11488 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11489 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11490 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11491 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11492 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11493 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11494 * include/stdio.h (__renameat): Add alias for renameat.
11495 * stdio-common/renameat.c (__renameat): Rename from renameat.
11496 Add hidden definition and alias.
11497 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11498 * sysdeps/mach/hurd/renameat.c: Likewise.
11499 * sysdeps/**/libc*.abilist: Add renameat2.
11501 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11503 * posix/bug-regex33.c: Fix build after regex sync.
11505 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11508 * localedata/tst-langinfo-setlocale.c: New file.
11509 * localedata/tst-langinfo-setlocale-static.c: New file.
11510 * localedata/tst-langinfo-newlocale.c: New file.
11511 * localedata/tst-langinfo-newlocale-static.c: New file.
11512 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11513 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11514 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11515 (tests-static): Remove tst-langinfo-static. Add
11516 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11517 (tests-special): Remove $(objpfx)tst-langinfo.out,
11518 $(objpfx)tst-langinfo-static.out. Add
11519 $(objpfx)tst-langinfo-setlocale.out,
11520 $(objpfx)tst-langinfo-newlocale.out,
11521 $(objpfx)tst-langinfo-setlocale-static.out,
11522 $(objpfx)tst-langinfo-newlocale-static.out.
11523 ($(objpfx)tst-langinfo.out): Remove.
11524 ($(objpfx)tst-langinfo-static.out): Remove.
11525 ($(objpfx)tst-langinfo-newlocale.out): New target.
11526 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11527 (test-xfail-tst-langinfo-newlocale-static): Add.
11528 ($(objpfx)tst-langinfo-setlocale.out): New target.
11529 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11530 * localedata/tst-langinfo.c: Call test_locale.
11531 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11534 2018-07-04 Florian Weimer <fweimer@redhat.com>
11536 testrun.sh: Implement --tool=strace, --tool=valgrind
11537 * Makefile (testrun-script): Define variable.
11538 (testrun.sh): Use variable.
11539 * manual/install.texi (Tools for Compilation): make 4.0 or later
11541 * configure.ac: Check for make 4.0 or later.
11542 * INSTALL: Regenerate.
11543 * configure: Likewise.
11545 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11551 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11552 * posix/PCRE.tests: Remove invalid test.
11553 * posix/bug-regex28.c: Fix expected values for used syntax.
11554 * posix/bug-regex37.c: New file.
11555 * posix/bug-regex38.c: Likewise.
11556 * posix/regcomp.c: Sync with gnulib.
11557 * posix/regex.c: Likewise.
11558 * posix/regex.h: Likewise.
11559 * posix/regex_internal.c: Likewise.
11560 * posix/regex_internal.h: Likewise.
11561 * posix/regexec.c: Likewise.
11563 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11566 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11567 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11568 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11569 * localedata/unicode-gen/PropList.txt: likewise.
11570 * localedata/unicode-gen/UnicodeData.txt: likewise.
11571 * localedata/charmaps/UTF-8: Regenerate.
11572 * localedata/locales/i18n_ctype: likewise.
11573 * localedata/locales/tr_TR: likewise.
11574 * localedata/locales/translit_circle: likewise.
11575 * localedata/locales/translit_cjk_compat: likewise.
11576 * localedata/locales/translit_combining: likewise.
11577 * localedata/locales/translit_compat: likewise.
11578 * localedata/locales/translit_font: likewise.
11579 * localedata/locales/translit_fraction: likewise.
11581 2018-07-03 Florian Weimer <fweimer@redhat.com>
11584 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11585 * stdio-common/tst-printf.sh: Adjust expected output.
11586 * LICENSES: Update.
11588 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11590 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11593 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11595 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11596 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11597 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11598 * stdio-common/tst-printfsz-islongdouble.c: New file.
11599 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11601 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11602 [subdir == stdio-common] (tests-internal): Add
11603 test-printf-size-ieee128, and test-printf-size-ibm128.
11604 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11605 (CFLAGS-test-printf-size-ibm128.c): New variables.
11606 [subdir == stdio-common] (tests-special): Add
11607 $(objpfx)test-printf-size-ieee128.out and
11608 $(objpfx)test-printf-size-ibm128.out.
11609 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11610 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11611 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11612 __printf_sizeieee128.
11613 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11615 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11617 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11620 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11622 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11623 (exp2f_inline): Likewise.
11624 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11625 (__math_uflowf): Likewise.
11626 (__math_may_uflowf): Likewise.
11627 (__math_divzerof): Likewise.
11628 (__math_invalidf): Likewise.
11629 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11630 (__math_oflowf): Likewise.
11631 (__math_uflowf): Likewise.
11632 (__math_may_uflowf): Likewise.
11633 (__math_divzerof): Likewise.
11634 (__math_invalidf): Likewise.
11636 2018-06-29 DJ Delorie <dj@redhat.com>
11637 Carlos O'Donell <carlos@redhat.com>
11640 * include/libc-symbols.h: Comment the freeres framework.
11641 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11642 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11643 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11644 * dlfcn/dlerror.c: Include libc-symbols.h
11645 (__dlerror_main_freeres): New function.
11646 * dlfcn/dlfreeres.c: New file.
11647 * dlfcn/sdlfreeres.c: New file.
11648 * include/dlfcn.h: Declare __dlerror_main_freeres.
11649 * malloc/set-freeres.c: Declare __libdl_freeres, and
11650 __libpthread_freeres.
11651 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11652 the releavant libraries are loaded.
11653 * malloc/thread-freeres.c: Add comments.
11654 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11655 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11656 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11657 (__free_stacks): Rename to...
11658 (free_stacks): ...this. Mark static.
11659 (queue_stack): Call free_stacks.
11660 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11661 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11662 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11663 ptr_freeres element from struct.
11664 (pthread_functions): Remove .ptr_freeres from struct initializer.
11665 [SHARED] (nptl_freeres): Remove.
11666 * nptl/nptlfreeres.c: New file.
11668 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11669 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11671 (__free_stacks): Rename to...
11672 (__nptl_stacks_freeres): ...this.
11673 (__shm_directory_freeres): Declare.
11674 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11675 (__nptl_unwind_freeres): ...this.
11676 * resolv/res-close.c: Add comment.
11677 * resolv/resolv_conf.c: Include libc-symbols.h.
11678 * string/strerror_l.c: Include libc-symbols.h.
11679 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11680 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11681 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11682 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11684 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11686 * stdlib/tst-strfmon_l.c: Add tests for long double.
11688 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11691 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11692 * localedata/locales/dsb_DE: New file.
11694 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11697 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11699 (alt_mon): New entry, import from CLDR (nominative case).
11701 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11704 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11706 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11708 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11709 Use vector registers.
11711 * sysdeps/aarch64/multiarch/memmove_falkor.S
11712 (__memcpy_falkor): Use vector registers.
11714 2018-06-29 Martin Sebor <msebor@redhat.com>
11716 * manual/stdio.texi (Customizing Printf): Mention interaction
11717 with GCC built-ins.
11719 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11722 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11723 `st_value' is 0 if `st_shndx' is SHN_ABS.
11724 * elf/tst-absolute-zero.c: New file.
11725 * elf/tst-absolute-zero-lib.c: New file.
11726 * elf/tst-absolute-zero-lib.lds: New file.
11727 * elf/Makefile (tests): Add `tst-absolute-zero'.
11728 (modules-names): Add `tst-absolute-zero-lib'.
11729 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11730 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11731 ($(objpfx)tst-absolute-zero: New dependency.
11733 2018-06-29 Zack Weinberg <zackw@panix.com>
11735 * configure.ac: New command-line option --disable-crypt.
11736 Force --disable-nss-crypt when --disable-crypt is given, with a
11737 warning if it was explicitly enabled.
11738 * configure: Regenerate.
11739 * config.make.in: New boolean substitution variable $(build-crypt).
11740 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11741 when $(build-crypt).
11742 * manual/install.texi: Document --disable-crypt.
11743 * INSTALL: Regenerate.
11745 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11746 which is never set.
11747 * conform/Makefile: Only include libcrypt.a in
11748 linknamespace-libs-xsi and linknamespace-libs-XPG4
11749 when $(build-crypt).
11750 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11751 USE_CRYPT to 1 when $(build-crypt).
11752 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11753 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11754 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11756 2018-06-29 Zack Weinberg <zackw@panix.com>
11758 * crypt/crypt.h, posix/unistd.h: Update comments and
11759 prototypes for crypt and crypt_r.
11761 * manual/crypt.texi (Cryptographic Functions): New initial
11763 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11764 (Unpredictable Bytes): Improve initial exposition. Clarify error
11765 behavior of getentropy and getrandom.
11766 * manual/examples/genpass.c: Generate a salt using getentropy
11767 instead of the current time. Use hash $5$ (SHA-2-256).
11768 * manual/examples/testpass.c: Demonstrate validation against
11769 hashes generated with three different one-way functions.
11771 * manual/intro.texi: crypt.texi does not need an overview
11774 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11775 * manual/terminal.texi: Consistently refer to "passphrases"
11776 * instead of "passwords", and to the "user database" instead
11777 * of the "password database".
11778 * manual/users.texi: Similarly. Add notes about how actual
11779 passphrase hashes are now stored in the shadow database.
11780 Remove 20-year-old junk todo note.
11782 2018-06-29 Zack Weinberg <zackw@panix.com>
11784 * manual/crypt.texi: Use a normal top-level @node declaration.
11785 Move most of the introductory text to the 'crypt' section.
11786 Move the example programs below the @deftypefun for 'crypt_r'.
11787 Move the 'getpass' section...
11788 * manual/terminal.texi: ...here.
11790 2018-06-29 Zack Weinberg <zackw@panix.com>
11791 Florian Weimer <fweimer@redhat.com>
11793 * posix/unistd.h: Do not declare encrypt.
11794 (_XOPEN_CRYPT): Remove macro definition.
11795 (crypt): Declare only for _USE_MISC.
11796 * stdlib/stdlib.h: Do not declare setkey.
11797 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11798 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11800 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11801 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11802 into compat symbols. Don't define initial_perm if it's not
11804 * crypt/cert.c: Link explicitly with the expected versions for
11805 setkey and encrypt. If they are not available at all, mark
11806 the test as unsupported.
11808 * sunrpc/des_crypt.c: Unconditionally block linkage with
11809 cbc_crypt and ecb_crypt for new binaries.
11810 * sunrpc/des_soft.c: Unconditionally block linkage with
11811 des_setparity for new binaries.
11813 * manual/crypt.texi: Remove the entire "DES Encryption"
11814 section. Also remove the paragraph talking about FIPS 140-2
11815 from the introduction.
11816 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11817 of libgcrypt for "real" encryption, not DES.
11818 * manual/conf.texi (Constants for Sysconf): Mention that
11819 _XOPEN_CRYPT is no longer impelemented.
11821 * conform/data/unistd.h-data: Remove crypt function declaration.
11823 2018-06-29 Florian Weimer <fweimer@redhat.com>
11826 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11827 (disallow_malloc_check): Remove variable.
11828 (__malloc_check_init): Adjust.
11829 (malloc_set_state): Update comment.
11830 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11833 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11836 * localedata/locales/ast_ES (mon): Rename to...
11838 (mon): Import from CLDR (genitive case).
11840 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11841 Jakub Sitnicki <jkbs@redhat.com>
11844 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11845 on NLM_F_DUMP_INTR.
11847 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11849 * manual/llio.texi: Remove spurious space.
11851 2018-06-28 Florian Weimer <fweimer@redhat.com>
11854 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11857 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11859 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11860 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11861 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11862 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11863 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11864 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11865 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11867 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11870 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11871 Copy and null-terminate entries that are not terminated, in
11872 addition to empty ones.
11874 2018-06-27 Florian Weimer <fweimer@redhat.com>
11877 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11878 (extend_alloca_account): Remove.
11879 * manual/stdio.texi (Variable Arguments Output): Update comment.
11881 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11883 * nptl/sockperf.c: Remove file.
11885 2018-06-27 Florian Weimer <fweimer@redhat.com>
11888 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11889 scratch_buffer instead of extend_alloca.
11891 2018-06-27 Florian Weimer <fweimer@redhat.com>
11894 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11895 scratch_buffer instead of extend_alloca. Update comments.
11897 2018-06-27 Florian Weimer <fweimer@redhat.com>
11900 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11901 instead of extend_alloca.
11903 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11906 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11907 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11909 * scripts/test-installation.pl: Put temporary files in build
11910 directory, not /tmp.
11911 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11912 (CFLAGS-bug4.c): Likewise.
11913 (CFLAGS-bug5.c): Likewise.
11914 (CFLAGS-test-fseek.c): Likewise.
11915 (CFLAGS-test-popen.c): Likewise.
11916 (CFLAGS-test_rdwr.c): Likewise.
11917 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11919 * stdio-common/bug4.c (main): Likewise.
11920 * stdio-common/bug5.c (main): Likewise.
11921 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11922 * stdio-common/test-popen.c (do_test): Likewise.
11923 * stdio-common/test_rdwr.c (main): Likewise.
11925 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11927 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11928 (sem_open): Set sem.newsem.pad to zero for valgrind.
11930 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11933 * NEWS: Mention fcntl64 addition.
11934 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11935 * login/utmp_file.c: Likewise.
11936 * sysdeps/posix/fdopendir.c: Likewise.
11937 * sysdeps/posix/opendir.c: Likewise.
11938 * sysdeps/unix/pt-fcntl.c: Likewise.
11939 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11940 __fcntl64_nocancel_adjusted): New prototype.
11941 (__fcntl_nocancel_adjusted): Remove prototype.
11942 * io/Makefile (routines): Add fcntl64.
11943 (CFLAGS-fcntl64.c): New rule.
11944 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11945 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11946 * io/fcntl.h (fcntl64): Add prototype and redirect if
11947 __USE_FILE_OFFSET64 is defined.
11948 * io/fcntl64.c: New file.
11949 * manual/llio.text: Add a note for which commands fcntl acts a
11950 cancellation point.
11951 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11952 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11953 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11955 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11956 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11958 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11959 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11960 to __fcntl64_nocancel.
11961 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11962 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11963 to __fcntl64_nocancel.
11964 * sysdeps/generic/not-cancel.h: Likewise.
11965 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11966 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11967 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11968 (fcntl64): New symbol.
11969 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11980 fcntl64): Likewise.
11981 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11983 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11994 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11998 2018-06-26 Florian Weimer <fweimer@redhat.com>
12000 Run thread shutdown functions in an explicit order.
12001 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12003 (__libc_thread_freeres): Call thread shutdown functions
12005 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12006 * include/string.h (__strerror_thread_freeres): Declare.
12007 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12008 arena_thread_freeres. No longer static. Remove thread shutdown
12010 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12012 * resolv/res-close.c (__res_thread_freeres): Renamed from
12013 res_thread_freeres. No longer static. Remove thread shutdown
12015 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12016 * resolv/resolv_conf.c (freeres): Remove incorrect section
12017 attribute and use libc_freeres_fn.
12018 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12019 strerror_thread_freeres. No longer static. Remove thread
12020 shutdown hook registration.
12021 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12022 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12023 shutdown hook registration.
12024 * Makerules (shlib.lds): Do not provide section boundary symbols
12025 for __libc_thread_subfreeres.
12026 * manual/memory.texi (Basic Allocation): Update comment.
12028 2018-06-26 Florian Weimer <fweimer@redhat.com>
12030 Remove always-defined _RPC_THREAD_SAFE_ macro.
12031 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12032 Do not define _RPC_THREAD_SAFE_.
12033 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12035 * sunrpc/clnt_perr.c: Likewise.
12036 * sunrpc/clnt_raw.c: Likewise.
12037 * sunrpc/clnt_simp.c: Likewise.
12038 * sunrpc/key_call.c: Likewise.
12039 * sunrpc/rpc_common.c: Likewise.
12040 * sunrpc/rpc_main.c: Likewise.
12041 * sunrpc/rpc_thread.c: Likewise.
12042 * sunrpc/svc.c: Likewise.
12043 * sunrpc/svc_raw.c: Likewise.
12044 * sunrpc/svc_simple.c: Likewise.
12045 * sumrpc/svcauth_des.c: Likewise.
12047 2018-06-26 Florian Weimer <fweimer@redhat.com>
12049 * libio/Makefile (tests-internal): Add tst-vtables,
12050 tst-vtables-interposed.
12051 * libio/tst-vtables.c: New file.
12052 * libio/tst-vtables-common.c: Likewise.
12053 * libio/tst-vtables-interposed.c: Likewise.
12055 2018-06-26 Florian Weimer <fweimer@redhat.com>
12057 * support/support_test_main.c (support_test_main): Only call
12058 setvbuf if not disables.
12059 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12060 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12062 2018-06-26 Florian Weimer <fweimer@redhat.com>
12065 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12067 2018-06-25 Florian Weimer <fweimer@redhat.com>
12070 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12071 Use struct scratch_buffer instead of extend_alloca.
12073 2018-06-25 Florian Weimer <fweimer@redhat.com>
12076 * nss/getent.c (initgroups_keys): Use dynarray instead of
12079 2018-06-25 Florian Weimer <fweimer@redhat.com>
12082 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12083 Use struct scratch_buffer instead of extend_alloca.
12085 2018-06-25 Florian Weimer <fweimer@redhat.com>
12088 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12089 back to malloc directly, without stack allocations.
12091 2018-06-25 Florian Weimer <fweimer@redhat.com>
12094 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12097 2018-06-25 Florian Weimer <fweimer@redhat.com>
12100 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12102 * nscd/hstcache.c (addhstbyX): Likewise.
12103 * nscd/pwdcache.c (addpwbyX): Likewise.
12104 * nscd/servicescache.c (addservbyX): Likewise.
12106 2018-06-25 Florian Weimer <fweimer@redhat.com>
12109 * nscd/connections.c (read_cmdline): New function.
12110 (restart): Use it. Update comment.
12112 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12115 * localedata/locales/csb_PL (mon): Rename to...
12117 (abmon): Rename to...
12118 (ab_alt_mon): This.
12119 (mon): Add with proper genitive forms, copy from Wikipedia.
12122 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12125 * localedata/locales/csb_PL (mon): Fix typos:
12126 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12127 (yesstr): Add, value is "jo".
12128 (nostr): Add, value is "nié".
12130 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12132 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12133 all log1p and significand functions on m680x0.
12134 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12135 of s_significand.c..
12136 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12137 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12138 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12139 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12140 s_log1p.c and include it..
12142 2018-06-21 Vincent Chen <vincentc@andestech.com>
12144 * elf/elf.h (R_NDS32_NONE): New define.
12145 (R_NDS32_32_RELA): Likewise.
12146 (R_NDS32_COPY): Likewise.
12147 (R_NDS32_GLOB_DAT): Likewise.
12148 (R_NDS32_JUMP_SLOT): Likewise.
12149 (R_NDS32_RELATIVE): Likewise.
12150 (R_NDS32_TLS_TPOFF): Likewise.
12151 (R_NDS32_TLS_DESC): Likewise.
12153 2018-06-21 Mark Wielaard <mark@klomp.org>
12155 * elf/elf.h (R_BPF_MAP_FD): Removed.
12156 (R_BPF_64_64, R_BPF_64_32): New.
12158 2018-06-21 Florian Weimer <fweimer@redhat.com>
12161 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12162 Renamed from libc_feholdsetround_ctx.
12163 (default_libc_feresetround_ctx): Renamed from
12164 libc_feresetround_ctx.
12165 (default_libc_feholdsetround_noex_ctx): Renamed from
12166 libc_feholdsetround_noex_ctx.
12167 (default_libc_feresetround_noex_ctx): Renamed from
12168 libc_feresetround_noex_ctx.
12169 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12170 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12171 forwardning to the old implementations under the new names.
12172 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12173 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12174 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12175 (libc_feresetround_ctx): Forward to default implements for i386
12176 and MATH_SET_BOTH_ROUNDING_MODES.
12177 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12178 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12180 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12182 * string/tst-cmp.c: Include <libc-diag.h>.
12183 (strncmp_max): Disable -Wstringop-overflow= around call to
12185 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12188 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12189 (main): Disable -Wunused-value around call to strpbrk.
12190 * string/bug-strspn1.c: Include <libc-diag.h>.
12191 (main): Disable -Wunused-value around call to strspn.
12193 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12194 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12196 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12197 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12199 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12201 * math/Makefile (libm-calls): Move s_significandF to...
12202 (gen-libm-calls): ... here.
12203 * math/s_significand_template.c: New file.
12204 * math/s_significand.c: Removed.
12205 * math/s_significandf.c: Removed.
12206 * math/s_significandl.c: Removed.
12207 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12208 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12210 * math/e_exp2_template.c (declare_mgen_finite_alias,
12211 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12212 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12213 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12215 2018-06-20 Florian Weimer <fweimer@redhat.com>
12217 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12219 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12222 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12223 floating-point number to strtod functions rather than possibly
12224 negating result of those functions.
12225 * stdio-common/tst-scanf-round.c: New file.
12226 * stdio-common/Makefile (tests): Add tst-scanf-round.
12227 ($(objpfx)tst-scanf-round): Depend on $(libm).
12229 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12231 * sysdeps/mach/hurd/localplt.data: Move to...
12232 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12233 R_386_GLOB_DAT like on Linux i386.
12235 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12237 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12238 (SHM_STAT_ANY): New macro.
12239 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12240 (SHM_STAT_ANY): Likewise.
12241 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12242 (SHM_STAT_ANY): Likewise.
12243 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12244 (SHM_STAT_ANY): Likewise.
12245 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12246 (SHM_STAT_ANY): Likewise.
12247 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12248 (SHM_STAT_ANY): Likewise.
12249 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12250 (SHM_STAT_ANY): Likewise.
12251 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12252 (SHM_STAT_ANY): Likewise.
12253 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12254 (SHM_STAT_ANY): Likewise.
12255 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12256 (SHM_STAT_ANY): Likewise.
12257 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12258 (SHM_STAT_ANY): Likewise.
12259 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12260 (SHM_STAT_ANY): Likewise.
12262 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12263 (SEM_STAT_ANY): New macro.
12264 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12265 (SEM_STAT_ANY): Likewise.
12266 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12267 (SEM_STAT_ANY): Likewise.
12268 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12269 (SEM_STAT_ANY): Likewise.
12270 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12271 (SEM_STAT_ANY): Likewise.
12272 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12273 (SEM_STAT_ANY): Likewise.
12274 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12275 (SEM_STAT_ANY): Likewise.
12276 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12277 (SEM_STAT_ANY): Likewise.
12278 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12279 (SEM_STAT_ANY): Likewise.
12280 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12281 (SEM_STAT_ANY): Likewise.
12283 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12284 (MSG_STAT_ANY): New macro.
12285 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12286 (MSG_STAT_ANY): Likewise.
12287 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12288 (MSG_STAT_ANY): Likewise.
12289 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12290 (MSG_STAT_ANY): Likewise.
12291 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12292 (MSG_STAT_ANY): Likewise.
12293 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12294 (MSG_STAT_ANY): Likewise.
12295 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12296 (MSG_STAT_ANY): Likewise.
12297 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12298 (MSG_STAT_ANY): Likewise.
12299 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12300 (MSG_STAT_ANY): Likewise.
12301 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12302 (MSG_STAT_ANY): Likewise.
12304 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12305 (MAP_TYPE): Change value to 0x2b.
12307 2018-06-18 Florian Weimer <fweimer@redhat.com>
12310 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12311 socket with SOCK_CLOEXEC.
12313 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12316 * sysdeps/powerpc/powerpc64/le/Makefile
12317 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12318 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12319 (gnulib-tests): Also add $(f128-loader-link) for
12320 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12322 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12324 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12325 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12327 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12328 (sendfile64): New strong alias.
12329 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12330 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12331 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12332 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12334 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12335 ___pthread_get_cleanup_stack.
12336 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12337 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12338 * mach/shortcut.awk: Make syscall stubs include
12339 <mach-shortcuts-hidden.h> and add hidden definition.
12340 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12341 (__mach_msg): Add hidden prototype.
12342 * mach/msg.c: Include <mach.h>.
12343 (__mach_msg): Add hidden definition.
12344 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12345 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12346 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12347 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12348 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12349 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12350 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12351 prototype and definition.
12352 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12353 hidden target for _hurd_self_sigstate.
12355 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12358 * stdlib/tst-strtod-nan-sign-main.c: New file.
12359 * stdlib/tst-strtod-nan-sign.c: Likewise.
12360 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12361 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12362 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12363 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12364 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12366 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12369 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12372 2018-06-14 Florian Weimer <fweimer@redhat.com>
12375 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12376 that the result stays within the ISO-8859-1 range.
12377 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12378 characters are defined in IBM273.
12380 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12382 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12383 __mach_task_self): Remove attribute_hidden.
12385 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12387 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12388 ignore -Wrestrict for one test.
12390 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12391 Szabolcs Nagy <szabolcs.nagy@arm.com>
12393 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12395 2018-06-14 Florian Weimer <fweimer@redhat.com>
12397 * scripts/update-abilist.sh: Accept empty list of files to patch.
12399 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12401 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12402 test-xfail-check-abi-libmachuser): Add.
12403 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12404 __libc_read and __libc_write to __read and __write.
12405 * sysdeps/hurd/include/hurd/port.h: New file.
12406 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12407 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12408 __thread_switch, __evc_wait): Move declarations to...
12409 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12411 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12412 use PLT to call _hurd_self_sigstate.
12414 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12417 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12418 MAX_EXP as overflowing.
12419 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12421 (round_str): Output also whether result overflows in each rounding
12423 * stdlib/tst-strtod-round-data: Add more tests.
12424 * stdlib/tst-strtod-round-data.h: Regenerated.
12425 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12426 (TEST): Handle extra arguments for overflow flags.
12427 (struct test_overflow): New type.
12428 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12429 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12430 (test_in_one_mode): Take argument with overflow information.
12431 (do_test): Update calls to test_in_one_mode.
12433 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12435 * elf/dl-load (_dl_dst_substitute): Correct comment.
12436 (_dl_dst_count): Likewise.
12438 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12439 lll_futex_timed_wait.
12441 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12444 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12446 * math/test-nan-const.c: New file.
12447 * math/Makefile (tests): Add test-nan-const.
12448 (CFLAGS-test-nan-const.c): New variable.
12450 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12452 * benchtests/scripts/compare_strings.py (process_results): Add
12453 funcs argument. Compare only functions which are selected.
12454 (main): Check if base function is among selected functions.
12455 Pass selected functions to process_results.
12456 (__main__): Add -f/--functions argument.
12458 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12459 Hongbo Zhang <hongbo.zhang@linaro.org>
12461 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12462 __memcpy_falkor for phecda core.
12463 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12464 __memmove_falkor for phecda core.
12465 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12466 __memset_falkor for phecda core.
12467 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12469 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12470 macro to identify phecda core.
12472 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12473 Andreas Schwab <schwab@suse.de>
12474 Dmitry V. Levin <ldv@altlinux.org>
12475 Florian Weimer <fweimer@redhat.com>
12482 * elf/dl-dst.h: Remove DL_DST_COUNT.
12483 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12484 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12485 (is_dst): Comment. Support ELF gABI.
12486 (_dl_dst_count): Comment. Simplify and count DSTs.
12487 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12488 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12491 2018-06-12 Zack Weinberg <zackw@panix.com>
12493 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12494 * sysdeps/unix/sysv/linux/dl-sysdep.c
12495 Include not-cancel.h. Use __close_nocancel instead of __close,
12496 __open64_nocancel instead of __open, __read_nocancel instead of
12497 __libc_read, and __write_nocancel instead of __libc_write.
12499 * csu/check_fds.c (check_one_fd)
12500 * sysdeps/posix/fdopendir.c (__fdopendir)
12501 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12502 instead of __fcntl and/or __libc_fcntl.
12504 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12505 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12506 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12507 Use __open64_nocancel instead of __open_nocancel.
12509 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12510 hidden_proto declarations to the end and issue them if either
12511 IS_IN(libc) or IS_IN(rtld).
12512 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12513 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12514 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12515 read_nocancel, waitpid_nocancel, write_nocancel.
12517 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12518 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12519 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12521 * nptl/pt-fcntl.c: New file.
12522 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12523 (libpthread-routines): Add pt-fcntl.
12524 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12525 (__libc_fcntl): Remove attribute_hidden.
12526 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12527 __fcntl_nocancel_adjusted, not fcntl_common.
12528 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12529 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12530 to fcntl_nocancel.c.
12531 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12534 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12536 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12537 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12538 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12539 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12540 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12541 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12542 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12543 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12544 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12545 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12546 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12547 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12548 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12549 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12550 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12551 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12552 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12553 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12554 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12555 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12557 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12558 libpthread-routines.
12559 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12562 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12563 __libc_read, and __write instead of __libc_write. Define
12564 __open64 in addition to __open.
12566 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12570 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12571 to _private_tm[3] and add __glibc_reserved2.
12572 Add _Static_assert of offset of __private_ss == 0x30.
12573 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12574 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12576 2018-06-12 Florian Weimer <fweimer@redhat.com>
12578 x86: Make strncmp usable from rtld.
12579 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12580 __strncmp_ia32 if in libc (and not in rtld).
12581 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12582 strncmp if not in libc (and not to __strncmp_sse2).
12584 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12587 * localedata/locales/gd_GB (mon): Rename to...
12589 (mon): Import from CLDR (genitive case).
12590 * localedata/locales/hsb_DE (mon): Rename to...
12592 (mon): Import from CLDR (genitive case).
12593 * localedata/locales/wa_BE (mon): Rename to...
12595 (mon): Add, fill with the proper genitive forms, but CLDR data
12596 is incomplete; completed according to the comments in this file.
12597 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12599 * localedata/locales/wa_BE (country_name): Reword
12600 "Beljike" -> "Beldjike".
12602 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12605 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12606 cases of non-finite arguments.
12607 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12609 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12612 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12614 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12617 * include/unistd.h (__execvpex): New prototype.
12618 * posix/Makefile (tests): Add tst-spawn4.
12619 (tests-internal): Add tst-spawn4-compat.
12620 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12621 * posix/tst-spawn4-compat.c: New file.
12622 * posix/tst-spawn4.c: Likewise.
12623 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12624 binaries as shell scripts.
12625 * sysdeps/posix/spawni.c (__spawni): Likewise.
12627 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12630 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12631 ($(all-built-dso:=.dynsym): New target.
12632 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12633 ($(objpfx)check-initfini.out): New target.
12634 (generated): Add check-initfini.out.
12635 * scripts/check-initfini.awk: New file.
12636 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12638 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12640 * sysdeps/arm/crti.S (_init): Mark as hidden.
12642 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12644 * sysdeps/i386/crti.S (_init): Mark as hidden.
12646 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12648 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12650 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12652 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12654 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12656 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12658 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12660 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12662 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12664 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12666 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12668 * sysdeps/sh/crti.S (_init): Mark as hidden.
12670 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12672 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12675 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12677 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12678 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12679 and TF redirection to KFtype and KF only when the default
12680 long double type is not the IEEE 128-bit floating point type.
12682 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12684 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12686 (HWCAP_USCAT): Likewise.
12687 (HWCAP_ILRCPC): Likewise.
12688 (HWCAP_FLAGM): Likewise.
12689 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12691 (_dl_aarch64_cap_flags): Add new flag names.
12693 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12694 (MAP_FIXED_NOREPLACE): New macro.
12695 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12696 (MAP_FIXED_NOREPLACE): Likewise.
12697 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12698 (MAP_FIXED_NOREPLACE): Likewise.
12699 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12700 (MAP_FIXED_NOREPLACE): Likewise.
12701 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12702 (MAP_FIXED_NOREPLACE): Likewise.
12703 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12704 (MAP_FIXED_NOREPLACE): Likewise.
12705 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12706 (MAP_FIXED_NOREPLACE): Likewise.
12707 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12708 (MAP_FIXED_NOREPLACE): Likewise.
12709 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12710 (MAP_FIXED_NOREPLACE): Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12712 (MAP_FIXED_NOREPLACE): Likewise.
12713 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12714 (MAP_FIXED_NOREPLACE): Likewise.
12715 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12716 (MAP_FIXED_NOREPLACE): Likewise.
12717 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12718 (MAP_FIXED_NOREPLACE): Likewise.
12719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12720 (MAP_FIXED_NOREPLACE): Likewise.
12721 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12722 (MAP_FIXED_NOREPLACE): Likewise.
12724 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12727 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12729 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12732 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12734 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12736 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12738 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12740 * benchtests/scripts/compare_string.py: (process_results) Catch
12741 exception in non-existent base_func and catch exception in
12742 non-existent attribute.
12743 (parse_file) Catch exception if input file does not exist.
12745 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12747 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12748 options to avoid diff calculation and omit header, respectively.
12749 (main): process --no-diff and --no-header
12751 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12752 H.J. Lu <hongjiu.lu@intel.com>
12754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12755 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12758 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12759 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12760 and __wcsncmp_sse2.
12761 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12762 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12763 AVX unaligned load is fast and vzeroupper is preferred.
12764 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12765 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12766 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12767 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12768 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12769 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12770 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12771 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12772 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12773 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12776 2018-06-01 Florian Weimer <fweimer@redhat.com>
12778 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12779 configuring with --disable-multi-arch, building with
12780 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12783 2018-06-01 Florian Weimer <fweimer@redhat.com>
12785 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12786 results from building with “-march=x86-64 -mtune=generic
12787 -mfpmath=sse” and running on a Haswell-era CPU.
12789 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12792 * soft-fp/sqrttf2.c: Remove file.
12793 * soft-fp/sqrtdf2.c: Move to ....
12794 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12796 (__sqrtdf2): Make conditional on
12797 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12799 * soft-fp/sqrtsf2.c: Move to ....
12800 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12802 (__sqrtsf2): Make conditional on
12803 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12805 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12806 (gcc-double-routines): Remove sqrtdf2.
12807 (gcc-quad-routines): Remove sqrttf2.
12808 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12809 Do not filter out sqrtsf2 and sqrtdf2.
12810 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12811 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12813 2018-06-01 Florian Weimer <fweimer@redhat.com>
12815 * sysdeps/generic/libcidn.abilist: Remove file.
12817 2018-06-01 Florian Weimer <fweimer@redhat.com>
12820 * libio/strfile.h (struct _IO_str_fields): Rename members to
12821 discourage their use and add comment.
12822 (_IO_STR_DYNAMIC): Remove unused macro.
12823 * libio/strops.c (_IO_str_init_static_internal): Do not use
12824 callback pointers. Call malloc and free.
12825 (_IO_str_overflow): Do not use callback pointers. Call malloc
12827 (enlarge_userbuf): Likewise.
12828 (_IO_str_finish): Call free.
12829 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12830 _allocate_buffer_unused.
12831 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12833 (enlarge_userbuf): Likewise.
12834 (_IO_wstr_finish): Call free.
12835 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12836 _allocate_buffer_unused, _free_buffer_unused.
12837 * libio/memstream.c (__open_memstream): Likewise.
12838 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12839 * libio/wmemstream.c (open_wmemstream): Likewise.
12841 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12843 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12846 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12848 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12849 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12850 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12852 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12854 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12856 2018-05-29 Florian Weimer <fweimer@redhat.com>
12858 * support/Makefile (libsupport-routines): Add
12859 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12860 xpthread_barrierattr_setpshared.
12861 * support/xpthread_barrierattr_destroy.c: New file.
12862 * support/xpthread_barrierattr_init.c: Likewise.
12863 * support/xpthread_barrierattr_setpshared.c: Likewise.
12865 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12868 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12869 _r_debug and update DT_DEBUG for debugger.
12871 2018-05-29 Florian Weimer <fweimer@redhat.com>
12873 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12874 (tst-strtod5i.out): Likewise.
12876 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12878 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12879 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12880 (sparc64-quad-routines): New variable. Moved from ....
12881 [$(subdir) = soft-fp] (sysdep_routines): Add
12882 $(sparc64-quad-routines). Moved from ....
12883 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12884 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12885 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12887 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12888 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12889 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12890 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12891 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12892 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12893 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12894 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12895 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12896 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12897 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12898 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12899 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12900 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12901 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12902 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12903 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12904 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12905 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12906 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12907 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12908 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12909 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12910 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12911 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12912 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12913 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12914 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12915 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12916 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12917 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12918 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12919 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12920 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12921 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12922 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12923 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12924 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12925 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12926 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12927 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12928 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12929 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12930 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12931 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12932 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12933 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12934 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12935 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12936 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12937 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12938 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12939 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12940 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12941 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12942 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12943 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12944 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12946 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12947 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12948 (sparc32-quad-routines): New variable. Moved from ....
12949 [$(subdir) = soft-fp] (sysdep_routines): Add
12950 $(sparc32-quad-routines). Moved from ....
12951 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12952 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12954 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12955 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12956 * sysdeps/sparc/sparc32/q_add.c: ... here.
12957 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12958 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12959 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12960 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12961 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12962 * sysdeps/sparc/sparc32/q_div.c: ... here.
12963 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12964 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12965 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12966 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12967 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12968 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12969 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12970 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12971 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12972 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12973 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12974 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12975 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12976 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12977 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12978 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12979 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12980 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12981 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12982 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12983 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12984 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12985 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12986 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12987 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12988 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12989 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12990 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12991 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12992 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12993 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12994 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12995 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12996 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12997 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12998 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12999 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13000 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13001 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13002 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13003 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13004 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13005 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13006 * sysdeps/sparc/sparc32/q_util.c: ... here.
13007 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13008 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13009 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13010 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13012 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13013 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13015 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13016 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13017 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13018 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13020 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13026 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13027 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13029 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13032 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13035 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13037 * sysdeps/sh/Implies: Remove sh/soft-fp.
13038 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13039 * sysdeps/sh/sfp-machine.h: ... here.
13041 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13043 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13044 (__mempcpy_erms): Skip zero length.
13045 (__memmove_erms): Likewise.
13046 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13047 (__memset_erms): Likewise.
13049 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13051 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13052 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13053 Add functions moved from ....
13054 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13055 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13056 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13058 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13059 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13060 * sysdeps/alpha/e_sqrtl.c: ... here.
13061 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13062 * sysdeps/alpha/local-soft-fp.h: ... here.
13063 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13064 * sysdeps/alpha/ots_add.c: ... here.
13065 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13066 * sysdeps/alpha/ots_cmp.c: ... here.
13067 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13068 * sysdeps/alpha/ots_cmpe.c: ... here.
13069 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13070 * sysdeps/alpha/ots_cvtqux.c: ... here.
13071 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13072 * sysdeps/alpha/ots_cvtqx.c: ... here.
13073 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13074 * sysdeps/alpha/ots_cvttx.c: ... here.
13075 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13076 * sysdeps/alpha/ots_cvtxq.c: ... here.
13077 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13078 * sysdeps/alpha/ots_cvtxt.c: ... here.
13079 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13080 * sysdeps/alpha/ots_div.c: ... here.
13081 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13082 * sysdeps/alpha/ots_mul.c: ... here.
13083 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13084 * sysdeps/alpha/ots_nintxq.c: ... here.
13085 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13086 * sysdeps/alpha/ots_sub.c: ... here.
13087 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13088 * sysdeps/alpha/sfp-machine.h: ... here.
13090 2018-05-23 Florian Weimer <fweimer@redhat.com>
13098 Switch to extern IDNA implementation (libidn2).
13099 * libidn: Remove subdirectory.
13100 * LICENSES: Do not mention licensing conditions for the removed
13102 * config.h.in (HAVE_LIBIDN): Remove.
13103 * include/dlfcn.h (__libc_dlopen): Update comment.
13104 * include/idna.h: Remove file.
13105 * inet/Makefile (routines): Add idna.
13106 (tests-static, tests-internal): Add tst-idna_name_classify.
13107 (LOCALES): Generate locales for tests.
13108 (tst-idna_name_classify.out): Depend on generated locales.
13109 * inet/idna_name_classify.c: New file.
13110 * inet/tst-idna_name_classify.c: Likewise.
13111 * inet/net-internal.h (__idna_to_dns_encoding)
13112 (__idna_from_dns_encoding): Declare.
13113 * inet/net-internal.h (enum idna_name_classification): Define.
13114 (__idna_name_classify): Declare.
13115 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13116 __idna_from_dns_encoding.
13117 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13118 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13119 name as a fallback in case of encoding errors.
13120 (getnameinfo): Use DEPRECATED_NI_IDN.
13121 * inet/idna.c: New file.
13122 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13123 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13124 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13125 (modules-names): Add tst-no-libidn2.
13126 (extra-test-objs): Add tst-no-libidn2.os.
13127 (LDFLAGS-tst-no-libidn2.so): Set soname.
13128 (LOCALES): Set, and generate locales.
13129 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13130 (tst-resolv-ai_idn-latin1): Likewise.
13131 (tst-resolv-ai_idn-nolibidn2): Likewise.
13132 (tst-resolv-ai_idn.out): Depend on locales.
13133 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13134 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13136 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13137 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13138 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13139 * resolv/tst-resolv-ai_idn.c: New file.
13140 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13141 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13142 * resolv/tst-no-libidn2.c: Likewise.
13143 * support/support_format_addrinfo.c (format_ai_flags): Do not
13144 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13145 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13146 (gaih_inet): Call __idna_to_dns_encoding and
13147 __idna_from_dns_encoding, and use the original (punycode) name if
13148 __idna_from_dns_encoding fails due to an encoding error.
13149 (getaddrinfo): Use DEPRECATED_AI_IDN.
13150 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13151 * sysdeps/unix/inet/configure: Remove file.
13152 * sysdeps/unix/inet/configure.ac: Likewise.
13154 2018-05-23 Florian Weimer <fweimer@redhat.com>
13156 Implement allocate_once.
13157 * include/allocate_once.h: New file.
13158 * misc/allocate_once.c: Likewise.
13159 * misc/tst-allocate_once.c: Likewise.
13160 * misc/Makefile (routines): Add allocate_once.
13161 (tests-internal): Add tst-allocate_once.
13162 (generated): Add tst-allocate_once.mtrace,
13163 tst-allocate_once-mem.out.
13164 (tests-special): Add tst-allocate_once-mem.out.
13165 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13166 (tst-allocate_once-mem.out): Call mtrace.
13167 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13169 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13172 * string/test-memcpy.c (do_test1): New function.
13173 (test_main): Call it.
13175 2018-05-23 Andreas Schwab <schwab@suse.de>
13179 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13180 (L(preloop_large)): Save initial destination pointer in %r11 and
13181 use it instead of %rax after the loop.
13182 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13184 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13186 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13187 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13188 -I../soft-fp. Moved from ....
13189 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13190 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13191 * sysdeps/aarch64/e_sqrtl.c: ... here.
13192 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13193 * sysdeps/aarch64/sfp-machine.h: ... here.
13195 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13196 -Wmaybe-uninitialized around access to fq[0].
13197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13201 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13202 aliases for non-libc case of versioned symbols.
13203 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13204 (llseek): Define as compat symbol if
13205 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13207 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13208 Make into a compat symbol, disabled for minimum symbol version
13209 GLIBC_2.28 and later.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13212 2018-05-22 Florian Weimer <fweimer@redhat.com>
13214 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13215 not add -mpreferred-stack-boundary=4.
13216 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13217 (stack-align-test-flags): Likewise.
13218 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13220 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13221 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13222 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13223 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13224 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13225 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13226 (CFLAGS-tst-align2.c): Likewise.
13228 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13230 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13231 (index_arch_Prefer_FSRM): Likewise.
13232 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13233 Also check Prefer_FSRM.
13234 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13235 Also return OPTIMIZE (erms) for Prefer_FSRM.
13237 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13239 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13240 (index_cpu_FSRM): Likewise.
13241 (reg_FSRM): Likewise.
13243 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13245 * math/gen-tgmath-tests.py: Import sys.
13246 (Tests.__init__): Initialize macros_seen.
13247 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13248 if requested to do so for this macro.
13249 (Tests.add_all_tests): Take argument for macro for which to
13251 (Tests.check_macro_list): New function.
13252 (main): Handle check-list argument and argument specifying macro
13253 for which to generate tests.
13254 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13255 [PYTHON] (tgmath3-macro-tests): Likewise.
13256 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13257 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13258 not test-tgmath3.c.
13259 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13260 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13262 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13263 [PYTHON] ($(foreach
13264 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13266 [PYTHON] (tests-special): Add
13267 $(objpfx)test-tgmath3-macro-list.out.
13268 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13270 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13271 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13275 * time/tzset.c (SECSPERDAY): Cast to time_t.
13276 * time/tst-y2039.c: New file.
13277 * time/Makefile (tests): Add tst-y2039.
13279 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13281 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13282 (PREFETCH_ONE_SET): Remove duplicate line.
13284 2018-05-17 Florian Weimer <fweimer@redhat.com>
13286 * sysdeps/generic/math-type-macros-double.h: Include
13287 <math-nan-payload-double.h> after <libm-alias-double.h>.
13288 * sysdeps/generic/math-type-macros-float.h: Include
13289 <math-nan-payload-float.h> after <libm-alias-float.h>.
13290 * sysdeps/generic/math-type-macros-float128.h: Include
13291 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13292 * sysdeps/generic/math-type-macros-ldouble.h: Include
13293 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13295 2018-05-17 Andreas Schwab <schwab@suse.de>
13297 * resolv/res_send.c (__res_context_send): Don't set errno when
13298 returing error after malloc failure.
13300 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13302 * nptl/allocatestack.c (allocate_stack): Remove the
13303 !__ASSUME_PRIVATE_FUTEX paths.
13304 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13305 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13307 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13308 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13309 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13310 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13311 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13312 !__ASSUME_PRIVATE_FUTEX path.
13313 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13314 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13315 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13316 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13317 !__ASSUME_PRIVATE_FUTEX macros.
13318 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13320 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13321 * sysdeps/unix/sysv/linux/kernel-features.h
13322 (__ASSUME_PRIVATE_FUTEX): Removed.
13324 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13326 * math/Makefile (libm-narrow-fns): Add div.
13327 (libm-test-funcs-narrow): Likewise.
13328 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13329 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13330 * math/gen-auto-libm-tests.c (test_functions): Add div.
13331 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13332 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13333 (NARROW_DIV_TRIVIAL): Likewise.
13334 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13336 (__ddivl): Likewise.
13337 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13339 (CFLAGS-nldbl-ddiv.c): New variable.
13340 (CFLAGS-nldbl-fdiv.c): Likewise.
13341 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13343 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13345 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13346 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13347 * math/auto-libm-test-in: Add tests of div.
13348 * math/auto-libm-test-out-narrow-div: New generated file.
13349 * math/libm-test-narrow-div.inc: New file.
13350 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13353 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13354 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13355 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13364 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13365 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13366 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13367 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13369 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13391 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13395 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13398 * nscd/nscd-client.h (sendfileall): Remove prototype.
13399 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13400 (handle_request): Use writeall instead of sendfileall.
13401 * nscd/aicache.c (addhstaiX): Likewise.
13402 * nscd/grpcache.c (cache_addgr): Likewise.
13403 * nscd/hstcache.c (cache_addhst): Likewise.
13404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13405 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13406 * nscd/pwdcache.c (cache_addpw): Likewise.
13407 * nscd/servicescache.c (cache_addserv): Likewise.
13408 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13409 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13413 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13415 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13416 Include <string/strncat.c>.
13417 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13419 (__GI___strncat): New hidden alias.
13421 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13423 * sysdeps/mips/mips32/libm-test-ulps: Update.
13424 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13426 2018-05-16 Florian Weimer <fweimer@redhat.com>
13428 * support/Makefile (libsupport-routines): Add support_quote_blob,
13429 support_test_compare_blob.
13430 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13431 * support/check.h (TEST_COMPARE_BLOB): Define.
13432 (support_test_compare_blob): Declare.
13433 * support/support.h (support_quote_blob): Declare.
13434 * support/support_quote_blob.c: New file.
13435 * support/support_test_compare_blob.c: Likewise.
13436 * support/tst-support_quote_blob.c: Likewise.
13437 * support/tst-test_compare_blob.c: Likewise.
13439 2018-05-16 Florian Weimer <fweimer@redhat.com>
13441 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13442 of <strtod_nan_double.h>.
13443 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13444 instead of SET_MANTISSA.
13445 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13446 of include <strtod_nan_float.h>.
13447 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13448 instead of <strtod_nan_ldouble.h>.
13449 * stdlib/strtod_nan_double.h: Move to ...
13450 * sysdeps/generic/math-nan-payload-double.h: ... here.
13451 (FLOAT): Remove definition.
13452 (SET_MANTISSA): Rename to ...
13453 (SET_NAN_PAYLOAD): ... this.
13454 * stdlib/strtod_nan_float.h: Move to ...
13455 * sysdeps/generic/math-nan-payload-float.h: ... here.
13456 (FLOAT): Remove definition.
13457 (SET_MANTISSA): Rename to ...
13458 (SET_NAN_PAYLOAD): ... this.
13459 * sysdeps/generic/math-type-macros-double.h: Include
13460 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13461 instead of <math-svid-compat.h>.
13462 * sysdeps/generic/math-type-macros-float.h: Include
13463 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13464 instead of <math-svid-compat.h>.
13465 * sysdeps/generic/math-type-macros-float128.h: Include
13466 <math-nan-payload-float128.h>.
13467 * sysdeps/generic/math-type-macros-ldouble.h: Include
13468 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13469 instead of <math-svid-compat.h>.
13470 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13471 check for definition.
13472 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13473 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13474 Include <ieee754_float128.h>.
13475 (FLOAT): Remove definition.
13476 (SET_MANTISSA): Rename to ...
13477 (SET_NAN_PAYLOAD): ... this.
13478 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13479 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13480 Do not include <float128_private.h>.
13481 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13483 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13484 (FLOAT): Remove definition.
13485 (SET_MANTISSA): Rename to ...
13486 (SET_NAN_PAYLOAD): ... this.
13487 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13488 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13489 (FLOAT): Remove definition.
13490 (SET_MANTISSA): Rename to ...
13491 (SET_NAN_PAYLOAD): ... this.
13492 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13493 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13494 (FLOAT): Remove definition.
13495 (SET_MANTISSA): Rename to ...
13496 (SET_NAN_PAYLOAD): ... this.
13497 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13498 of "../stdlib/strtod_nan_double.h".
13499 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13500 of "../stdlib/strtod_nan_float.h".
13501 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13502 instead of "../stdlib/strtod_nan_ldouble.h".
13503 * manual/arith.texi (Parsing of Floats): Adjust comment.
13505 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13507 * math/Makefile (libm-narrow-fns): Add mul.
13508 (libm-test-funcs-narrow): Likewise.
13509 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13510 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13511 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13512 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13513 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13514 (NARROW_MUL_TRIVIAL): Likewise.
13515 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13516 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13518 (__dmull): Likewise.
13519 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13521 (CFLAGS-nldbl-dmul.c): New variable.
13522 (CFLAGS-nldbl-fmul.c): Likewise.
13523 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13525 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13527 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13528 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13529 * math/auto-libm-test-in: Add tests of mul.
13530 * math/auto-libm-test-out-narrow-mul: New generated file.
13531 * math/libm-test-narrow-mul.inc: New file.
13532 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13535 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13536 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13537 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13545 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13546 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13547 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13548 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13549 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13551 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13570 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13572 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13574 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13575 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13577 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13579 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13580 with *%eax in call.
13582 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13584 * sysdeps/i386/ldsodefs.h: Removed.
13585 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13586 * sysdeps/x86/ldsodefs.h: This.
13587 (La_i86_regs): New.
13588 (La_i86_retval): Likewise.
13589 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13590 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13592 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13594 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13597 2018-05-13 Alan Modra <amodra@gmail.com>
13599 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13600 R_PARISC_TLS_DTPOFF32 reloc addend.
13602 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13604 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13605 * math/math.h: Restrict the prototype definition for the functions
13606 issignaling(_Float128) and iszero(_Float128); and template
13607 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13608 __HAVE_FLOAT128_UNLIKE_LDBL.
13609 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13610 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13611 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13612 __f128() constants; define the type _Float128 as long double;
13613 and reuse long double in __CFLOAT128.
13615 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13617 * sysdeps/generic/math_private.h: Do not include
13619 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13621 * math/fromfp.h: Include <math-barriers.h>.
13622 * math/math-narrow.h: Likewise.
13623 * math/s_nextafter.c: Likewise.
13624 * math/s_nexttowardf.c: Likewise.
13625 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13626 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13627 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13628 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13629 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13630 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13631 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13645 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13646 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13647 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13650 * sysdeps/ieee754/k_standardl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13667 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13668 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13669 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13670 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13671 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13672 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13674 2018-05-11 Florian Weimer <fweimer@redhat.com>
13676 Use 64-bit epoch values in the time zone file parser.
13677 * include/time.h (internal_time_t): Define.
13678 (__tzfile_compute): Use it.
13679 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13681 (transitions): Switch to internal_time_t.
13682 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13684 (__tzfile_compute): Use internal_time_t for timer argument. Check
13685 for truncation before calling __offtime.
13687 2018-05-11 Florian Weimer <fweimer@redhat.com>
13690 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13691 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13693 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13694 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13695 export without --enable-obsolete-rpc.
13696 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13697 symbol. This should not have been exported, ever.
13699 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13702 * localedata/locales/gd_GB (abmon): Fix typo in May:
13703 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13705 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13707 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13708 Use multiple registers to copy data in loop tail.
13710 * sysdeps/aarch64/multiarch/memmove_falkor.S
13711 (__memmove_falkor): Use multiple registers to move data in
13714 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13716 * math/math-underflow.h: New file.
13717 * sysdeps/generic/math_private.h: Do not include <float.h>.
13718 (fabs_tg): Remove macro. Moved to math-underflow.h.
13719 (min_of_type_f): Likewise.
13720 (min_of_type_): Likewise.
13721 (min_of_type_l): Likewise.
13722 (min_of_type_f128): Likewise.
13723 (min_of_type): Likewise.
13724 (math_check_force_underflow): Likewise.
13725 (math_check_force_underflow_nonneg): Likewise.
13726 (math_check_force_underflow_complex): Likewise.
13727 * math/e_exp2_template.c: Include <math-underflow.h>.
13728 * math/k_casinh_template.c: Likewise.
13729 * math/s_catan_template.c: Likewise.
13730 * math/s_catanh_template.c: Likewise.
13731 * math/s_ccosh_template.c: Likewise.
13732 * math/s_cexp_template.c: Likewise.
13733 * math/s_clog10_template.c: Likewise.
13734 * math/s_clog_template.c: Likewise.
13735 * math/s_csin_template.c: Likewise.
13736 * math/s_csinh_template.c: Likewise.
13737 * math/s_csqrt_template.c: Likewise.
13738 * math/s_ctan_template.c: Likewise.
13739 * math/s_ctanh_template.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13758 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13760 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13761 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13762 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13763 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13764 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13765 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13766 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13767 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13768 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13769 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13770 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13771 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13818 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13820 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13825 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13827 * sysdeps/generic/math-barriers.h: New file.
13828 * sysdeps/generic/math_private.h [!math_opt_barrier]
13829 (math_opt_barrier): Move to math-barriers.h.
13830 [!math_opt_barrier] (math_force_eval): Likewise.
13831 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13832 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13834 (math_force_eval): Likewise.
13835 * sysdeps/alpha/fpu/math-barriers.h: New file.
13836 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13838 (math_force_eval): Likewise.
13839 * sysdeps/x86/fpu/math-barriers.h: New file.
13840 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13842 (math_force_eval): Likewise.
13843 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13844 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13845 multiple-include guard for rename.
13846 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13847 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13849 (math_force_eval): Likewise.
13851 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13855 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13857 * stdlib/Makefile (test-bz22786): New test.
13858 * stdlib/test-bz22786.c: New test.
13860 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13862 * include/math-narrow-eval.h: New file. Contents moved from ....
13863 * sysdeps/generic/math_private.h: ... here.
13864 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13865 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13866 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13867 * stdlib/strtod_l.c: Likewise.
13868 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13869 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13870 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13883 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13884 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13885 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13886 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13887 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13888 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13889 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13891 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13892 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13893 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13894 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13895 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13896 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13898 2018-05-08 Andreas Schwab <schwab@suse.de>
13900 * sysdeps/nptl/internaltypes.h: Fix comment.
13902 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13904 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13905 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13908 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13910 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13911 of I into loop header.
13912 * benchtests/bench-memmove-walk.c
13913 (test_main): Likewise.
13915 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13918 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13919 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13921 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13924 * elf/dl-load.c (open_verify): Fix stack overflow.
13925 * elf/Makefile (tst-big-note): New test.
13926 * elf/tst-big-note-lib.S: New.
13927 * elf/tst-big-note.c: New.
13929 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13931 * scripts/abilist.awk: Ignore absolute symbols.
13932 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13933 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13934 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13935 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13936 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13937 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13938 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13939 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13940 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13941 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13942 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13943 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14025 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14039 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14060 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14061 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14064 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14065 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14067 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14077 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14082 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14088 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14094 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14095 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14096 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14097 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14098 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14099 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14100 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14109 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14111 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14112 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14178 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14193 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14206 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14232 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14246 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14285 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14288 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14289 Use atomic_load_acquire to load __tid.
14291 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14293 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14294 Restore the pointer into %rdx, after syscall and use %rdx,
14295 instead of %rsi, to restore context.
14297 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14299 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14300 Pop the pointer into %rdx after syscall and use %rdx, instead
14301 of %rsi, to restore context.
14303 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14305 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14306 handlers after setjmp.
14307 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14309 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14310 <libc-pointer-arith.h>.
14311 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14312 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14313 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14314 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14315 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14316 * sysdeps/x86/__longjmp_cancel.S: New file.
14317 * sysdeps/x86/longjmp.c: Likewise.
14318 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14320 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14322 * NEWS: Add ustat.h deprecation entry.
14323 * bits/ustat.h: Remove file.
14324 * misc/sys/ustat.h: Likewise.
14325 * misc/ustat.h: Likewise.
14326 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14327 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14328 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14329 compatibility mode.
14330 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14331 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14332 generic Linux implementation.
14334 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14336 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14337 * math/w_expl_compat.c: Likewise.
14338 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14340 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14342 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14344 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14346 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14347 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14348 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14350 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14352 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14353 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14354 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14357 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14359 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14361 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14362 * math/w_asin_template.c: Likewise.
14363 * math/w_atanh_template.c: Likewise.
14365 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14367 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14368 to powerpc/powerpc64/be for big-endian.
14369 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14372 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14373 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14374 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14375 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14376 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14377 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14378 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14379 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14380 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14381 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14382 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14383 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14384 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14385 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14386 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14387 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14388 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14389 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14390 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14391 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14392 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14393 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14394 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14395 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14396 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14397 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14398 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14399 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14400 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14401 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14402 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14403 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14405 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14406 adjusted to imply powerpc64 and older processors on powerpc64/be.
14407 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14408 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14409 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14410 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14411 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14412 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14413 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14414 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14415 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14416 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14417 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14418 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14419 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14420 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14421 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14422 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14423 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14424 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14425 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14426 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14427 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14428 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14429 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14430 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14431 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14432 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14433 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14434 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14435 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14436 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14437 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14439 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14440 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14441 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14442 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14444 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14445 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14446 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14447 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14449 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14450 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14451 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14452 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14453 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14454 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14455 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14456 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14457 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14458 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14459 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14461 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14462 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14463 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14464 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14465 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14466 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14467 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14468 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14469 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14470 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14471 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14473 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14474 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14475 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14476 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14477 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14478 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14479 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14480 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14481 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14482 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14483 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14484 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14486 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14487 and adjusted to imply olders processors.
14488 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14489 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14490 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14491 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14492 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14493 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14494 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14495 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14496 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14497 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14498 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14503 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14517 powerpc64 and adjusted.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14523 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14525 * sysdeps/tile: Remove.
14526 * sysdeps/unix/sysv/linux/tile: Likewise.
14527 * README (tilegx-*-linux-gnu): Remove from list of supported
14529 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14530 contribution of support for generic Linux kernel syscall
14532 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14533 tilegx configurations.
14534 (Config.install_linux_headers): Do not handle tile.
14535 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14537 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14538 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14539 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14540 conditional undefine and redefine.
14541 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14543 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14544 conditional undefine and redefine.
14546 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14548 * signal/tst-sigaction.c: New file to test BZ #23069.
14549 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14551 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14554 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14555 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14556 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14557 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14559 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14561 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14562 _DIRENT_MATCHES_DIRENT64 is not defined.
14563 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14564 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14566 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14567 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14569 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14571 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14572 version to GCC 8 branch.
14574 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14576 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14577 (check_no_hidden): Use type of original function when declaring
14580 * sysdeps/unix/sysv/linux/sys/ptrace.h
14581 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14582 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14583 (struct __ptrace_seccomp_metadata): New type.
14584 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14585 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14586 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14587 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14588 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14589 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14591 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14593 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14595 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14596 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14597 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14598 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14599 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14601 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14603 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14605 * dirent/versionsort.c (versionsort): Likewise.
14606 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14607 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14608 * dirent/versionsort64.c (versionsort64): Likewise.
14609 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14610 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14611 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14612 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14613 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14614 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14615 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14616 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14617 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14618 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14621 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14622 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14624 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14626 * elf/elf.h (NT_PPC_PKEY): New macro.
14628 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14631 * localedata/locales/hr_HR: fix thousands_sep and
14634 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14636 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14637 (XTABS): Define to TAB3.
14639 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14641 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14643 * dirent/scandir-tail-common.c: New file.
14644 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14645 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14646 * dirent/scandir.c: Use scandir-tail-common.c.
14647 * dirent/scandirat.c: Likewise.
14648 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14649 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14650 if _DIRENT_MATCHES_DIRENT64 is defined.
14651 * dirent/scandirat64.c (scandirat64): Likewise.
14652 * include/dirent.h (__scandir_tail): Only define iff
14653 _DIRENT_MATCHES_DIRENT64 is not defined.
14654 (__scandir64_tail): Define regardless.
14655 (__scandirat, scandirat64): Remove libc_hidden_proto.
14656 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14657 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14659 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14661 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14662 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14664 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14666 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14668 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14670 (_dl_aarch64_cap_flags): Add asimdfhm.
14672 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14674 * sysdeps/nios2/libm-test-ulps: Update.
14676 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14678 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14679 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14681 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14683 (_DIRENT_MATCHES_DIRENT64): Undef
14684 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14685 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14686 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14687 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14688 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14689 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14690 use getdents64 syscalls as base.
14691 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14692 symbol if required.
14693 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14694 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14695 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14696 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14697 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14698 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14699 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14700 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14702 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14703 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14705 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14707 * scripts/test_printers_common.py (init_test): Disable lock elision.
14709 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14711 * math/test-tgmath.c (count_double, count_float,
14712 count_ldouble, count_cdouble, count_cfloat,
14713 count_cldouble): Use volatile int.
14715 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14717 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14718 (conformtest-xfail-conds): Add i386-gnu.
14719 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14721 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14722 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14723 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14724 msqid_ds.msg_lrpid): Likewise.
14725 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14727 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14728 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14729 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14730 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14732 (struct statvfs64): Likewise.
14733 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14735 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14736 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14737 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14738 instead of wait_queue.
14739 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14740 instead of vm_area_struct.
14741 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14742 struct sched_param definition to it.
14743 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14744 * bits/types/struct_sched_param.h: New file.
14745 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14746 <bits/types/struct_sched_param.h> instead of <sched.h>.
14747 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14748 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14749 generic version but include <bits/pthreadtypes.h> to make struct
14750 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14751 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14753 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14754 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14755 [__USE_XOPEN] (OFDEL): New macro.
14756 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14757 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14758 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14760 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14761 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14762 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14764 * sysdeps/i386/sys/ucontext.h: Likewise.
14765 * sysdeps/m68k/sys/ucontext.h: Likewise.
14766 * sysdeps/mips/sys/ucontext.h: Likewise.
14767 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14768 * sysdeps/mach/hurd/i386/Makefile
14769 (test-xfail-POSIX/fcntl.h/conform): Add.
14770 (test-xfail-POSIX/signal.h/conform): Add.
14771 (test-xfail-POSIX/semaphore.h/conform): Add.
14772 (test-xfail-POSIX/regex.h/conform): Add.
14773 (test-xfail-POSIX/aio.h/conform): Add.
14774 (test-xfail-POSIX/mqueue.h/conform): Add.
14775 (test-xfail-POSIX/sys/types.h/conform): Add.
14776 (test-xfail-UNIX98/fcntl.h/conform): Add.
14777 (test-xfail-UNIX98/netdb.h/conform): Add.
14778 (test-xfail-UNIX98/signal.h/conform): Add.
14779 (test-xfail-UNIX98/semaphore.h/conform): Add.
14780 (test-xfail-UNIX98/regex.h/conform): Add.
14781 (test-xfail-UNIX98/aio.h/conform): Add.
14782 (test-xfail-UNIX98/ftw.h/conform): Add.
14783 (test-xfail-UNIX98/mqueue.h/conform): Add.
14784 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14785 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14786 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14787 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14788 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14789 (test-xfail-UNIX98/sys/types.h/conform): Add.
14790 (test-xfail-UNIX98/stdlib.h/conform): Add.
14791 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14792 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14793 (test-xfail-POSIX2008/netdb.h/conform): Add.
14794 (test-xfail-POSIX2008/signal.h/conform): Add.
14795 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14796 (test-xfail-POSIX2008/regex.h/conform): Add.
14797 (test-xfail-POSIX2008/aio.h/conform): Add.
14798 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14799 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14800 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14801 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14802 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14803 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14804 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14805 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14806 (test-xfail-XOPEN2K/signal.h/conform): Add.
14807 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14808 (test-xfail-XOPEN2K/regex.h/conform): Add.
14809 (test-xfail-XOPEN2K/aio.h/conform): Add.
14810 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14811 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14812 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14813 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14814 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14815 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14816 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14817 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14818 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14819 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14820 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14821 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14822 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14823 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14824 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14825 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14826 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14827 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14828 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14829 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14830 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14831 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14832 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14833 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14834 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14835 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14836 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14838 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14839 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14841 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14843 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14844 --enable-obsolete for powerpc-linux-gnuspe.
14846 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14848 * conform/data/sys/un.h-data: Allow sun_ prefix.
14849 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14851 * sysdeps/mach/include/mach.h: Likewise.
14852 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14853 * sysdeps/mach/include/mach_error.h: Likewise.
14855 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14857 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14858 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14859 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14860 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14862 2018-04-16 Andreas Schwab <schwab@suse.de>
14865 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14867 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14869 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14870 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14872 2018-04-12 DJ Delorie <dj@redhat.com>
14874 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14877 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14879 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14880 (struct kernel_sigaction): Use the same definition on 31bit as is used
14883 2018-04-09 Florian Weimer <fweimer@redhat.com>
14886 * resolv/res_send.c (send_dg): Use designated initializers instead
14887 of assignment to zero-initialize other fields of struct mmsghdr.
14889 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14891 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14892 __READDIR_ALIAS): Undefine after usage.
14893 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14894 __READDIR_R_ALIAS): Likewise.
14895 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14896 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14897 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14898 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14899 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14900 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14901 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14902 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14903 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14904 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14905 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14906 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14907 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14908 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14909 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14910 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14911 * sysdeps/unix/sysv/linux/readdir.c: New file.
14912 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14913 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14914 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14916 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14918 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14920 * manual/charset.texi (Converting a Character): Fix typo.
14922 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14926 * sysdeps/arm/libm-test-ulps: Update.
14928 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14929 as base implementation.
14930 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14931 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14934 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14935 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14936 remove unrequired definitions and update comments.
14937 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14938 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14939 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14940 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14941 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14942 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14943 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14944 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14945 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14946 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14947 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14948 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14949 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14950 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14951 and RESET_SA_RESTORER hooks.
14953 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14955 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14957 2018-04-05 Florian Weimer <fweimer@redhat.com>
14959 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14960 integer overflow, memory leak on error, and indeterminate errno
14961 value. Add a null wide character to terminate the result string.
14962 * manual/charset.texi (Converting a Character): Mention embedded
14963 null bytes in the mbrtowc input string. Explain what happens in
14964 the -2 result case. Do not claim that mbrtowc is simple or
14965 obvious to use. Adjust the description of the code example. Use
14966 @code, not @var, for concrete variables.
14968 2018-04-05 Florian Weimer <fweimer@redhat.com>
14970 * manual/examples/mbstouwcs.c: New file.
14971 * manual/charset.texi (Converting a Character): Include it.
14973 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14975 * include/dirent.h (dirfd): Add hidden proto.
14976 * dirent/dirfd.c (dirfd): Add hidden def.
14977 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14978 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14980 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14982 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14983 sin, cos and sincos to 1 ULP.
14985 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14988 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14990 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14991 * elf/tst-absolute-sym.c: New file.
14992 * elf/tst-absolute-sym-lib.c: New file.
14993 * elf/tst-absolute-sym-lib.lds: New file.
14994 * elf/Makefile (tests): Add `tst-absolute-sym'.
14995 (modules-names): Add `tst-absolute-sym-lib'.
14996 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14997 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14998 ($(objpfx)tst-absolute-sym): New dependency.
15001 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15003 (SYMBOL_ADDRESS): New macro.
15004 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15005 SYMBOL_ADDRESS for symbol address calculation.
15006 * elf/dl-runtime.c (_dl_fixup): Likewise.
15007 (_dl_profile_fixup): Likewise.
15008 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15009 * elf/rtld.c (dl_main): Likewise.
15010 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15011 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15012 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15013 (elf_machine_rela): Likewise.
15014 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15015 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15017 (elf_machine_rela): Likewise.
15018 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15019 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15020 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15021 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15023 (elf_machine_reloc): Likewise.
15024 (elf_machine_got_rel): Likewise.
15025 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15026 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15027 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15031 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15032 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15036 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15041 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15044 2018-04-04 Zack Weinberg <zackw@panix.com>
15046 * sysdeps/generic/internal-signals.h: Include signal.h,
15047 sigsetops.h, and stdbool.h.
15048 (__libc_signal_block_all): Actually block all signals.
15049 (__libc_signal_block_app): Likewise.
15050 (__libc_signal_restore_set): Actually restore the signal mask.
15052 2018-04-04 Florian Weimer <fweimer@redhat.com>
15054 inet: Actually build and run tst-deadline.
15055 * inet/Makefile (tests-internal): Add tst-deadline and do not
15056 overwrite the variable.
15057 (tests-static-internal): Remove variable.
15059 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15062 * bits/uio-ext.h (RWF_APPEND): New.
15063 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15064 * manual/llio.texi: Document RWF_APPEND.
15065 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15066 (RWF_SUPPORTED): Add RWF_APPEND.
15068 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15071 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15072 check for internal nptl signals.
15073 * nptl/sigaction.c (__sigaction): Likewise.
15074 * signal/sigaddset.c (sigaddset): Likewise.
15075 * signal/sigdelset.c (sigdelset): Likewise.
15076 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15077 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15079 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15080 to filter out internal nptl signals.
15081 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15082 also check realtime signals using standard macros.
15083 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15084 __is_internal_signal, __libc_signal_block_all,
15085 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15086 * sysdeps/nptl/sigfillset.c: Remove file.
15087 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15088 Change return to bool.
15089 (__clear_internal_signals): Remove SIGTIMER clean since it is
15090 equal to SIGCANEL on Linux.
15091 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15092 signal set was constructed using standard functions.
15094 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15096 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15097 ifname is too long.
15098 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15099 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15100 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15102 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15103 * signal/sigaddset.c: Include <sigsetopts.h>.
15104 * signal/sigdelset.c: Likewise.
15106 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15110 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15111 logic as sin and cos.
15113 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15115 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15116 inputs. Return correct sign.
15117 (do_sincos): Remove small input check before do_sin, let do_sin set
15122 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15124 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15125 (do_cos_slow): Likewise.
15126 (do_sin_slow): Likewise.
15127 (reduce_and_compute): Likewise.
15132 (sloww1): Likewise.
15133 (sloww2): Likewise.
15135 (bslow1): Likewise.
15136 (bslow2): Likewise.
15137 (cslow2): Likewise.
15139 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15141 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15142 (do_cos): Remove corp parameter and calculations.
15143 (do_sin): Likewise.
15144 (do_sincos): Remove cor variable.
15145 (__sin): Use do_sincos for huge inputs.
15147 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15148 (reduce_and_compute_sincos): Remove unused function.
15150 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15152 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15153 reduce_sincos, improve accuracy to 136 bits.
15154 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15155 (__sin): Use improved reduction and simplified do_sincos calculation.
15157 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15159 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15161 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15162 (do_sincos_2): Likewise.
15163 (__sin): Remove middle range reduction case.
15165 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15168 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15170 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15174 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15176 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15178 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15181 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15183 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15184 Remove definitions.
15185 (opendir_oflags): Use O_DIRECTORY regardless.
15186 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15187 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15189 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15191 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15192 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15194 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15195 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15196 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15197 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15198 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15199 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15201 * htl/Makefile: Bump licence to LGPL 2.1+.
15202 * htl/alloca_cutoff.c: Likewise.
15203 * htl/cthreads-compat.c: Likewise.
15204 * htl/lockfile.c: Likewise.
15205 * htl/pt-alloc.c: Likewise.
15206 * htl/pt-cancel.c: Likewise.
15207 * htl/pt-cleanup.c: Likewise.
15208 * htl/pt-create.c: Likewise.
15209 * htl/pt-dealloc.c: Likewise.
15210 * htl/pt-detach.c: Likewise.
15211 * htl/pt-exit.c: Likewise.
15212 * htl/pt-getattr.c: Likewise.
15213 * htl/pt-initialize.c: Likewise.
15214 * htl/pt-internal.h: Likewise.
15215 * htl/pt-join.c: Likewise.
15216 * htl/pt-self.c: Likewise.
15217 * htl/pt-setcancelstate.c: Likewise.
15218 * htl/pt-setcanceltype.c: Likewise.
15219 * htl/pt-sigmask.c: Likewise.
15220 * htl/pt-spin-inlines.c: Likewise.
15221 * htl/pt-testcancel.c: Likewise.
15222 * htl/pt-yield.c: Likewise.
15223 * htl/tests/test-1.c: Likewise.
15224 * htl/tests/test-10.c: Likewise.
15225 * htl/tests/test-11.c: Likewise.
15226 * htl/tests/test-12.c: Likewise.
15227 * htl/tests/test-13.c: Likewise.
15228 * htl/tests/test-14.c: Likewise.
15229 * htl/tests/test-15.c: Likewise.
15230 * htl/tests/test-16.c: Likewise.
15231 * htl/tests/test-17.c: Likewise.
15232 * htl/tests/test-2.c: Likewise.
15233 * htl/tests/test-3.c: Likewise.
15234 * htl/tests/test-4.c: Likewise.
15235 * htl/tests/test-5.c: Likewise.
15236 * htl/tests/test-6.c: Likewise.
15237 * htl/tests/test-7.c: Likewise.
15238 * htl/tests/test-8.c: Likewise.
15239 * htl/tests/test-9.c: Likewise.
15240 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15241 * sysdeps/htl/bits/cancelation.h: Likewise.
15242 * sysdeps/htl/bits/pthread-np.h: Likewise.
15243 * sysdeps/htl/bits/pthread.h: Likewise.
15244 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15245 * sysdeps/htl/bits/semaphore.h: Likewise.
15246 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15247 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15248 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15249 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15250 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15251 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15252 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15253 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15254 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15255 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15256 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15257 * sysdeps/htl/old_pt-atfork.c: Likewise.
15258 * sysdeps/htl/pt-atfork.c: Likewise.
15259 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15260 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15261 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15262 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15263 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15264 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15265 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15266 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15267 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15268 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15269 * sysdeps/htl/pt-attr-init.c: Likewise.
15270 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15271 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15272 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15273 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15274 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15275 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15276 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15277 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15278 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15279 * sysdeps/htl/pt-attr.c: Likewise.
15280 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15281 * sysdeps/htl/pt-barrier-init.c: Likewise.
15282 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15283 * sysdeps/htl/pt-barrier.c: Likewise.
15284 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15285 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15286 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15287 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15288 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15289 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15290 * sysdeps/htl/pt-cond-init.c: Likewise.
15291 * sysdeps/htl/pt-cond-signal.c: Likewise.
15292 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15293 * sysdeps/htl/pt-cond-wait.c: Likewise.
15294 * sysdeps/htl/pt-cond.c: Likewise.
15295 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15296 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15297 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15298 * sysdeps/htl/pt-condattr-init.c: Likewise.
15299 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15300 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15301 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15302 * sysdeps/htl/pt-equal.c: Likewise.
15303 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15304 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15305 * sysdeps/htl/pt-getschedparam.c: Likewise.
15306 * sysdeps/htl/pt-getspecific.c: Likewise.
15307 * sysdeps/htl/pt-init-specific.c: Likewise.
15308 * sysdeps/htl/pt-key-create.c: Likewise.
15309 * sysdeps/htl/pt-key-delete.c: Likewise.
15310 * sysdeps/htl/pt-key.h: Likewise.
15311 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15312 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15313 * sysdeps/htl/pt-mutex-init.c: Likewise.
15314 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15315 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15316 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15317 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15318 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15319 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15320 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15321 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15322 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15323 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15324 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15325 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15326 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15327 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15328 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15329 * sysdeps/htl/pt-mutexattr.c: Likewise.
15330 * sysdeps/htl/pt-once.c: Likewise.
15331 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15332 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15333 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15334 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15335 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15336 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15337 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15338 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15339 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15340 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15341 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15342 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15343 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15344 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15345 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15346 * sysdeps/htl/pt-setschedparam.c: Likewise.
15347 * sysdeps/htl/pt-setschedprio.c: Likewise.
15348 * sysdeps/htl/pt-setspecific.c: Likewise.
15349 * sysdeps/htl/pt-spin.c: Likewise.
15350 * sysdeps/htl/pt-startup.c: Likewise.
15351 * sysdeps/htl/pthread.h: Likewise.
15352 * sysdeps/htl/sem-close.c: Likewise.
15353 * sysdeps/htl/sem-destroy.c: Likewise.
15354 * sysdeps/htl/sem-getvalue.c: Likewise.
15355 * sysdeps/htl/sem-init.c: Likewise.
15356 * sysdeps/htl/sem-open.c: Likewise.
15357 * sysdeps/htl/sem-post.c: Likewise.
15358 * sysdeps/htl/sem-timedwait.c: Likewise.
15359 * sysdeps/htl/sem-trywait.c: Likewise.
15360 * sysdeps/htl/sem-unlink.c: Likewise.
15361 * sysdeps/htl/sem-wait.c: Likewise.
15362 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15363 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15364 * sysdeps/mach/htl/pt-block.c: Likewise.
15365 * sysdeps/mach/htl/pt-spin.c: Likewise.
15366 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15367 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15368 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15369 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15370 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15371 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15372 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15373 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15374 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15375 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15376 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15377 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15378 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15379 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15380 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15381 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15382 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15383 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15384 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15385 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15386 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15387 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15388 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15389 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15390 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15391 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15392 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15393 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15394 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15395 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15396 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15397 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15398 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15399 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15400 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15401 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15402 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15403 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15404 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15405 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15406 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15407 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15408 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15410 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15411 * README: Remove the mention of out-of-tree patches needed for
15414 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15415 (UTIME_NOW, UTIME_OMIT): Define macros.
15417 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15418 instead of pthread_detach.
15419 (__cthread_fork): Call __pthread_create instead of pthread_create.
15420 (__cthread_keycreate): Call __pthread_key_create instead of
15421 pthread_key_create.
15422 (__cthread_getspecific): Call __pthread_getspecific instead of
15423 pthread_getspecific.
15424 (__cthread_setspecific): Call __pthread_setspecific instead of
15425 pthread_setspecific.
15426 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15427 __pthread_mutex_unlock instead of pthread_mutex_lock and
15428 pthread_mutex_unlock.
15429 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15430 ___pthread_get_cleanup_stack.
15431 (__pthread_get_cleanup_stack): New strong alias.
15432 * htl/pt-create.c: Include <pthreadP.h>.
15433 (entry_point): Call __pthread_exit instead of pthread_exit.
15434 (pthread_create): Rename to __pthread_create.
15435 (pthread_create): New strong alias.
15436 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15437 (pthread_detach): New strong alias.
15438 (__pthread_detach): Call __pthread_cond_broadcast instead of
15439 pthread_cond_broadcast.
15440 * htl/pt-exit.c: Include <pthreadP.h>.
15441 (__pthread_exit): Call __pthread_setcancelstate and
15442 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15443 __pthread_get_cleanup_stack.
15444 * htl/pt-testcancel.c: Include <pthreadP.h>.
15445 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15446 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15447 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15448 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15449 pthread_attr_getstacksize.
15450 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15451 Rename to __pthread_attr_getstackaddr.
15452 (pthread_attr_getstackaddr): New strong alias.
15453 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15454 Rename to __pthread_attr_getstacksize.
15455 (pthread_attr_getstacksize): New strong alias.
15456 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15457 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15458 (pthread_attr_setstack): New strong alias.
15459 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15460 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15461 pthread_attr_getstacksize, pthread_attr_setstacksize and
15462 pthread_attr_setstackaddr.
15463 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15464 Rename to __pthread_attr_setstackaddr.
15465 (pthread_attr_setstackaddr): New strong alias.
15466 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15467 Rename to __pthread_attr_setstacksize.
15468 (pthread_attr_setstacksize): New strong alias.
15469 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15470 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15472 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15473 (__pthread_key_create): New hidden def.
15474 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15475 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15476 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15477 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15478 __pthread_setspecific, __pthread_setcancelstate,
15479 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15480 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15481 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15483 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15484 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15485 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15486 (pthread_attr_setstackaddr): New strong alias.
15487 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15488 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15489 (pthread_attr_setstacksize): New strong alias.
15490 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15491 (call_exit): Call __pthread_exit instead of pthread_exit.
15492 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15493 (_pthread_mutex_init): New hidden definition.
15494 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15495 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15496 instead of pthread_attr_init and pthread_attr_setstack.
15498 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15499 __vm_deallocate instead of vm_allocate and vm_deallocate.
15500 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15502 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15504 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15506 * hurd/siginfo.c: Include <libioP.h>.
15507 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15508 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15510 * mach/devstream.c: Include <libioP.h>.
15511 (dealloc_ref): Call __mach_port_deallocate instead of
15512 mach_port_deallocate.
15513 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15514 Call __mach_port_deallocate instead of mach_port_deallocate.
15515 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15517 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15519 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15520 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15521 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15523 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15525 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15526 instead of sysconf.
15527 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15528 __clock_gettime instead of clock_gettime.
15529 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15530 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15531 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15532 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15533 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15535 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15536 __clock_gettime and __nanosleep instead of clock_gettime and
15538 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15539 __hurd_catch_signal.
15540 (hurd_catch_signal): New strong alias.
15541 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15542 __hurd_catch_signal instead of hurd_catch_signal.
15543 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15544 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15545 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15546 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15547 (_hurd_thread_sigstate): Add hidden def.
15548 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15550 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15551 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15552 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15553 __hurd_file_name_path_lookup.
15554 (hurd_file_name_path_lookup): New strong alias.
15555 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15556 hurd_file_name_path_lookup.
15557 * mach/errstring.c (mach_error_type): Add hidden def.
15558 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15559 * mach/mutex-init.c (__mutex_init): Add hidden def.
15560 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15561 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15562 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15563 * sysdeps/mach/hurd/getcwd.c
15564 (_hurd_canonicalize_directory_name_internal): Rename to
15565 __hurd_canonicalize_directory_name_internal.
15566 (_hurd_canonicalize_directory_name_internal): New strong alias.
15567 (__canonicalize_directory_name_internal, __getcwd): Call
15568 __hurd_canonicalize_directory_name_internal instead of
15569 _hurd_canonicalize_directory_name_internal.
15570 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15571 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15573 * sysdeps/hurd/include/hurd.h: New file.
15574 * sysdeps/hurd/include/hurd/fd.h: New file.
15575 * sysdeps/hurd/include/hurd/signal.h: New file.
15576 * sysdeps/mach/include/lock-intern.h: New file.
15577 * sysdeps/mach/include/mach.h: New file.
15578 * sysdeps/mach/include/mach/mig_support.h: New file.
15579 * sysdeps/mach/include/mach_error.h: New file.
15580 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15582 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15583 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15584 _HEADER_H_HIDDEN_DEF macro.
15585 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15586 _hurd_fd_error_signal): Add hidden prototype.
15587 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15589 * libio/iolibio.h (_IO_puts): New hidden prototype.
15590 * libio/ioputs.c (_IO_puts): New hidden def.
15591 * sysdeps/mach/hurd/localplt.data: New file.
15593 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15594 Amos Jeffries <squid3@treenet.co.nz>
15595 David Michael <fedora.dm0@gmail.com>
15596 Marco Gerards <marco@gnu.org>
15597 Marcus Brinkmann <marcus@gnu.org>
15598 Neal H. Walfield <neal@gnu.org>
15599 Pino Toscano <toscano.pino@tiscali.it>
15600 Richard Braun <rbraun@sceen.net>
15601 Roland McGrath <roland@gnu.org>
15602 Samuel Thibault <samuel.thibault@ens-lyon.org>
15603 Thomas DiModica <ricinwich@yahoo.com>
15604 Thomas Schwinge <tschwinge@gnu.org>
15606 * htl: New directory.
15607 * sysdeps/htl: New directory.
15608 * sysdeps/hurd/htl: New directory.
15609 * sysdeps/i386/htl: New directory.
15610 * sysdeps/mach/htl: New directory.
15611 * sysdeps/mach/hurd/htl: New directory.
15612 * sysdeps/mach/hurd/i386/htl: New directory.
15613 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15614 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15615 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15617 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15619 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15620 signals in thread created for runing timers.
15622 2018-04-01 Florian Weimer <fweimer@redhat.com>
15624 * support/support_format_addrinfo.c (support_format_addrinfo):
15625 Include unknown error number in formatted result.
15627 2018-03-29 Florian Weimer <fweimer@redhat.com>
15629 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15632 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15634 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15635 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15636 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15637 (__ASSUME_CLONE_BACKWARDS): Define.
15639 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15643 early when linux sentinel value is set.
15645 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15647 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15649 2018-03-27 Andreas Schwab <schwab@suse.de>
15652 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15653 allocation of private copy of nsaddr_list fails.
15655 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15658 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15659 * sysdeps/unix/sysv/linux/umount.c: ... here.
15660 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15661 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15662 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15663 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15665 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15666 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15668 2018-03-26 Andreas Schwab <schwab@suse.de>
15670 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15671 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15672 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15673 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15674 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15675 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15676 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15677 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15678 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15679 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15680 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15681 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15682 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15683 (R_RISCV_NUM): Define.
15685 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15687 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15688 TLS declaration of errno.
15689 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15691 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15692 (ARCH_SETUP_TLS): Likewise.
15693 * sysdeps/mach/hurd/libc-start.h: New file copied from
15694 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15695 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15696 instead of __libc_setup_tls.
15697 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15698 __libc_setup_tls before initializing libpthread and running _hurd_init
15699 which starts the signal thread.
15700 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15702 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15704 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15707 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15708 after it is defined.
15710 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15711 Max Horn <max@quendi.de>
15715 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15717 * string/test-memmove.c (do_test2): New testcase.
15719 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15721 * sysdeps/generic/frame.h: Remove file.
15722 * sysdeps/arm/frame.h: Likewise.
15723 * sysdeps/hppa/frame.h: Likewise.
15724 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15726 (GET_FRAME): Likewise.
15727 (GET_STACK): Likewise.
15728 (CALL_SIGHANDLER): Likewise.
15729 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15731 (GET_FRAME): Likewise.
15732 (GET_STACK): Likewise.
15733 (CALL_SIGHANDLER): Likewise.
15734 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15735 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15736 (GET_FRAME): Likewise.
15737 (GET_STACK): Likewise.
15738 (CALL_SIGHANDLER): Likewise.
15739 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15740 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15741 (GET_FRAME): Likewise.
15742 (GET_STACK): Likewise.
15743 (ADVANCE_STACK_FRAME): Likewise.
15744 (CALL_SIGHANDLER): Likewise.
15745 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15746 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15747 (GET_FRAME): Likewise.
15748 (GET_STACK): Likewise.
15749 (CALL_SIGHANDLER): Likewise.
15750 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15751 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15752 (GET_FRAME): Likewise.
15753 (GET_STACK): Likewise.
15754 (CALL_SIGHANDLER): Likewise.
15755 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15756 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15757 (GET_FRAME): Likewise.
15758 (GET_STACK): Likewise.
15759 (CALL_SIGHANDLER): Likewise.
15760 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15761 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15762 (GET_FRAME): Likewise.
15763 (GET_STACK): Likewise.
15764 (CALL_SIGHANDLER): Likewise.
15765 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15766 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15767 (GET_FRAME): Likewise.
15768 (GET_STACK): Likewise.
15769 (CALL_SIGHANDLER): Likewise.
15770 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15771 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15772 (GET_FRAME): Likewise.
15773 (GET_STACK): Likewise.
15774 (CALL_SIGHANDLER): Likewise.
15775 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15776 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15777 (GET_FRAME): Likewise.
15778 (GET_STACK): Likewise.
15779 (CALL_SIGHANDLER): Likewise.
15780 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15781 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15782 (GET_FRAME): Likewise.
15783 (GET_STACK): Likewise.
15784 (CALL_SIGHANDLER): Likewise.
15785 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15787 (GET_FRAME): Likewise.
15788 (GET_STACK): Likewise.
15789 (CALL_SIGHANDLER): Likewise.
15790 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15791 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15792 (FIRST_FRAME_POINTER): Likewise.
15793 (ADVANCE_STACK_FRAME): Likewise.
15794 (GET_STACK): Likewise.
15795 (GET_FRAME): Likewise.
15796 (CALL_SIGHANDLER): Likewise.
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15798 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15799 (ADVANCE_STACK_FRAME): Likewise.
15800 (GET_STACK): Likewise.
15801 (GET_FRAME): Likewise.
15802 (CALL_SIGHANDLER): Likewise.
15803 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15804 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15805 (GET_FRAME): Likewise.
15806 (GET_STACK): Likewise.
15807 (CALL_SIGHANDLER): Likewise.
15808 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15809 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15810 (GET_FRAME): Likewise.
15811 (GET_STACK): Likewise.
15812 (CALL_SIGHANDLER): Likewise.
15814 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15816 * sysdeps/x86_64/backtrace.c: Move to ....
15817 * debug/backtrace.c: ... here.
15818 * sysdeps/aarch64/backtrace.c: Remove file.
15819 * sysdeps/alpha/backtrace.c: Likewise.
15820 * sysdeps/hppa/backtrace.c: Likewise.
15821 * sysdeps/ia64/backtrace.c: Likewise.
15822 * sysdeps/mips/backtrace.c: Likewise.
15823 * sysdeps/nios2/backtrace.c: Likewise.
15824 * sysdeps/riscv/backtrace.c: Likewise.
15825 * sysdeps/sh/backtrace.c: Likewise.
15826 * sysdeps/tile/backtrace.c: Likewise.
15828 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15831 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15834 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15837 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15838 possibly overflowing computations.
15840 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15842 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15843 values from Linux-specific section now that it is in the GNU section.
15844 * sysdeps/gnu/errlist.c: Regenerate.
15846 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15848 * math/Makefile (libm-narrow-fns): Add sub.
15849 (libm-test-funcs-narrow): Likewise.
15850 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15851 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15852 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15853 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15854 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15855 (NARROW_SUB_TRIVIAL): Likewise.
15856 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15858 (__dsubl): Likewise.
15859 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15861 (CFLAGS-nldbl-dsub.c): New variable.
15862 (CFLAGS-nldbl-fsub.c): Likewise.
15863 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15865 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15867 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15868 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15869 * math/auto-libm-test-in: Add tests of sub.
15870 * math/auto-libm-test-out-narrow-sub: New generated file.
15871 * math/libm-test-narrow-sub.inc: New file.
15872 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15875 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15876 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15877 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15886 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15887 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15888 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15889 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15891 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15919 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15922 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15924 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15926 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15928 2018-03-18 Richard Braun <rbraun@sceen.net>
15930 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15933 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15935 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15936 (__libc_cleanup_fct): Define function.
15937 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15938 __libc_cleanup_end): Rewrite implementation using
15939 __attribute__ ((__cleanup__)).
15940 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15941 * hurd/Makefile (routines): Add hurdlock.
15942 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15944 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15945 * hurd/hurdpid.c: Include <lowlevellock.h>
15946 (_S_msg_proc_newids): Use lll_wait to synchronize.
15947 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15948 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15949 * mach/Makefile (lock-headers): Remove machine-lock.h.
15950 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15952 (__spin_lock_t): New type.
15953 (__SPIN_LOCK_INITIALIZER): New macro.
15954 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15955 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15956 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15957 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15958 (__mutex_init): Initialize with lll.
15959 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15960 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15962 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15963 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15964 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15965 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15966 (__setpgid): Use lll for synchronization.
15967 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15968 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15969 instead of <cthreads.h>.
15970 (_IO_lock_inexpensive): New macro
15971 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15972 (__libc_lock_self0): New declaration.
15973 (__libc_lock_owner_self): New macro.
15974 (__libc_key_t): Remove type.
15975 (_LIBC_LOCK_INITIALIZER): New macro.
15976 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15977 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15978 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15979 __libc_lock_define_initialized_recursive,
15980 __rtld_lock_define_initialized_recursive,
15981 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15982 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15983 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15984 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15985 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15986 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15987 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15989 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15990 * hurd/hurdlock.c: New file.
15991 * hurd/hurdlock.h: New file.
15992 * mach/lowlevellock.h: New file
15994 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15996 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15997 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15998 when opening a symlink with O_NOFOLLOW.
15999 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16000 path when flags contains O_NOFOLLOW.
16001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16002 if flags contains O_DIRECTORY and the result is a directory.
16003 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16004 oneself when the pointer given in D is nul (as set by ext2fs).
16005 * sysdeps/mach/hurd/mlockall.c: New file.
16006 * sysdeps/mach/hurd/munlockall.c: New file.
16008 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16010 * hurd/hurdsig.c: Include <pthread.h>.
16011 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16012 get the signal thread stack layout.
16013 * hurd/Makefile (headers): Remove threadvar.h.
16014 (inline-headers): Remove threadvar.h.
16015 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16016 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16017 __hurd_threadvar_max, __hurd_errno_location.
16018 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16019 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16020 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16021 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16022 unless TLS is not initialized yet, in which case we do not need a
16023 critical section yet anyway.
16024 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16026 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16028 (__hurd_threadvar_index): Remove enum.
16029 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16030 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16032 (__hurd_reply_port0): New variable declaration.
16033 (__hurd_local_reply_port): New macro.
16034 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16035 (interrupted_reply_port_location): Add thread_t parameter. Use it
16036 with THREAD_TCB to access thread-local variables.
16037 (_hurdsig_abort_rpcs): Pass ss->thread to
16038 interrupted_reply_port_location.
16039 (_hurd_internal_post_signal): Likewise.
16040 (_hurdsig_init): Use presence of cthread_fork instead of
16041 __hurd_threadvar_stack_mask to start signal thread by hand.
16042 Remove signal thread threadvar initialization.
16043 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16044 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16045 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16047 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16049 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16050 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16051 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16052 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16053 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16054 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16055 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16057 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16058 <hurd/threadvar.h>.
16059 [IS_IN(rtld)] (rtld_errno): New variable.
16060 [IS_IN(rtld)] (__errno_location): New weak function.
16061 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16062 * sysdeps/mach/hurd/errno.c: Remove file.
16063 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16064 (__fork): Remove THREADVAR_SPACE macro and its use.
16065 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16067 (init): Do not initialize threadvar.
16068 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16070 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16071 __hurd_local_reply_port instead of threadvar.
16072 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16073 _hurd_sigstate fields.
16074 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16075 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16076 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16077 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16078 instead of threadvar.
16079 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16080 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16081 (use_threadvar, global_reply_port): Remove variables.
16082 (__hurd_reply_port0): New variable.
16083 (__mig_get_reply_port): Use __hurd_local_reply_port and
16084 __hurd_reply_port0 instead of threadvar.
16085 (__mig_dealloc_reply_port): Likewise.
16086 (__mig_init): Do not initialize threadvar.
16087 * sysdeps/mach/hurd/profil.c: Fix comment.
16088 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16089 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16090 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16091 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16092 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16093 __cthread_setspecific.
16094 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16095 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16096 __cthread_t instead of cthread_fork, cthread_detach,
16097 pthread_getattr_np, pthread_attr_getstack.
16098 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16099 __cthread_keycreate.
16100 (cthread_getspecific): Rename to __cthread_getspecific.
16101 (cthread_setspecific): Rename to __cthread_setspecific.
16102 (__libc_getspecific): Use __cthread_getspecific instead of
16103 cthread_getspecific.
16104 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16105 __cthread_keycreate instead of cthread_keycreate.
16106 (__libc_setspecific): Use __cthread_setspecific instead of
16107 cthread_setspecific.
16108 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16111 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16112 testing whether it is defined.
16114 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16116 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16118 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16119 * sysdeps/mach/i386/thread_state.h
16120 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16122 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16124 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16126 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16127 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16129 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16131 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16132 descriptor instead of creating a new one.
16133 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16135 * mach/setup-thread.c: Include <ldsodefs.h>.
16136 (__mach_setup_thread): Call _dl_allocate_tls, pass
16137 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16138 MACHINE_THREAD_STATE_FLAVOR, before getting
16139 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16140 MACHINE_THREAD_STATE_FLAVOR with the result.
16141 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16142 MACHINE_THREAD_STATE_FIX_NEW.
16143 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16144 too. Add original thread parameter.
16146 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16148 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16149 Remove inline function.
16151 * sysdeps/i386/fpu/libm-test-ulps: Update.
16152 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16154 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16156 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16159 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16161 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16162 (__sincos_code): Remove define and undefine.
16163 [__FAST_MATH__] (__sincos): Remove inline function.
16164 [__FAST_MATH__] (__sincosf): Remove inline function.
16165 [__FAST_MATH__] (__sincosl): Remove inline function.
16166 (__atan2l): Remove inline functions.
16167 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16168 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16170 (floor): Remove inline function.
16172 [__FAST_MATH__] (__ldexp_code): Remove macro.
16173 [__FAST_MATH__] (ldexp): Remove inline function.
16174 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16175 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16176 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16177 [__USE_ISOC99] (__lrint_code): Remove macro.
16178 [__USE_ISOC99] (__llrint_code): Likewise.
16179 [__USE_ISOC99] (lrintf): Remove inline function.
16180 [__USE_ISOC99] (lrint): Likewise.
16181 [__USE_ISOC99] (lrintl): Likewise.
16182 [__USE_ISOC99] (llrint): Likewise.
16183 [__USE_ISOC99] (llrintf): Likewise.
16184 [__USE_ISOC99] (llrintl): Likewise.
16186 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16188 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16189 (__ieee754_sqrtf): Remove.
16190 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16191 (__ieee754_sqrtf): Remove.
16192 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16193 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16195 (__ieee754_sqrtf): Remove.
16196 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16197 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16200 (__ieee754_sqrt): Remove.
16201 (__ieee754_sqrtf): Remove.
16202 (__ieee754_sqrtl): Remove.
16203 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16204 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16205 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16206 (__ieee754_sqrtf): Remove.
16207 (__ieee754_sqrtl): Remove.
16209 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16211 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16212 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16213 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16214 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16215 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16216 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16217 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16218 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16220 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16221 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16222 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16223 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16224 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16225 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16226 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16227 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16228 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16229 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16230 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16231 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16232 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16233 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16234 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16235 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16236 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16237 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16238 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16243 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16244 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16245 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16249 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16250 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16251 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16252 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16253 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16254 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16255 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16256 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16257 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16258 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16259 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16261 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16263 * include/math.h (sqrt): Declare with asm redirect.
16266 (sqrtf128): Likewise.
16267 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16268 nonlib and libnldbl with -fmath-errno.
16269 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16270 * math/w_sqrt_template.c: Likewise.
16271 * math/w_sqrtf_compat.c: Likewise.
16272 * math/w_sqrtl_compat.c: Likewise.
16273 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16274 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16275 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16278 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16280 * benchtests/Makefile: Define _ISOMAC.
16281 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16282 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16283 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16284 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16285 * benchtests/bench-timing.h: Define attribute_hidden.
16287 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16289 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16292 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16295 * localedata/locales/cs_CZ (mon): Rename to...
16297 (mon): Import from CLDR (genitive case).
16299 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16302 * localedata/locales/el_CY (abmon): Rename to...
16303 (ab_alt_mon): This.
16304 (abmon): Import from CLDR (abbreviated genitive case).
16305 * localedata/locales/el_GR (abmon): Rename to...
16306 (ab_alt_mon): This.
16307 (abmon): Import from CLDR (abbreviated genitive case).
16309 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16312 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16314 2018-03-15 Robert Buj <robert.buj@gmail.com>
16317 * localedata/locales/ca_ES (abmon): Rename to...
16318 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16319 (mon): Rename to...
16321 (abmon): Import from CLDR (genitive case, month names preceded by
16324 (abday): Synchronize with CLDR.
16325 (d_t_fmt): Likewise.
16329 (LC_TIME): Improve indentation.
16330 (LC_TELEPHONE): Likewise.
16331 (LC_NAME): Likewise.
16332 (LC_ADDRESS): Likewise.
16334 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16336 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16337 (lrintf): Remove definitions used only with old GCC.
16338 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16339 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16340 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16341 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16342 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16343 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16344 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16345 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16346 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16347 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16348 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16349 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16350 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16351 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16352 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16353 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16354 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16355 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16356 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16357 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16358 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16359 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16360 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16361 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16362 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16363 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16364 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16365 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16367 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16369 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16370 instruction to unbreak builds with binutils 2.26 and older.
16372 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16374 * sysdeps/aarch64/strncmp.S (count): New macro.
16375 (strncmp): Store misaligned length in SRC1 in COUNT.
16376 (mutual_align): Adjust.
16377 (misaligned8): Load dword at a time when it is safe.
16379 2018-03-12 Zack Weinberg <zackw@panix.com>
16383 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16384 if the _IO_EOF_SEEN bit is already set; update commentary.
16385 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16386 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16388 * support/support_openpty.c, support/tty.h: New files.
16389 * support/Makefile (libsupport-routines): Add support_openpty.
16391 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16393 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16394 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16396 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16398 * po/pt_BR.po: Update translations.
16400 2018-03-12 David Michael <fedora.dm0@gmail.com>
16402 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16403 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16404 get a port to the startup server.
16406 2018-03-11 Zack Weinberg <zackw@panix.com>
16408 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16409 before nldbl-compat.h.
16411 2018-03-10 Zack Weinberg <zackw@panix.com>
16413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16414 math.h or math_private.h.
16416 * sysdeps/alpha/fpu/s_isnan.c
16417 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16418 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16419 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16420 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16421 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16422 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16423 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16424 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16425 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16431 Include math_private.h.
16433 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16434 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16435 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16436 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16437 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16438 * sysdeps/powerpc/power7/fpu/s_logb.c:
16439 Include math.h and math_private.h.
16441 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16442 uses of $at in .set noat / .set at.
16444 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16446 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16447 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16448 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16449 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16452 2018-03-09 Florian Weimer <fweimer@redhat.com>
16454 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16457 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16460 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16461 Add nop before __startcontext, add explaining comments.
16463 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16466 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16468 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16469 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16470 Do not build hardware transactional code for __SPE__.
16471 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16472 (__lll_trylock_elision): Likewise.
16473 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16474 (__lll_unlock_elision): Likewise.
16476 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16477 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16478 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16479 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16480 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16481 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16482 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16483 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16484 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16485 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16486 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16487 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16488 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16489 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16490 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16491 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16492 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16493 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16494 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16495 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16496 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16497 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16498 (__ASSUME_CLONE_BACKWARDS): Define.
16499 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16500 __clone2 if __NR_clone2 is defined.
16501 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16502 (__ASSUME_CLONE_BACKWARDS): Likewise.
16503 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16504 (__ASSUME_CLONE_BACKWARDS): Likewise.
16505 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16506 (__ASSUME_CLONE2): Likewise.
16507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16508 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16509 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16510 variants and the define architecture can use.
16511 (__ASSUME_CLONE_DEFAULT): Define as default.
16512 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16513 (__ASSUME_CLONE_BACKWARDS): Likewise.
16514 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16515 (__ASSUME_CLONE_BACKWARDS): Likewise.
16516 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16517 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16519 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16521 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16523 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16526 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16527 (do_test_limit): Likewise.
16529 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16530 for every implementation.
16531 (do_test): Likewise.
16533 * benchtests/bench-strncmp.c: Convert output to json.
16535 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16537 * io/futimens.c: Add missing start-of-file descriptive comment.
16538 * io/utime.c: Likewise.
16539 * misc/futimesat.c: Likewise.
16540 * misc/utimes.c: Likewise.
16541 * sysdeps/mach/hurd/futimesat.c: Likewise.
16542 * sysdeps/mach/hurd/utimes.c: Likewise.
16543 * sysdeps/posix/utime.c: Likewise.
16544 * sysdeps/posix/utimes.c: Likewise.
16545 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16546 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16547 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16548 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16550 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16552 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16554 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16555 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16556 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16557 (__futimens): Move implementation to...
16558 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16559 utime_tvalue_from_tspec): ... new helper functions.
16560 (hurd_futimens): New function.
16561 * sysdeps/mach/hurd/futimesat.c: New file.
16562 * sysdeps/mach/hurd/utimensat.c: New file.
16564 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16566 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16567 UTIME_OMIT): New macros.
16568 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16569 before reverting to converting time spec to time value and calling
16571 * sysdeps/mach/hurd/utime-helper.c: New file.
16572 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16573 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16574 reverting to utime_tvalue_from_tval and __file_utimes.
16575 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16576 (__lutimes): Just call hurd_futimens after lookup.
16577 * sysdeps/mach/hurd/utimes.c: Likewise.
16579 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16581 * bits/sigaction.h: Add include guard.
16582 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16583 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16584 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16585 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16586 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16587 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16588 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16589 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16590 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16592 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16594 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16595 -Wmaybe-uninitialized for -Os.
16596 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16599 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16601 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16602 __INO_T_MATCHES_INO64_T is defined.
16603 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16604 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16606 * dirent/alphasort64.c: Likewise.
16607 * dirent/scandir.c: Likewise.
16608 * dirent/scandir64-tail.c: Likewise.
16609 * dirent/scandir64.c: Likewise.
16610 * dirent/scandirat.c: Likewise.
16611 * dirent/scandirat64.c: Likewise.
16612 * dirent/versionsort.c: Likewise.
16613 * dirent/versionsort64.c: Likewise.
16614 * include/dirent.h: Likewise.
16616 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16617 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16618 for socketpair endpoint.
16619 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16620 WRITE_BUFFER_SIZE as buffer size for sending socket.
16621 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16622 issue on system where send is implemented with sendto syscall.
16623 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16624 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16625 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16626 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16629 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16630 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16631 sa_restorer for vDSO case.
16632 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16634 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16636 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16637 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16638 * hurd/hurd/ioctl.h: Include <mach/port.h>
16639 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16640 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16641 <mach/mach_types.h> and <mach/message.h>.
16642 (headers): Move mach/param.h to bits/mach/param.h.
16643 * sysdeps/mach/i386/mach/param.h: Move file to ...
16644 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16645 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16647 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16648 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16649 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16650 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16651 trivial, for C++ conformity.
16652 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16653 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16654 Process mig output through $(migheadersed).
16655 * hurd/Makefile (migheadersed): Define variable.
16656 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16657 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16659 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16660 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16661 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16662 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16663 <bits/types/sigset_t.h>.
16664 [!defined __USE_GNU]: Do not #error out.
16665 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16666 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16667 Include <stddef.h> and <bits/types/sigset_t.h>
16668 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16669 instead of sighandler_t.
16670 * stdlib/errno.h (error_t): Move definition to...
16671 * bits/types/error_t.h: ... new header.
16672 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16673 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16674 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16675 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16676 * hurd/hurd.h: Include <bits/types/error_t.h>
16677 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16678 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16679 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16680 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16681 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16682 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16683 * sysdeps/mach/hurd/futimens.c: New file.
16685 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16688 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16689 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16690 * nscd/gai.c (__nss_hosts_database): Readd definition.
16691 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16692 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16693 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16695 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16697 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16698 (ifunc_one): Likewise.
16700 2018-03-01 DJ Delorie <dj@delorie.com>
16703 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16706 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16708 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16709 `match_pid' parameter.
16710 (td_ta_thr_iter): Update accordingly.
16712 2018-03-01 Florian Weimer <fweimer@redhat.com>
16714 * nptl/Makefile (install-lib-ldscripts): Remove.
16715 (install): Remove rule.
16716 ($(inst_libdir)/libpthread.so): Likewise.
16718 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16721 * localedata/locales/an_ES: update month and day names,
16722 improve d_fmt, improve postal_fmt, add country_post,
16725 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16727 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16728 Ukrainian instead of Bulgarian.
16730 2018-03-01 Florian Weimer <fweimer@redhat.com>
16732 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16735 2018-03-01 Florian Weimer <fweimer@redhat.com>
16737 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16738 * nptl/Makefile (routines): Add pthread_atfork.
16739 (static-only-routines): Set to pthread_atfork.
16740 (libpthread-routines): Remove pthread_atfork.
16741 (libpthread-static-only-routines): Remove.
16742 (install): Update comment.
16743 (libpthread.so): Do not install libpthread_nonshared.a.
16744 (tests): Do not link with libpthread_nonshared.a.
16745 (generated): Remove libpthread_nonshared.a.
16746 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16747 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16748 with libpthread_nonshared.a.
16750 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16753 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16754 (libc_feholdexcept_setroundf128): New macro.
16755 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16758 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16760 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16761 * include/inttypes.h: New file.
16763 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16765 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16766 -Os in two more places.
16768 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16770 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16771 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16772 be sorted correctly at the moment because of a bug.
16774 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16776 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16777 treat ñ as a primary different character, sync the collation
16778 for Spanish with CLDR.
16779 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16780 * localedata/Makefile: Add new test files.
16781 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16782 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16784 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16785 * localedata/am_ET.UTF-8.in: New test file.
16786 * localedata/az_AZ.UTF-8.in: Likewise.
16787 * localedata/be_BY.UTF-8.in: Likewise.
16788 * localedata/ber_DZ.UTF-8.in: Likewise.
16789 * localedata/ber_MA.UTF-8.in: Likewise.
16790 * localedata/bg_BG.UTF-8.in: Likewise.
16791 * localedata/br_FR.UTF-8.in: Likewise.
16792 * localedata/cmn_TW.UTF-8.in: Likewise.
16793 * localedata/crh_UA.UTF-8.in: Likewise.
16794 * localedata/csb_PL.UTF-8.in: Likewise.
16795 * localedata/cv_RU.UTF-8.in: Likewise.
16796 * localedata/cy_GB.UTF-8.in: Likewise.
16797 * localedata/dz_BT.UTF-8.in: Likewise.
16798 * localedata/eo.UTF-8.in: Likewise.
16799 * localedata/es_ES.UTF-8.in: Likewise.
16800 * localedata/fa_IR.UTF-8.in: Likewise.
16801 * localedata/fi_FI.UTF-8.in: Likewise.
16802 * localedata/fil_PH.UTF-8.in: Likewise.
16803 * localedata/fur_IT.UTF-8.in: Likewise.
16804 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16805 * localedata/ha_NG.UTF-8.in: Likewise.
16806 * localedata/ig_NG.UTF-8.in: Likewise.
16807 * localedata/ik_CA.UTF-8.in: Likewise.
16808 * localedata/kk_KZ.UTF-8.in: Likewise.
16809 * localedata/ku_TR.UTF-8.in: Likewise.
16810 * localedata/ky_KG.UTF-8.in: Likewise.
16811 * localedata/ln_CD.UTF-8.in: Likewise.
16812 * localedata/mi_NZ.UTF-8.in: Likewise.
16813 * localedata/ml_IN.UTF-8.in: Likewise.
16814 * localedata/mn_MN.UTF-8.in: Likewise.
16815 * localedata/mr_IN.UTF-8.in: Likewise.
16816 * localedata/mt_MT.UTF-8.in: Likewise.
16817 * localedata/nb_NO.UTF-8.in: Likewise.
16818 * localedata/om_KE.UTF-8.in: Likewise.
16819 * localedata/os_RU.UTF-8.in: Likewise.
16820 * localedata/ps_AF.UTF-8.in: Likewise.
16821 * localedata/ro_RO.UTF-8.in: Likewise.
16822 * localedata/ru_RU.UTF-8.in: Likewise.
16823 * localedata/sc_IT.UTF-8.in: Likewise.
16824 * localedata/se_NO.UTF-8.in: Likewise.
16825 * localedata/sq_AL.UTF-8.in: Likewise.
16826 * localedata/sv_SE.UTF-8.in: Likewise.
16827 * localedata/szl_PL.UTF-8.in: Likewise.
16828 * localedata/tg_TJ.UTF-8.in: Likewise.
16829 * localedata/tk_TM.UTF-8.in: Likewise.
16830 * localedata/tt_RU.UTF-8.in: Likewise.
16831 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16832 * localedata/ug_CN.UTF-8.in: Likewise.
16833 * localedata/uz_UZ.UTF-8.in: Likewise.
16834 * localedata/vi_VN.UTF-8.in: Likewise.
16835 * localedata/yi_US.UTF-8.in: Likewise.
16836 * localedata/yo_NG.UTF-8.in: Likewise.
16837 * localedata/zh_CN.UTF-8.in: Likewise.
16838 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16839 file and fix bugs in the collation.
16840 * localedata/locales/az_AZ: Likewise.
16841 * localedata/locales/be_BY: Likewise.
16842 * localedata/locales/ber_DZ: Likewise.
16843 * localedata/locales/ber_MA: Likewise.
16844 * localedata/locales/bg_BG: Likewise.
16845 * localedata/locales/br_FR: Likewise.
16846 * localedata/locales/br_FR@euro: Likewise.
16847 * localedata/locales/ca_ES: Likewise.
16848 * localedata/locales/cns11643_stroke: Likewise.
16849 * localedata/locales/crh_UA: Likewise.
16850 * localedata/locales/cs_CZ: Likewise.
16851 * localedata/locales/csb_PL: Likewise.
16852 * localedata/locales/cv_RU: Likewise.
16853 * localedata/locales/cy_GB: Likewise.
16854 * localedata/locales/da_DK: Likewise.
16855 * localedata/locales/dz_BT: Likewise.
16856 * localedata/locales/en_CA: Likewise.
16857 * localedata/locales/eo: Likewise.
16858 * localedata/locales/es_CU: Likewise.
16859 * localedata/locales/es_EC: Likewise.
16860 * localedata/locales/es_ES: Likewise.
16861 * localedata/locales/es_US: Likewise.
16862 * localedata/locales/et_EE: Likewise.
16863 * localedata/locales/fa_IR: Likewise.
16864 * localedata/locales/fi_FI: Likewise.
16865 * localedata/locales/fil_PH: Likewise.
16866 * localedata/locales/fur_IT: Likewise.
16867 * localedata/locales/gez_ER@abegede: Likewise.
16868 * localedata/locales/ha_NG: Likewise.
16869 * localedata/locales/hr_HR: Likewise.
16870 * localedata/locales/hsb_DE: Likewise.
16871 * localedata/locales/hu_HU: Likewise.
16872 * localedata/locales/ig_NG: Likewise.
16873 * localedata/locales/ik_CA: Likewise.
16874 * localedata/locales/is_IS: Likewise.
16875 * localedata/locales/iso14651_t1_pinyin: Likewise.
16876 * localedata/locales/kk_KZ: Likewise.
16877 * localedata/locales/ku_TR: Likewise.
16878 * localedata/locales/ky_KG: Likewise.
16879 * localedata/locales/ln_CD: Likewise.
16880 * localedata/locales/lt_LT: Likewise.
16881 * localedata/locales/lv_LV: Likewise.
16882 * localedata/locales/mi_NZ: Likewise.
16883 * localedata/locales/ml_IN: Likewise.
16884 * localedata/locales/mn_MN: Likewise.
16885 * localedata/locales/mr_IN: Likewise.
16886 * localedata/locales/mt_MT: Likewise.
16887 * localedata/locales/nb_NO: Likewise.
16888 * localedata/locales/om_KE: Likewise.
16889 * localedata/locales/os_RU: Likewise.
16890 * localedata/locales/pl_PL: Likewise.
16891 * localedata/locales/ps_AF: Likewise.
16892 * localedata/locales/ro_RO: Likewise.
16893 * localedata/locales/ru_RU: Likewise.
16894 * localedata/locales/ru_UA: Likewise.
16895 * localedata/locales/sc_IT: Likewise.
16896 * localedata/locales/se_NO: Likewise.
16897 * localedata/locales/si_LK: Likewise.
16898 * localedata/locales/sq_AL: Likewise.
16899 * localedata/locales/sv_FI: Likewise.
16900 * localedata/locales/sv_FI@euro: Likewise.
16901 * localedata/locales/sv_SE: Likewise.
16902 * localedata/locales/szl_PL: Likewise.
16903 * localedata/locales/tg_TJ: Likewise.
16904 * localedata/locales/ti_ER: Likewise.
16905 * localedata/locales/tk_TM: Likewise.
16906 * localedata/locales/tl_PH: Likewise.
16907 * localedata/locales/tr_TR: Likewise.
16908 * localedata/locales/tt_RU: Likewise.
16909 * localedata/locales/tt_RU@iqtelif: Likewise.
16910 * localedata/locales/ug_CN: Likewise.
16911 * localedata/locales/uk_UA: Likewise.
16912 * localedata/locales/uz_UZ: Likewise.
16913 * localedata/locales/uz_UZ@cyrillic: Likewise.
16914 * localedata/locales/vi_VN: Likewise.
16915 * localedata/locales/yi_US: Likewise.
16916 * localedata/locales/yo_NG: Likewise.
16918 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16920 * gen-locales.mk: Make test files which contain @ modifiers in their
16922 * localedata/gen-locale.sh: Likewise.
16924 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16926 * posix/tst-fnmatch.input: Fix results for range expressions
16928 * posix/tst-regexloc.c: Do not use a range expression for
16929 de_DE.ISO-8859-1 locale.
16931 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16933 * posix/bug-regex5.c: Fix test case because with the new
16934 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16935 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16938 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16940 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16941 downloaded from ISO, the collation order of @-. and space has changed.
16942 Therefore, this test file needed to be adapted.
16943 * localedata/fr_CA.UTF-8.in: Likewise.
16944 * localedata/fr_FR.UTF-8.in: Likewise.
16945 * localedata/uk_UA.UTF-8.in: Likewise.
16947 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16949 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16950 order of ȥ in the new iso14651_t1_common file.
16951 * localedata/pl_PL.UTF-8.in: Likewise.
16953 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16955 * localedata/locales/iso14651_t1_common: Add sections for various
16956 scripts to the iso14651_t1_common file.
16958 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16960 * localedata/locales/iso14651_t1_common: Use the code point of a
16961 character in the fourth collation level instead of IGNORE for all
16962 entries which have IGNORE on all 4 levels.
16964 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16966 * localedata/locales/iso14651_t1_common: Add some convenient collation
16967 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16968 rules similar to those in CLDR.
16970 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16972 * localedata/locales/iso14651_t1_common: The new version of this
16973 file downloaded from ISO contained several syntax errors which
16974 are fixed by this patch.
16976 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16978 * localedata/locales/iso14651_t1_common: replace all <U.....>
16979 with <U000.....> because glibc understands only 4 digit or 8 digit
16981 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16983 * localedata/locales/iso14651_t1_common: Necessary changes
16984 to make the file downloaded from ISO usable by glibc.
16986 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16989 * localedata/locales/iso14651_t1_common: Update file to
16990 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16992 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16994 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16995 of <nptl/pthreadP.h>
16996 (thread_attr_compare): Move function to...
16997 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16998 * sysdeps/nptl/timer_routines.h: ... new header.
16999 * sysdeps/mach/hurd/gai_misc.h: New file.
17001 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17003 * string/strcoll_l.c: Include <libc-diag.h>.
17004 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17005 declarations of seq1 and seq2.
17008 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17009 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17011 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17015 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17016 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17017 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17018 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17019 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17020 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17022 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17024 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17025 macros used in __ptrace_request.
17027 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17030 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17032 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17033 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17034 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17037 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17040 * ctype/ctype.c (tolower): Use libc_hidden_def.
17041 (toupper): Likewise.
17042 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17043 [!_ISOMAC] (toupper): Likewise.
17045 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17047 * localedata/Makefile: Remove --quiet argument when
17050 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17053 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17055 * localedata/locales/pt_PT (LC_TIME): likewise
17057 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17060 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17061 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17062 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17064 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17068 * nptl/Makefile (routines): Remove unregister-atfork.
17069 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17070 (fork_handler_alloc): Remove function.
17071 (fork_handlers, fork_handler_init): New variables.
17072 (__fork_lock): Rename to atfork_lock.
17073 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17074 to use a dynamic array to add/remove atfork handlers.
17075 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17076 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17077 Remove declaration.
17078 (fork_handler): Remove next, refcntr, and need_signal member.
17079 (__run_fork_handler_type): New enum.
17080 (__run_fork_handlers): New prototype.
17081 * nptl/register-atfork.c: Remove file.
17082 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17084 * sysdeps/nptl/nptl-signals.h: Move to ...
17085 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17087 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17088 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17089 unnecessary check for SIGTIMER.
17090 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17091 remove unnecessary removal of SIGTIMER.
17092 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17093 include-signals.h rename.
17094 * nptl/pthreadP.h: Likewise.
17095 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17096 __is_internal_signal instead of __nptl_is_internal_signal.
17098 2018-02-22 Andrew Waterman <andrew@sifive.com>
17101 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17102 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17103 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17104 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17106 2018-02-22 DJ Delorie <dj@delorie.com>
17108 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17110 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17112 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17113 do_misaligned, not misaligned8.
17115 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17117 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17118 Add memcpy_thunderx2.
17119 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17121 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17122 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17123 and IS_THUNDERX2PA checks.
17124 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17125 Use macro to set name appropriately.
17126 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17127 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17128 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17130 (IS_THUNDERX2): New macro.
17132 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17134 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17136 2018-02-21 Zack Weinberg <zackw@panix.com>
17138 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17139 Define here, unconditionally.
17140 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17141 * libio/libioP.h: Remove #if 0 blocks.
17142 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17143 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17144 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17146 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17147 Assume weak_alias is always defined.
17149 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17150 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17151 Remove #if 0 and #ifdef TODO blocks.
17152 Assume text_set_element is always defined.
17154 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17155 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17156 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17158 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17159 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17160 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17161 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17162 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17163 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17164 Reformat bit flags for _flags field to make occupancy clearer.
17166 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17167 Keep definitions consistent with those in libio/libio.h.
17169 * libio/libio.h (_IO_file_flags): Remove macro.
17170 All uses changed to _flags.
17172 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17173 (__HAVE_COLUMN, _IO_BE): Don't define.
17174 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17175 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17176 * libio/libioP.h (EOF): Don't define.
17177 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17178 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17179 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17180 testing _IO_UNIFIED_JUMPTABLES.
17182 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17183 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17184 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17185 (_IO_size_t): Delete; all uses changed to size_t.
17186 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17187 (_IO_off_t): Delete; all uses changed to off_t.
17188 (_IO_off64_t): Delete; all uses changed to off64_t.
17189 (_IO_pid_t): Delete; all uses changed to pid_t.
17190 (_IO_uid_t): Delete; all uses changed to uid_t.
17191 (_IO_wint_t): Delete; all uses changed to wint_t.
17192 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17193 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17194 (_IO_cookie_io_functions_t): Delete; all uses changed to
17195 cookie_io_functions_t.
17196 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17197 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17198 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17199 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17201 * libio/iofopncook.c: Remove unnecessary forward declarations.
17202 * libio/iolibio.h: Correct outdated commentary.
17203 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17204 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17205 Remove unnecessary casts.
17206 * stdio-common/getline.c: Use _IO_getdelim directly.
17207 Don't redefine ssize_t.
17208 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17209 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17210 Remove outdated comments.
17211 * stdio-common/vfscanf.c: Don't redefine va_list.
17213 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17214 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17215 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17216 which are always true, and __cplusplus, which is always false.
17218 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17222 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17223 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17224 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17225 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17227 [!_ISOMAC] (putc_unlocked): Likewise.
17228 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17229 define inline if [__USE_EXTERN_INLINES].
17230 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17235 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17236 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17237 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17238 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17239 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17241 * time/tzfile.c (__tzfile_read): Likewise.
17243 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17246 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17248 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17250 * io/fcntl.h: Fix a typo in a comment.
17252 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17255 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17256 define _DEFAULT_SOURCE.
17257 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17259 2018-02-21 Florian Weimer <fweimer@redhat.com>
17262 * elf/cache.c (save_cache): Call fsync on temporary file before
17264 (save_aux_cache): Call fdatasync on temporary file before renaming
17267 2018-02-21 Florian Weimer <fweimer@redhat.com>
17270 * include/caller.h: Remove file.
17271 * elf/dl-caller.c: Likewise.
17272 * elf/Makefile (dl-routines): Remove dl-caller.
17273 (shared-only-routines): Do not add dl-caller.
17274 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17276 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17278 (dl_open_worker): Do not call __check_caller.
17279 (_dl_open): Do not set caller_dl_open member.
17280 * elf/rtld.c (_rtld_global_ro): Do not initialize
17281 _dl_check_caller member.
17282 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17283 _dl_check_caller member.
17284 (_dl_check_caller): Remove declaration.
17285 * sysdeps/unix/sysv/linux/dl-execstack.c
17286 (_dl_make_stack_executable): Do not call __check_caller.
17288 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17290 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17291 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17293 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17295 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17298 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17301 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17302 of 199606L, 200112L, and 200809L.
17303 (_XOPEN_SOURCE): Document special values of 600 and 700.
17304 (_ISOC11_SOURCE): Document macro.
17305 (_ATFILE_SOURCE): Likewise.
17306 (_FORTIFY_SOURCE): Likewise.
17308 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17312 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17313 and define as weak alias of __ferror_unlocked. Use
17315 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17317 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17318 function if [__USE_EXTERN_INLINES].
17319 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17322 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17325 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17327 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17330 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17331 the GLIBC_2.1 version.
17333 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17336 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17337 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17338 intl/tst-gettext-de.po from po/de.po by removing the
17339 POT-Creation-Date line.
17340 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17342 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17345 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17347 * mach/Makefile (headers): Add mach/param.h.
17348 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17349 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17350 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17351 (__ptsname_r): Move implementation to...
17352 (__ptsname_internal): ... new function. Add filling the STP
17355 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17357 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17360 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17362 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17365 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17367 * nptl/Makefile (tst-mutex8-ENV): Delete.
17368 * nptl/tst-mutex8.c (check_type):
17369 Add runtime check if mutex will be elided.
17371 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17375 * manual/install.texi (Configuring and compiling): Describe
17376 passing CC and CFLAGS on configure command line, not as
17377 environment variables. Use @code markup on those variables.
17378 Specify what options go in CC and what go in CFLAGS. Note the
17379 requirement to compile with optimization.
17380 * INSTALL: Regenerated.
17383 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17384 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17385 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17386 __sigprocmask instead of sigprocmask.
17387 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17389 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17390 __sigsetjmp and sigprocmask.
17393 * include/argz.h (argz_next): Use libc_hidden_proto.
17394 (__argz_next): Likewise.
17395 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17396 (argz_next): Use libc_hidden_weak.
17399 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17401 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17405 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17407 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17411 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17412 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17413 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17414 (__feof_unlocked): New declaration, and inline function if
17415 [__USE_EXTERN_INLINES].
17416 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17417 instead of feof_unlocked.
17418 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17419 * nss/nsswitch.c (nss_parse_file): Likewise.
17420 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17422 * time/getdate.c (__getdate_r): Likewise.
17423 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17424 Define as macro to call __feof_unlocked.
17426 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17428 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17430 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17432 * math/Makefile: Remove mpexp.c and mplog.c
17433 * sysdeps/i386/fpu/mpexp.c: Delete file.
17434 * sysdeps/i386/fpu/mplog.c: Likewise.
17435 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17436 * sysdeps/ia64/fpu/mplog.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17438 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17439 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17440 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17441 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17442 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17443 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17444 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17445 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17446 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17447 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17448 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17449 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17450 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17451 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17452 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17454 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17456 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17458 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17460 * sysdeps/sh/libm-test-ulps: Update.
17462 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17464 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17467 2018-02-12 Zack Weinberg <zackw@panix.com>
17470 * posix/sys/types.h: Don't include sys/sysmacros.h.
17471 * misc/sys/sysmacros.h: Remove the conditional deprecation
17472 warnings for the macros defined by this header.
17474 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17476 * manual/probes.texi: Remove slowexp probes.
17477 * math/Makefile: Remove slowexp.
17478 * sysdeps/generic/math_private.h (__slowexp): Remove.
17479 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17480 document error bounds.
17481 * sysdeps/i386/fpu/slowexp.c: Remove.
17482 * sysdeps/ia64/fpu/slowexp.c: Remove.
17483 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17484 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17485 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17486 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17487 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17488 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17489 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17490 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17491 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17492 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17493 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17495 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17498 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17499 * benchtests/pow-inputs: Update comment for slow path cases.
17500 * manual/probes.texi (slowpow_p10): Delete removed probe.
17501 (slowpow_p10): Likewise.
17502 * math/Makefile: Remove halfulp.c and slowpow.c.
17503 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17504 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17505 (__halfulp): Remove.
17506 (__slowpow): Remove.
17507 * sysdeps/i386/fpu/halfulp.c: Delete file.
17508 * sysdeps/i386/fpu/slowpow.c: Likewise.
17509 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17510 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17512 improve comments and add error analysis.
17513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17514 (power1): Remove function:
17515 (log1): Remove error argument, add error analysis.
17516 (my_log2): Remove function.
17517 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17519 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17520 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17521 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17522 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17523 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17524 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17525 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17526 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17527 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17528 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17530 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17532 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17534 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17535 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17537 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17540 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17541 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17542 and PTRACE_SETHBPREGS.
17544 2018-02-10 Zack Weinberg <zackw@panix.com>
17547 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17549 * malloc/tst-malloc-stats-cancellation.c: New test case.
17550 * malloc/Makefile: Add new test case.
17552 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17554 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17556 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17558 * math/Makefile (libm-narrow-fns): Add add.
17559 (libm-test-funcs-narrow): Likewise.
17560 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17561 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17562 * math/gen-auto-libm-tests.c (test_functions): Add add.
17563 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17564 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17565 (NARROW_ADD_TRIVIAL): Likewise.
17566 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17568 (__daddl): Likewise.
17569 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17571 (CFLAGS-nldbl-dadd.c): New variable.
17572 (CFLAGS-nldbl-fadd.c): Likewise.
17573 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17575 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17577 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17578 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17579 * math/auto-libm-test-in: Add tests of add.
17580 * math/auto-libm-test-out-narrow-add: New generated file.
17581 * math/libm-test-narrow-add.inc: New file.
17582 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17583 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17584 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17585 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17586 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17587 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17594 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17596 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17597 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17598 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17599 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17601 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17610 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17611 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17629 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17630 (f128-pairs): New variable.
17631 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17632 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17634 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17635 Also make tests add $(f128-loader-link) to gnulib-tests.
17637 2018-02-09 DJ Delorie <dj@redhat.com>
17640 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17641 64-bit ELF type for 64-bit ELF objects.
17643 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17645 * math/libm-test-driver.c (snan_tests_arg): New variable.
17646 * math/libm-test-support.h (snan_tests_arg): New declaration.
17647 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17649 * math/Makefile (test-type-pairs): New variable.
17650 (test-type-pairs-f64xf128-yes): Likewise.
17651 (tests): Add test-narrow-macros.
17652 (libm-test-funcs-narrow): New variable.
17653 (libm-test-c-narrow): Likewise.
17654 (generated): Add $(libm-test-c-narrow).
17655 (libm-tests-base-narrow): New variable.
17656 (libm-tests-narrow): Likewise.
17657 (libm-tests): Add $(libm-tests-narrow).
17658 (libm-tests-for-type): Handle $(libm-tests-narrow).
17659 (libm-test-c-narrow-obj): New variable.
17660 ($(libm-test-c-narrow-obj)): New rule.
17661 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17662 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17663 $(o-iterator) to set dependencies and CFLAGS.
17664 * math/gen-auto-libm-tests.c: Document use for narrowing
17666 (output_for_one_input_case): Take argument NARROW.
17667 (generate_output): Likewise. Update call to
17668 output_for_one_input_case.
17669 (main): Take --narrow option. Update call to generate_output.
17670 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17671 (apply_lit): Update call to _apply_lit.
17672 (apply_arglit): New function.
17673 (parse_args): Handle "a" arguments.
17674 (parse_auto_input): Handle format names using ":".
17675 * math/README.libm-test: Document "a" parameter type.
17676 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17677 (ARG_TYPE_TRUE_MIN): Likewise.
17678 (ARG_TYPE_MAX): Likwise.
17679 (ARG_MIN_EXP): Likewise.
17680 (ARG_MAX_EXP): Likewise.
17681 (ARG_MANT_DIG): Likewise.
17682 (TEST_COND_arg_ibm128): Likewise.
17683 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17684 (TEST_COND_arg_fmt): New macro.
17685 (init_max_error): Update prototype.
17686 * math/libm-test-support.c (test_ibm128): New variable.
17687 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17688 instead of using [TEST_COND_ibm128] conditional.
17689 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17690 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17691 [TEST_NARROW] (TEST_MSG): New definition.
17692 (arg_plus_zero): New macro.
17693 (arg_minus_zero): Likewise.
17694 (arg_plus_infty): Likewise.
17695 (arg_minus_infty): Likewise.
17696 (arg_qnan_value_pl): Likewise.
17697 (arg_qnan_value): Likewise.
17698 (arg_snan_value_pl): Likewise.
17699 (arg_snan_value): Likewise.
17700 (arg_max_value): Likewise.
17701 (arg_min_value): Likewise.
17702 (arg_min_subnorm_value): Likewise.
17703 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17704 (RUN_TEST_LOOP_aa_f): New macro.
17705 (TEST_SUFF): New macro.
17706 (TEST_SUFF_STR): Likewise.
17707 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17708 (TEST_COND_any_ibm128): New macro.
17709 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17710 this_func. Update call to init_max_error.
17711 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17712 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17713 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17714 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17715 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17716 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17717 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17718 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17719 * math/test-math-vector.h (TEST_NARROW): Likewise.
17720 * math/test-arg-double.h: New file.
17721 * math/test-arg-float128.h: Likewise.
17722 * math/test-arg-float32x.h: Likewise.
17723 * math/test-arg-float64.h: Likewise.
17724 * math/test-arg-float64x.h: Likewise.
17725 * math/test-arg-ldouble.h: Likewise.
17726 * math/test-math-narrow.h: Likewise.
17727 * math/test-narrow-macros.c: Likewise.
17728 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17729 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17730 test-narrow-macros-ldbl-64.
17731 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17733 * math/bits/mathcalls-narrow.h: New file.
17734 * include/bits/mathcalls-narrow.h: Likewise.
17735 * math/math-narrow.h: Likewise.
17736 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17737 (__MATHCALL_NARROW_ARGS_2): Likewise.
17738 (__MATHCALL_NARROW_ARGS_3): Likewise.
17739 (__MATHCALL_NARROW_NORMAL): Likewise.
17740 (__MATHCALL_NARROW_REDIR): Likewise.
17741 (__MATHCALL_NARROW): Likewise.
17742 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17743 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17745 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17746 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17747 (libm-narrow-fns): New variable.
17748 (libm-narrow-types-basic): Likewise.
17749 (libm-narrow-types-ldouble-yes): Likewise.
17750 (libm-narrow-types-float128-yes): Likewise.
17751 (libm-narrow-types-float128-alias-yes): Likewise.
17752 (libm-narrow-types): Likewise.
17753 (libm-routines): Add narrowing functions.
17754 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17755 (libc_feholdexcept_setroundf128): New macro.
17756 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17757 * sysdeps/ieee754/float128/float128_private.h: Include
17758 <math/math-narrow.h>.
17759 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17760 Undefine and redefine.
17761 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17762 (libm_alias_float_ldouble): Undefine and redefine.
17763 (libm_alias_double_ldouble): Likewise.
17765 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17767 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17769 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17772 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17774 * manual/creature.texi: Convert references to gcc.info to gcc.
17775 * manual/stdio.texi: Likewise.
17776 * manual/string.texi: Likewise.
17778 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17781 * posix/bits/types.h (__int_least8_t): New typedef.
17782 (__uint_least8_t): Likewise.
17783 (__int_least16_t): Likewise.
17784 (__uint_least16_t): Likewise.
17785 (__int_least32_t): Likewise.
17786 (__uint_least32_t): Likewise.
17787 (__int_least64_t): Likewise.
17788 (__uint_least64_t): Likewise.
17789 * sysdeps/generic/stdint.h (int_least8_t): Define using
17791 (int_least16_t): Define using __int_least16_t.
17792 (int_least32_t): Define using __int_least32_t.
17793 (int_least64_t): Define using __int_least64_t.
17794 (uint_least8_t): Define using __uint_least8_t.
17795 (uint_least16_t): Define using __uint_least16_t.
17796 (uint_least32_t): Define using __uint_least32_t.
17797 (uint_least64_t): Define using __uint_least64_t.
17798 * wcsmbs/uchar.h: Include <bits/types.h>.
17799 (char16_t): Define using __uint_least16_t conditional only on
17801 (char32_t): Define using __uint_least32_t conditional only on
17803 * wcsmbs/test-char-types.c: New file.
17804 * wcsmbs/Makefile (tests): Add test-char-types.
17806 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17809 2018-02-07 Zack Weinberg <zackw@panix.com>
17811 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17812 Delete all contents except for definitions of _G_HAVE_MMAP and
17813 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17814 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17815 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17818 * libio/libio.h: Don't include bits/_G_config.h here.
17819 Include stddef.h with __need_wchar_t defined. Include
17820 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17821 Define _IO_iconv_t here, directly.
17822 Don't define _IO_HAVE_ST_BLKSIZE.
17823 * libio/libioP.h: Include _G_config.h here. Move include of
17824 shlib-compat.h up with rest of includes. Simplify conditionals
17825 controlling definition of _IO_JUMPS_OFFSET.
17827 * csu/init.c: Remove always-true #if around entire file.
17828 Don't include stdio.h. Set _IO_stdin_used to hardwired
17829 constant 0x20001, and update commentary.
17830 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17831 Replace all uses of _G_va_list with __gnuc_va_list.
17832 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17833 instead of #if _IO_HAVE_ST_BLKSIZE.
17834 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17835 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17838 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17839 multiple-include guard to match.
17840 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17842 Remove preprocessor conditionals that are always true and/or
17843 redundant to other preprocessor conditionals in the same nest.
17844 Include shlib-compat.h unconditionally.
17845 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17846 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17847 defined after including stdio.h.
17848 Use __BEGIN_DECLS/__END_DECLS.
17850 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17851 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17852 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17854 2018-02-07 Zack Weinberg <zackw@panix.com>
17856 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17857 New single-type headers split from _G_config.h.
17858 * libio/bits/types/cookie_io_functions_t.h
17859 * libio/bits/types/struct_FILE.h
17860 New single-type headers split from libio.h.
17862 * libio/Makefile: Install the above new headers. Don't install
17863 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17865 * libio/_G_config.h, libio/libio.h: Delete file.
17867 * libio/bits/libio.h: Remove improper-inclusion guard.
17868 Include stdio.h and don't repeat anything that it does.
17869 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17870 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17871 __io_read_fn as cookie_read_function_t,
17872 __io_write_fn as cookie_write_function_t,
17873 __io_seek_fn as cookie_seek_function_t,
17874 __io_close_fn as cookie_close_function_t,
17875 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17876 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17877 here, in the "compatibility defines" section. Remove an #if 0
17878 block. Use the "body" macros from bits/types/struct_FILE.h to
17879 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17880 and _IO_ferror_unlocked.
17881 Move prototypes of __uflow and __overflow...
17883 * libio/stdio.h: ...here. Don't include bits/libio.h.
17884 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17885 directly from stdarg.h. Include bits/types/__fpos_t.h,
17886 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17887 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17888 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17889 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17890 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17891 __ssize_t, not _IO_ssize_t. Unconditionally define
17892 BUFSIZ as 8192 and EOF as (-1).
17894 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17895 macros from bits/types/struct_FILE.h instead of _IO_* macros
17896 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17897 instead of _IO_ssize_t.
17898 * libio/bits/stdio2.h: Similarly.
17900 * libio/iolibio.h: Add multiple-include guard.
17901 Include bits/libio.h after stdio.h.
17902 * libio/libioP.h: Add multiple-include guard.
17903 Include stdio.h and bits/libio.h before iolibio.h.
17905 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17906 * include/bits/types/cookie_io_functions_t.h
17907 * include/bits/types/struct_FILE.h: New wrappers.
17909 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17910 Get definitions of _G_fpos_t and _G_fpos64_t from
17911 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17912 respectively. Remove improper-inclusion guards.
17914 * conform/data/stdio.h-data: Update expectations of va_list.
17915 * scripts/check-installed-headers.sh: Remove special case for
17916 libio.h and _G_config.h.
17918 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17922 * include/sys/sysmacros.h [!_ISOMAC]
17923 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17924 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17925 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17926 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17928 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17929 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17931 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17932 Undefine and redefine to add use __gnu_dev_ prefix.
17933 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17935 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17936 and define as hidden inline function.
17937 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17939 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17941 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17942 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17943 (gnu_dev_minor): Likewise.
17944 (gnu_dev_makedev): Likewise.
17945 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17947 * posix/wordexp.c (exec_comm_child): Likewise.
17948 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17949 instead of minor and __gnu_dev_major instead of major.
17950 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17951 __gnu_dev_major instead of major.
17952 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17953 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17954 instead of gnu_dev_minor.
17955 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17956 (SLAVE_P): Likewise.
17957 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17958 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17962 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17964 * locale/weightwc.h (findidx): Likewise.
17966 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17968 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17969 (slowlog_inexact): Likewise
17970 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17971 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17973 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17976 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17977 missing second underscore to parameter name.
17979 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17985 * bits/byteswap.h: Update file comment. Do not include
17986 <bits/byteswap-16.h>.
17987 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17989 (__bswap_16): Define as inline function.
17990 (__bswap_constant_32): Reformat definition.
17991 (__bswap_32): Always define as inline function, not macro, using
17992 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17993 otherwise __bswap_constant_32.
17994 (__bswap_constant_64): Reformat definition. Do not use
17995 __extension__ here.
17996 (__bswap_64): Always define as inline function, not macro. Use
17997 __extension__ on function definition. Use __builtin_bswap64 if
17998 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17999 * string/test-endian-file-scope.c: New file.
18000 * string/test-endian-sign-conversion.c: Likewise.
18001 * string/Makefile (headers): Remove bits/byteswap-16.h.
18002 (tests): Add test-endian-file-scope and
18003 test-endian-sign-conversion.
18004 (CFLAGS-test-endian-sign-conversion.c): New variable.
18005 * bits/byteswap-16.h: Remove file.
18006 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18007 * sysdeps/ia64/bits/byteswap.h: Likewise.
18008 * sysdeps/m68k/bits/byteswap.h: Likewise.
18009 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18010 * sysdeps/s390/bits/byteswap.h: Likewise.
18011 * sysdeps/tile/bits/byteswap.h: Likewise.
18012 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18013 * sysdeps/x86/bits/byteswap.h: Likewise.
18016 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18017 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18018 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18019 199901L] (__restrict): Define to restrict.
18022 * string/testcopy.c: Include <support/support.h>. Do not include
18023 <malloc.h>. Use <support/test-driver.c>.
18024 (main): Rename to do_test. Make static. Use xmalloc instead of
18028 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18029 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18030 (SSIZE_MAX): Define to INT_MAX.
18031 * posix/test-ssize-max.c: New file.
18032 * posix/Makefile (tests): Add test-ssize-max.
18035 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18036 <support/support.h>. Do not include <malloc.h>.
18037 (query_auxv): Use xmalloc instead of malloc.
18040 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18041 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18044 2018-02-06 Florian Weimer <fweimer@redhat.com>
18047 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18048 Use scratch_buffer instead of extend_alloca.
18050 2018-02-06 Zack Weinberg <zackw@panix.com>
18052 * libio/stdio.h: Don't define getc or putc as macros.
18053 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18054 not _IO_getc and _IO_putc.
18056 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18057 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18059 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18061 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18062 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18064 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18067 * elf/elf.h (NT_PRFPREG): New macro.
18068 (NT_S390_VXRS_LOW): Likewise.
18069 (NT_S390_VXRS_HIGH): Likewise.
18070 (NT_S390_GS_CB): Likewise.
18071 (NT_S390_GS_BC): Likewise.
18072 (NT_S390_RI_CB): Likewise.
18074 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18075 (MAP_SYNC): New macro.
18076 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18078 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18079 (MAP_SYNC): Likewise.
18080 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18081 (MAP_SYNC): Likewise.
18082 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18083 (MAP_SYNC): Likewise.
18084 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18085 (MAP_SYNC): Likewise.
18086 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18087 (MAP_SYNC): Likewise.
18088 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18089 (MAP_SYNC): Likewise.
18090 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18092 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18095 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18096 (MAP_SHARED_VALIDATE): New macro.
18097 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18098 (MAP_SHARED_VALIDATE): Likewise.
18100 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18102 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18103 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18104 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18106 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18108 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18109 (DT_NUM): Updated to 35.
18111 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18113 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18114 __builtin_expect with __glibc_likely and __glibc_unlikely.
18115 (elf_machine_rela): Likewise.
18116 (elf_machine_lazy_rel): Likewise.
18118 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18121 __builtin_expect with __glibc_likely and __glibc_unlikely.
18122 (elf_machine_lazy_rel): Likewise.
18124 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18127 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18129 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18131 2018-02-05 Andreas Schwab <schwab@suse.de>
18134 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18137 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18139 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18140 not check against PTHREAD_STACK_MIN.
18142 2018-02-02 Sean McKean <smckean83@gmail.com>
18145 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18147 2018-02-02 Florian Weimer <fweimer@redhat.com>
18150 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18151 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18152 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18153 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18154 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18155 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18156 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18157 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18158 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18159 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18160 * misc/tst-preadvwritev2.c (do_test): Call it.
18161 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18163 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18165 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18167 * benchtests/bench-memcmp.c: Print json instead of plain text.
18169 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18172 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18174 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18176 (s390_sthyi): New syscall.
18178 * sysdeps/generic/ldbl-classify-compat.h: New file.
18179 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18180 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18181 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18182 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18183 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18184 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18185 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18186 <ldbl-classify-compat.h>.
18187 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18188 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18189 <ldbl-classify-compat.h>.
18190 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18191 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18192 <ldbl-classify-compat.h>.
18193 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18194 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18195 <ldbl-classify-compat.h>.
18196 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18198 <ldbl-classify-compat.h>.
18199 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18201 <ldbl-classify-compat.h>.
18202 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18203 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18204 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18205 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18206 * sysdeps/microblaze/math_private.h: Likewise.
18207 * sysdeps/nios2/math_private.h: Likewise.
18208 * sysdeps/sh/math_private.h: Likewise.
18210 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18211 * sysdeps/m68k/coldfire/math_private.h: ... here.
18212 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18213 * sysdeps/tile/math_private.h: Likewise.
18214 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18216 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18219 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18221 (libc_fetestexcept): Likewise.
18222 (libc_feupdateenv_test): Likewise.
18223 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18224 (libc_fetestexcept): Likewise.
18225 (libc_feupdateenv_test): Likewise.
18226 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18227 (libc_fetestexcept): Likewise.
18228 (libc_feupdateenv_test): Likewise.
18229 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18230 (libc_fetestexcept): Likewise.
18231 (libc_feupdateenv_test): Likewise.
18233 * sysdeps/generic/math_private.h
18234 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18235 New inline function.
18236 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18239 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18240 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18241 * sysdeps/generic/math_private.h
18242 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18244 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18246 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18248 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18250 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18252 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18254 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18255 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18256 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18257 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18258 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18259 (__fegetenv): Likewise.
18260 (fesetenv): Likewise.
18261 (__fesetenv): Likewise.
18262 (feupdateenv): Likewise.
18263 (__feupdateenv): Likewise.
18264 (fegetround): Likewise.
18265 (__fegetround): Likewise.
18266 (fesetround): Likewise.
18267 (__fesetround): Likewise.
18269 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18270 (feraiseexcept): New macro.
18271 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18272 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18274 (__feraiseexcept): Likewise.
18275 (feclearexcept): Likewise.
18276 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18277 (__feraiseexcept): Likewise.
18278 (feclearexcept): Likewise.
18279 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18280 (__feraiseexcept): Likewise.
18281 (feclearexcept): Likewise.
18282 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18283 (__feraiseexcept): Likewise.
18284 (feclearexcept): Likewise.
18285 (fetestexcept): Likewise.
18287 * sysdeps/m68k/coldfire/math-tests.h: New file.
18289 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18290 * sysdeps/m68k/bits/fenv.h: ... here.
18291 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18293 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18295 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18297 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18299 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18301 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18303 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18304 (__FE_UNDEFINED): New enum constant.
18305 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18307 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18309 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18311 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18312 to match generic bits/fenv.h.
18313 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18316 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18318 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18319 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18320 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18321 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18323 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18324 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18325 Joseph Myers <joseph@codesourcery.com>
18328 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18329 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18330 computation using c.
18331 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18332 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18333 computation using c.
18335 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18337 * version.h (RELEASE): Set to "development".
18338 (VERSION): Set to "2.27.9000".
18339 * NEWS (2.28): New section.
18341 * version.h (RELEASE): Set to "stable".
18342 (VERSION): Set to "2.27".
18343 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18345 * NEWS: Add the list of bugs fixed in 2.27.
18347 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18349 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18350 against PTHREAD_STACK_MIN.
18352 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18354 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18356 (Rafal Luzynski, Andreas Schwab): Update.
18358 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18361 * NEWS: List the languages which actually use the alternative
18362 months feature in this release. Also explain that "alt_mon" and
18363 "ab_alt_mon" are optional.
18365 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18368 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18370 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18372 * manual/install.texi (Tools for Compilation): Update the newest
18373 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18374 * INSTALL: Regenerated.
18376 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18378 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18379 instead of __builtin_expect.
18381 2018-01-30 Florian Weimer <fweimer@redhat.com>
18383 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18385 * nss/tst-nss-getpwent.c (do_test): Likewise.
18387 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18390 * localedata/locales/hr_HR (mon): Rename to...
18392 (mon): Import from CLDR (genitive case).
18393 (d_t_fmt): Update the comment.
18395 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18397 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18398 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18399 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18401 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18403 * mach/Versions: Fix version when __mach_host_self_ was added.
18404 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18405 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18406 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18407 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18408 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18409 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18410 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18411 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18412 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18413 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18414 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18415 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18416 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18417 || to respect codestyle.
18418 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18419 (do_test_bz20181): Rename accordingly.
18420 * malloc/malloc.c: Include <assert.h>.
18421 (assert): Do not define.
18422 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18423 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18424 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18425 * sysdeps/mach/hurd/hp-timing.h: New file.
18426 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18428 2018-01-29 Darius Rad <darius@bluespec.com>
18430 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18432 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18434 * sysdeps/init_array/crti.S (.section .init_array): Add
18435 PREINIT_FUNCTION when defined.
18436 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18437 * config.h.in: Regenerate.
18438 * manual/platform.texi: Add RISC-V documenation for
18439 __riscv_flush_icache.
18440 * sysdeps/riscv/__longjmp.S: New file.
18441 * sysdeps/riscv/backtrace.c: Likewise.
18442 * sysdeps/riscv/bits/endian.h: Likewise.
18443 * sysdeps/riscv/bits/setjmp.h: Likewise.
18444 * sysdeps/riscv/bits/wordsize.h: Likewise.
18445 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18446 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18447 * sysdeps/riscv/dl-trampoline.S: Likewise.
18448 * sysdeps/riscv/gccframe.h: Likewise.
18449 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18450 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18451 * sysdeps/riscv/machine-gmon.h: Likewise.
18452 * sysdeps/riscv/memusage.h: Likewise.
18453 * sysdeps/riscv/setjmp.S: Likewise.
18454 * sysdeps/riscv/sys/asm.h: Likewise.
18455 * sysdeps/riscv/tls-macros.h: Likewise.
18456 * sysdeps/riscv/dl-tls.h: New file.
18457 * sysdeps/riscv/libc-tls.c: Likewise.
18458 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18459 * sysdeps/riscv/nptl/tls.h: Likewise.
18460 * sysdeps/riscv/stackinfo.h: Likewise.
18461 * sysdeps/riscv/bits/fenv.h: New file.
18462 * sysdeps/riscv/e_sqrtl.c: Likewise.
18463 * sysdeps/riscv/fpu_control.h: Likewise.
18464 * sysdeps/riscv/math-tests.h: Likewise.
18465 * sysdeps/riscv/nofpu/Implies: Likewise.
18466 * sysdeps/riscv/sfp-machine.h: Likewise.
18467 * sysdeps/riscv/tininess.h: Likewise.
18468 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18469 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18470 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18471 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18472 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18473 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18474 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18475 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18476 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18477 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18478 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18479 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18480 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18481 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18482 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18483 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18484 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18485 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18486 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18487 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18488 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18489 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18490 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18491 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18492 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18493 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18494 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18495 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18496 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18497 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18498 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18499 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18500 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18501 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18502 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18503 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18504 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18505 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18506 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18507 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18508 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18509 * sysdeps/riscv/rvf/math_private.h: Likewise.
18510 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18511 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18512 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18513 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18514 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18515 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18516 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18517 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18518 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18519 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18520 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18521 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18522 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18523 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18524 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18525 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18526 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18527 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18528 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18529 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18530 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18531 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18532 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18533 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18534 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18535 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18536 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18537 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18538 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18539 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18540 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18541 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18542 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18543 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18544 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18545 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18546 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18547 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18548 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18549 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18550 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18551 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18552 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18553 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18554 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18555 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18556 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18557 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18558 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18559 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18560 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18561 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18562 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18563 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18564 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18565 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18566 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18567 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18568 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18569 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18570 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18578 * sysdeps/riscv/Implies: New file.
18579 * sysdeps/riscv/Makefile: Likewise.
18580 * sysdeps/riscv/configure: Likewise.
18581 * sysdeps/riscv/configure.ac: Likewise.
18582 * sysdeps/riscv/nptl/Makefile: Likewise.
18583 * sysdeps/riscv/preconfigure: Likewise.
18584 * sysdeps/riscv/rv64/Implies-after: Likewise.
18585 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18586 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18587 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18588 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18589 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18590 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18591 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18592 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18593 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18594 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18595 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18596 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18597 (Config): Likewise.
18599 2018-01-29 Florian Weimer <fweimer@redhat.com>
18602 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18603 libnsl_hidden_proto.
18604 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18605 libnsl_hidden_proto.
18606 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18607 * nis/Makefile (libnsl-routines): Add nss-default only for
18608 build-obsolete-nsl.
18609 * nis/nis_defaults.c (__nis_default_ttl): Add
18610 libnsl_hidden_nolink_def.
18611 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18613 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18614 * nis/ypclnt.c (yp_maplist): Likewise.
18616 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18619 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18621 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18623 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18624 clean -dxfq for git updates when replacing sources.
18626 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18627 --disable-libcilkrts unconditionally, not just for the final GCC
18630 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18633 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18636 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18639 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18642 * localedata/locales/be_BY (mon): Rename to...
18643 (alt_mon): This, then synchronize with CLDR (nominative case).
18644 (abmon): Rename to...
18645 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18646 (mon): Import from CLDR (genitive case).
18648 * localedata/locales/be_BY@latin (mon): Rename to...
18650 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18652 * localedata/locales/be_BY@latin (lang_name): Reworded to
18653 "biełaruskaja mova".
18655 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18658 * localedata/locales/el_CY (mon): Renamed to...
18660 (mon): Import from CLDR (genitive case).
18661 * localedata/locales/el_GR: Likewise.
18663 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18666 * localedata/locales/ru_RU (mon): Rename to...
18668 (abmon): Rename to...
18669 (ab_alt_mon): This.
18670 (mon): Import from CLDR (genitive case).
18671 (abmon): Copy from the old content except the 5th month which is
18672 now in the genitive case, even when abbreviated.
18673 * localedata/locales/ru_UA: Likewise.
18674 * time/tst-strptime.c (day_tests): Add an actual example of
18675 a difference between %b and %Ob in Russian.
18677 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18679 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18680 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18682 * resolv/res-close.c: Include <stdlib.h>.
18683 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18684 <sys/wait.h>, <time.h>, <sys/uio.h>.
18685 (NOT_CANCEL_H): Add inclusion guard.
18686 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18687 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18688 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18690 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18691 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18692 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18694 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18695 timer_ptr2id to cast struct timer_node * to void *.
18696 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18697 --disable-libcilkrts to gcc configure.
18698 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18699 and make them the default for now.
18700 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18701 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18702 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18703 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18704 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18706 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18707 __task_terminate would ever return successfully.
18708 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18710 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18711 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18712 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18713 critical section to make code simpler and avoid warning.
18714 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18715 critical section to make code simpler and avoid warning.
18716 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18717 const char * instead of char *.
18718 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18719 __hurd_file_name_split, hurd_file_name_split,
18720 __hurd_directory_name_split, hurd_directory_name_split,
18721 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18722 hurd_file_name_path_lookup): Make lookup function parameter take a
18723 const char *name instead of char *name.
18724 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18725 __hurd_directory_name_split): Likewise.
18726 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18727 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18728 * sysdeps/mach/hurd/check_native.c: New file.
18729 * sysdeps/mach/hurd/check_pf.c: New file.
18730 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18731 (__freeifaddrs): Define macro to freeifaddrs.
18732 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18733 * sysdeps/mach/libmachuser.abilist: New file.
18734 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18735 (do_test_bz20181): Rename accordingly.
18736 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18737 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18739 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18740 version only if __USE_EXTERN_INLINES is defined.
18741 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18742 __hurd_sockfail): Likewise.
18743 (_hurd_fd_get): Always declare functions, and provide inline versions
18744 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18745 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18746 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18747 _hurd_port_set): Always declare functions, and provide inline versions
18748 only if __USE_EXTERN_INLINES and _LIBC are defined and
18750 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18751 _hurd_critical_section_unlock): Likewise.
18752 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18753 * __hurd_threadvar_location): Likewise.
18754 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18755 _hurd_userlink_clear): Likewise.
18756 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18757 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18758 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18759 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18760 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18761 __spin_lock_locked): Likewise.
18762 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18763 __spin_lock_locked): Likewise.
18764 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18765 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18766 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18767 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18768 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18769 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18770 _POSIX_NO_TRUNC): Define to 0.
18771 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18772 check size against PTHREAD_STACK_MIN.
18773 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18774 IS_IN(libpthread)]: Include <sigsetops.h>.
18775 * mach/Makefile (user-interfaces): Add mach/gnumach.
18776 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18777 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18778 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18779 instead of invalid -1.
18780 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18781 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18782 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18785 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18787 * hurd/fcntl-internal.h: New file.
18789 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18791 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18793 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18795 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18798 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18799 Build only shared objects.
18801 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18803 * README: Update for hppa.
18805 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18807 * sysdeps/sparc/fpu/libm-test-ulps: Update
18808 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18810 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18814 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18817 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18818 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18819 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18820 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18823 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18826 * bits/types/__cancel_jmp_buf_tag.h: New file.
18827 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18828 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18829 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18830 * nptl/Makefile (headers): Add
18831 bits/types/__cancel_jmp_buf_tag.h.
18832 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18833 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18834 * sysdeps/nptl/pthread.h: Include
18835 <bits/types/__cancel_jmp_buf_tag.h>.
18836 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18838 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18840 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18843 * localedata/locales/uk_UA (mon): Renamed to...
18845 (alt_digits): "0" removed and then renamed to...
18847 (date_fmt): Definition changed not to use the alternative
18850 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18852 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18853 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18854 * elf/elf.h (EF_RISCV_RVC): New define.
18855 (EF_RISCV_FLOAT_ABI): Likewise.
18856 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18857 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18858 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18859 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18860 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18862 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18864 2018-01-25 Andreas Schwab <schwab@suse.de>
18866 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18868 * sysdeps/gnu/configure: Regenerate.
18869 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18870 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18872 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18873 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18874 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18875 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18876 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18878 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18880 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18881 URL, and run autoconf, make it the default for now.
18883 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18885 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18886 soft-float ColdFire configuration.
18888 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18889 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18890 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18892 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18895 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18897 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18899 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18902 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18903 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18904 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18907 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18910 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18911 Rename to __reserved and add comment.
18912 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18913 Rename to __reserved.
18915 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18917 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18918 i686-gnu configurations.
18919 (Context.run_builds): Include mig, gnumach and hurd in components
18921 (Context.checkout): Add mig, gnumach and hurd to components.
18922 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18924 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18925 (Config.build): Install gnumach headers, build mig and install
18926 hurd headers for 'gnu' OS.
18927 (Config.install_gnumach_headers): New function.
18928 (Config.install_hurd_headers): Likewise.
18929 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18930 when building for 'gnu' OS.
18932 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18934 * manual/tunables.texi (Hardware Capability Tunables): Fix
18937 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18939 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18940 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18941 (ALTMON_11, ALTMON_12): Improve documentation.
18942 * manual/time.texi (strftime): Likewise.
18944 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18947 * localedata/locales/pl_PL: Alternative month names added,
18948 primary month names are genitive now.
18949 * time/tst-strptime.c (day_tests): Actually use a genitive case
18950 of a month name in Polish language.
18952 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18955 * manual/locale.texi: Document ALTMON_1..12 constants for
18956 nl_langinfo. Specify when to use ALTMON instead of MON.
18957 * manual/time.texi (strftime, strptime): Document GNU extension
18958 permitting O modifier with %B and %b. Specify when to use
18961 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18964 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18965 names, define them as the same as abbreviated month names explicitly.
18966 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18967 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18968 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18969 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18970 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18971 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18972 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18973 _NL_WABALTMON_12): New enum constants.
18974 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18975 wab_alt_mon, and ab_alt_mon_defined members.
18976 (time_output): Output ab_alt_mon and wab_alt_mon members.
18977 (time_read): Read them, initialize them as copies of abmon and wabmon
18978 respectively if they are missing, initialize ab_alt_mon_defined.
18979 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18980 * locale/programs/locfile-kw.h: Regenerate.
18981 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18982 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18984 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18985 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18986 (__strftime_internal): Handle %Ob and %Oh formats.
18987 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18988 (__strptime_internal): Handle %Ob and %Oh formats.
18989 * time/tst-strptime.c (day_tests): Add more tests to parse different
18990 forms of month names including the new %Ob format specifier.
18992 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18995 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18996 define them as the same as primary full month names explicitly.
18997 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18998 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18999 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19000 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19001 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19002 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19003 _NL_WALTMON_12): New enum constants.
19004 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19005 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19007 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19008 walt_mon, and alt_mon_defined members.
19009 (time_output): Output alt_mon and walt_mon members.
19010 (time_read): Read them, initialize them as copies of mon and wmon
19011 respectively if they are missing, initialize alt_mon_defined.
19012 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19013 * locale/programs/locfile-kw.h: Regenerate.
19014 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19015 * localedata/tst-langinfo.c (map): Add tests for the new constants
19016 ALTMON_1 .. ALTMON_12.
19017 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19019 * time/strftime_l.c (f_altmonth): New macro.
19020 (__strftime_internal): Handle %OB format.
19021 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19022 (__strptime_internal): Handle %OB format.
19023 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19024 of month names including the new %OB format specifier.
19026 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19029 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19030 from ABORT_TRANSACTION.
19031 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19032 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19033 ABORT_TRANSACTION_IMPL): Likewise.
19034 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19035 Linux code, but remove the code that aborts transactions.
19037 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19039 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19041 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19043 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19044 in date: "2004-14-09" should be "2004-09-14".
19045 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19046 "2003-15-09" should be "2003-09-15".
19048 2018-01-18 Arjun Shankar <arjun@redhat.com>
19054 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19056 (_int_memalign): check for integer overflow before calling
19058 * malloc/tst-malloc-too-large.c: New test.
19059 * malloc/Makefile: Add tst-malloc-too-large.
19061 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19063 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19064 in date: "2017-24-07" should be "2017-07-24".
19065 * localedata/locales/mai_IN: Likewise.
19066 * localedata/locales/mai_NP: Likewise.
19068 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19070 * po/ru.po: Update translations.
19072 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19075 * sysdeps/hppa/backtrace.c: New file.
19077 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19080 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19081 align La_x86_64_retval to VEC_SIZE.
19083 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19085 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19086 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19088 2018-01-16 Florian Weimer <fweimer@redhat.com>
19090 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19091 Move tst-thread-exit-clobber ...
19092 [$(CXX)] (tests-unsupported): ... to here.
19094 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19096 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19097 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19098 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19099 (_dl_aarch64_cap_flags): Update.
19100 (_DL_HWCAP_COUNT): Update.
19102 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19104 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19105 (_DL_HWCAP_LAST): Remove.
19106 (_DL_HWCAP_COUNT): Move to ...
19107 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19108 (_DL_HWCAP_COUNT): ... here.
19110 2018-01-16 Florian Weimer <fweimer@redhat.com>
19112 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19113 mode with GNU extensions.
19115 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19117 * elf/elf.h (NT_ARM_SVE): Define.
19119 2018-01-15 Florian Weimer <fweimer@redhat.com>
19122 * nptl/tst-minstack-throw.cc: New file.
19123 * nptl/Makefile (tests): Add tst-minstack-throw.
19124 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19125 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19127 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19129 * scripts/build-many-glibcs.py (Context.checkout): Default
19130 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19133 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19136 * elf/elf.h (DF_1_STUB): Define.
19137 (DF_1_PIE): Define.
19139 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19142 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19143 Do not add 0.5 to integer or out-of-range arguments.
19145 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19147 * po/bg.po: Update translations.
19148 * po/cs.po: Likewise.
19149 * po/de.po: Likewise.
19150 * po/ko.po: Likewise.
19151 * po/pl.po: Likewise.
19152 * po/sv.po: Likewise.
19153 * po/uk.po: Likewise.
19154 * po/vi.po: Likewise.
19156 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19158 * aarch64/start.S (_start): Use __wrap_main.
19159 (__wrap_main): New local symbol.
19161 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19165 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19166 generic_getcwd if the path returned by getcwd syscall is not absolute.
19167 * io/tst-getcwd-abspath.c: New test.
19168 * io/Makefile (tests): Add tst-getcwd-abspath.
19170 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19172 * malloc/malloc.c (malloc_consolidate): Add size check.
19174 2018-01-12 Florian Weimer <fweimer@redhat.com>
19176 * support/write_message.c (write_message): Preserve errno.
19177 * support/check.c (print_failure): Likewise.
19178 * support/support_test_verify_impl.c (support_test_verify_impl):
19180 * support/support_test_compare_failure.c
19181 (support_test_compare_failure): Likewise.
19183 2018-01-12 Florian Weimer <fweimer@redhat.com>
19186 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19187 Prevent installation of libnsl.so.
19188 (libnsl-inhibit-o): Do not build (or install) static libraries.
19190 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19193 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19194 before the day number which may produce a double space.
19195 (date_fmt): Likewise.
19197 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19199 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19200 instead of fegetenv.
19202 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19205 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19206 comment to say exceptions are discarded.
19207 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19209 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19212 2018-01-11 Florian Weimer <fweimer@redhat.com>
19214 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19217 2018-01-11 Florian Weimer <fweimer@redhat.com>
19220 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19221 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19223 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19226 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19227 negative arguments in test for NaN or infinity argument.
19229 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19231 * po/libc.pot: Regenerate.
19233 2018-01-10 Florian Weimer <fweimer@redhat.com>
19236 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19237 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19239 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19241 * hurd/hurd/fd.h: Include <fcntl.h>
19242 (__hurd_at_flags): New function.
19243 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19244 with call to __hurd_at_flags.
19245 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19246 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19248 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19249 (__access_noerrno): Use __faccessat_common instead of access_common.
19250 (__access): Likewise.
19251 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19252 with a call to __faccessat.
19253 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19254 (__faccessat_common): ... this. Move implementation of __access into it when
19255 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19256 reauthenticate_cwdir_at helper to implement AT mechanism.
19257 (__faccessat_noerrno): New function, just calls __faccessat_common.
19258 (__faccessat): New function, just calls __faccessat_common.
19259 (faccessat): Define weak alias.
19261 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19264 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19265 (CFLAGS-s_fmaxmagl.c): New variable.
19266 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19270 long int for arguments of possibly overflowing addition or
19272 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19274 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19277 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19278 (CFLAGS-e_remainderl.c): New variable.
19281 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19283 (CFLAGS-s_cacoshl.c): Likewise.
19284 (CFLAGS-s_casinhl.c): Likewise.
19285 (CFLAGS-s_catanl.c): Likewise.
19286 (CFLAGS-s_catanhl.c): Likewise.
19287 (CFLAGS-s_cexpl.c): Likewise.
19288 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19289 (CFLAGS-s_csinhl.c): Likewise.
19290 (CFLAGS-s_clogl.c): Likewise.
19291 (CFLAGS-s_clog10l.c): Likewise.
19292 (CFLAGS-s_csinl.c): Likewise.
19293 (CFLAGS-s_csqrtl.c): Likewise.
19295 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19296 2017-01-09 Svante Signell <svante.signell@gmail.com>
19298 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19299 (_hurd_exec_paths): New function.
19300 * hurd/hurd.h (_hurd_exec): Deprecate function.
19301 (_hurd_exec_paths): Declare function.
19302 * hurd/Versions: Export _hurd_exec_paths.
19303 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19304 (__execve): Use __getcwd to build absolute path, and use
19305 _hurd_exec_paths instead of _hurd_exec.
19306 * sysdeps/mach/hurd/spawni.c: Likewise.
19307 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19310 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19312 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19313 test instead of failing in case of ENOENT returned by posix_openpt.
19315 2018-01-08 Florian Weimer <fweimer@redhat.com>
19317 resolv: Support binary labels in test framework.
19318 * support/resolv_test.c (struct to_be_freed): Remove.
19319 (struct compressed_name): New.
19320 (allocate_compressed_name, ascii_tolower)
19321 (compare_compressed_name): New functions.
19322 (struct resolv_response_builder): Update type of
19323 compression_offsets for use with tsearch. Rempve to_be_freed.
19324 (response_push_pointer_to_free): Remove function.
19325 (resolv_response_add_name): Rewrite using struct compressed_name
19326 and tsearch instead of hsearch_r.
19327 (response_builder_allocate): Remove initialization of
19328 compression_offsets.
19329 (response_builder_free): Update for removal of to_be_freed. Use
19330 tdestroy instead of hdestroy_r.
19331 * resolv/Makefile (tests): Add tst-resolv-binary.
19332 (tst-resolv-binary): Link with -lresolv -lpthread.
19334 2018-01-08 Florian Weimer <fweimer@redhat.com>
19336 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19337 time. Pass positive flag instead of negative flag to
19338 support_test_compare_failure.
19339 (support_test_compare_failure): Change negative parameter to
19341 * support/support_test_compare_failure.c (report)
19342 (support_test_compare_failure): Likewise.
19343 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19344 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19346 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19349 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19350 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19351 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19353 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19355 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19357 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19358 Add s_sincosf-sse2 and s_sincosf-fma.
19359 (CFLAGS-s_sincosf-fma.c): New.
19360 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19361 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19362 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19363 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19364 __sincosf is defined.
19366 2018-01-08 Florian Weimer <fweimer@redhat.com>
19368 * nptl/tst-thread-exit-clobber.cc: New file.
19369 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19371 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19372 (tests): Add tst-thread-exit-clobber.
19373 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19375 2018-01-08 Florian Weimer <fweimer@redhat.com>
19377 * support/check.h (support_static_assert): Define.
19378 (TEST_COMPARE): Use it.
19380 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19382 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19383 [!__RLIM_T_MATCHES_RLIM64_T]
19384 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19385 __getrlimit64. Add libc_hidden_weak.
19387 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19389 * elf/elf.h (R_RISCV_NONE): New define.
19390 (R_RISCV_32): Likewise.
19391 (R_RISCV_64): Likewise.
19392 (R_RISCV_RELATIVE): Likewise.
19393 (R_RISCV_COPY): Likewise.
19394 (R_RISCV_JUMP_SLOT): Likewise.
19395 (R_RISCV_TLS_DTPMOD32): Likewise.
19396 (R_RISCV_TLS_DTPMOD64): Likewise.
19397 (R_RISCV_TLS_DTPREL32): Likewise.
19398 (R_RISCV_TLS_DTPREL64): Likewise.
19399 (R_RISCV_TLS_TPREL32): Likewise.
19400 (R_RISCV_TLS_TPREL64): Likewise.
19401 * Makerules (make-link-multidir): Make directories before linking into
19403 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19405 (VDSO_HASH_LINUX_4_15): Likewise.
19406 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19407 in subdirectories of lib.
19408 * nptl/Makefile (/librt.so): Always depend on
19409 "$(shared-thread-library)".
19411 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19413 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19414 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19415 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19417 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19418 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19420 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19421 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19422 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19423 * sysdeps/gnu/glob-lstat-compat.c: New file.
19424 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19425 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19427 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19429 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19430 Reserve 16 chars to reloc_addr before calling _itoa_word.
19432 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19435 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19436 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19438 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19439 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19441 * resource/tst-getrlimit.c: Add copyright header.
19443 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19444 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19446 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19447 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19448 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19449 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19451 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19452 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19453 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19454 RLIM64_INFINITY): Fix values to match the kernel ones.
19455 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19456 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19457 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19458 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19459 getrlimit64@@GLIBC_2_27.
19460 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19462 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19463 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19464 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19465 setrlimit, getrlimit64 and setrlimit64.
19467 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19470 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19471 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19473 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19475 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19476 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19477 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19479 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19483 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19484 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19488 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19489 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19490 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19491 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19493 2018-01-04 Florian Weimer <fweimer@redhat.com>
19496 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19497 Align the stack before calling exit.
19498 * stdlib/tst-makecontext-align.c: New file.
19499 * stdlib/Makefile (tests): Add tst-makecontext-align.
19501 2018-01-04 Florian Weimer <fweimer@redhat.com>
19503 Add support for calling dlvsym from libc.so.
19504 * include/dlfcn.h (__libc_dlvsym): Declare.
19505 * elf/Makefile (tests-static-internal): Add
19506 tst-libc_dlvsym-static.
19507 (tests-internal): Add tst-libc_dlvsym.
19508 (modules-names): Add tst-libc_dlvsym-dso.
19509 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19510 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19511 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19512 object tst-libc_dlvsym-dso.so needs to be built before running
19514 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19515 * elf/Versions: Export __libc_dlvsym.
19516 * elf/dl-libc.c (struct do_dlvsym_args): New.
19517 (do_dlvsym, __libc_dlvsym): New functions.
19518 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19519 (_dl_open_hook2): New variable.
19520 (__libc_register_dl_open_hook): Set it.
19521 * elf/tst-libc_dlvsym-dso.c: New file.
19522 * elf/tst-libc_dlvsym-static.c: Likewise.
19523 * elf/tst-libc_dlvsym.c: Likewise.
19524 * elf/tst-libc_dlvsym.h: Likewise.
19526 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19528 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19529 include <sys/mount.h>.
19531 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19533 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19534 Add __NO_MATH_ERRNO__ check.
19536 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19538 * sysdeps/mips/mips32/libm-test-ulps: Update.
19539 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19541 2018-01-02 Florian Weimer <fweimer@redhat.com>
19543 * misc/tst-pselect.c: Add copyright header.
19545 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19547 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19549 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19551 (settrlimit): Rename into setrlimit.
19552 (__sttrlimit): Rename into __setrlimit.
19554 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19555 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19556 never defined in that case.
19558 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19560 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19562 * sysdeps/arm/libm-test-ulps: Update.
19564 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19565 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19567 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19569 * NEWS: Add cosf and sincosf to list of optimized functions.
19571 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19574 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19575 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19576 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19577 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19579 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19582 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19584 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19585 making a copy of it.
19587 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19589 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19590 trailing whitespace removed.
19591 * scripts/config.guess: Update to version 2018-01-01.
19592 * scripts/config.sub: Update to version 2018-01-01.
19593 * scripts/move-if-change: Update from gnulib.
19595 * NEWS: Update copyright dates.
19596 * catgets/gencat.c (print_version): Likewise.
19597 * csu/version.c (banner): Likewise.
19598 * debug/catchsegv.sh: Likewise.
19599 * debug/pcprofiledump.c (print_version): Likewise.
19600 * debug/xtrace.sh (do_version): Likewise.
19601 * elf/ldconfig.c (print_version): Likewise.
19602 * elf/ldd.bash.in: Likewise.
19603 * elf/pldd.c (print_version): Likewise.
19604 * elf/sotruss.sh: Likewise.
19605 * elf/sprof.c (print_version): Likewise.
19606 * iconv/iconv_prog.c (print_version): Likewise.
19607 * iconv/iconvconfig.c (print_version): Likewise.
19608 * locale/programs/locale.c (print_version): Likewise.
19609 * locale/programs/localedef.c (print_version): Likewise.
19610 * login/programs/pt_chown.c (print_version): Likewise.
19611 * malloc/memusage.sh (do_version): Likewise.
19612 * malloc/memusagestat.c (print_version): Likewise.
19613 * malloc/mtrace.pl: Likewise.
19614 * manual/libc.texinfo: Likewise.
19615 * nptl/version.c (banner): Likewise.
19616 * nscd/nscd.c (print_version): Likewise.
19617 * nss/getent.c (print_version): Likewise.
19618 * nss/makedb.c (print_version): Likewise.
19619 * posix/getconf.c (main): Likewise.
19620 * scripts/test-installation.pl: Likewise.
19621 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19623 * All files with FSF copyright notices: Update copyright dates
19624 using scripts/update-copyrights.
19625 * locale/programs/charmap-kw.h: Regenerated.
19626 * locale/programs/locfile-kw.h: Likewise.
19628 2017-12-31 Zack Weinberg <zackw@panix.com>
19630 * libio/bits/libio-ldbl.h: Correct check for improper
19631 inclusion. Add own multiple include guard.
19633 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19634 Dmitry V. Levin <ldv@altlinux.org>
19638 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19639 string token expansion. Check for NULL pointer or empty string possibly
19640 returned by expand_dynamic_string_token.
19641 (decompose_rpath): Check for empty path after dynamic string
19644 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19647 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19649 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19650 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19651 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19652 and PTRACE_SYSCALL.
19653 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19654 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19656 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19658 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19660 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19661 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19662 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19663 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19665 bits/ptrace-shared.h.
19666 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19667 <bits/ptrace-shared.h>.
19668 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19669 __ptrace_peeksiginfo_flags, ptrace): Remove.
19670 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19671 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19674 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19676 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19679 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19680 end of the loop. Improve comments.
19682 2017-12-29 Zack Weinberg <zackw@panix.com>
19685 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19686 might be set on success.
19688 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19691 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19692 is unchanged on success.
19694 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19696 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19698 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19699 expand_dynamic_string_token): Likewise.
19700 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19703 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19706 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19707 is set and name contains ':', and all code depending on these checks.
19709 2017-12-24 Zack Weinberg <zackw@panix.com>
19711 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19712 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19714 * libio/libio.h: Rename the original version of this file to
19715 libio/bits/libio.h. Error out if not included by stdio.h or the
19717 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19718 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19719 if not included by bits/libio.h or the stub _G_config.h.
19720 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19721 sysdeps/unix/sysv/linux/bits. Error out if not included by
19722 bits/libio.h or the stub _G_config.h.
19723 * libio/stdio.h: Include bits/libio.h, not libio.h.
19724 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19725 well as libio.h and _G_config.h.
19727 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19728 * libio/strfile.h, stdio-common/vfscanf.c
19729 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19730 Include stdio.h, not _G_config.h nor libio.h.
19731 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19732 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19734 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19736 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19739 * stdlib/getrandom.c (getrandom): Fix comment.
19740 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19742 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19745 * manual/arith.texi (strtoul): Fix a typo.
19748 * manual/arith.texi (finite): Fix the description of the return
19751 2017-12-22 Eric Blake <ebb9@byu.net>
19753 Avoid gcc warnings on cygwin
19754 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19755 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19756 Avoid unused variable.
19758 2017-12-22 Florian Weimer <fweimer@redhat.com>
19760 * io/Makefile (routines): Add copy_file_range.
19761 (tests): Add tst-copy_file_range.
19762 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19763 * io/Versions (GLIBC_2.27): Export copy_file_range.
19764 * io/copy_file_range-compat.c: New file.
19765 * io/copy_file_range.c: Likewise.
19766 * io/tst-copy_file_range-compat.c: Likewise.
19767 * io/tst-copy_file_range.c: Likewise.
19768 * manual/llio.texi (Copying File Data): New section.
19769 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19770 * support/Makefile (libsupport-routines): Add support-xfstat,
19771 xftruncate, xlseek.
19772 * support/support-xfstat.c: New file.
19773 * support/xftruncate.c: Likewise.
19774 * support/xlseek.c: Likewise.
19775 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19776 * sysdeps/unix/sysv/linux/**.abilist: Update.
19777 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19779 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19781 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19782 disable-multi-arch variant to aarch64-linux-gnu.
19784 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19786 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19787 trailing whitespace removed.
19788 * scripts/config.guess: Update to version 2017-12-17.
19789 * scripts/config.sub: Update to version 2017-11-23.
19790 * scripts/install-sh: Update to version 2017-09-23.17.
19791 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19793 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19795 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19796 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19797 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19798 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19799 * sysdeps/tile/crtn.S: Likewise.
19800 * sysdeps/tile/dl-start.S (_start): Likewise.
19801 * sysdeps/tile/dl-trampoline.S: Likewise.
19802 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19803 * sysdeps/tile/start.S (_start): Likewise.
19804 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19805 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19806 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19807 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19808 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19809 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19810 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19812 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19814 * sysdeps/tile/preconfigure: Remove tilegx folder.
19815 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19816 * sysdeps/tile/Implies: ... here.
19817 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19818 * sysdeps/tile/Makefile: ... here.
19819 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19820 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19821 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19822 * sysdeps/tile/bits/wordsize.h: ... here.
19823 * sysdeps/tile/tilegx/*: Move to ...
19824 * sysdeps/tile/*: ... here.
19825 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19826 * sysdeps/tile/tilegx32/Implies: ... here.
19827 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19828 * sysdeps/tile/tilegx64/Implies: ... here.
19829 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19831 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19832 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19833 * sysdeps/unix/sysv/linux/tile/*: ... here.
19834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19835 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19837 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19839 * README: Remove tilepro-*-linux-gnu from supported architecture.
19840 * scripts/build-many-glibcs.py: Likewise.
19841 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19842 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19843 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19844 elf_machine_matches_host, elf_machine_dynamic,
19845 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19846 howto, elf_machine_rela): Likewise.
19847 * sysdeps/tile/dl-start.S (_start): Likewise.
19848 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19849 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19850 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19851 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19852 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19853 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19855 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19856 * sysdeps/tile/preconfigure: Likewise.
19857 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19858 POINTER_CHK_GUARD): Likewise.
19859 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19860 * sysdeps/tile/start.S (_start): Likewise.
19861 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19863 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19864 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19866 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19867 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19868 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19870 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19871 * sysdeps/tile/tilepro/Implies: Remove file.
19872 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19873 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19874 * sysdeps/tile/tilepro/memchr.c: Likewise.
19875 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19876 * sysdeps/tile/tilepro/memset.c: Likewise.
19877 * sysdeps/tile/tilepro/memusage.h: Likewise.
19878 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19879 * sysdeps/tile/tilepro/strchr.c: Likewise.
19880 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19881 * sysdeps/tile/tilepro/strlen.c: Likewise.
19882 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19883 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19884 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19885 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19886 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19888 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19890 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19892 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19897 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19898 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19899 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19900 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19901 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19902 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19903 tilepro mention in comment.
19905 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19906 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19907 * nptl/pthread_join_common.c: New file: common function used on
19908 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19909 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19910 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19911 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19912 (cleanup): Move definition to pthread_join_common.c.
19913 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19914 Remove superflous checks.
19915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19918 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19920 * sysdeps/aarch64/libm-test-ulps: Update.
19922 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19924 * sysdeps/aarch64/memset.S (MEMSET): Define.
19926 2017-12-20 Florian Weimer <fweimer@redhat.com>
19929 nptl: Provide full implementation of pthread_self in libc.so.
19930 * nptl/Makefile (routines): Add pthread_self.
19931 (libpthread-routines): Replace pthread_self with
19932 compat-pthread_self.
19933 * nptl/forward.c (pthread_self): Remove.
19934 * nptl/nptl-init.c (pthread_functions): Do not initialize
19936 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19937 * nptl/compat-pthread_self.c: New file.
19938 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19939 Remove ptr_pthread_self.
19941 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19943 * posix/regcomp.c: Fix spelling in comments.
19944 * posix/regex.h: Likewise.
19945 * posix/regex_internal.c: Likewise.
19946 * posix/regexec.c: Likewise.
19948 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19951 * math/Makefile [C++] (tests): Add test for iseqsig.
19952 * math/math.h [C++] (iseqsig): New implementation, which does
19953 not rely on __MATH_TG/__builtin_types_compatible_p.
19954 * math/test-math-iseqsig.cc: New file.
19955 * sysdeps/powerpc/powerpc64le/Makefile
19956 (CFLAGS-test-math-iseqsig.cc): New variable.
19958 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19960 * elf/dl-load.c (is_trusted_path): Remove.
19961 (fillin_rpath): Remove check_trusted argument and its use,
19962 all callers changed.
19964 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19967 * Makeconfig (link-pie-before-libc): Replace -pie with
19968 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19969 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19970 (tst-dlopen-aout-no-pie): New.
19971 (LDFLAGS-tst-prelink): Removed.
19972 (tst-prelink-no-pie): New.
19973 (LDFLAGS-tst-main1): Removed.
19974 (tst-main1-no-pie): New.
19975 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19976 (tst-gmon-no-pie): New.
19978 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19980 * manual/install.texi: Document that --enable-static-pie
19982 * INSTALL: Regenerated.
19984 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19987 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19990 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19994 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19998 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20000 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20001 <errno.h>. Include "eexp.tbl".
20002 (half): New constant.
20004 (__ieee754_exp): Rewrite.
20005 (__slowexp): Remove prototype.
20006 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20007 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20008 * sysdeps/i386/fpu/slowexp.c: Likewise.
20009 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20010 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20011 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20012 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20013 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20014 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20015 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20017 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20018 (CPPFLAGS-slowexp.c): Remove variable.
20019 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20020 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20021 (CFLAGS-slowexp-fma.c): Remove variable.
20022 (CFLAGS-slowexp-fma4.c): Likewise.
20023 (CFLAGS-slowexp-avx.c): Likewise.
20024 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20026 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20028 * math/Makefile (type-double-routines): Remove slowexp.
20029 * manual/probes.texi (slowexp_p6): Remove.
20030 (slowexp_p32): Likewise.
20032 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20034 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20037 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20039 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20043 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20045 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20046 <errno.h>. Include "eexp.tbl".
20047 (half): New constant.
20049 (__ieee754_exp): Rewrite.
20050 (__slowexp): Remove prototype.
20051 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20052 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20053 * sysdeps/i386/fpu/slowexp.c: Likewise.
20054 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20055 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20056 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20057 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20058 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20059 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20060 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20062 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20063 (CPPFLAGS-slowexp.c): Remove variable.
20064 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20065 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20066 (CFLAGS-slowexp-fma.c): Remove variable.
20067 (CFLAGS-slowexp-fma4.c): Likewise.
20068 (CFLAGS-slowexp-avx.c): Likewise.
20069 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20071 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20072 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20073 * math/Makefile (type-double-routines): Remove slowexp.
20074 * manual/probes.texi (slowexp_p6): Remove.
20075 (slowexp_p32): Likewise.
20077 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20078 James Clarke <jrtc27@jrtc27.com>
20081 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20084 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20087 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20090 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20093 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20094 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20095 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20096 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20099 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20102 * bits/types/__cancel_jmp_buf_tag.h: New file.
20103 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20104 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20105 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20106 * nptl/Makefile (headers): Add
20107 bits/types/__cancel_jmp_buf_tag.h.
20108 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20109 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20110 * sysdeps/nptl/pthread.h: Include
20111 <bits/types/__cancel_jmp_buf_tag.h>.
20112 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20114 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20116 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20118 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20119 --enable-static-pie variants to x86_64, x32 and i686.
20121 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20124 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20125 argument for attrubutes. All callers changed.
20126 (__inline_mathop1): Likewise. All callers changed.
20127 (__inline_mathop): Likewise. All callers changed.
20128 [__USE_MISC] (scalbn): Use __inline_forward instead of
20129 __inline_forward_c.
20130 [__USE_ISOC99] (scalbln): Likewise.
20131 [__USE_ISOC99] (nearbyint): Likewise.
20132 [__USE_ISOC99] (lrint): Likewise.
20133 [__USE_MISC] (scalbnf): Likewise.
20134 [__USE_ISOC99] (scalblnf): Likewise.
20135 [__USE_ISOC99] (nearbyintf): Likewise.
20136 [__USE_ISOC99] (lrintf): Likewise.
20137 [__USE_MISC] (scalbnl): Likewise.
20138 [__USE_ISOC99] (scalblnl): Likewise.
20139 [__USE_ISOC99] (nearbyintl): Likewise.
20140 [__USE_ISOC99] (lrintl): Likewise.
20141 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20142 __inline_mathop and __m81_defun changed.
20144 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20145 CPU or FPU for ARM hard-float configurations.
20147 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20149 * nptl/tst-attr3.c: Include <libc-diag.h>.
20150 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20152 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20154 * string/tester.c (test_strncat): Also disable -Warray-bounds
20155 warnings for two tests.
20157 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20160 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20161 $(cc-pie-default) == yes.
20162 * config.make.in (cc-pie-default): New.
20163 * configure.ac (libc_cv_pie_default): Renamed to ...
20164 (libc_cv_cc_pie_default): This.
20165 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20166 * configure: Regenerated.
20168 2017-12-18 Florian Weimer <fweimer@redhat.com>
20171 ld.so: Harden dl-libc/libdl hooks.
20172 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20173 (rtld_active): New function.
20174 * dlfcn/dladdr.c (__dladdr): Call it.
20175 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20176 * dlfcn/dlclose.c (__dlcose): Likewise.
20177 * dlfcn/dlerror.c (__dlerror): Likewise.
20178 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20179 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20180 * dlfcn/dlopen.c (__dlopen): Likewise.
20181 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20182 * dlfcn/dlsym.c (__dlsym): Likewise.
20183 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20184 * libio/vtables.c (_IO_vtable_check): Likewise.
20185 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20186 (__libc_dlclose): Likewise.
20187 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20190 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20193 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20194 buffers for readlink input and output.
20196 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20199 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20200 inhibit_stack_protector.
20203 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20204 inhibit_stack_protector.
20206 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20209 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20210 code and invocation.
20212 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20214 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20216 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20219 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20221 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20223 * sysdeps/s390/fpu/libm-test-ulps: Update.
20225 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20229 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20231 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20232 constants to s_sincosf.h file.
20233 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20234 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20236 * sysdeps/ieee754/flt-32/s_sincosf.h:
20239 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20242 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20245 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20248 * INSTALL: Regenerated.
20249 * Makeconfig (real-static-start-installed-name): New.
20250 (pic-default): Updated for --enable-static-pie.
20251 (pie-default): New for --enable-static-pie.
20252 (default-pie-ldflag): Likewise.
20253 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20254 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20255 Replace $(static-start-installed-name) with
20256 $(real-static-start-installed-name).
20257 (+prectorT): Updated for --enable-static-pie.
20258 (+postctorT): Likewise.
20259 (CFLAGS-.o): Add $(pie-default).
20260 (CFLAGS-.op): Likewise.
20261 * NEWS: Mention --enable-static-pie.
20262 * config.h.in (ENABLE_STATIC_PIE): New.
20263 * configure.ac (--enable-static-pie): New configure option.
20264 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20265 (have-static-pie): Likewise.
20266 Enable static PIE if linker supports --no-dynamic-linker.
20267 (ENABLE_STATIC_PIE): New AC_DEFINE.
20268 (enable-static-pie): New LIBC_CONFIG_VAR.
20269 * configure: Regenerated.
20270 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20271 gr$(start-installed-name) for --enable-static-pie.
20272 (extra-objs): Likewise.
20273 (install-lib): Likewise.
20274 (extra-objs): Add static-reloc.o and static-reloc.os
20275 ($(objpfx)$(start-installed-name)): Also depend on
20276 $(objpfx)static-reloc.o.
20277 ($(objpfx)r$(start-installed-name)): New.
20278 ($(objpfx)g$(start-installed-name)): Also depend on
20279 $(objpfx)static-reloc.os.
20280 ($(objpfx)gr$(start-installed-name)): New.
20281 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20283 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20285 * csu/static-reloc.c: New file.
20286 * elf/Makefile (routines): Add dl-reloc-static-pie.
20287 (elide-routines.os): Likewise.
20288 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20289 (tst-tls1-static-non-pie-no-pie): New.
20290 * elf/dl-reloc-static-pie.c: New file.
20291 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20292 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20293 STATIC_PIE_BOOTSTRAP.
20294 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20295 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20296 (tests-static): Likewise.
20297 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20298 (tst-gmon-static-no-pie): New.
20299 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20300 (CRT-tst-gmon-static-pie): Likewise.
20301 (tst-gmon-static-pie-ENV): Likewise.
20302 (tests-special): Likewise.
20303 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20304 (clean-tst-gmon-static-pie-data): Likewise.
20305 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20306 * gmon/tst-gmon-static-pie.c: New file.
20307 * manual/install.texi: Document --enable-static-pie.
20308 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20309 (_dl_get_dl_main_map): Likewise.
20310 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20311 * sysdeps/x86_64/configure.ac: Likewise.
20312 * sysdeps/i386/configure: Regenerated.
20313 * sysdeps/x86_64/configure: Likewise.
20314 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20315 (ASFLAGS-.op): Likewise.
20317 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20319 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20320 * posix/tst-mmap-offset.c (fname): Use /tmp.
20321 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20323 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20325 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20327 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20329 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20332 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20334 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20335 --with-float=hard for arm-linux-gnueabihf configurations.
20338 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20339 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20340 ($(mo-installed)): Use $(objpfx)%.mo.
20341 (realclean): Remove rule.
20343 * po/Makefile (linguas): Remove rule and dependencies.
20344 (linguas.mo): Likewise.
20345 (.PHONY): Do not depend on linguas and linguas.mo.
20346 (podir): Remove variable.
20347 (pofiles): Likewise.
20348 [$(pofiles)] (%.po): Remove rule.
20350 * sysdeps/sparc/sparc32/Makefile
20351 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20352 start-of-line whitespace in argument of echo.
20353 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20354 with whitespace. Generate __wrap_.udiv alias.
20355 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20356 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20357 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20358 * sysdeps/sparc/sparc32/urem.S: Likewise.
20360 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20362 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20363 for aligned inputs.
20365 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20367 * benchtests/bench-strcmp.c: Print output in JSON format.
20369 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20371 2017-12-14 Florian Weimer <fweimer@redhat.com>
20375 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20376 the expanded path string.
20378 2017-12-14 Florian Weimer <fweimer@redhat.com>
20382 * elf/dl-load.c (system_dirs): Update comment.
20383 (nsystem_dirs_len): Use array_length.
20384 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20386 2017-12-14 Florian Weimer <fweimer@redhat.com>
20388 Simplify compiling most of support/ outside of glibc.
20389 * support/check_addrinfo.c: Include <string.h>.
20390 * support/check_dns_packet.c: Likewise.
20391 * support/check_hostent.c: Likewise.
20392 * support/support_can_chroot.c: Include <support/xunistd.h>.
20393 * support/support_format_addrinfo.c: Include <stdlib.h>
20394 * support/support_format_dns_packet.c: Include <stdbool.h>.
20395 * support/support_format_hostent.c: Include <stdlib.h>.
20396 * support/support_format_netent.c: Likewise.
20397 * support/support_write_string.c: Include <support/xunistd.h>.
20398 * support/xdlfcn.c: Include <stddef.h>.
20400 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20402 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20404 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20405 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20407 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20408 (sysdeps_routines): Add memset-niagara7.
20409 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20411 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20413 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20414 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20415 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20416 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20417 Add niagara7 option.
20418 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20421 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20422 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20423 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20425 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20427 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20428 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20429 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20430 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20431 and __memmove_niagara7.
20432 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20433 Add niagara7 option.
20434 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20435 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20436 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20437 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20438 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20440 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20442 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20443 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20444 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20445 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20447 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20448 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20449 _dl_sparc_cap_flags array.
20450 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20452 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20454 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20455 time whenever possible.
20457 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20459 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20460 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20462 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20464 * soft-fp/fmadf4.c: Move to ....
20465 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20466 * soft-fp/fmasf4.c: Move to ....
20467 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20468 * soft-fp/fmatf4.c: Move to ....
20469 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20470 * sysdeps/ieee754/soft-fp/Makefile: New file.
20471 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20472 * sysdeps/arm/preconfigure: Regenerated.
20473 * sysdeps/arm/nofpu/Implies: New file.
20474 * sysdeps/arm/s_fma.c: Remove file.
20475 * sysdeps/arm/s_fmaf.c: Likewise.
20476 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20477 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20478 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20479 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20480 * sysdeps/microblaze/s_fma.c: Remove file.
20481 * sysdeps/microblaze/s_fmaf.c: Likewise.
20482 * sysdeps/mips/mips32/nofpu/Implies: New file.
20483 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20484 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20485 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20486 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20487 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20488 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20489 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20491 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20492 * sysdeps/nios2/s_fma.c: Remove file.
20493 * sysdeps/nios2/s_fmaf.c: Likewise.
20494 * sysdeps/sh/nofpu/Implies: New file.
20495 * sysdeps/sh/s_fma.c: Remove file.
20496 * sysdeps/sh/s_fmaf.c: Likewise.
20497 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20498 * sysdeps/tile/s_fma.c: Remove file.
20499 * sysdeps/tile/s_fmaf.c: Likewise.
20501 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20503 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20504 Add s_cosf-sse2 and s_cosf-fma.
20505 (CFLAGS-s_cosf-fma.c): New.
20506 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20508 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20510 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20512 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20514 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20516 * libio/Makefile (tests): Add tst-bz22415.
20517 (tst-bz22415-ENV): New rule.
20518 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20519 (tests-special): Add tst-bz22415-mem.out.
20520 ($(objpfx)tst-bz22415-mem.out): New rule.
20521 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20522 in case of a successful seek operation.
20523 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20524 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20525 buffer is required.
20526 * libio/tst-bz22415.c: New test.
20528 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20530 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20532 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20533 __IPC_64 to 0 to avoid IPC_64 being set.
20535 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20538 * math/bits/mathcalls.h (nextafter): Remove const.
20539 (nexttoward): Likewise.
20541 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20543 * configure.ac (--with-fp): Remove configure option.
20544 (with_fp_cond): New variable.
20545 (libc_cv_with_fp): New configure test. Use this variable instead
20547 * configure: Regenerated.
20548 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20549 * manual/install.texi (Configuring and compiling): Remove
20551 * INSTALL: Regenerated.
20552 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20553 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20554 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20555 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20556 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20557 use --without-fp to configure glibc.
20559 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20561 * manual/locale.texi (nl_langinfo): Fix a typo.
20563 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20566 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20568 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20570 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20571 (CFLAGS-argp-parse.c): Likewise.
20572 (CFLAGS-argp-fmtstream.c): Likewise.
20573 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20574 (CPPFLAGS-sha512-crypt.c): Likewise.
20575 (CPPFLAGS-md5-crypt.c): Likewise.
20576 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20577 (CFLAGS-stack_chk_fail_local.c): Likewise.
20578 (CFLAGS-backtrace.c): Likewise.
20579 (CFLAGS-sprintf_chk.c): Likewise.
20580 (CFLAGS-snprintf_chk.c): Likewise.
20581 (CFLAGS-vsprintf_chk.c): Likewise.
20582 (CFLAGS-vsnprintf_chk.c): Likewise.
20583 (CFLAGS-asprintf_chk.c): Likewise.
20584 (CFLAGS-vasprintf_chk.c): Likewise.
20585 (CFLAGS-obprintf_chk.c): Likewise.
20586 (CFLAGS-dprintf_chk.c): Likewise.
20587 (CFLAGS-vdprintf_chk.c): Likewise.
20588 (CFLAGS-printf_chk.c): Likewise.
20589 (CFLAGS-fprintf_chk.c): Likewise.
20590 (CFLAGS-vprintf_chk.c): Likewise.
20591 (CFLAGS-vfprintf_chk.c): Likewise.
20592 (CFLAGS-gets_chk.c): Likewise.
20593 (CFLAGS-fgets_chk.c): Likewise.
20594 (CFLAGS-fgets_u_chk.c): Likewise.
20595 (CFLAGS-fread_chk.c): Likewise.
20596 (CFLAGS-fread_u_chk.c): Likewise.
20597 (CFLAGS-swprintf_chk.c): Likewise.
20598 (CFLAGS-vswprintf_chk.c): Likewise.
20599 (CFLAGS-wprintf_chk.c): Likewise.
20600 (CFLAGS-fwprintf_chk.c): Likewise.
20601 (CFLAGS-vwprintf_chk.c): Likewise.
20602 (CFLAGS-vfwprintf_chk.c): Likewise.
20603 (CFLAGS-fgetws_chk.c): Likewise.
20604 (CFLAGS-fgetws_u_chk.c): Likewise.
20605 (CFLAGS-read_chk.c): Likewise.
20606 (CFLAGS-pread_chk.c): Likewise.
20607 (CFLAGS-pread64_chk.c): Likewise.
20608 (CFLAGS-recv_chk.c): Likewise.
20609 (CFLAGS-recvfrom_chk.c): Likewise.
20610 (CFLAGS-tst-longjmp_chk.c): Likewise.
20611 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20612 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20613 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20614 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20615 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20616 (CFLAGS-tst-chk1.c): Likewise.
20617 (CFLAGS-tst-chk2.c): Likewise.
20618 (CFLAGS-tst-chk3.c): Likewise.
20619 (CFLAGS-tst-chk4.cc): Likewise.
20620 (CFLAGS-tst-chk5.cc): Likewise.
20621 (CFLAGS-tst-chk6.cc): Likewise.
20622 (CFLAGS-tst-lfschk1.c): Likewise.
20623 (CFLAGS-tst-lfschk2.c): Likewise.
20624 (CFLAGS-tst-lfschk3.c): Likewise.
20625 (CFLAGS-tst-lfschk4.cc): Likewise.
20626 (CFLAGS-tst-lfschk5.cc): Likewise.
20627 (CFLAGS-tst-lfschk6.cc): Likewise.
20628 (CFLAGS-tst-ssp-1.c): Likewise.
20629 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20630 (CFLAGS-scandir64.c): Likewise.
20631 (CFLAGS-scandir-tail.c): Likewise.
20632 (CFLAGS-scandir64-tail.c): Likewise.
20633 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20634 (CFLAGS-dl-tunables.c): Likewise.
20635 (CFLAGS-dl-runtime.c): Likewise.
20636 (CFLAGS-dl-lookup.c): Likewise.
20637 (CFLAGS-dl-iterate-phdr.c): Likewise.
20638 (CFLAGS-vismain.c): Likewise.
20639 (CFLAGS-tst-linkall-static.c): Likewise.
20640 (CFLAGS-tst-linkall-static.c): Likewise.
20641 (CPPFLAGS-dl-load.c): Likewise.
20642 (CFLAGS-ldconfig.c): Likewise.
20643 (CFLAGS-dl-cache.c): Likewise.
20644 (CFLAGS-cache.c): Likewise.
20645 (CFLAGS-rtld.c): Likewise.
20646 (CFLAGS-multiload.c): Likewise.
20647 (CFLAGS-filtmod1.c): Likewise.
20648 (CFLAGS-tst-align.c): Likewise.
20649 (CFLAGS-tst-align2.c): Likewise.
20650 (CFLAGS-tst-alignmod.c): Likewise.
20651 (CFLAGS-tst-alignmod2.c): Likewise.
20652 (CPPFLAGS-tst-execstack.c): Likewise.
20653 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20654 (CFLAGS-tst-latepthreadmod.c): Likewise.
20655 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20656 (CFLAGS-getgrnam_r.c): Likewise.
20657 (CFLAGS-getgrent_r.c): Likewise.
20658 (CFLAGS-getgrent.c): Likewise.
20659 (CFLAGS-fgetgrent.c): Likewise.
20660 (CFLAGS-fgetgrent_r.c): Likewise.
20661 (CFLAGS-putgrent.c): Likewise.
20662 (CFLAGS-initgroups.c): Likewise.
20663 (CFLAGS-getgrgid.c): Likewise.
20664 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20665 (CFLAGS-getsgent.c): Likewise.
20666 (CFLAGS-fgetsgent.c): Likewise.
20667 (CFLAGS-fgetsgent_r.c): Likewise.
20668 (CFLAGS-putsgent.c): Likewise.
20669 (CFLAGS-getsgnam.c): Likewise.
20670 (CFLAGS-getsgnam_r.c): Likewise.
20671 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20672 (CFLAGS-iconv_charmap.c): Likewise.
20673 (CFLAGS-dummy-repertoire.c): Likewise.
20674 (CFLAGS-charmap.c): Likewise.
20675 (CFLAGS-linereader.c): Likewise.
20676 (CFLAGS-simple-hash.c): Likewise.
20677 (CFLAGS-gconv_conf.c): Likewise.
20678 (CFLAGS-iconvconfig.c): Likewise.
20679 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20680 (CFLAGS-gethstbyad.c): Likewise.
20681 (CFLAGS-gethstbynm_r.c): Likewise.
20682 (CFLAGS-gethstbynm.c): Likewise.
20683 (CFLAGS-gethstbynm2_r.c): Likewise.
20684 (CFLAGS-gethstbynm2.c): Likewise.
20685 (CFLAGS-gethstent_r.c): Likewise.
20686 (CFLAGS-gethstent.c): Likewise.
20687 (CFLAGS-rcmd.c): Likewise.
20688 (CFLAGS-getnetbynm_r.c): Likewise.
20689 (CFLAGS-getnetbynm.c): Likewise.
20690 (CFLAGS-getnetbyad_r.c): Likewise.
20691 (CFLAGS-getnetbyad.c): Likewise.
20692 (CFLAGS-getnetent_r.c): Likewise.
20693 (CFLAGS-getnetent.c): Likewise.
20694 (CFLAGS-getaliasent_r.c): Likewise.
20695 (CFLAGS-getaliasent.c): Likewise.
20696 (CFLAGS-getrpcent_r.c): Likewise.
20697 (CFLAGS-getrpcent.c): Likewise.
20698 (CFLAGS-getservent_r.c): Likewise.
20699 (CFLAGS-getservent.c): Likewise.
20700 (CFLAGS-getprtent_r.c): Likewise.
20701 (CFLAGS-getprtent.c): Likewise.
20702 (CFLAGS-either_ntoh.c): Likewise.
20703 (CFLAGS-either_hton.c): Likewise.
20704 (CFLAGS-getnetgrent.c): Likewise.
20705 (CFLAGS-getnetgrent_r.c): Likewise.
20706 (CFLAGS-tst-checks-posix.c): Likewise.
20707 (CFLAGS-tst-sockaddr.c): Likewise.
20708 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20709 (CFLAGS-tst-translit.c): Likewise.
20710 (CFLAGS-tst-gettext2.c): Likewise.
20711 (CFLAGS-tst-codeset.c): Likewise.
20712 (CFLAGS-tst-gettext3.c): Likewise.
20713 (CFLAGS-tst-gettext4.c): Likewise.
20714 (CFLAGS-tst-gettext5.c): Likewise.
20715 (CFLAGS-tst-gettext6.c): Likewise.
20716 * io/Makefile (CFLAGS-open.c): Likewise.
20717 (CFLAGS-open64.c): Likewise.
20718 (CFLAGS-creat.c): Likewise.
20719 (CFLAGS-creat64.c): Likewise.
20720 (CFLAGS-fcntl.c): Likewise.
20721 (CFLAGS-poll.c): Likewise.
20722 (CFLAGS-ppoll.c): Likewise.
20723 (CFLAGS-lockf.c): Likewise.
20724 (CFLAGS-statfs.c): Likewise.
20725 (CFLAGS-fstatfs.c): Likewise.
20726 (CFLAGS-statvfs.c): Likewise.
20727 (CFLAGS-fstatvfs.c): Likewise.
20728 (CFLAGS-fts.c): Likewise.
20729 (CFLAGS-fts64.c): Likewise.
20730 (CFLAGS-ftw.c): Likewise.
20731 (CFLAGS-ftw64.c): Likewise.
20732 (CFLAGS-lockf.c): Likewise.
20733 (CFLAGS-posix_fallocate.c): Likewise.
20734 (CFLAGS-posix_fallocate64.c): Likewise.
20735 (CFLAGS-fallocate.c): Likewise.
20736 (CFLAGS-fallocate64.c): Likewise.
20737 (CFLAGS-read.c): Likewise.
20738 (CFLAGS-write.c): Likewise.
20739 (CFLAGS-test-stat.c): Likewise.
20740 (CFLAGS-test-lfs.c): Likewise.
20741 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20742 (CFLAGS-fputc.c): Likewise.
20743 (CFLAGS-fputwc.c): Likewise.
20744 (CFLAGS-freopen64.c): Likewise.
20745 (CFLAGS-freopen.c): Likewise.
20746 (CFLAGS-fseek.c): Likewise.
20747 (CFLAGS-fseeko64.c): Likewise.
20748 (CFLAGS-fseeko.c): Likewise.
20749 (CFLAGS-ftello64.c): Likewise.
20750 (CFLAGS-ftello.c): Likewise.
20751 (CFLAGS-fwide.c): Likewise.
20752 (CFLAGS-genops.c): Likewise.
20753 (CFLAGS-getc.c): Likewise.
20754 (CFLAGS-getchar.c): Likewise.
20755 (CFLAGS-getwc.c): Likewise.
20756 (CFLAGS-getwchar.c): Likewise.
20757 (CFLAGS-iofclose.c): Likewise.
20758 (CFLAGS-iofflush.c): Likewise.
20759 (CFLAGS-iofgetpos64.c): Likewise.
20760 (CFLAGS-iofgetpos.c): Likewise.
20761 (CFLAGS-iofgets.c): Likewise.
20762 (CFLAGS-iofgetws.c): Likewise.
20763 (CFLAGS-iofputs.c): Likewise.
20764 (CFLAGS-iofputws.c): Likewise.
20765 (CFLAGS-iofread.c): Likewise.
20766 (CFLAGS-iofsetpos64.c): Likewise.
20767 (CFLAGS-iofsetpos.c): Likewise.
20768 (CFLAGS-ioftell.c): Likewise.
20769 (CFLAGS-iofwrite.c): Likewise.
20770 (CFLAGS-iogetdelim.c): Likewise.
20771 (CFLAGS-iogetline.c): Likewise.
20772 (CFLAGS-iogets.c): Likewise.
20773 (CFLAGS-iogetwline.c): Likewise.
20774 (CFLAGS-ioputs.c): Likewise.
20775 (CFLAGS-ioseekoff.c): Likewise.
20776 (CFLAGS-ioseekpos.c): Likewise.
20777 (CFLAGS-iosetbuffer.c): Likewise.
20778 (CFLAGS-iosetvbuf.c): Likewise.
20779 (CFLAGS-ioungetc.c): Likewise.
20780 (CFLAGS-ioungetwc.c): Likewise.
20781 (CFLAGS-oldfileops.c): Likewise.
20782 (CFLAGS-oldiofclose.c): Likewise.
20783 (CFLAGS-oldiofgetpos64.c): Likewise.
20784 (CFLAGS-oldiofgetpos.c): Likewise.
20785 (CFLAGS-oldiofsetpos64.c): Likewise.
20786 (CFLAGS-oldiofsetpos.c): Likewise.
20787 (CFLAGS-peekc.c): Likewise.
20788 (CFLAGS-putc.c): Likewise.
20789 (CFLAGS-putchar.c): Likewise.
20790 (CFLAGS-putwc.c): Likewise.
20791 (CFLAGS-putwchar.c): Likewise.
20792 (CFLAGS-rewind.c): Likewise.
20793 (CFLAGS-wfileops.c): Likewise.
20794 (CFLAGS-wgenops.c): Likewise.
20795 (CFLAGS-oldiofopen.c): Likewise.
20796 (CFLAGS-iofopen.c): Likewise.
20797 (CFLAGS-iofopen64.c): Likewise.
20798 (CFLAGS-oldtmpfile.c): Likewise.
20799 (CFLAGS-tst_putwc.c): Likewise.
20800 * locale/Makefile (CFLAGS-md5.c): Likewise.
20801 (CFLAGS-charmap.c): Likewise.
20802 (CFLAGS-locfile.c): Likewise.
20803 (CFLAGS-charmap-dir.c): Likewise.
20804 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20805 (CFLAGS-getpt.c): Likewise.
20806 (CFLAGS-pt_chown.c): Likewise.
20807 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20808 (CFLAGS-obstack.c): Likewise.
20809 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20810 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20811 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20812 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20813 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20814 (CFLAGS-test-tgmath.c): Likewise.
20815 (CFLAGS-test-tgmath2.c): Likewise.
20816 (CFLAGS-test-tgmath-ret.c): Likewise.
20817 (CFLAGS-test-powl.c): Likewise.
20818 (CFLAGS-test-snan.c): Likewise.
20819 (CFLAGS-test-signgam-finite.c): Likewise.
20820 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20821 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20822 (CFLAGS-test-signgam-uchar.c): Likewise.
20823 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20824 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20825 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20826 (CFLAGS-test-signgam-uint.c): Likewise.
20827 (CFLAGS-test-signgam-uint-init.c): Likewise.
20828 (CFLAGS-test-signgam-uint-static.c): Likewise.
20829 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20830 (CFLAGS-test-signgam-ullong.c): Likewise.
20831 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20832 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20833 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20834 (CFLAGS-test-math-cxx11.cc): Likewise.
20835 (CFLAGS-test-math-isinff.cc): Likewise.
20836 (CFLAGS-test-math-iszero.cc): Likewise.
20837 (CFLAGS-test-math-issignaling.cc): Likewise.
20838 (CFLAGS-test-math-iscanonical.cc): Likewise.
20839 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20840 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20841 (CFLAGS-test-flt-eval-method.c): Likewise.
20842 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20843 (CFLAGS-test-finite-macros.c): Likewise.
20844 * misc/Makefile (CFLAGS-select.c): Likewise.
20845 (CFLAGS-tsearch.c): Likewise.
20846 (CFLAGS-lsearch.c): Likewise.
20847 (CFLAGS-pselect.c): Likewise.
20848 (CFLAGS-readv.c): Likewise.
20849 (CFLAGS-writev.c): Likewise.
20850 (CFLAGS-preadv.c): Likewise.
20851 (CFLAGS-preadv64.c): Likewise.
20852 (CFLAGS-pwritev.c): Likewise.
20853 (CFLAGS-pwritev64.c): Likewise.
20854 (CFLAGS-preadv2.c): Likewise.
20855 (CFLAGS-preadv64v2.c): Likewise.
20856 (CFLAGS-pwritev2.c): Likewise.
20857 (CFLAGS-pwritev64v2.c): Likewise.
20858 (CFLAGS-usleep.c): Likewise.
20859 (CFLAGS-syslog.c): Likewise.
20860 (CFLAGS-error.c): Likewise.
20861 (CFLAGS-getpass.c): Likewise.
20862 (CFLAGS-mkstemp.c): Likewise.
20863 (CFLAGS-mkstemp64.c): Likewise.
20864 (CFLAGS-getsysstats.c): Likewise.
20865 (CFLAGS-getusershell.c): Likewise.
20866 (CFLAGS-err.c): Likewise.
20867 (CFLAGS-tst-tsearch.c): Likewise.
20868 (CFLAGS-msync.c): Likewise.
20869 (CFLAGS-fdatasync.c): Likewise.
20870 (CFLAGS-fsync.c): Likewise.
20871 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20872 (CFLAGS-unwind.c): Likewise.
20873 (CFLAGS-unwind-forcedunwind.c): Likewise.
20874 (CFLAGS-pthread_cancel.c): Likewise.
20875 (CFLAGS-pthread_setcancelstate.c): Likewise.
20876 (CFLAGS-pthread_setcanceltype.c): Likewise.
20877 (CFLAGS-cancellation.c): Likewise.
20878 (CFLAGS-libc-cancellation.c): Likewise.
20879 (CFLAGS-pthread_exit.c): Likewise.
20880 (CFLAGS-forward.c): Likewise.
20881 (CFLAGS-pthread_testcancel.c): Likewise.
20882 (CFLAGS-pthread_join.c): Likewise.
20883 (CFLAGS-pthread_timedjoin.c): Likewise.
20884 (CFLAGS-pthread_once.c): Likewise.
20885 (CFLAGS-pthread_cond_wait.c): Likewise.
20886 (CFLAGS-sem_wait.c): Likewise.
20887 (CFLAGS-sem_timedwait.c): Likewise.
20888 (CFLAGS-fcntl.c): Likewise.
20889 (CFLAGS-lockf.c): Likewise.
20890 (CFLAGS-pread.c): Likewise.
20891 (CFLAGS-pread64.c): Likewise.
20892 (CFLAGS-pwrite.c): Likewise.
20893 (CFLAGS-pwrite64.c): Likewise.
20894 (CFLAGS-wait.c): Likewise.
20895 (CFLAGS-waitpid.c): Likewise.
20896 (CFLAGS-sigwait.c): Likewise.
20897 (CFLAGS-msgrcv.c): Likewise.
20898 (CFLAGS-msgsnd.c): Likewise.
20899 (CFLAGS-tcdrain.c): Likewise.
20900 (CFLAGS-open.c): Likewise.
20901 (CFLAGS-open64.c): Likewise.
20902 (CFLAGS-pause.c): Likewise.
20903 (CFLAGS-recv.c): Likewise.
20904 (CFLAGS-send.c): Likewise.
20905 (CFLAGS-accept.c): Likewise.
20906 (CFLAGS-sendto.c): Likewise.
20907 (CFLAGS-connect.c): Likewise.
20908 (CFLAGS-recvfrom.c): Likewise.
20909 (CFLAGS-recvmsg.c): Likewise.
20910 (CFLAGS-sendmsg.c): Likewise.
20911 (CFLAGS-close.c): Likewise.
20912 (CFLAGS-read.c): Likewise.
20913 (CFLAGS-write.c): Likewise.
20914 (CFLAGS-nanosleep.c): Likewise.
20915 (CFLAGS-sigsuspend.c): Likewise.
20916 (CFLAGS-msync.c): Likewise.
20917 (CFLAGS-fdatasync.c): Likewise.
20918 (CFLAGS-fsync.c): Likewise.
20919 (CFLAGS-pt-system.c): Likewise.
20920 (CFLAGS-tst-cleanup2.c): Likewise.
20921 (CFLAGS-tst-cleanupx2.c): Likewise.
20922 (CFLAGS-flockfile.c): Likewise.
20923 (CFLAGS-ftrylockfile.c): Likewise.
20924 (CFLAGS-funlockfile.c): Likewise.
20925 (CFLAGS-tst-initializers1.c): Likewise.
20926 (CFLAGS-tst-initializers1-c89.c): Likewise.
20927 (CFLAGS-tst-initializers1-c99.c): Likewise.
20928 (CFLAGS-tst-initializers1-c11.c): Likewise.
20929 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20930 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20931 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20932 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20933 (CFLAGS-nscd_getgr_r.c): Likewise.
20934 (CFLAGS-nscd_gethst_r.c): Likewise.
20935 (CFLAGS-nscd_getai.c): Likewise.
20936 (CFLAGS-nscd_initgroups.c): Likewise.
20937 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20938 (CFLAGS-pause.c): Likewise.
20939 (CFLAGS-pread.c): Likewise.
20940 (CFLAGS-pread64.c): Likewise.
20941 (CFLAGS-pwrite.c): Likewise.
20942 (CFLAGS-pwrite64.c): Likewise.
20943 (CFLAGS-sleep.c): Likewise.
20944 (CFLAGS-wait.c): Likewise.
20945 (CFLAGS-waitid.c): Likewise.
20946 (CFLAGS-waitpid.c): Likewise.
20947 (CFLAGS-getopt.c): Likewise.
20948 (CFLAGS-wordexp.c): Likewise.
20949 (CFLAGS-sysconf.c): Likewise.
20950 (CFLAGS-pathconf.c): Likewise.
20951 (CFLAGS-fpathconf.c): Likewise.
20952 (CFLAGS-spawn.c): Likewise.
20953 (CFLAGS-spawnp.c): Likewise.
20954 (CFLAGS-spawni.c): Likewise.
20955 (CFLAGS-glob.c): Likewise.
20956 (CFLAGS-glob64.c): Likewise.
20957 (CFLAGS-getconf.c): Likewise.
20958 (CFLAGS-nanosleep.c): Likewise.
20959 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20960 (CFLAGS-getpwent.c): Likewise.
20961 (CFLAGS-getpw.c): Likewise.
20962 (CFLAGS-fgetpwent_r.c): Likewise.
20963 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20964 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20965 (CFLAGS-mq_timedreceive.c): Likewise.
20966 (CFLAGS-mq_timedsend.c): Likewise.
20967 (CFLAGS-clock_nanosleep.c): Likewise.
20968 (CFLAGS-librt-cancellation.c): Likewise.
20969 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20970 (CFLAGS-getspent.c): Likewise.
20971 (CFLAGS-fgetspent.c): Likewise.
20972 (CFLAGS-fgetspent_r.c): Likewise.
20973 (CFLAGS-putspent.c): Likewise.
20974 (CFLAGS-getspnam.c): Likewise.
20975 (CFLAGS-getspnam_r.c): Likewise.
20976 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20977 (CFLAGS-sigsuspend.c): Likewise.
20978 (CFLAGS-sigtimedwait.c): Likewise.
20979 (CFLAGS-sigwait.c): Likewise.
20980 (CFLAGS-sigwaitinfo.c): Likewise.
20981 (CFLAGS-sigreturn.c): Likewise.
20982 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20983 (CFLAGS-vfwprintf.c): Likewise.
20984 (CFLAGS-tmpfile.c): Likewise.
20985 (CFLAGS-tmpfile64.c): Likewise.
20986 (CFLAGS-tempname.c): Likewise.
20987 (CFLAGS-psignal.c): Likewise.
20988 (CFLAGS-vprintf.c): Likewise.
20989 (CFLAGS-cuserid.c): Likewise.
20990 (CFLAGS-errlist.c): Likewise.
20991 (CFLAGS-siglist.c): Likewise.
20992 (CFLAGS-scanf15.c): Likewise.
20993 (CFLAGS-scanf17.c): Likewise.
20994 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20995 (CFLAGS-msort.c): Likewise.
20996 (CFLAGS-qsort.c): Likewise.
20997 (CFLAGS-system.c): Likewise.
20998 (CFLAGS-fmtmsg.c): Likewise.
20999 (CFLAGS-strfmon.c): Likewise.
21000 (CFLAGS-strfmon_l.c): Likewise.
21001 (CFLAGS-strfromd.c): Likewise.
21002 (CFLAGS-strfromf.c): Likewise.
21003 (CFLAGS-strfroml.c): Likewise.
21004 (CFLAGS-tst-bsearch.c): Likewise.
21005 (CFLAGS-tst-qsort.c): Likewise.
21006 (CFLAGS-tst-makecontext2.c): Likewise.
21007 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21008 (CFLAGS-xnlm_prot.c): Likewise.
21009 (CFLAGS-xrstat.c): Likewise.
21010 (CFLAGS-xyppasswd.c): Likewise.
21011 (CFLAGS-xklm_prot.c): Likewise.
21012 (CFLAGS-xrex.c): Likewise.
21013 (CFLAGS-xsm_inter.c): Likewise.
21014 (CFLAGS-xmount.c): Likewise.
21015 (CFLAGS-xrusers.c): Likewise.
21016 (CFLAGS-xspray.c): Likewise.
21017 (CFLAGS-xnfs_prot.c): Likewise.
21018 (CFLAGS-xrquota.c): Likewise.
21019 (CFLAGS-xkey_prot.c): Likewise.
21020 (CFLAGS-auth_unix.c): Likewise.
21021 (CFLAGS-key_call.c): Likewise.
21022 (CFLAGS-pmap_rmt.c): Likewise.
21023 (CFLAGS-clnt_perr.c): Likewise.
21024 (CFLAGS-openchild.c): Likewise.
21025 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21026 (CFLAGS-msgsnd.c): Likewise.
21027 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21028 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21029 (CFLAGS-tzset.c): Likewise.
21030 (CFLAGS-getdate.c): Likewise.
21031 (CFLAGS-test_time.c): Likewise.
21032 (CPPFLAGS-tst-tzname.c): Likewise.
21033 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21034 (CFLAGS-zic.c): Likewise.
21035 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21036 (CFLAGS-wcswidth.c): Likewise.
21037 (CFLAGS-wcstol.c): Likewise.
21038 (CFLAGS-wcstoul.c): Likewise.
21039 (CFLAGS-wcstoll.c): Likewise.
21040 (CFLAGS-wcstoull.c): Likewise.
21041 (CFLAGS-wcstod.c): Likewise.
21042 (CFLAGS-wcstold.c): Likewise.
21043 (CFLAGS-wcstof128.c): Likewise.
21044 (CFLAGS-wcstof.c): Likewise.
21045 (CFLAGS-wcstol_l.c): Likewise.
21046 (CFLAGS-wcstoul_l.c): Likewise.
21047 (CFLAGS-wcstoll_l.c): Likewise.
21048 (CFLAGS-wcstoull_l.c): Likewise.
21049 (CFLAGS-wcstod_l.c): Likewise.
21050 (CFLAGS-wcstold_l.c): Likewise.
21051 (CFLAGS-wcstof128_l.c): Likewise.
21052 (CFLAGS-wcstof_l.c): Likewise.
21053 (CPPFLAGS-tst-wchar-h.c): Likewise.
21054 (CPPFLAGS-wcstold_l.c): Likewise.
21056 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21058 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21060 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21061 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21063 * manual/tunables.texi (Hardware Capability Tunables): Document
21064 glibc.tune.cached_memopt.
21065 * sysdeps/powerpc/cpu-features.c: New file.
21066 * sysdeps/powerpc/cpu-features.h: New file.
21067 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21068 _dl_powerpc_cpu_features.
21069 * sysdeps/powerpc/dl-tunables.list: New file.
21070 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21071 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21072 (INIT_ARCH): Initialize use_aligned_memopt.
21073 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21074 IS_IN(rtld))]: Restrict dl_platform_init availability and
21075 initialize CPU features used by tunables.
21076 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21077 Add memcpy-power8-cached.
21078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21079 __memcpy_power8_cached.
21080 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21081 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21084 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21086 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21087 (CFLAGS-noinl-tester.c): Likewise.
21088 (CFLAGS-tst-strlen.c): Likewise.
21089 (CFLAGS-stratcliff.c): Likewise.
21090 (CFLAGS-test-ffs.c): Likewise.
21091 (CFLAGS-tst-inlcall.c): Likewise.
21092 (CFLAGS-tst-xbzero-opt.c): Likewise.
21093 (CFLAGS-memcpy.c): Likewise.
21094 (CFLAGS-wordcopy.c): Likewise.
21096 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21098 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21099 Store r15 on stack and add cfi rule.
21100 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21103 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21106 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21109 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21112 Add s_sinf-sse2 and s_sinf-fma.
21113 (CFLAGS-s_sinf-fma.c): New.
21114 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21115 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21116 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21118 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21120 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21122 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21125 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21126 part of result to imaginary part of argument if it is zero and the
21127 real part of the argument is not finite.
21128 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21129 of result to real part of argument if it is zero and the imaginary
21130 part of the argument is not finite.
21132 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21135 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21136 and to the list of locales to be built for testing.
21137 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21138 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21139 and build the collation rules upon that.
21141 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21143 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21144 * manual/math.texi (Mathematics): Document support for _Float32.
21145 * math/Makefile (test-types): Add float32.
21146 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21147 * stdlib/Versions (GLIBC_2.27): Likewise.
21148 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21149 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21150 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21151 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21152 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21153 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21154 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21155 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21156 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21157 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21158 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21159 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21160 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21161 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21162 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21164 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21165 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21166 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21167 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21168 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21169 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21171 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21172 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21174 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21175 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21193 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21194 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21195 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21196 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21197 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21198 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21199 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21200 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21201 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21202 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21211 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21212 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21213 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21214 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21215 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21216 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21217 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21218 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21220 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21222 * stdlib/strtof.c: Include <bits/floatn.h>
21223 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21224 and later undefine as macro. Define as weak alias if
21226 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21227 and later undefine as macro. Define as weak alias if
21229 * stdlib/strtof_l.c: Include <bits/floatn.h>
21230 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21231 and later undefine as macro. Define as weak alias if
21233 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21234 and later undefine as macro. Define as weak alias if
21237 * stdlib/strfromf.c: Include <bits/floatn.h>.
21238 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21239 and later undefine as macro and define as weak alias.
21241 * math/test-float32.h: New file.
21243 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21244 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21245 (libm_alias_float_other_r): Create f32 alias.
21246 (libm_alias_float_r): Use semicolon before call to
21247 libm_alias_float_other_r.
21249 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21250 second argument to libm_alias_float_other.
21251 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21252 second argument to libm_alias_float_other.
21253 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21254 argument to libm_alias_float_other.
21257 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21258 real part of result for argument 0 + i * NaN.
21259 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21260 results for tests of 0 + i * NaN.
21262 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21264 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21266 2017-12-06 David S. Miller <davem@davemloft.net>
21268 * sysdeps/sparc/fpu/libm-test-ulps: Update
21269 exp_{downward,towardzero,upward} ulps.
21271 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21273 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21276 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21278 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21280 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21282 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21285 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21288 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21289 and to the list of locales to be built for testing.
21290 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21291 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21292 and build the collation rules upon that.
21294 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21296 * NEWS: Add sinf to list of optimized functions.
21298 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21300 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21301 (__HAVE_FLOAT32X): Likewise.
21302 * manual/math.texi (Mathematics): Document support for _Float64
21304 * math/Makefile (test-types): Add float64 and float32x.
21305 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21307 * stdlib/Versions (GLIBC_2.27): Likewise.
21308 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21309 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21310 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21311 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21312 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21313 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21314 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21315 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21316 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21317 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21318 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21319 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21320 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21321 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21322 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21323 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21324 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21325 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21326 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21327 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21328 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21329 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21331 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21332 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21333 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21334 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21335 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21353 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21354 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21356 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21357 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21358 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21359 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21360 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21361 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21370 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21371 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21373 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21374 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21375 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21376 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21377 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21379 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21381 * bits/floatn-common.h: Include <bits/long-double.h>.
21382 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21383 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21384 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21385 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21386 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21387 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21388 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21389 (__builtin_huge_valf64): Use __builtin_huge_vall.
21390 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21391 (__builtin_inff64): Use __builtin_infl.
21392 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21393 (__builtin_nanf64): Use __builtin_nanl.
21394 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21395 (__builtin_nansf64): Use __builtin_nansl.
21397 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21398 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21399 Carlos O'Donnell <carlos@redhat.com>
21401 * elf/dl-tunables.list: Add elision parameters.
21402 * manual/tunables.texi: Add entries about elision tunable.
21403 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21404 Add callback functions to dynamically enable/disable elision.
21405 Add multiple callbacks functions to set elision parameters.
21406 Deleted __libc_enable_secure check.
21407 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21408 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21409 * configure: Regenerated.
21410 * configure.ac: Option enable_lock_elision was deleted.
21411 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21412 * config.make.in: Remove references to enable_lock_elision.
21413 * manual/install.texi: Elision configure option was removed.
21414 * INSTALL: Regenerated to remove enable_lock_elision.
21416 Disable elision so it can verify error case for destroying a mutex.
21417 * sysdeps/powerpc/nptl/elide.h:
21418 Cleanup ENABLE_LOCK_ELISION check.
21419 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21420 * sysdeps/s390/configure: Regenerated.
21421 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21422 * nptl/tst-mutex8.c:
21423 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21424 * sysdeps/powerpc/powerpc32/sysdep.h:
21425 Deleted all ENABLE_LOCK_ELISION checks.
21426 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21427 * sysdeps/powerpc/sysdep.h: Likewise.
21428 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21429 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21430 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21431 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21432 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21433 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21434 enable-lock-elision.
21436 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21438 * stdlib/strtod.c: Include <bits/floatn.h>.
21439 (BUILD_DOUBLE): New macro.
21440 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21441 (strtof64): Define and later undefine as macro. Define as weak
21442 alias if [!USE_WIDE_CHAR].
21443 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21444 (wcstof64): Define and later undefine as macro. Define as weak
21445 alias if [USE_WIDE_CHAR].
21446 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21447 (strtof32x): Define and later undefine as macro. Define as weak
21448 alias if [!USE_WIDE_CHAR].
21449 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21450 (wcstof32x): Define and later undefine as macro. Define as weak
21451 alias if [USE_WIDE_CHAR].
21452 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21453 (BUILD_DOUBLE): New macro.
21454 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21455 (strtof64_l): Define and later undefine as macro. Define as weak
21456 alias if [!USE_WIDE_CHAR].
21457 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21458 (wcstof64_l): Define and later undefine as macro. Define as weak
21459 alias if [USE_WIDE_CHAR].
21460 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21461 (strtof32x_l): Define and later undefine as macro. Define as weak
21462 alias if [!USE_WIDE_CHAR].
21463 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21464 (wcstof32x_l): Define and later undefine as macro. Define as weak
21465 alias if [USE_WIDE_CHAR].
21467 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21469 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21470 (reduced): Use ones as double instead of integer.
21472 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21474 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21476 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21478 * stdlib/strfromd.c: Include <bits/floatn.h>.
21479 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21480 and later undefine as macro and define as weak alias.
21481 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21484 * math/test-float32x.h: New file.
21485 * math/test-float64.h: Likewise.
21487 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21488 (libm_alias_double_other_r_f64): New macro.
21489 (libm_alias_double_other_r_f32x): Likewise.
21490 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21491 libm_alias_double_other_r_f32x.
21492 (libm_alias_double_r): Use semicolon before call to
21493 libm_alias_double_other_r.
21494 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21496 (libm_alias_double_other_r_f64): New macro.
21497 (libm_alias_double_other_r_f32x): Likewise.
21498 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21499 libm_alias_double_other_r_f32x.
21501 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21503 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21505 (SINF_FUNC): Likewise. Replace floor with simple casts.
21507 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21510 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21511 and to the list of locales to be built for testing.
21512 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21513 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21514 and build the collation rules upon that.
21516 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21518 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21519 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21520 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21521 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21522 instead of __insn__xxx.
21523 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21524 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21525 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21526 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21527 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21528 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21530 2017-12-05 Florian Weimer <fweimer@redhat.com>
21532 Linux: Implement interfaces for memory protection keys
21533 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21535 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21536 * support/xunistd.h (xsysconf): Declare.
21537 * support/xraise.c: New file.
21538 * support/xsigaction.c: Likewise.
21539 * support/xsignal.c: Likewise.
21540 * support/xsysconf.c: Likewise.
21541 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21542 pkey_set, pkey_get, pkey_mprotect.
21543 [misc] (tests): Add tst-pkey.
21544 (tst-pkey): Link with -lpthread.
21545 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21546 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21547 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21548 (PKEY_DISABLE_WRITE): Define.
21549 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21551 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21552 (SEGV_PKUERR): Add.
21553 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21554 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21555 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21556 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21558 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21559 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21560 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21561 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21562 * sysdeps/unix/sysv/linux/**.abilist: Update.
21564 2017-12-05 Florian Weimer <fweimer@redhat.com>
21566 * support/tst-test_compare.c (subprocess): Use long long instead
21567 of long argument for consistent type width across 32-bit and
21568 64-bit architectures.
21569 (do_test): Adjust expected output.
21571 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21573 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21574 (cosf): Define using libm_alias_float.
21575 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21576 (fabsf): Define using libm_alias_float.
21577 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21578 (fmaf): Define using libm_alias_float.
21579 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21580 (rintf): Define using libm_alias_float.
21581 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21582 (sinf): Define using libm_alias_float.
21583 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21584 <libm-alias-float.h>.
21585 (modff): Define using libm_alias_float.
21586 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21587 <libm-alias-float.h>.
21588 (logbf): Define using libm_alias_float.
21589 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21590 <libm-alias-float.h>.
21591 (ceilf): Define using libm_alias_float.
21592 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21593 <libm-alias-float.h>.
21594 (copysignf): Define using libm_alias_float.
21595 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21596 <libm-alias-float.h>.
21597 (floorf): Define using libm_alias_float.
21598 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21599 <libm-alias-float.h>.
21600 (llrintf): Define using libm_alias_float.
21601 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21602 <libm-alias-float.h>.
21603 (llroundf): Define using libm_alias_float.
21604 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21605 <libm-alias-float.h>.
21606 (lrintf): Define using libm_alias_float.
21607 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21608 <libm-alias-float.h>.
21609 (lroundf): Define using libm_alias_float.
21610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21611 <libm-alias-float.h>.
21612 (nearbyintf): Define using libm_alias_float.
21613 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21614 <libm-alias-float.h>.
21615 (rintf): Define using libm_alias_float.
21616 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21617 <libm-alias-float.h>.
21618 (roundf): Define using libm_alias_float.
21619 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21620 <libm-alias-float.h>.
21621 (truncf): Define using libm_alias_float.
21622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21623 Include <libm-alias-float.h>.
21624 (ceilf): Define using libm_alias_float.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21626 Include <libm-alias-float.h>.
21627 (copysignf): Define using libm_alias_float.
21628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21629 Include <libm-alias-float.h>.
21630 (floorf): Define using libm_alias_float.
21631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21632 Include <libm-alias-float.h>.
21633 (llrintf): Define using libm_alias_float.
21634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21635 Include <libm-alias-float.h>.
21636 (llroundf): Define using libm_alias_float.
21637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21638 Include <libm-alias-float.h>.
21639 (logbf): Define using libm_alias_float.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21641 Include <libm-alias-float.h>.
21642 (lrintf): Define using libm_alias_float.
21643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21644 Include <libm-alias-float.h>.
21645 (lroundf): Define using libm_alias_float.
21646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21647 Include <libm-alias-float.h>.
21648 (modff): Define using libm_alias_float.
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21650 Include <libm-alias-float.h>.
21651 (roundf): Define using libm_alias_float.
21652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21653 Include <libm-alias-float.h>.
21654 (truncf): Define using libm_alias_float.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21656 <libm-alias-float.h>.
21657 (llrintf): Define using libm_alias_float.
21658 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21659 <libm-alias-float.h>.
21660 (llroundf): Define using libm_alias_float.
21661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21662 <libm-alias-float.h>.
21663 (ceilf): Define using libm_alias_float.
21664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21665 <libm-alias-float.h>.
21666 (floorf): Define using libm_alias_float.
21667 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21668 <libm-alias-float.h>.
21669 (llroundf): Define using libm_alias_float.
21670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21671 <libm-alias-float.h>.
21672 (lroundf): Define using libm_alias_float.
21673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21674 <libm-alias-float.h>.
21675 (roundf): Define using libm_alias_float.
21676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21677 <libm-alias-float.h>.
21678 (truncf): Define using libm_alias_float.
21679 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21680 <libm-alias-float.h>.
21681 (copysignf): Define using libm_alias_float.
21682 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21683 <libm-alias-float.h>.
21684 (llrintf): Define using libm_alias_float.
21685 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21686 <libm-alias-float.h>.
21687 (llroundf): Define using libm_alias_float.
21688 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21689 <libm-alias-float.h>.
21690 (lrintf): Define using libm_alias_float.
21691 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21692 <libm-alias-float.h>.
21693 (lroundf): Define using libm_alias_float.
21694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21695 <libm-alias-float.h>.
21696 (ceilf): Define using libm_alias_float.
21697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21698 <libm-alias-float.h>.
21699 (copysignf): Define using libm_alias_float.
21700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21701 <libm-alias-float.h>.
21702 (cosf): Define using libm_alias_float.
21703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21704 <libm-alias-float.h>.
21705 (floorf): Define using libm_alias_float.
21706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21707 <libm-alias-float.h>.
21708 (llrintf): Define using libm_alias_float.
21709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21710 <libm-alias-float.h>.
21711 (llroundf): Define using libm_alias_float.
21712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21713 <libm-alias-float.h>.
21714 (logbf): Define using libm_alias_float.
21715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21716 <libm-alias-float.h>.
21717 (modff): Define using libm_alias_float.
21718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21719 <libm-alias-float.h>.
21720 (roundf): Define using libm_alias_float.
21721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21722 <libm-alias-float.h>.
21723 (sinf): Define using libm_alias_float.
21724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21725 <libm-alias-float.h>.
21726 (truncf): Define using libm_alias_float.
21727 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21728 <libm-alias-float.h>.
21729 (ceilf): Define using libm_alias_float.
21730 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21731 <libm-alias-float.h>.
21732 (copysignf): Define using libm_alias_float.
21733 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21734 <libm-alias-float.h>.
21735 (floorf): Define using libm_alias_float.
21736 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21737 <libm-alias-float.h>.
21738 (llrintf): Define using libm_alias_float.
21739 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21740 <libm-alias-float.h>.
21741 (llroundf): Define using libm_alias_float.
21742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21743 <libm-alias-float.h>.
21744 (nearbyintf): Define using libm_alias_float.
21745 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21746 <libm-alias-float.h>.
21747 (rintf): Define using libm_alias_float.
21748 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21749 <libm-alias-float.h>.
21750 (roundf): Define using libm_alias_float.
21751 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21752 <libm-alias-float.h>.
21753 (truncf): Define using libm_alias_float.
21754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21755 <libm-alias-float.h>.
21756 (ceilf): Define using libm_alias_float.
21757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21758 <libm-alias-float.h>.
21759 (floorf): Define using libm_alias_float.
21760 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21761 <libm-alias-float.h>.
21762 (llroundf): Define using libm_alias_float.
21763 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21764 <libm-alias-float.h>.
21765 (roundf): Define using libm_alias_float.
21766 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21767 <libm-alias-float.h>.
21768 (truncf): Define using libm_alias_float.
21769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21770 <libm-alias-float.h>.
21771 (copysignf): Define using libm_alias_float.
21772 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21773 <libm-alias-float.h>.
21774 (llrintf): Define using libm_alias_float.
21775 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21776 <libm-alias-float.h>.
21777 (llroundf): Define using libm_alias_float.
21778 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21779 <libm-alias-float.h>.
21780 (cosf): Define using libm_alias_float.
21781 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21782 <libm-alias-float.h>.
21783 (llrintf): Define using libm_alias_float.
21784 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21785 <libm-alias-float.h>.
21786 (llroundf): Define using libm_alias_float.
21787 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21788 <libm-alias-float.h>.
21789 (sinf): Define using libm_alias_float.
21791 2017-12-04 Florian Weimer <fweimer@redhat.com>
21793 * support/check.h (TEST_COMPARE): Define.
21794 (support_test_compare_failure): Declare.
21795 * support/Makefile (libsupport-routines): Add
21796 support_test_compare_failure.
21797 (tests): Add tst-test_compare.
21798 * support /support_test_compare_failure.c: New file.
21799 * support/tst-test_compare.c: Likewise.
21801 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21804 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21805 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21806 available, this rewrite of the collation rules does reproduce
21807 the test file in the same order.
21809 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21812 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21813 digraphs in the month and day names. Using single code points for
21814 digraphs is deprecated. While there are dedicated Unicode
21815 codepoints, for the digraphs, these are included for backwards
21816 compatibility and modern texts use a sequence of Basic Latin
21817 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21818 This makes the month and day names agree exactly with CLDR now,
21819 CLDR does not use the single code points for the digraphs either.
21821 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21823 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21825 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21827 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21830 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21832 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21833 Define only for libc.so.
21835 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21838 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21839 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21840 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21843 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21846 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21848 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21851 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21852 PREINIT_FUNCTION_WEAK is nonzero.
21853 (gmon_initializer): New function. Put procedure label for it in
21854 .init_array section.
21855 (_init): Don't call PREINIT_FUNCTION.
21856 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21857 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21858 value when map argument is null.
21860 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21861 depi instruction from PIC pc-relative sequence.
21862 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21863 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21864 (elf_machine_load_address): Likewise.
21865 (elf_machine_runtime_setup): Likewise.
21867 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21869 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21870 <libm-alias-double.h>.
21871 (logb): Define using libm_alias_double.
21872 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21873 <libm-alias-double.h>.
21874 (copysign): Define using libm_alias_double.
21875 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21876 <libm-alias-double.h>.
21877 (llrint): Define using libm_alias_double.
21878 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21879 <libm-alias-double.h>.
21880 (llround): Define using libm_alias_double.
21881 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21882 <libm-alias-double.h>.
21883 (lrint): Define using libm_alias_double.
21884 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21885 <libm-alias-double.h>.
21886 (lround): Define using libm_alias_double.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21888 Include <libm-alias-double.h>.
21889 (copysign): Define using libm_alias_double.
21890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21891 Include <libm-alias-double.h>.
21892 (llrint): Define using libm_alias_double.
21893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21894 Include <libm-alias-double.h>.
21895 (llround): Define using libm_alias_double.
21896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21897 <libm-alias-double.h>.
21898 (logb): Define using libm_alias_double.
21899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21900 Include <libm-alias-double.h>.
21901 (lrint): Define using libm_alias_double.
21902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21903 Include <libm-alias-double.h>.
21904 (lround): Define using libm_alias_double.
21905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21906 <libm-alias-double.h>.
21907 (llrint): Define using libm_alias_double.
21908 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21909 <libm-alias-double.h>.
21910 (llround): Define using libm_alias_double.
21911 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21912 <libm-alias-double.h>.
21913 (llround): Define using libm_alias_double.
21914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21915 <libm-alias-double.h>.
21916 (lround): Define using libm_alias_double.
21917 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21918 <libm-alias-double.h>.
21919 (copysign): Define using libm_alias_double.
21920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21921 <libm-alias-double.h>.
21922 (llrint): Define using libm_alias_double.
21923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21924 <libm-alias-double.h>.
21925 (llround): Define using libm_alias_double.
21926 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21927 <libm-alias-double.h>.
21928 (lrint): Define using libm_alias_double.
21929 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21930 <libm-alias-double.h>.
21931 (lround): Define using libm_alias_double.
21932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21933 <libm-alias-double.h>.
21934 (copysign): Define using libm_alias_double.
21935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21936 <libm-alias-double.h>.
21937 (llrint): Define using libm_alias_double.
21939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21940 <libm-alias-double.h>.
21941 (llround): Define using libm_alias_double.
21942 (lround): Likewise.
21943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21944 <libm-alias-double.h>.
21945 (logb): Define using libm_alias_double.
21946 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21947 <libm-alias-double.h>.
21948 (copysign): Define using libm_alias_double.
21949 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21950 <libm-alias-double.h>.
21951 (llrint): Define using libm_alias_double.
21953 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21954 <libm-alias-double.h>.
21955 (llround): Define using libm_alias_double.
21956 (lround): Likewise.
21957 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21958 <libm-alias-double.h>.
21959 (llround): Define using libm_alias_double.
21960 (lround): Likewise.
21961 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21962 <libm-alias-double.h>.
21963 (copysign): Define using libm_alias_double.
21964 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21965 <libm-alias-double.h>.
21966 (llrint): Define using libm_alias_double.
21968 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21969 <libm-alias-double.h>.
21970 (llround): Define using libm_alias_double.
21971 (lround): Likewise.
21972 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21973 <libm-alias-double.h>.
21974 (llrint): Define using libm_alias_double.
21976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21977 <libm-alias-double.h>.
21978 (llround): Define using libm_alias_double.
21979 (lround): Likewise.
21981 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21984 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21985 compat symbol based on llround.
21987 * sysdeps/powerpc/power7/fpu/s_logb.c
21988 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21989 symbol based on __logb, not on logb.
21990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21991 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21993 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21995 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21996 (rint): Define using libm_alias_double.
21997 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21998 <libm-alias-double.h>.
21999 (modf): Define using libm_alias_double.
22000 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22001 <libm-alias-double.h>.
22002 (ceil): Define using libm_alias_double.
22003 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22004 <libm-alias-double.h>.
22005 (floor): Define using libm_alias_double.
22006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22007 <libm-alias-double.h>.
22008 (nearbyint): Define using libm_alias_double.
22009 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22010 <libm-alias-double.h>.
22011 (rint): Define using libm_alias_double.
22012 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22013 <libm-alias-double.h>.
22014 (round): Define using libm_alias_double.
22015 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22016 <libm-alias-double.h>.
22017 (trunc): Define using libm_alias_double.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22019 <libm-alias-double.h>.
22020 (ceil): Define using libm_alias_double.
22021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22022 Include <libm-alias-double.h>.
22023 (floor): Define using libm_alias_double.
22024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22025 <libm-alias-double.h>.
22026 (modf): Define using libm_alias_double.
22027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22028 Include <libm-alias-double.h>.
22029 (round): Define using libm_alias_double.
22030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22031 Include <libm-alias-double.h>.
22032 (trunc): Define using libm_alias_double.
22033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22034 <libm-alias-double.h>.
22035 (ceil): Define using libm_alias_double.
22036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22037 <libm-alias-double.h>.
22038 (floor): Define using libm_alias_double.
22039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22040 <libm-alias-double.h>.
22041 (round): Define using libm_alias_double.
22042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22043 <libm-alias-double.h>.
22044 (trunc): Define using libm_alias_double.
22045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22046 <libm-alias-double.h>.
22047 (ceil): Define using libm_alias_double.
22048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22049 <libm-alias-double.h>.
22050 (floor): Define using libm_alias_double.
22051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22052 <libm-alias-double.h>.
22053 (modf): Define using libm_alias_double.
22054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22055 <libm-alias-double.h>.
22056 (round): Define using libm_alias_double.
22057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22058 <libm-alias-double.h>.
22059 (trunc): Define using libm_alias_double.
22060 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22061 <libm-alias-double.h>.
22062 (ceil): Define using libm_alias_double.
22063 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22064 <libm-alias-double.h>.
22065 (floor): Define using libm_alias_double.
22066 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22067 <libm-alias-double.h>.
22068 (nearbyint): Define using libm_alias_double.
22069 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22070 <libm-alias-double.h>.
22071 (rint): Define using libm_alias_double.
22072 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22073 <libm-alias-double.h>.
22074 (round): Define using libm_alias_double.
22075 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22076 <libm-alias-double.h>.
22077 (trunc): Define using libm_alias_double.
22078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22079 <libm-alias-double.h>.
22080 (ceil): Define using libm_alias_double.
22081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22082 <libm-alias-double.h>.
22083 (floor): Define using libm_alias_double.
22084 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22085 <libm-alias-double.h>.
22086 (round): Define using libm_alias_double.
22087 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22088 <libm-alias-double.h>.
22089 (trunc): Define using libm_alias_double.
22091 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22092 (fabs): Define using libm_alias_double.
22093 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22094 (fma): Define using libm_alias_double.
22095 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22096 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22097 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22098 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22100 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22102 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22104 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22105 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22106 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22109 due redirect macro.
22111 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22113 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22115 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22117 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22118 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22119 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22120 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22123 (libm-sysdep_routines): Add s_nearbyintf-generic and
22124 s_nearbyint-generic.
22125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22138 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22149 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22160 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22171 (sysdep_calls): New rule.
22172 (sysdep_routines): Use sysdep_calls as base.
22173 (libm-sysdep_routines): Add generic rule for symbols shared with
22174 libc. Add s_copysign-generic and s_copysign-generic objects.
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22184 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22187 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22188 the list of locales to be built for testing.
22189 * localedata/is_IS.UTF-8.in: New file.
22190 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22193 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22195 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22196 <libm-alias-float.h>.
22197 (fabsf): Define using libm_alias_float.
22199 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22201 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22203 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22205 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22206 <libm-alias-float.h>.
22207 (fabsf): Define using libm_alias_float.
22208 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22209 <libm-alias-float.h>.
22210 (lrintf): Define using libm_alias_float.
22211 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22212 <libm-alias-float.h>.
22213 (rintf): Define using libm_alias_float.
22215 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22216 <libm-alias-double.h>.
22217 (fabs): Define using libm_alias_double.
22218 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22219 <libm-alias-double.h>.
22220 (lrint): Define using libm_alias_double.
22221 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22222 <libm-alias-double.h>.
22223 (rint): Define using libm_alias_double.
22225 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22226 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22227 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22228 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22229 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22230 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22231 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22232 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22233 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22234 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22235 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22236 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22237 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22238 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22239 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22240 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22241 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22242 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22244 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22245 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22246 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22248 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22249 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22250 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22252 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22253 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22254 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22255 s_expm1_template.c.
22256 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22257 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22258 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22260 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22261 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22262 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22263 s_floor_template.c.
22264 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22265 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22266 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22267 s_frexp_template.c.
22268 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22269 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22270 s_lrint_template.c.
22271 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22272 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22273 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22275 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22276 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22277 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22278 s_nearbyint_template.c.
22279 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22280 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22281 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22282 s_remquo_template.c.
22283 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22284 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22285 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22287 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22288 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22289 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22291 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22292 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22293 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22294 s_sincos_template.c.
22295 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22296 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22297 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22299 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22300 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22301 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22303 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22304 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22305 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22306 s_trunc_template.c.
22307 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22308 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22309 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22310 s_atan.c instead of including s_atan.c.
22311 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22312 s_atanf.c instead of including s_atanf.c.
22313 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22314 s_atanl.c instead of including s_atanl.c.
22315 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22316 instead of s_atan.c.
22317 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22318 instead of s_atanf.c.
22319 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22320 instead of s_atanl.c.
22322 * scripts/update-copyrights: Do not handle intl/plural.c
22325 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22328 * configure.ac (BISON): Require to be present.
22329 * configure: Regenerated.
22330 * intl/Makefile (generated): Add plural.c.
22331 [$(BISON) != no]: Make code unconditional.
22332 (plural.c): Change rule to $(objpfx)plural.c.
22333 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22334 * intl/plural.c: Remove.
22335 * manual/install.texi (Tools for Compilation): Document bison as
22337 * INSTALL: Regenerated.
22339 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22341 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22342 <libm-alias-double.h>.
22343 (llrint): Define using libm_alias_double.
22344 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22345 <libm-alias-float.h>.
22346 (llrintf): Define using libm_alias_float.
22347 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22348 <libm-alias-ldouble.h>.
22349 (llrintl): Define using libm_alias_ldouble.
22351 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22352 declare_mgen_alias instead of weak_alias.
22353 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22354 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22355 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22357 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22359 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22361 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22362 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22363 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22365 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22366 Add submul_1-generic.
22367 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22368 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22369 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22371 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22372 Add addmul_1-generic.
22373 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22374 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22375 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22377 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22379 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22380 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22381 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22383 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22385 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22386 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22387 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22389 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22391 According to CLDR, collation rules for Serbian and Bosnian
22392 should be the same as for Croatian.
22395 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22396 and to the list of locales to be built for testing.
22397 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22398 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22399 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22400 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22402 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22404 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22405 to make test case pass.
22406 * localedata/hr_HR.UTF-8.in: Add more test strings.
22408 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22410 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22412 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22414 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22415 the list of locales to built for testing.
22416 * localedata/hr_HR.UTF-8.in: New file.
22418 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22421 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22423 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22424 CLDR (except use ligatures for the digraphs, CLDR does not use
22425 the ligatures), add first_workday, some fixes in the date and time
22427 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22429 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22430 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22431 Add int_p_cs_precedes and int_n_cs_precedes.
22432 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22433 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22435 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22436 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22438 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22439 and lang_lib. Change postal_fmt.
22441 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22443 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22445 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22446 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22447 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22448 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22449 * sysdeps/generic/setjmpP.h: New file.
22450 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22451 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22452 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22453 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22454 Add jmp_buf-ssp.sym.
22455 (tests): Add tst-saved_mask-1.
22457 2017-11-30 Arjun Shankar <arjun@redhat.com>
22461 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22462 instead of request2size.
22464 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22467 (__lllrint): Remove alias.
22468 (lllrint): Likewise.
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22470 (__lllrintf): Likewise.
22471 (lllrintf): Likewise.
22473 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22474 <libm-alias-float.h>.
22475 (copysignf): Define using libm_alias_float.
22476 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22477 <libm-alias-float.h>.
22478 (fabsf): Define using libm_alias_float.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22480 Include <libm-alias-float.h>.
22481 (copysignf): Define using libm_alias_float.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22483 <libm-alias-float.h>.
22484 (fabsf): Define using libm_alias_float.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22486 <libm-alias-float.h>.
22487 (fdimf): Define using libm_alias_float.
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22489 <libm-alias-float.h>.
22490 (fmaf): Define using libm_alias_float.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22492 <libm-alias-float.h>.
22493 (llrintf): Define using libm_alias_float.
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22495 Include <libm-alias-float.h>.
22496 (nearbyintf): Define using libm_alias_float.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22498 <libm-alias-float.h>.
22499 (rintf): Define using libm_alias_float.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22501 <libm-alias-float.h>.
22502 (llrintf): Define using libm_alias_float.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22504 <libm-alias-float.h>.
22505 (lrintf): Define using libm_alias_float.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22507 <libm-alias-float.h>.
22508 (nearbyintf): Define using libm_alias_float.
22509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22510 <libm-alias-float.h>.
22511 (rintf): Define using libm_alias_float.
22512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22513 <libm-alias-float.h>.
22514 (ceilf): Define using libm_alias_float.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22516 <libm-alias-float.h>.
22517 (floorf): Define using libm_alias_float.
22518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22519 <libm-alias-float.h>.
22520 (fmaf): Define using libm_alias_float.
22521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22522 <libm-alias-float.h>.
22523 (lrintf): Define using libm_alias_float.
22524 (llrintf): Likewise.
22525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22526 <libm-alias-float.h>.
22527 (nearbyintf): Define using libm_alias_float.
22528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22529 <libm-alias-float.h>.
22530 (rintf): Define using libm_alias_float.
22531 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22532 <libm-alias-float.h>.
22533 (truncf): Define using libm_alias_float.
22534 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22535 <libm-alias-float.h>.
22536 (copysignf): Define using libm_alias_float.
22537 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22538 <libm-alias-float.h>.
22539 (fabsf): Define using libm_alias_float.
22540 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22541 <libm-alias-float.h>.
22542 (lrintf): Define using libm_alias_float.
22543 (llrintf): Likewise.
22544 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22545 <libm-alias-float.h>.
22546 (nearbyintf): Define using libm_alias_float.
22547 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22548 <libm-alias-float.h>.
22549 (rintf): Define using libm_alias_float.
22551 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22553 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22554 <libm-alias-double.h>.
22555 (copysign): Define using libm_alias_double.
22556 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22557 <libm-alias-double.h>.
22558 (fabs): Define using libm_alias_double.
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22560 Include <libm-alias-double.h>.
22561 (copysign): Define using libm_alias_double.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22563 <libm-alias-double.h>.
22564 (fabs): Define using libm_alias_double.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22566 <libm-alias-double.h>.
22567 (fdim): Define using libm_alias_double.
22568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22569 <libm-alias-double.h>.
22570 (fma): Define using libm_alias_double.
22571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22572 <libm-alias-double.h>.
22573 (llrint): Define using libm_alias_double.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22575 Include <libm-alias-double.h>.
22576 (nearbyint): Define using libm_alias_double.
22577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22578 <libm-alias-double.h>.
22579 (rint): Define using libm_alias_double.
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22581 <libm-alias-double.h>.
22582 (fabs): Define using libm_alias_double.
22583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22584 <libm-alias-double.h>.
22585 (llrint): Define using libm_alias_double.
22586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22587 <libm-alias-double.h>.
22588 (nearbyint): Define using libm_alias_double.
22589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22590 <libm-alias-double.h>.
22591 (rint): Define using libm_alias_double.
22592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22593 <libm-alias-double.h>.
22594 (ceil): Define using libm_alias_double.
22595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22596 <libm-alias-double.h>.
22597 (floor): Define using libm_alias_double.
22598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22599 <libm-alias-double.h>.
22600 (fma): Define using libm_alias_double.
22601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22602 <libm-alias-double.h>.
22603 (lrint): Define using libm_alias_double.
22604 (llrint): Likewise.
22605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22606 <libm-alias-double.h>.
22607 (nearbyint): Define using libm_alias_double.
22608 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22609 <libm-alias-double.h>.
22610 (rint): Define using libm_alias_double.
22611 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22612 <libm-alias-double.h>.
22613 (trunc): Define using libm_alias_double.
22614 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22615 <libm-alias-double.h>.
22616 (copysign): Define using libm_alias_double.
22617 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22618 <libm-alias-double.h>.
22619 (fabs): Define using libm_alias_double.
22620 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22621 <libm-alias-double.h>.
22622 (lrint): Define using libm_alias_double.
22623 (llrint): Likewise.
22624 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22625 <libm-alias-double.h>.
22626 (nearbyint): Define using libm_alias_double.
22627 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22628 <libm-alias-double.h>.
22629 (rint): Define using libm_alias_double.
22632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22634 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22636 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22637 SPARC --disable-multi-arch glibc variants.
22639 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22640 <libm-alias-float.h>.
22641 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22643 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22644 <libm-alias-float.h>.
22645 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22647 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22648 <libm-alias-float.h>.
22649 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22651 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22652 <libm-alias-float.h>.
22653 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22655 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22656 <libm-alias-float.h>.
22657 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22659 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22660 <libm-alias-float.h>.
22661 (ceilf): Define using libm_alias_float.
22662 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22663 <libm-alias-float.h>.
22664 (floorf): Define using libm_alias_float.
22665 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22666 <libm-alias-float.h>.
22667 (fmaf): Define using libm_alias_float.
22668 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22669 <libm-alias-float.h>.
22670 (nearbyintf): Define using libm_alias_float.
22671 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22672 <libm-alias-float.h>.
22673 (rintf): Define using libm_alias_float.
22674 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22675 <libm-alias-float.h>.
22676 (truncf): Define using libm_alias_float.
22677 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22678 (copysignf): Define using libm_alias_float.
22679 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22680 (cosf): Define using libm_alias_float.
22681 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22682 (fabsf): Define using libm_alias_float.
22683 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22684 (fmaxf): Define using libm_alias_float.
22685 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22686 (fminf): Define using libm_alias_float.
22687 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22688 (llrintf): Define using libm_alias_float.
22689 [!__ILP32__] (lrintf): Likewise.
22690 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22691 (sincosf): Define using libm_alias_float.
22692 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22693 (sinf): Define using libm_alias_float.
22694 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22695 (lrintf): Define using libm_alias_float.
22697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22698 <libm-alias-double.h>.
22699 (atan): Define using libm_alias_double.
22700 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22701 <libm-alias-double.h>.
22702 (ceil): Define using libm_alias_double.
22703 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22704 <libm-alias-double.h>.
22705 (floor): Define using libm_alias_double.
22706 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22707 <libm-alias-double.h>.
22708 (fma): Define using libm_alias_double.
22709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22710 <libm-alias-double.h>.
22711 (nearbyint): Define using libm_alias_double.
22712 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22713 <libm-alias-double.h>.
22714 (rint): Define using libm_alias_double.
22715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22716 <libm-alias-double.h>.
22717 (sin): Define using libm_alias_double.
22719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22720 <libm-alias-double.h>.
22721 (tan): Define using libm_alias_double.
22722 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22723 <libm-alias-double.h>.
22724 (trunc): Define using libm_alias_double.
22725 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22726 (copysign): Define using libm_alias_double.
22727 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22728 (fabs): Define using libm_alias_double.
22729 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22730 (fmax): Define using libm_alias_double.
22731 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22732 (fmin): Define using libm_alias_double.
22733 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22734 (llrint): Define using libm_alias_double.
22735 [!__ILP32__] (lrint): Likewise.
22736 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22737 (lrint): Define using libm_alias_double.
22739 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22742 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22752 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22762 (libm-sysdep_routines): Add s_nearbyint-generic and
22763 s_nearbyintf-generic objects.
22764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22766 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22769 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22772 Add s_finitef-generic and s_finite-generic objects.
22773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22781 Add s_isinff-generic and s_isinf-generic objects.
22782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22790 Add s_isnanf-generic and s_isnan-generic objects.
22791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22798 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22802 (sysdep_routines): Use sysdep_calls as base.
22803 (libm-sysdep_routines): Add generic rule for symbols shared with
22804 libc. Add s_signbit-generic and s_signbitf-generic objects.
22805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22812 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22814 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22815 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22816 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22817 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22818 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22819 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22820 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22821 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22822 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22823 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22824 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22825 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22826 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22827 libm_alias_float_r.
22828 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22829 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22831 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22832 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22833 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22834 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22835 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22836 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22837 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22838 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22839 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22840 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22842 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22844 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22845 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22846 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22847 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22848 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22849 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22850 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22851 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22852 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22853 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22854 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22855 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22856 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22857 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22858 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22859 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22860 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22861 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22862 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22864 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22865 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22866 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22867 * sysdeps/ia64/fpu/w_lgammaf_main.c
22868 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22869 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22871 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22872 Alexandre Oliva <aoliva@redhat.com>
22875 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22876 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22878 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22880 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22881 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22882 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22883 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22884 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22885 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22886 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22887 instead of “ifdef DIACRIT_BACKWARD”.
22889 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22891 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22892 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22893 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22894 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22895 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22896 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22905 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22906 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22907 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22908 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22910 ($(have-as-vis3) == yes): Remove conditional.
22911 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22930 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22932 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22933 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22934 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22935 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22936 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22937 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22938 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22939 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22940 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22941 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22942 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22943 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22944 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22945 libm_alias_double_r.
22946 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22948 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22949 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22950 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22951 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22952 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22953 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22954 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22955 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22956 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22957 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22958 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22960 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22962 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22963 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22964 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22965 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22966 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22967 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22968 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22969 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22970 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22971 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22972 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22973 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22974 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22975 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22976 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22977 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22978 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22979 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22981 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22982 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22983 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22984 * sysdeps/ia64/fpu/w_lgamma_main.c
22985 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22986 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22988 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22990 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22991 address of $global$ into %dp register earlier. Use pc-relative
22992 instruction sequence for PIC case.
22994 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22996 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22997 (asinhf): Define using libm_alias_float.
22998 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22999 (atanf): Define using libm_alias_float.
23000 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23001 (cbrtf): Define using libm_alias_float.
23002 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23003 (ceilf): Define using libm_alias_float.
23004 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23005 (copysignf): Define using libm_alias_float.
23006 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23007 (expm1f): Define using libm_alias_float.
23008 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23009 (fabsf): Define using libm_alias_float.
23010 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23011 (floorf): Define using libm_alias_float.
23012 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23013 (fmaxf): Define using libm_alias_float.
23014 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23015 (fminf): Define using libm_alias_float.
23016 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23017 (frexpf): Define using libm_alias_float.
23018 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23019 (llrintf): Define using libm_alias_float.
23020 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23021 (logbf): Define using libm_alias_float.
23022 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23023 (lrintf): Define using libm_alias_float.
23024 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23025 (nearbyintf): Define using libm_alias_float.
23026 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23027 (remquof): Define using libm_alias_float.
23028 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23029 (rintf): Define using libm_alias_float.
23030 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23031 (truncf): Define using libm_alias_float.
23032 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23033 <libm-alias-float.h>.
23034 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23036 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23037 <libm-alias-float.h>.
23038 (expf): Define using libm_alias_float, or libm_alias_float_other
23040 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23041 <libm-alias-float.h>.
23042 (log2f): Define using libm_alias_float, or libm_alias_float_other
23044 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23045 <libm-alias-float.h>.
23046 (logf): Define using libm_alias_float, or libm_alias_float_other
23048 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23049 <libm-alias-float.h>.
23050 (powf): Define using libm_alias_float, or libm_alias_float_other
23052 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23053 <libm-alias-float.h>.
23054 (cosf): Define using libm_alias_float.
23055 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23056 <libm-alias-float.h>.
23057 (sincosf): Define using libm_alias_float.
23058 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23059 <libm-alias-float.h>.
23060 (sinf): Define using libm_alias_float.
23061 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23062 (fmaxf): Define using libm_alias_float.
23063 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23064 (fminf): Define using libm_alias_float.
23065 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23066 <libm-alias-float.h>.
23067 (fmaf): Define using libm_alias_float.
23069 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23070 (asinh): Define using libm_alias_double.
23071 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23072 (atan): Define using libm_alias_double.
23073 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23074 (cbrt): Define using libm_alias_double.
23075 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23076 (ceil): Define using libm_alias_double.
23077 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23078 (copysign): Define using libm_alias_double.
23079 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23080 (expm1): Define using libm_alias_double.
23081 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23082 (fabs): Define using libm_alias_double.
23083 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23084 (fdim): Define using libm_alias_double.
23085 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23086 (floor): Define using libm_alias_double.
23087 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23088 (fmax): Define using libm_alias_double.
23089 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23090 (fmin): Define using libm_alias_double.
23091 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23092 (frexp): Define using libm_alias_double.
23093 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23094 (llrint): Define using libm_alias_double.
23095 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23096 (logb): Define using libm_alias_double.
23097 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23098 (lrint): Define using libm_alias_double.
23099 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23100 (nearbyint): Define using libm_alias_double.
23101 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23102 (remquo): Define using libm_alias_double.
23103 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23104 (rint): Define using libm_alias_double.
23105 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23106 (trunc): Define using libm_alias_double.
23107 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23108 (fmax): Define using libm_alias_double.
23109 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23110 (fmin): Define using libm_alias_double.
23111 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23112 (fma): Define using libm_alias_double.
23114 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23117 * elf/dl-hwcaps.c (ROUND): Removed.
23118 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23119 and ELF_NOTE_NEXT_OFFSET.
23120 * elf/dl-load.c (ROUND): Removed.
23121 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23122 * elf/readelflib.c (ROUND): Removed.
23123 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23124 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23125 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23126 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23128 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23130 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23131 [!__fmaf] (fmaf): Define using libm_alias_float.
23133 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23134 [!__fma] (fma): Define using libm_alias_double.
23135 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23137 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23140 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23141 and implement the collation rules for cs from CLDR on top of that.
23142 * Makefile: Add cs_CZ.UTF-8 to test-input.
23143 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23145 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23147 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23149 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23150 Icarus Sparry <icarus.w.sparry@intel.com>
23152 * benchtests/Makefile:Add BENCHSET to allow subsets of
23153 benchmarks to be run.
23154 * benchtests/README: Add documentation for: Running subsets of
23157 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23159 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23160 range of tests names.
23162 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23163 result from property and remove "max", min" and "mean" from
23164 required properties based on benchtests/bench-skeleton.c.
23166 2017-11-28 Florian Weimer <fweimer@redhat.com>
23169 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23170 due to Internet requirement.
23171 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23173 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23175 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23177 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23178 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23179 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23180 (sysdep_routines): Add memset-ultra1.
23181 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23183 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23184 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23185 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23186 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23187 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23188 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23189 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23190 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23192 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23194 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23195 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23196 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23197 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23198 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23199 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23200 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23202 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23203 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23204 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23205 (sysdep_routines): Add memcpy-ultra1.
23206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23207 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23209 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23211 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23212 (cfloat_versions): Take function argument without trailing 'f'.
23213 Call libm_alias_float_other.
23214 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23215 * sysdeps/alpha/fpu/cargf.c: Likewise.
23216 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23217 * sysdeps/alpha/fpu/conjf.c: Likewise.
23218 * sysdeps/alpha/fpu/crealf.c: Likewise.
23219 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23220 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23221 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23222 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23223 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23224 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23225 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23226 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23227 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23228 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23229 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23230 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23231 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23232 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23233 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23234 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23235 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23236 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23237 (clog10f): Use libm_alias_float_other.
23238 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23239 (ceilf): Define using libm_alias_float.
23240 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23241 (copysignf): Define using libm_alias_float.
23242 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23243 (fabsf): Define using libm_alias_float.
23244 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23245 (floorf): Define using libm_alias_float.
23246 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23247 (fmaxf): Define using libm_alias_float.
23248 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23249 (fminf): Define using libm_alias_float.
23250 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23251 (lrintf): Define using libm_alias_float.
23252 (llrintf): Likewise.
23253 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23254 (lroundf): Define using libm_alias_float.
23255 (llroundf): Likewise.
23256 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23257 (rintf): Define using libm_alias_float.
23258 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23259 (truncf): Define using libm_alias_float.
23261 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23262 (ceilf): Define using libm_alias_float.
23263 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23264 (floorf): Define using libm_alias_float.
23265 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23266 (fmaf): Define using libm_alias_float.
23267 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23268 (fmaxf): Define using libm_alias_float.
23269 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23270 (fminf): Define using libm_alias_float.
23271 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23272 (llrintf): Define using libm_alias_float.
23273 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23274 (llroundf): Define using libm_alias_float.
23275 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23276 (lrintf): Define using libm_alias_float.
23277 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23278 (lroundf): Define using libm_alias_float.
23279 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23280 <libm-alias-float.h>.
23281 (nearbyintf): Define using libm_alias_float.
23282 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23283 (rintf): Define using libm_alias_float.
23284 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23285 (roundf): Define using libm_alias_float.
23286 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23287 (truncf): Define using libm_alias_float.
23289 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23290 (ceil): Define using libm_alias_double.
23291 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23292 (copysign): Define using libm_alias_double.
23293 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23294 (fabs): Define using libm_alias_double.
23295 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23296 (floor): Define using libm_alias_double.
23297 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23298 (fmax): Define using libm_alias_double.
23299 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23300 (fmin): Define using libm_alias_double.
23301 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23302 (lrint): Define using libm_alias_double.
23303 (llrint): Likewise.
23304 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23305 (lround): Define using libm_alias_double.
23306 (llround): Likewise.
23307 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23308 (rint): Define using libm_alias_double.
23309 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23310 (trunc): Define using libm_alias_double.
23312 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23313 (libm_alias_double_r): Add semicolon after weak_alias call.
23315 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23317 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23318 (ceil): Define using libm_alias_double.
23319 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23320 (floor): Define using libm_alias_double.
23321 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23322 (fma): Define using libm_alias_double.
23323 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23324 (fmax): Define using libm_alias_double.
23325 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23326 (fmin): Define using libm_alias_double.
23327 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23328 (llrint): Define using libm_alias_double.
23329 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23330 (llround): Define using libm_alias_double.
23331 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23332 (lrint): Define using libm_alias_double.
23333 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23334 (lround): Define using libm_alias_double.
23335 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23336 (nearbyint): Define using libm_alias_double.
23337 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23338 (rint): Define using libm_alias_double.
23339 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23340 (round): Define using libm_alias_double.
23341 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23342 (trunc): Define using libm_alias_double.
23344 2017-11-27 Florian Weimer <fweimer@redhat.com>
23346 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23347 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23348 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23349 (tests): Add tst-mlock2.
23350 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23352 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23353 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23354 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23355 for mlock. Document mlock2.
23357 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23359 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23360 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23362 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23364 * sysdeps/x86/Makeconfig: New file.
23365 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23366 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23367 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23368 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23369 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23370 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23371 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23373 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23374 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23375 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23376 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23377 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23378 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23379 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23380 * manual/math.texi (Mathematics): Document support for _Float64x.
23381 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23382 * stdlib/Versions (GLIBC_2.27): Likewise.
23383 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23384 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23385 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23386 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23387 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23388 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23389 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23390 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23391 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23392 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23393 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23394 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23399 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23400 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23401 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23402 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23403 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23405 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23406 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23407 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23408 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23409 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23410 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23411 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23412 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23414 2017-11-27 Andreas Schwab <schwab@suse.de>
23416 * elf/Makefile (dl-routines): Add dl-sort-maps.
23417 * elf/dl-sort-maps.c: New file.
23418 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23419 (_dl_sort_maps): Declare.
23420 * elf/dl-fini.c (_dl_sort_fini): Remove.
23421 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23422 * elf/dl-close.c (_dl_close_worker): Likewise.
23423 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23425 * elf/dl-open.c (dl_open_worker): Likewise.
23427 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23429 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23430 using libm_alias_float128.
23431 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23433 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23435 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23436 (setpayloadsigf128): Likewise.
23437 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23439 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23442 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23443 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23444 -mfloat128 to CFLAGS.
23446 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23448 (CFLAGS-libm-test-support-float64x.c): New variable.
23449 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23450 $(f128-loader-link) to gnulib-tests.
23452 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23453 (libm_alias_float128_other_r): If
23454 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23456 (libm_alias_float128_r): Add semicolon after weak_alias call.
23457 * sysdeps/generic/libm-alias-ldouble.h
23458 (libm_alias_ldouble_other_r_f128): New macro.
23459 (libm_alias_ldouble_other_r_f64x): Likewise.
23460 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23461 and libm_alias_ldouble_other_r_f64x.
23462 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23463 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23464 (libm_alias_ldouble_other_r_f128): New macro.
23465 (libm_alias_ldouble_other_r_f64x): Likewise.
23466 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23467 and libm_alias_ldouble_other_r_f64x.
23469 * stdlib/strfroml.c: Always include <stdlib.h>.
23470 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23471 undefine as macro and define as weak alias.
23472 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23473 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23475 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23476 Define and later undefine as macro and define as weak alias.
23478 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23479 Define and later undefine as macro. Define as weak alias if
23481 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23482 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23483 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23484 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23485 Define and later undefine as macro. Define as weak alias if
23487 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23488 Define and later undefine as macro. Define as weak alias if
23490 * sysdeps/ieee754/float128/strtof128_l.c
23491 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23492 Define and later undefine as macro. Define as weak alias if
23494 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23495 Define and later undefine as macro. Define as weak alias if
23497 * sysdeps/ieee754/ldbl-128/strtold_l.c
23498 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23499 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23500 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23501 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23502 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23503 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23504 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23505 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23506 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23507 * sysdeps/ieee754/ldbl-96/strtold_l.c
23508 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23509 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23510 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23511 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23513 * math/test-float64x.h: New file.
23514 * math/Makefile (type-float64x-yes): New variable.
23515 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23517 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23518 function-like macro.
23519 (min_of_type_): Likewise.
23520 (min_of_type_l): Likewise.
23521 (min_of_type_f128): Likewise.
23522 (min_of_type): Pass () as last argument of __MATH_TG.
23524 * stdlib/tst-strtod-round-skeleton.c
23525 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23528 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23529 for combinations of long double with _Float64 and _Float64x.
23531 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23532 (__DECL_SIMD_cosf32): Likewise.
23533 (__DECL_SIMD_cosf64): Likewise.
23534 (__DECL_SIMD_cosf32x): Likewise.
23535 (__DECL_SIMD_cosf64x): Likewise.
23536 (__DECL_SIMD_cosf128x): Likewise.
23537 (__DECL_SIMD_sinf16): Likewise.
23538 (__DECL_SIMD_sinf32): Likewise.
23539 (__DECL_SIMD_sinf64): Likewise.
23540 (__DECL_SIMD_sinf32x): Likewise.
23541 (__DECL_SIMD_sinf64x): Likewise.
23542 (__DECL_SIMD_sinf128x): Likewise.
23543 (__DECL_SIMD_sincosf16): Likewise.
23544 (__DECL_SIMD_sincosf32): Likewise.
23545 (__DECL_SIMD_sincosf64): Likewise.
23546 (__DECL_SIMD_sincosf32x): Likewise.
23547 (__DECL_SIMD_sincosf64x): Likewise.
23548 (__DECL_SIMD_sincosf128x): Likewise.
23549 (__DECL_SIMD_logf16): Likewise.
23550 (__DECL_SIMD_logf32): Likewise.
23551 (__DECL_SIMD_logf64): Likewise.
23552 (__DECL_SIMD_logf32x): Likewise.
23553 (__DECL_SIMD_logf64x): Likewise.
23554 (__DECL_SIMD_logf128x): Likewise.
23555 (__DECL_SIMD_expf16): Likewise.
23556 (__DECL_SIMD_expf32): Likewise.
23557 (__DECL_SIMD_expf64): Likewise.
23558 (__DECL_SIMD_expf32x): Likewise.
23559 (__DECL_SIMD_expf64x): Likewise.
23560 (__DECL_SIMD_expf128x): Likewise.
23561 (__DECL_SIMD_powf16): Likewise.
23562 (__DECL_SIMD_powf32): Likewise.
23563 (__DECL_SIMD_powf64): Likewise.
23564 (__DECL_SIMD_powf32x): Likewise.
23565 (__DECL_SIMD_powf64x): Likewise.
23566 (__DECL_SIMD_powf128x): Likewise.
23568 * stdlib/Versions (libc): Move entries for wcstof128 and
23569 wcstof128_l to ....
23570 * wcsmbs/Versions (libc): ... here.
23571 Include <float128-abi.h>.
23573 2017-11-24 Florian Weimer <fweimer@redhat.com>
23575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23576 bits/mman-shared.h.
23577 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23578 <bits/mman-shared.h>.
23579 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23581 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23582 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23583 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23584 <bits/mman-shared.h>.
23586 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23589 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23590 posix_memalign/free.
23591 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23593 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23596 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23597 and implement the collation rules for pl from CLDR on top of that.
23598 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23599 of locales to be built for testing.
23600 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23602 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23604 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23605 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23606 libm_alias_ldouble_other.
23607 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23608 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23609 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23610 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23611 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23612 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23613 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23614 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23615 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23616 libm_alias_ldouble_r.
23617 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23618 libm_alias_ldouble_other.
23619 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23620 (log10l): Likewise.
23621 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23622 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23623 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23624 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23625 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23626 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23627 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23628 (atan2l): Likewise.
23629 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23630 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23631 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23632 libm_alias_ldouble.
23633 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23635 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23636 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23637 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23639 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23640 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23641 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23642 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23643 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23644 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23645 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23646 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23647 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23648 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23649 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23650 libm_alias_ldouble.
23651 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23652 libm_alias_ldouble_other.
23653 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23654 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23655 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23656 libm_alias_ldouble.
23657 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23658 libm_alias_ldouble_other.
23659 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23660 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23661 * sysdeps/ia64/fpu/w_lgammal_main.c
23662 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23663 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23665 2017-11-23 Florian Weimer <fweimer@redhat.com>
23667 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23668 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23669 alike. Remove freeres marker.
23670 * malloc/arena.c (arena_thread_freeres): Call
23671 tcache_thread_shutdown.
23673 2017-11-23 Florian Weimer <fweimer@redhat.com>
23676 Export nscd hash function as __nss_hash.
23677 * include/nss.h (__nss_hash): Declare.
23678 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23680 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23681 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23683 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23684 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23685 * nss/Makefiles (routines): Add nss_hash.
23686 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23687 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23688 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23689 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23691 2017-11-23 Florian Weimer <fweimer@redhat.com>
23694 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23695 Return error code, not -1.
23696 * signal/tst-sigwait-eintr.c: New file.
23697 * signal/Makefile (tests): Add tst-sigwait-eintr.
23699 2017-11-23 Florian Weimer <fweimer@redhat.com>
23701 Linux: Add memfd_create system call wrapper
23702 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23704 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23705 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23706 [__USE_GNU] (memfd_create): Declare.
23707 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23708 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23709 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23710 * sysdeps/unix/sysv/linux/**.abilist: Update.
23711 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23713 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23715 * localedata/gen-locale.sh: Fix typo in variable name.
23717 * resolv/res_debug.c (p_secstodate): Condition definition on
23718 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23719 directly as __p_secstodate, and as a compat symbol. Do not use
23720 libresolv_hidden_def.
23721 * resolv/resolv.h (p_secstodate): Remove macro and function
23723 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23724 using p_secstodate.
23725 * include/resolv.h (__p_secstodate): Do not use
23726 libresolv_hidden_proto.
23727 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23728 (tests-internal): ... here.
23729 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23730 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23731 and declare and use __p_secstodate and use compat_symbol_reference
23733 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23734 implementation returning 77.
23737 * resolv/res_debug.c: Include <libc-diag.h>.
23738 (p_secstodate): Assert time_t at least as wide as u_long. On
23739 overflow, use integer seconds since the epoch as output, or use
23740 "<overflow>" as output and set errno to EOVERFLOW if integer
23741 seconds since the epoch would be 14 or more characters.
23742 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23744 * resolv/tst-p_secstodate.c: New file.
23745 * resolv/Makefile (tests): Add tst-p_secstodate.
23746 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23748 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23749 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23750 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23752 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23754 * posix/regcomp.c (init_word_char): Add comments.
23756 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23759 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23760 strlen to compute length of ut_user and set trailing NUL byte of
23763 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23766 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23767 using “copy "iso14651_t1"” and then implementing the
23768 collation rules for lv from CLDR on top of that.
23769 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23770 of locales to be built for testing.
23771 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23774 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23776 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23777 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23778 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23779 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23780 [__USE_MISC] (MADV_HWPOISON): New macro.
23781 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23783 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23785 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23786 -Wmissing-braces on GCC 4.9.
23788 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23790 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23791 * sysdeps/s390/s390-32/start.S (_start): Likewise
23792 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23793 (thread_start): Likewise.
23794 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23795 (thread_start): Likewise.
23796 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23797 (__makecontext_ret): Likewise.
23798 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23799 (__makecontext_ret): Likewise.
23801 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23803 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23804 __wcschrnul): Remove attribute_hidden.
23806 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23808 regex: don't assume uint64_t or uint32_t
23809 This avoids -Werror=overflow errors for 32-bit systems in
23810 the 64-bit case. Problem reported by Joseph Myers in:
23811 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23812 Also, when this code is used in Gnulib it ports to platforms
23813 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23814 them, and on some 32-bit compilers there is no uint64_t.
23815 Problem reported by Gianluigi Tiesi in:
23816 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23817 * posix/regcomp.c (init_word_char): Don't assume that the types
23818 uint64_t and uint32_t exist. Adapted from Gnulib patch
23819 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23820 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23822 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23824 * sysdeps/aarch64/memset-reg.h: New file.
23825 * sysdeps/aarch64/memset.S: Use it.
23826 (__memset): Rename to MEMSET macro.
23827 [ZVA_MACRO]: Use zva_macro.
23828 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23829 Add memset_generic and memset_falkor.
23830 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23831 (__libc_ifunc_impl_list): Add memset ifuncs.
23832 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23833 local variable zva_size.
23834 * sysdeps/aarch64/multiarch/memset.c: New file.
23835 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23836 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23837 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23838 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23839 (DCZID_DZP_MASK): New macro.
23840 (DCZID_BS_MASK): Likewise.
23841 (init_cpu_features): Read and set zva_size.
23842 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23843 (struct cpu_features): New member zva_size.
23845 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23846 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23847 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23849 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23850 backwards. Fix timing computation.
23851 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23852 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23853 on memset by N at a time. Fix timing computation.
23855 2017-11-20 Florian Weimer <fweimer@redhat.com>
23857 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23858 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23860 2017-11-19 Florian Weimer <fweimer@redhat.com>
23862 manual: Document mprotect
23863 * manual/memory.texi (Memory Protection): New section.
23864 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23865 documentation of PROT_* flags and reference the Memory Protection
23868 2017-11-19 Florian Weimer <fweimer@redhat.com>
23870 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23871 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23872 (Scatter-Gather): ... to here. Remove misleading comment.
23874 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23876 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23879 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23880 when /proc/<pid>/setgroups does not exist.
23882 2017-11-18 Florian Weimer <fweimer@redhat.com>
23884 * sysdeps/unix/sysv/linux/tst-ttyname.c
23885 (become_root_in_mount_ns): Remove.
23886 (do_in_chroot_1): Call support_enter_mount_namespace.
23887 (do_in_chroot_2): Likewise.
23888 (do_test): Call support_become_root early.
23890 2017-11-18 Florian Weimer <fweimer@redhat.com>
23892 * support/namespace.h (support_enter_mount_namespace): Declare.
23893 * support/support_enter_mount_namespace.c: New file.
23894 * support/Makefile (libsupport-routines): Add
23895 support_enter_mount_namespace.
23897 2017-11-18 Florian Weimer <fweimer@redhat.com>
23899 * support/temp_file.c (support_create_temp_directory): Use
23900 test_dir and do not rely on the presence of the XXXXXX suffix.
23901 * support/temp_file.h (support_create_temp_directory): Update
23903 * support/tst-xreadlink.c (do_test): Adjust.
23904 * support/support_chroot.c (support_chroot_create): Likewise.
23906 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23908 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23910 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23913 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23915 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23916 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23917 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23918 (ceill): Define using libm_alias_ldouble.
23919 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23920 <libm-alias-ldouble.h>.
23921 (copysignl): Define using libm_alias_ldouble.
23922 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23923 (fabsl): Define using libm_alias_ldouble.
23924 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23925 (floorl): Define using libm_alias_ldouble.
23926 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23927 (fmaxl): Define using libm_alias_ldouble.
23928 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23929 (fminl): Define using libm_alias_ldouble.
23930 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23931 (llrintl): Define using libm_alias_ldouble.
23932 (lrintl): Likewise.
23933 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23934 <libm-alias-ldouble.h>.
23935 (nearbyintl): Define using libm_alias_ldouble.
23936 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23937 (truncl): Define using libm_alias_ldouble.
23938 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23939 <libm-alias-ldouble.h>.
23940 (lrintl): Define using libm_alias_ldouble.
23942 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23943 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23944 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23945 (asinhl): Define using libm_alias_ldouble.
23946 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23947 (atanl): Define using libm_alias_ldouble.
23948 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23949 (cbrtl): Define using libm_alias_ldouble.
23950 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23951 (ceill): Define using libm_alias_ldouble.
23952 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23953 (copysignl): Define using libm_alias_ldouble.
23954 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23955 (fabsl): Define using libm_alias_ldouble.
23956 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23957 (floorl): Define using libm_alias_ldouble.
23958 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23959 (fmaxl): Define using libm_alias_ldouble.
23960 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23961 (fminl): Define using libm_alias_ldouble.
23962 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23963 (frexpl): Define using libm_alias_ldouble.
23964 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23965 (llrintl): Define using libm_alias_ldouble.
23966 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23967 (logbl): Define using libm_alias_ldouble.
23968 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23969 (lrintl): Define using libm_alias_ldouble.
23970 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23971 (nearbyintl): Define using libm_alias_ldouble.
23972 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23973 (nextafterl): Define using libm_alias_ldouble.
23974 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23975 (remquol): Define using libm_alias_ldouble.
23976 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23977 (rintl): Define using libm_alias_ldouble.
23978 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23979 (truncl): Define using libm_alias_ldouble.
23980 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23981 (fmaxl): Define using libm_alias_ldouble.
23982 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23983 (fminl): Define using libm_alias_ldouble.
23985 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23986 to C syntax instead of availability and properties of types.
23987 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23988 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23989 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23990 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23991 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23992 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23994 2017-11-17 Florian Weimer <fweimer@redhat.com>
23996 support_become_root: Enable file creation in namespaces.
23997 * support/support_become_root.c (setup_mapping): New function.
23998 (support_become_root): Call it.
24000 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24002 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24005 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24007 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24008 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24010 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24012 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24014 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24017 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24019 * INSTALL: Fix botched up regeneration.
24021 * NEWS: Update sourceare link to https.
24022 * configure.ac: Likewise.
24023 * crypt/md5test-giant.c: Likewise.
24024 * dlfcn/bug-atexit1.c: Likewise.
24025 * dlfcn/bug-atexit2.c: Likewise.
24026 * localedata/README: Likewise.
24027 * malloc/tst-mallocfork.c: Likewise.
24028 * manual/install.texi: Likewise.
24029 * nptl/tst-pthread-getattr.c: Likewise.
24030 * stdio-common/tst-fgets.c: Likewise.
24031 * stdio-common/tst-fwrite.c: Likewise.
24032 * sunrpc/Makefile: Likewise.
24033 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24034 * wcsmbs/tst-mbrtowc2.c: Likewise.
24035 * configure: Regenerate.
24036 * INSTALL: Regenerate.
24038 2017-11-15 Martin Sebor <msebor@redhat.com>
24040 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24041 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24042 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24044 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24047 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24048 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24051 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24052 Defer is_pty check until end of the function.
24053 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24056 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24057 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24058 (ttyname): Likewise.
24059 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24060 (__ttyname_r): Likewise.
24062 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24065 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24067 * manual/terminal.texi (Is It a Terminal):
24068 Mention ENODEV for ttyname and ttyname_r.
24070 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24072 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24073 constant and macro.
24075 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24076 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24077 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24078 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24079 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24080 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24082 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24084 * signal/sigrelse.c (sigrelse): Optimize implementation.
24086 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24087 (__sigpause): Rely on __sigsuspend to implement single thread
24088 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24090 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24092 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24093 kernel version to 4.14.
24095 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24098 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24099 Check if ifname is too long.
24101 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24103 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24105 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24107 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24108 was accidentally lost.
24110 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24112 * localedata/locales/az_IR: Add standard copyright header.
24114 2017-11-15 Florian Weimer <fweimer@redhat.com>
24117 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24118 not just the top one. Output a new "subheaps" statistic.
24120 2017-11-15 Florian Weimer <fweimer@redhat.com>
24123 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24124 under the per-arena lock.
24125 * malloc/Makefile (tests): Add tst-malloc_info.
24126 (tst-malloc_info): Link with libpthread.
24127 * malloc/tst-malloc_info.c: New file.
24129 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24132 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24133 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24134 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24135 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24136 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24137 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24138 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24139 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24142 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24147 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24148 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24149 (__floating_type): Likewise.
24150 (__real_integer_type): Likewise.
24151 (__complex_integer_type): Likewise.
24152 (__expr_is_real): Likewise.
24153 (__tgmath_real_type_sub): Likewise.
24154 (__tgmath_real_type): Likewise.
24155 (__tgmath_complex_type_sub): Likewise.
24156 (__tgmath_complex_type): Likewise.
24157 (__TGMATH_F128): Likewise.
24158 (__TGMATH_CF128): Likewise.
24159 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24161 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24162 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24164 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24166 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24167 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24168 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24174 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24176 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24178 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24179 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24180 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24184 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24186 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24187 for stpncpy calls for GCC 8.
24188 (test_strncat): Disable -Wstringop-truncation warning for strncat
24189 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24190 strncat call for GCC 7.
24191 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24193 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24196 * string/bug-strncat1.c: Include <libc-diag.h>.
24197 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24199 2017-11-13 Claude Paroz <claude@2xlibre.net>
24202 * localedata/locales/aa_DJ: Improved readibility by replacing
24203 <Uxxxx> sequences in the ASCII printable range by their ASCII
24204 character equivalents.
24205 * localedata/locales/aa_ER: Likewise.
24206 * localedata/locales/aa_ER@saaho: Likewise.
24207 * localedata/locales/aa_ET: Likewise.
24208 * localedata/locales/af_ZA: Likewise.
24209 * localedata/locales/agr_PE: Likewise.
24210 * localedata/locales/ak_GH: Likewise.
24211 * localedata/locales/am_ET: Likewise.
24212 * localedata/locales/anp_IN: Likewise.
24213 * localedata/locales/ar_AE: Likewise.
24214 * localedata/locales/ar_BH: Likewise.
24215 * localedata/locales/ar_DZ: Likewise.
24216 * localedata/locales/ar_EG: Likewise.
24217 * localedata/locales/ar_IN: Likewise.
24218 * localedata/locales/ar_IQ: Likewise.
24219 * localedata/locales/ar_JO: Likewise.
24220 * localedata/locales/ar_KW: Likewise.
24221 * localedata/locales/ar_LB: Likewise.
24222 * localedata/locales/ar_LY: Likewise.
24223 * localedata/locales/ar_MA: Likewise.
24224 * localedata/locales/ar_OM: Likewise.
24225 * localedata/locales/ar_QA: Likewise.
24226 * localedata/locales/ar_SA: Likewise.
24227 * localedata/locales/ar_SD: Likewise.
24228 * localedata/locales/ar_SS: Likewise.
24229 * localedata/locales/ar_SY: Likewise.
24230 * localedata/locales/ar_TN: Likewise.
24231 * localedata/locales/ar_YE: Likewise.
24232 * localedata/locales/as_IN: Likewise.
24233 * localedata/locales/ast_ES: Likewise.
24234 * localedata/locales/ayc_PE: Likewise.
24235 * localedata/locales/az_AZ: Likewise.
24236 * localedata/locales/az_IR: Likewise.
24237 * localedata/locales/be_BY: Likewise.
24238 * localedata/locales/be_BY@latin: Likewise.
24239 * localedata/locales/bem_ZM: Likewise.
24240 * localedata/locales/ber_DZ: Likewise.
24241 * localedata/locales/ber_MA: Likewise.
24242 * localedata/locales/bg_BG: Likewise.
24243 * localedata/locales/bhb_IN: Likewise.
24244 * localedata/locales/bho_IN: Likewise.
24245 * localedata/locales/bi_VU: Likewise.
24246 * localedata/locales/bn_BD: Likewise.
24247 * localedata/locales/bn_IN: Likewise.
24248 * localedata/locales/bo_CN: Likewise.
24249 * localedata/locales/bo_IN: Likewise.
24250 * localedata/locales/br_FR: Likewise.
24251 * localedata/locales/brx_IN: Likewise.
24252 * localedata/locales/bs_BA: Likewise.
24253 * localedata/locales/byn_ER: Likewise.
24254 * localedata/locales/ca_AD: Likewise.
24255 * localedata/locales/ca_ES: Likewise.
24256 * localedata/locales/ca_FR: Likewise.
24257 * localedata/locales/ca_IT: Likewise.
24258 * localedata/locales/ce_RU: Likewise.
24259 * localedata/locales/chr_US: Likewise.
24260 * localedata/locales/cmn_TW: Likewise.
24261 * localedata/locales/crh_UA: Likewise.
24262 * localedata/locales/cs_CZ: Likewise.
24263 * localedata/locales/csb_PL: Likewise.
24264 * localedata/locales/cv_RU: Likewise.
24265 * localedata/locales/cy_GB: Likewise.
24266 * localedata/locales/da_DK: Likewise.
24267 * localedata/locales/de_AT: Likewise.
24268 * localedata/locales/de_BE: Likewise.
24269 * localedata/locales/de_CH: Likewise.
24270 * localedata/locales/de_DE: Likewise.
24271 * localedata/locales/de_IT: Likewise.
24272 * localedata/locales/de_LI: Likewise.
24273 * localedata/locales/de_LU: Likewise.
24274 * localedata/locales/doi_IN: Likewise.
24275 * localedata/locales/dv_MV: Likewise.
24276 * localedata/locales/dz_BT: Likewise.
24277 * localedata/locales/el_CY: Likewise.
24278 * localedata/locales/el_GR: Likewise.
24279 * localedata/locales/en_AG: Likewise.
24280 * localedata/locales/en_AU: Likewise.
24281 * localedata/locales/en_BW: Likewise.
24282 * localedata/locales/en_CA: Likewise.
24283 * localedata/locales/en_DK: Likewise.
24284 * localedata/locales/en_GB: Likewise.
24285 * localedata/locales/en_HK: Likewise.
24286 * localedata/locales/en_IE: Likewise.
24287 * localedata/locales/en_IL: Likewise.
24288 * localedata/locales/en_IN: Likewise.
24289 * localedata/locales/en_NG: Likewise.
24290 * localedata/locales/en_NZ: Likewise.
24291 * localedata/locales/en_PH: Likewise.
24292 * localedata/locales/en_SG: Likewise.
24293 * localedata/locales/en_US: Likewise.
24294 * localedata/locales/en_ZA: Likewise.
24295 * localedata/locales/en_ZM: Likewise.
24296 * localedata/locales/en_ZW: Likewise.
24297 * localedata/locales/eo: Likewise.
24298 * localedata/locales/es_AR: Likewise.
24299 * localedata/locales/es_BO: Likewise.
24300 * localedata/locales/es_CL: Likewise.
24301 * localedata/locales/es_CO: Likewise.
24302 * localedata/locales/es_CR: Likewise.
24303 * localedata/locales/es_CU: Likewise.
24304 * localedata/locales/es_DO: Likewise.
24305 * localedata/locales/es_EC: Likewise.
24306 * localedata/locales/es_ES: Likewise.
24307 * localedata/locales/es_GT: Likewise.
24308 * localedata/locales/es_HN: Likewise.
24309 * localedata/locales/es_MX: Likewise.
24310 * localedata/locales/es_NI: Likewise.
24311 * localedata/locales/es_PA: Likewise.
24312 * localedata/locales/es_PE: Likewise.
24313 * localedata/locales/es_PR: Likewise.
24314 * localedata/locales/es_PY: Likewise.
24315 * localedata/locales/es_SV: Likewise.
24316 * localedata/locales/es_US: Likewise.
24317 * localedata/locales/es_UY: Likewise.
24318 * localedata/locales/es_VE: Likewise.
24319 * localedata/locales/et_EE: Likewise.
24320 * localedata/locales/eu_ES: Likewise.
24321 * localedata/locales/eu_ES@euro: Likewise.
24322 * localedata/locales/fa_IR: Likewise.
24323 * localedata/locales/ff_SN: Likewise.
24324 * localedata/locales/fi_FI: Likewise.
24325 * localedata/locales/fil_PH: Likewise.
24326 * localedata/locales/fo_FO: Likewise.
24327 * localedata/locales/fr_BE: Likewise.
24328 * localedata/locales/fr_CA: Likewise.
24329 * localedata/locales/fr_CH: Likewise.
24330 * localedata/locales/fr_FR: Likewise.
24331 * localedata/locales/fr_LU: Likewise.
24332 * localedata/locales/fur_IT: Likewise.
24333 * localedata/locales/fy_DE: Likewise.
24334 * localedata/locales/fy_NL: Likewise.
24335 * localedata/locales/ga_IE: Likewise.
24336 * localedata/locales/gd_GB: Likewise.
24337 * localedata/locales/gez_ER: Likewise.
24338 * localedata/locales/gez_ET: Likewise.
24339 * localedata/locales/gl_ES: Likewise.
24340 * localedata/locales/gu_IN: Likewise.
24341 * localedata/locales/gv_GB: Likewise.
24342 * localedata/locales/ha_NG: Likewise.
24343 * localedata/locales/hak_TW: Likewise.
24344 * localedata/locales/he_IL: Likewise.
24345 * localedata/locales/hi_IN: Likewise.
24346 * localedata/locales/hif_FJ: Likewise.
24347 * localedata/locales/hne_IN: Likewise.
24348 * localedata/locales/hr_HR: Likewise.
24349 * localedata/locales/hsb_DE: Likewise.
24350 * localedata/locales/ht_HT: Likewise.
24351 * localedata/locales/hu_HU: Likewise.
24352 * localedata/locales/hy_AM: Likewise.
24353 * localedata/locales/i18n: Likewise.
24354 * localedata/locales/ia_FR: Likewise.
24355 * localedata/locales/id_ID: Likewise.
24356 * localedata/locales/ig_NG: Likewise.
24357 * localedata/locales/ik_CA: Likewise.
24358 * localedata/locales/is_IS: Likewise.
24359 * localedata/locales/it_CH: Likewise.
24360 * localedata/locales/it_IT: Likewise.
24361 * localedata/locales/iu_CA: Likewise.
24362 * localedata/locales/ja_JP: Likewise.
24363 * localedata/locales/ka_GE: Likewise.
24364 * localedata/locales/kk_KZ: Likewise.
24365 * localedata/locales/kl_GL: Likewise.
24366 * localedata/locales/kn_IN: Likewise.
24367 * localedata/locales/ko_KR: Likewise.
24368 * localedata/locales/kok_IN: Likewise.
24369 * localedata/locales/ks_IN: Likewise.
24370 * localedata/locales/ks_IN@devanagari: Likewise.
24371 * localedata/locales/ku_TR: Likewise.
24372 * localedata/locales/kw_GB: Likewise.
24373 * localedata/locales/ky_KG: Likewise.
24374 * localedata/locales/lb_LU: Likewise.
24375 * localedata/locales/lg_UG: Likewise.
24376 * localedata/locales/li_BE: Likewise.
24377 * localedata/locales/li_NL: Likewise.
24378 * localedata/locales/lij_IT: Likewise.
24379 * localedata/locales/ln_CD: Likewise.
24380 * localedata/locales/lo_LA: Likewise.
24381 * localedata/locales/lt_LT: Likewise.
24382 * localedata/locales/lv_LV: Likewise.
24383 * localedata/locales/lzh_TW: Likewise.
24384 * localedata/locales/mag_IN: Likewise.
24385 * localedata/locales/mai_IN: Likewise.
24386 * localedata/locales/mg_MG: Likewise.
24387 * localedata/locales/mhr_RU: Likewise.
24388 * localedata/locales/mi_NZ: Likewise.
24389 * localedata/locales/mk_MK: Likewise.
24390 * localedata/locales/ml_IN: Likewise.
24391 * localedata/locales/mn_MN: Likewise.
24392 * localedata/locales/mni_IN: Likewise.
24393 * localedata/locales/mr_IN: Likewise.
24394 * localedata/locales/ms_MY: Likewise.
24395 * localedata/locales/mt_MT: Likewise.
24396 * localedata/locales/my_MM: Likewise.
24397 * localedata/locales/nan_TW: Likewise.
24398 * localedata/locales/nan_TW@latin: Likewise.
24399 * localedata/locales/nb_NO: Likewise.
24400 * localedata/locales/nds_DE: Likewise.
24401 * localedata/locales/nds_NL: Likewise.
24402 * localedata/locales/ne_NP: Likewise.
24403 * localedata/locales/nhn_MX: Likewise.
24404 * localedata/locales/niu_NU: Likewise.
24405 * localedata/locales/niu_NZ: Likewise.
24406 * localedata/locales/nl_AW: Likewise.
24407 * localedata/locales/nl_BE: Likewise.
24408 * localedata/locales/nl_NL: Likewise.
24409 * localedata/locales/nn_NO: Likewise.
24410 * localedata/locales/nr_ZA: Likewise.
24411 * localedata/locales/nso_ZA: Likewise.
24412 * localedata/locales/oc_FR: Likewise.
24413 * localedata/locales/om_ET: Likewise.
24414 * localedata/locales/om_KE: Likewise.
24415 * localedata/locales/or_IN: Likewise.
24416 * localedata/locales/os_RU: Likewise.
24417 * localedata/locales/pa_IN: Likewise.
24418 * localedata/locales/pa_PK: Likewise.
24419 * localedata/locales/pap_AW: Likewise.
24420 * localedata/locales/pap_CW: Likewise.
24421 * localedata/locales/pl_PL: Likewise.
24422 * localedata/locales/ps_AF: Likewise.
24423 * localedata/locales/pt_BR: Likewise.
24424 * localedata/locales/pt_PT: Likewise.
24425 * localedata/locales/quz_PE: Likewise.
24426 * localedata/locales/raj_IN: Likewise.
24427 * localedata/locales/ro_RO: Likewise.
24428 * localedata/locales/ru_RU: Likewise.
24429 * localedata/locales/ru_UA: Likewise.
24430 * localedata/locales/rw_RW: Likewise.
24431 * localedata/locales/sa_IN: Likewise.
24432 * localedata/locales/sat_IN: Likewise.
24433 * localedata/locales/sc_IT: Likewise.
24434 * localedata/locales/sd_IN: Likewise.
24435 * localedata/locales/sd_IN@devanagari: Likewise.
24436 * localedata/locales/se_NO: Likewise.
24437 * localedata/locales/sgs_LT: Likewise.
24438 * localedata/locales/shs_CA: Likewise.
24439 * localedata/locales/si_LK: Likewise.
24440 * localedata/locales/sid_ET: Likewise.
24441 * localedata/locales/sk_SK: Likewise.
24442 * localedata/locales/sl_SI: Likewise.
24443 * localedata/locales/sm_WS: Likewise.
24444 * localedata/locales/so_DJ: Likewise.
24445 * localedata/locales/so_ET: Likewise.
24446 * localedata/locales/so_KE: Likewise.
24447 * localedata/locales/so_SO: Likewise.
24448 * localedata/locales/sq_AL: Likewise.
24449 * localedata/locales/sq_MK: Likewise.
24450 * localedata/locales/sr_ME: Likewise.
24451 * localedata/locales/sr_RS: Likewise.
24452 * localedata/locales/sr_RS@latin: Likewise.
24453 * localedata/locales/ss_ZA: Likewise.
24454 * localedata/locales/st_ZA: Likewise.
24455 * localedata/locales/sv_FI: Likewise.
24456 * localedata/locales/sv_SE: Likewise.
24457 * localedata/locales/sw_KE: Likewise.
24458 * localedata/locales/sw_TZ: Likewise.
24459 * localedata/locales/szl_PL: Likewise.
24460 * localedata/locales/ta_IN: Likewise.
24461 * localedata/locales/ta_LK: Likewise.
24462 * localedata/locales/tcy_IN: Likewise.
24463 * localedata/locales/te_IN: Likewise.
24464 * localedata/locales/tg_TJ: Likewise.
24465 * localedata/locales/th_TH: Likewise.
24466 * localedata/locales/the_NP: Likewise.
24467 * localedata/locales/ti_ER: Likewise.
24468 * localedata/locales/ti_ET: Likewise.
24469 * localedata/locales/tig_ER: Likewise.
24470 * localedata/locales/tk_TM: Likewise.
24471 * localedata/locales/tl_PH: Likewise.
24472 * localedata/locales/tn_ZA: Likewise.
24473 * localedata/locales/to_TO: Likewise.
24474 * localedata/locales/tpi_PG: Likewise.
24475 * localedata/locales/tr_CY: Likewise.
24476 * localedata/locales/tr_TR: Likewise.
24477 * localedata/locales/ts_ZA: Likewise.
24478 * localedata/locales/tt_RU: Likewise.
24479 * localedata/locales/tt_RU@iqtelif: Likewise.
24480 * localedata/locales/ug_CN: Likewise.
24481 * localedata/locales/uk_UA: Likewise.
24482 * localedata/locales/unm_US: Likewise.
24483 * localedata/locales/ur_IN: Likewise.
24484 * localedata/locales/ur_PK: Likewise.
24485 * localedata/locales/uz_UZ: Likewise.
24486 * localedata/locales/uz_UZ@cyrillic: Likewise.
24487 * localedata/locales/ve_ZA: Likewise.
24488 * localedata/locales/vi_VN: Likewise.
24489 * localedata/locales/wa_BE: Likewise.
24490 * localedata/locales/wae_CH: Likewise.
24491 * localedata/locales/wal_ET: Likewise.
24492 * localedata/locales/wo_SN: Likewise.
24493 * localedata/locales/xh_ZA: Likewise.
24494 * localedata/locales/yi_US: Likewise.
24495 * localedata/locales/yo_NG: Likewise.
24496 * localedata/locales/yue_HK: Likewise.
24497 * localedata/locales/yuw_PG: Likewise.
24498 * localedata/locales/zh_CN: Likewise.
24499 * localedata/locales/zh_HK: Likewise.
24500 * localedata/locales/zh_SG: Likewise.
24501 * localedata/locales/zh_TW: Likewise.
24502 * localedata/locales/zu_ZA: Likewise.
24504 2017-11-13 Florian Weimer <fweimer@redhat.com>
24506 * support/next_to_fault.h, support/next_to_fault.c: New files.
24507 * support/Makefile (libsupport-routines): Add next_to_fault.
24508 * resolv/tst-inet_pton.c (struct next_to_fault)
24509 (next_to_fault_allocate, next_to_fault_free): Remove.
24510 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24512 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24514 * elf/dl-support.c: Include <dl-procruntime.c>.
24515 * include/link.h: Include <link_map.h>.
24516 * sysdeps/generic/dl-procruntime.c: New file.
24517 * sysdeps/generic/link_map.h: Likewise.
24518 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24519 the writable ld.so namespace.
24521 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24523 timezone: pacify GCC -Wstringop-truncation
24524 Problem reported by Martin Sebor in:
24525 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24526 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24528 2017-11-12 Florian Weimer <fweimer@redhat.com>
24530 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24532 (tests): Add tst-xreadlink.
24533 * support/support.h (xstrndup): Declare.
24534 * support/xunistd.h (xunlink, xreadlink): Declare.
24535 * support/temp_file.h (support_create_temp_directory): Declare.
24536 * support/temp_file.c (support_create_temp_directory): New function.
24537 * support/support_chroot.c (support_chroot_create): Use it.
24538 * support/xreadlink.c: New file.
24539 * support/xstrndup.c: Likewise.
24540 * support/xunlink.c: Likewise.
24541 * support/tst-xreadlink.c: Likewise.
24543 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24545 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24547 2017-11-11 Florian Weimer <fweimer@redhat.com>
24551 * resolv/res_comp.c (printable_string, binary_hnok)
24552 (binary_leading_dash): New functions.
24553 (res_hnok): Reimplement using these functions and ns_name_pton.
24554 (res_ownok): Likewise.
24555 (res_mailok): Reimplement using printable_string, ns_name_pton and
24557 (res_dnok): Reimplement using printable_string and ns_name_pton.
24558 * resolv/tst-res_hnok.c (tests): Add additional tests.
24559 (LETTERDIGITS, PRINTABLE): Define.
24560 (do_test): Adjust one_char results.
24562 2017-11-11 Florian Weimer <fweimer@redhat.com>
24565 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24566 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24568 2017-11-11 Florian Weimer <fweimer@redhat.com>
24570 * resolv/tst-ns_name_pton.c: New file.
24571 * resolv/Makefile (tests): Add tst-ns_name_pton.
24572 (tst-ns_name_pton): Link against libresolv.
24574 2017-11-11 Florian Weimer <fweimer@redhat.com>
24576 * resolv/tst-res_hnok.c: New file.
24577 * resolv/Makefile (tests): Add tst-res_hnok.
24578 (tst-res_hnok): Link against libresolv.
24580 2017-11-11 Florian Weimer <fweimer@redhat.com>
24582 * resolv/tst-resolv-network.c: Use test framework instead explicit
24585 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24587 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24588 <jmp_buf-macros.h>.
24589 [!_ISOMAC] (STR_HELPER): New.
24590 [!_ISOMAC] (STR): Likewise.
24591 [!_ISOMAC] (TEST_SIZE): Likewise.
24592 [!_ISOMAC] (TEST_ALIGN): Likewise.
24593 [!_ISOMAC] (TEST_OFFSET): Likewise.
24594 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24595 field offsets of jmp_buf as well as sigjmp_buf.
24596 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24597 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24598 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24599 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24600 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24601 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24602 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24603 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24604 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24605 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24607 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24609 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24614 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24615 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24616 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24617 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24618 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24623 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24624 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24625 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24627 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24631 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24633 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24635 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24637 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24639 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24641 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24643 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24645 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24647 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24649 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24651 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24653 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24655 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24657 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24659 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24661 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24663 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24665 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24667 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24669 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24671 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24673 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24675 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24677 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24679 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24681 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24683 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24685 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24687 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24689 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24691 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24693 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24695 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24697 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24699 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24701 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24703 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24705 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24707 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24709 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24711 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24713 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24715 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24717 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24719 * stdlib/tst-strtod.h (F16): New macro.
24725 (IF_FLOAT16): Likewise.
24726 (IF_FLOAT32): Likewise.
24727 (IF_FLOAT64): Likewise.
24728 (IF_FLOAT32X): Likewise.
24729 (IF_FLOAT64X): Likewise.
24730 (IF_FLOAT128X): Likewise.
24731 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24732 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24733 (STRTOD_TEST_FOREACH): Likewise.
24734 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24735 (CHOOSE_f64): Likewise.
24736 (CHOOSE_f32x): Likewise.
24737 (CHOOSE_f64x): Likewise.
24739 2017-11-07 Andreas Schwab <schwab@suse.de>
24741 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24743 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24746 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24748 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24751 2017-11-07 Claude Paroz <claude@2xlibre.net>
24754 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24756 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24758 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24761 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24764 * nptl/allocatestack.c (allocate_stack): Check if
24765 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24766 __PTHREAD_MUTEX_HAVE_PREV is defined.
24767 * nptl/descr.h (pthread): Likewise.
24768 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24770 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24771 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24772 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24773 * sysdeps/nptl/bits/thread-shared-types.h
24774 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24776 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24777 of __WORDSIZE for internal layout.
24778 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24779 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24780 instead of __WORDSIZE whether to use an union for __spins and __list
24782 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24784 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24785 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24787 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24790 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24793 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24796 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24799 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24802 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24805 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24806 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24808 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24809 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24811 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24812 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24814 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24817 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24818 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24820 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24821 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24823 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24824 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24826 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24827 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24830 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24832 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24833 checks for expected input type size.
24834 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24835 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24837 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24838 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24839 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24840 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24841 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24842 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24843 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24844 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24845 superflous runtime assert check.
24846 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24848 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24850 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24852 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24854 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24856 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24858 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24859 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24860 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24862 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24864 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24866 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24868 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24870 * nptl/pthread_attr_setinheritsched.c
24871 (__pthread_attr_setinheritsched): Likewise.
24872 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24874 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24876 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24877 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24878 __old_pthread_attr_setstack): Likewise.
24879 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24881 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24883 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24885 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24886 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24888 * nptl/tst-typesizes.c: Remove file.
24890 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24891 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24892 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24893 checks for internal pthread_mutex_t offsets.
24894 * sysdeps/aarch64/nptl/pthread-offsets.h
24895 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24896 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24897 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24898 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24899 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24900 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24901 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24902 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24903 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24904 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24905 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24906 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24907 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24908 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24909 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24910 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24911 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24912 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24914 2017-11-07 Florian Weimer <fweimer@redhat.com>
24916 * bits/mman-linux.h: Move ...
24917 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24919 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24922 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24924 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24925 Redefine STRNLEN as __strnlen_power8.
24927 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24929 * signal/sighold.c (sighold): Optimize implementation.
24931 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24932 __NR_rt_sigqueueinfo.
24934 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24936 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24937 assume __NR_rt_sigtimedwait.
24938 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24939 and add LIBC_CANCEL_HANDLED for cancellation marking.
24940 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24942 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24943 (sysdeps_routines): Add memchr_noneon.
24944 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24945 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24946 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24947 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24948 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24949 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24950 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24952 * sysdeps/arm/arm-ifunc.h: New file.
24953 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24954 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24955 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24956 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24957 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24958 (__memcpy_neon): Avoid create hidden alias.
24959 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24960 (__memcpy_vfp): Likewise.
24961 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24962 (sysdep_routines): Add memcpy_arm.
24963 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24965 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24968 * Makerules (make-link-multidir): New.
24969 * config.make.in (multidir): New.
24970 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24971 * configure: Regenerated.
24972 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24973 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24974 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24977 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24980 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24981 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24983 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24985 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24988 2017-11-04 Florian Weimer <fweimer@redhat.com>
24990 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24992 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24994 * math/math.h [__HAVE_DISTINCT_FLOAT16
24995 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24996 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24997 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24998 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24999 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25000 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25001 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25002 (__MATH_TG_F32): New macro.
25003 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25004 (__MATH_TG_F64X): Likewise.
25005 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25006 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25008 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25010 * po/de.po: Update translations.
25011 * po/ru.po: Likewise.
25013 2017-11-03 Florian Weimer <fweimer@redhat.com>
25015 * manual/filesys.texi (Hard Links): Document linkat.
25017 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25019 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25020 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25021 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25022 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25023 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25024 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25025 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25026 the same as _Float128.
25027 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25028 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25029 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25032 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25034 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25036 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25038 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25039 (strtof32x): Likewise.
25040 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25041 (strtof64x): Likewise.
25042 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25043 (strtof128x): Likewise.
25044 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25045 (strfromf16): Likewise.
25046 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25047 (strfromf32): Likewise.
25048 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25049 (strfromf64): Likewise.
25050 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25051 (strfromf32x): Likewise.
25052 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25053 (strfromf64x): Likewise.
25054 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25055 (strfromf128x): Likewise.
25056 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25057 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25058 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25059 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25060 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25061 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25063 2017-11-03 Richard Henderson <rth@twiddle.net>
25065 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25067 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25069 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25071 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25073 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25074 DT_TLSDESC_GOT initialization.
25075 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25076 (_dl_tlsdesc_resolve_hold): Likewise.
25077 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25078 (_dl_tlsdesc_resolve_hold): Likewise.
25079 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25080 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25082 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25084 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25086 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25089 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25090 non-lazily for R_ARM_TLS_DESC.
25092 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25095 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25096 R_ARM_TLS_DESC case.
25097 (elf_machine_lazy_rel): Remove the prelink check.
25099 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25101 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25102 DT_TLSDESC_GOT initialization.
25103 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25104 (_dl_tlsdesc_resolve_rela): Likewise.
25105 (_dl_tlsdesc_resolve_hold): Likewise.
25106 (_dl_tlsdesc_undefweak): Remove ldar.
25107 (_dl_tlsdesc_dynamic): Likewise.
25108 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25109 (_dl_tlsdesc_resolve_rela): Likewise.
25110 (_dl_tlsdesc_resolve_hold): Likewise.
25111 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25112 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25113 (_dl_tlsdesc_resolve_rela): Likewise.
25114 (_dl_tlsdesc_resolve_hold): Likewise.
25116 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25118 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25119 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25121 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25123 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25124 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25126 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25128 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25130 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25131 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25132 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25133 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25134 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25135 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25136 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25137 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25138 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25139 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25140 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25142 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25145 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25146 * localedata/locales/tpi_PG: Add standard header.
25148 2017-11-02 Florian Weimer <fweimer@redhat.com>
25150 test-errno-linux: quotactl can fail with EPERM in containers.
25151 * sysdeps/unix/sysv/linux/test-errno-linux.c
25152 (LIST, LIST_FORWARD): New macros.
25153 (check_error_in_list): New function.
25154 (test_wrp_rv): Accept list of permitted error codes.
25155 (test_wrp_rv2): Remove.
25156 (test_wrp): Call test_wrp_rv with list of error codes.
25157 (test_wrp2): Accept list of error codes.
25158 (do_test): Adjust. Allow EPERM for quotactl.
25160 2017-11-02 Florian Weimer <fweimer@redhat.com>
25162 * stdio-common/bug16.c (do_test): Use array_length.
25163 * stdio-common/errlist.c (_sys_nerr): Likewise.
25164 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25165 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25166 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25167 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25168 (do_test): Use array_length.
25169 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25170 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25171 * stdio-common/tst-printf-round.c (do_test): Likewise.
25172 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25173 (CHECK): Use array_length.
25174 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25175 * stdio-common/tstscanf.c (main): Likewise.
25176 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25178 2017-11-02 Florian Weimer <fweimer@redhat.com>
25180 Add array_length and array_end macros.
25181 * include/array_length.h: New file.
25183 2017-11-02 Florian Weimer <fweimer@redhat.com>
25186 * posix/tst-glob-tilde.c (do_noescape): New variable.
25187 (one_test): Process it.
25188 (do_test): Set do_noescape. Add unescaping test case.
25190 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25193 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25194 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25195 with appropriate macros defined and undefined.
25196 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25197 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25198 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25199 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25200 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25201 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25202 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25203 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25204 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25205 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25208 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25209 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25210 that for long double. Do not condition define and undefine of
25211 _Mdouble_complex_ on [__CFLOAT128].
25213 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25215 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25216 of <sysdeps/generic/sysdep.h>.
25217 (ALIGNARG): Removed.
25218 (ASM_SIZE_DIRECTIVE): Likewise.
25221 (ENTRY_CHK): Likewise.
25222 (END_CHK): Likewise.
25223 (syscall_error): Likewise.
25224 (mcount): Likewise.
25225 (PSEUDO_END): Likewise.
25227 (atom_text_section): Likewise.
25228 * sysdeps/x86/sysdep.h: New file.
25229 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25230 of <sysdeps/generic/sysdep.h>.
25231 (ALIGNARG): Removed.
25232 (ASM_SIZE_DIRECTIVE): Likewise.
25235 (ENTRY_CHK): Likewise.
25236 (END_CHK): Likewise.
25237 (syscall_error): Likewise.
25238 (mcount): Likewise.
25239 (PSEUDO_END): Likewise.
25241 (atom_text_section): Likewise.
25243 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25245 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25246 category of LC_CTYPE set to "i18n:2012".
25247 * localedata/locales/i18n_ctype: Regenerate.
25249 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25251 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25252 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25253 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25254 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25256 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25257 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25258 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25259 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25261 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25264 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25266 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25268 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25270 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25271 (CMPLXF32X): Likewise.
25272 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25273 (CMPLXF64X): Likewise.
25274 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25275 (CMPLXF128X): Likewise.
25278 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25279 (__MATH_EVAL_FMT2): Define to add 0.0f.
25281 2017-10-31 Alan Modra <amodra@gmail.com>
25283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25299 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25300 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25301 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25302 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25303 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25304 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25305 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25306 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25307 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25310 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25311 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25312 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25313 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25314 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25315 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25316 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25317 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25318 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25319 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25320 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25321 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25322 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25323 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25324 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25325 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25326 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25327 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25328 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25330 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25331 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25332 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25333 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25334 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25335 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25336 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25337 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25338 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25339 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25340 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25341 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25342 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25343 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25344 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25345 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25346 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25347 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25348 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25349 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25350 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25351 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25352 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25353 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25356 include sysdep.h and math_ldbl_opt.h.
25358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25359 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25385 2017-10-31 Alan Modra <amodra@gmail.com>
25387 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25388 string/strncase_l.c, not string/strncase.c.
25389 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25390 (libc_hidden_def): Redefine.
25392 2017-10-31 Alan Modra <amodra@gmail.com>
25394 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25395 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25396 (__strcasecmp): Don't define.
25398 2017-10-31 Alan Modra <amodra@gmail.com>
25400 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25402 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25403 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25404 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25406 2017-10-31 Alan Modra <amodra@gmail.com>
25408 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25411 2017-10-31 Alan Modra <amodra@gmail.com>
25413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25414 Redefine only when SHARED.
25416 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25418 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25419 Include <bits/math-finite.h> with appropriate macros defined and
25421 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25422 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25423 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25424 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25425 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25427 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25428 [!_Mlong_double_] (_Mlong_double_): Likewise.
25429 [!_Mfloat16_] (_Mfloat16_): Likewise.
25430 [!_Mfloat32_] (_Mfloat32_): Likewise.
25431 [!_Mfloat64_] (_Mfloat64_): Likewise.
25432 [!_Mfloat128_] (_Mfloat128_): Likewise.
25433 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25434 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25435 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25436 (_Mdouble_): Define without indirection through those macros.
25437 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25438 [!_Mfloat128_] (_Mfloat128_): Likewise.
25439 [_Mlong_double_] (_Mlong_double_): Likewise.
25440 (_Mdouble_): Define without indirection through those macros.
25441 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25442 not add -D_Mlong_double_=double.
25443 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25444 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25446 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25448 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25450 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25452 * sysdeps/x86/libc-start.c: Reformat.
25454 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25457 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25458 (1): Renamed to ...
25461 (L(Src2)): Likewise.
25462 (L(1)): Renamed to ...
25465 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25467 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25468 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25469 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25470 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25471 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25472 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25473 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25474 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25475 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25476 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25477 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25478 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25479 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25480 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25481 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25482 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25483 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25484 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25485 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25486 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25487 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25488 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25489 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25490 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25491 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25492 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25493 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25494 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25495 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25496 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25497 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25498 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25499 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25500 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25501 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25502 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25503 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25504 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25505 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25506 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25507 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25508 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25509 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25510 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25511 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25512 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25513 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25514 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25515 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25516 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25517 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25518 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25519 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25520 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25521 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25522 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25523 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25524 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25525 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25526 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25527 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25528 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25529 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25530 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25531 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25532 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25534 2017-10-30 Florian Weimer <fweimer@redhat.com>
25536 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25538 * io/tst-mkdirat.c (do_test): Likewise.
25539 * io/tst-mkfifoat.c (do_test): Likewise.
25540 * io/tst-mknodat.c (do_test): Likewise.
25541 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25542 * locale/programs/locale.c (select_dirs): Likewise.
25543 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25544 * posix/bug-glob2.c (my_readdir): Likewise.
25545 * posix/tst-dir.c (main): Likewise.
25546 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25547 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25549 2017-10-30 Florian Weimer <fweimer@redhat.com>
25551 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25554 2017-10-30 Florian Weimer <fweimer@redhat.com>
25556 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25557 Convert to support/test-driver.c.
25558 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25559 New macro parameters.
25560 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25561 * posix/tst-gnuglob.c: New file.
25562 * posix/tst-gnuglob64.c: Likewise.
25563 * posix/Makefile (tests): Add tst-gnuglob64.
25565 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25568 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25569 and use a better translation for March in “mon”.
25570 * localedata/locales/csb_PL: Use more ASCII to improve the
25571 readability of the source.
25573 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25576 * localedata/locales/km_KH: Use ASCII as much
25577 as possible for better readability of the source and
25578 remove useless comments.
25579 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25580 was commented out and apparently wrong anyway because it was
25581 using Lao characters. If Buddhist era should be used
25582 for km_KH, a native speaker should write the correct formaat
25584 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25585 (According to CLDR, the first weekday for Cambodia is Sunday).
25586 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25587 (These were using Lao characters which must be wrong. If we get
25588 the correct data from a native speaker, we could add it back, until
25589 then it is better not to have name_mr and name_mrs at all than
25592 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25594 * locale/loadlocale.c: Correct size of
25595 _nl_value_type_LC_<category> arrays.
25597 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25599 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25600 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25601 with appropriate macros defined and undefined.
25602 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25603 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25604 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25605 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25606 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25608 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25610 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25613 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25615 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25616 with lowercase letters to make it agree with CLDR.
25618 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25621 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25622 first letters of yesstr and nostr in yesexpr and noexpr,
25623 not for the full words.
25624 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25625 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25626 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25627 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25628 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25629 first letters of yesstr and nostr in yesexpr and noexpr,
25630 until now only English was matched in yesexpr and noexpr.
25631 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25632 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25633 fil but not for tl. As tl and fil are very similar, using fil
25634 is probably better than using English.
25636 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25639 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25640 in yesstr and nostr.
25642 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25644 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25645 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25646 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25648 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25650 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25652 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25654 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25655 (SNANF128X): Likewise.
25657 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25658 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25659 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25660 (HUGE_VAL_F32): Likewise.
25661 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25662 (HUGE_VAL_F64): Likewise.
25663 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25664 (HUGE_VAL_F32X): Likewise.
25665 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25666 (HUGE_VAL_F64X): Likewise.
25667 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25668 (HUGE_VAL_F128X): Likewise.
25670 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25672 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25673 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25674 for the br_FR locale.
25676 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25679 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25681 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25683 * locale/programs/record-status.h: Define globals, and function
25684 prototypes. Move function bodies...
25685 * locale/programs/record-status.c: ... to here. New file.
25686 * iconv/Makefile (iconv_prog-modules): Add record-status.
25687 * locale/Makefile (lib-modules): Likewise.
25688 * iconv/iconv_prog.c: Remove verbose.
25689 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25690 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25691 record a warning about ASCII compatibility.
25692 * locale/programs/ld-monetary.c (monetary_finish): If
25693 warn_int_curr_symbol is true then record a warning about the symbol
25694 not being in our ISO 4217 list.
25695 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25696 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25697 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25698 (OPT_NO_WARN): Define.
25699 (OPT_WARN): Define.
25700 (options): Add entry for --no-warnings, and --warnings.
25701 (set_warnings): New function to enable/disable warnings.
25702 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25703 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25704 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25705 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25706 Pass flags to generate_locale.
25707 (generate_locale): Accept new flag argument and pass it to localedef
25709 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25710 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25712 * localedata/Makefile (test-input-data): Use full file name.
25713 * localedata/da_DK.in: Rename to...
25714 * localedata/da_DK.ISO-8859-1.in: ...this.
25715 * localedata/de_DE.in: Rename to...
25716 * localedata/de_DE.ISO-8859-1.in: ...this.
25717 * localedata/en_US.in: Rename to...
25718 * localedata/en_US.ISO-8859-1.in: ...this.
25719 * localedata/fr_FR.in: Rename to...
25720 * localedata/fr_FR.UTF-8.in: ... this.
25721 * localedata/hr_HR.in: Rename to...
25722 * localedata/hr_HR.ISO-8859-2.in: ...this.
25723 * localedata/hu_HU.in: Rename to...
25724 * localedata/hu_HU.UTF-8.in: ...this.
25725 * localedata/si_LK.in: Rename to...
25726 * localedata/si_LK.UTF-8.in: ...this.
25727 * localedata/sv_SE.in: Rename to...
25728 * localedata/sv_SE.ISO-8859-1.in: ...this.
25729 * localedata/tr_TR.in: Rename to...
25730 * localedata/tr_TR.UTF-8.in: ...this.
25731 * localedata/uk_UA.in: Rename to...
25732 * localedata/uk_UA.UTF-8.in: ...this.
25733 * localedata/sort-test.sh: Test file is locale name with the
25736 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25737 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25739 * localedata/locales/i18n_ctype: Regenerate.
25740 * localedata/locales/tr_TR: Likewise.
25741 * localedata/locales/translit_circle: Likewise.
25742 * localedata/locales/translit_cjk_compat: Likewise.
25743 * localedata/locales/translit_combining: Likewise.
25744 * localedata/locales/translit_compat: Likewise.
25745 * localedata/locales/translit_font: Likewise.
25746 * localedata/locales/translit_fraction: Likewise.
25748 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25750 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25751 lxvd2x/stxvd2x with lvx/stvx.
25752 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25754 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25756 * include/alloc_buffer.h: Replace "if if " with "if " in
25758 * sysdeps/mips/memcpy.S: Likkewise.
25759 * sysdeps/mips/memset.S: Likewise.
25760 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25762 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25764 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25767 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25770 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25771 yesexpr and noexpr.
25772 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25773 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25774 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25775 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25776 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25777 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25778 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25780 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25782 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25783 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25784 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25785 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25786 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25787 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25788 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25789 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25790 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25791 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25792 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25793 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25795 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25797 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25798 as possible for better readability of the source.
25799 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25800 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25801 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25802 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25803 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25804 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25805 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25806 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25807 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25808 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25809 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25810 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25811 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25812 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25813 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25814 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25815 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25816 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25817 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25818 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25819 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25820 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25821 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25822 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25823 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25824 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25825 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25826 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25827 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25828 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25829 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25830 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25831 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25832 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25833 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25834 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25835 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25836 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25837 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25838 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25839 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25840 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25841 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25842 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25843 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25844 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25845 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25846 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25847 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25848 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25849 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25850 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25851 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25852 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25853 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25854 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25855 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25856 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25857 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25858 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25859 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25860 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25861 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25862 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25863 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25864 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25865 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25866 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25867 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25868 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25869 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25870 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25871 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25872 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25873 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25874 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25875 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25876 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25877 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25878 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25879 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25880 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25881 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25882 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25883 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25884 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25885 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25886 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25887 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25888 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25889 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25890 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25891 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25892 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25893 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25894 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25895 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25896 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25897 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25898 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25899 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25900 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25901 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25902 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25903 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25904 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25905 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25906 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25907 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25908 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25909 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25910 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25911 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25912 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25913 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25914 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25915 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25916 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25917 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25918 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25919 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25920 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25921 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25922 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25923 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25924 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25925 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25926 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25927 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25928 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25929 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25930 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25931 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25932 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25933 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25934 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25935 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25936 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25937 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25938 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25939 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25940 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25941 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25942 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25943 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25944 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25945 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25946 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25947 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25948 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25949 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25950 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25951 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25952 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25953 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25954 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25955 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25956 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25957 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25958 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25959 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25960 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25961 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25962 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25963 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25964 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25965 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25966 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25967 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25968 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25969 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25970 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25971 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25972 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25976 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25977 (Use first letters of yesstr and nostr correctly instead of using
25980 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25982 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25983 (Use first letters of yesstr and nostr correctly).
25985 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25987 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25988 also check for the first characters of yesstr and nostr.
25989 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25990 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25992 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25994 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25995 also check for Chinese characters.
25997 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25999 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26000 match also for the contents of yesstr and nostr. As the first letter
26001 of yesstr and nostr is equal, checking only for the first letter
26004 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26006 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26007 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26009 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26011 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26012 of main contributor.
26014 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26016 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26017 instead of using English.
26019 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26021 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26022 by including the first letters of nostr and yesexpr in the regexp.
26023 Also make it more readable by using ASCII where possible.
26025 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26027 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26028 the first letter of nostr in the regexp. It agrees with CLDR now.
26029 Also make it more readable by using ASCII where possible.
26031 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26033 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26034 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26035 these strings contain a U+17D6 (which somewhat looks like a colon)
26036 instead of a real colon to separate the full words for “yes”
26037 and “no” from the single letter responses.
26039 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26041 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26042 it agree with CLDR (include the first letter of yesstr).
26043 Also make it more readable by using ASCII where possible.
26045 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26047 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26048 and improve yesexpr and noexpr. The yesstr and nostr apparently
26049 came from CLDR. And CLDR has a bug there: these strings contain
26050 a U+0903 (which looks like a colon) instead of a real colon
26051 to separate the full words for “yes” and “no” from the single
26054 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26056 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26057 letters of the full yesstr and nostr in yesexpr and noexpr.
26059 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26061 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26062 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26063 * localedata/locales/an_ES: Make source more readable by using ASCII
26066 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26069 * localedata/locales/yuw_PG: New file.
26070 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26071 * locale/iso-639.def: Add Yau (Uruwa).
26073 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26075 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26077 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26079 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26080 (__libc_realloc): Likewise.
26081 (_mid_memalign): Likewise.
26082 (__libc_calloc): Likewise.
26084 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26086 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26087 by adding the generic +1 and -0 as in all other locales.
26088 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26089 day names and make it more readable by using ASCII where possible.
26091 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26093 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26094 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26096 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26098 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26099 WNOHANG in waitpid call.
26101 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26103 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26104 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26106 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26107 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26108 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26109 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26110 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26111 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26112 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26113 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26116 2017-10-23 Michael Collison <michael.collison@arm.com>
26118 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26119 with __builtin_sqrt.
26120 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26121 with __builtin_sqrtf.
26122 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26123 with __builtin_ceil.
26124 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26125 with __builtin_ceilf.
26126 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26127 with __builtin_floor.
26128 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26129 with __builtin_floorf.
26130 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26131 with __builtin_fma.
26132 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26133 with __builtin_fmaf.
26134 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26135 with __builtin_fmax.
26136 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26137 with __builtin_fmaxf.
26138 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26139 with __builtin_fmin.
26140 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26141 with __builtin_fminf.
26142 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26143 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26144 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26145 with builtin_rint and conversion to int.
26146 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26147 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26148 with builtin_llround.
26149 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26150 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26151 with builtin_rint and conversion to long int.
26152 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26153 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26154 with builtin_lround.
26155 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26156 with builtin_lroundf.
26157 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26158 statements with __builtin_nearbyint.
26159 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26160 statements with __builtin_nearbyintf.
26161 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26162 with __builtin_rint.
26163 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26164 with __builtin_rintf.
26165 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26166 with __builtin_round.
26167 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26168 with __builtin_roundf.
26169 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26170 with __builtin_trunc.
26171 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26172 with __builtin_truncf.
26173 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26174 and s_l[l]round[f].c too.
26176 2017-10-23 Alan Modra <amodra@gmail.com>
26178 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26179 Adjust stack after restoring regs. Add missing LR cfi_restore.
26181 2017-10-23 Alan Modra <amodra@gmail.com>
26183 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26184 Move LR save and frame setup/teardown and LR restore to
26185 immediately around memset call. Provide cfi.
26187 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26189 * sysdeps/i386/fpu/e_powf.S: Removed.
26190 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26191 * sysdeps/i386/fpu/w_powf.c: Likewise.
26192 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26194 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26196 (CFLAGS-e_powf-sse2.c): New.
26197 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26198 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26200 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26202 * sysdeps/i386/fpu/e_log2f.S: Removed.
26203 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26204 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26205 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26206 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26207 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26209 (CFLAGS-e_log2f-sse2.c): New.
26210 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26211 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26213 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26215 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26217 (CFLAGS-e_powf-fma.c): New.
26218 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26219 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26221 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26223 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26225 (CFLAGS-e_log2f-fma.c): New.
26226 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26227 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26229 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26233 (CFLAGS-e_logf-fma.c): New.
26234 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26235 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26237 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26239 * sysdeps/i386/fpu/e_logf.S: Removed.
26240 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26241 * sysdeps/i386/fpu/w_logf.c: Likewise.
26242 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26243 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26244 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26245 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26247 (CFLAGS-e_logf-sse2.c): New.
26248 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26249 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26251 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26253 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26254 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26255 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26256 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26257 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26259 (CFLAGS-e_exp2f-sse2.c): New.
26260 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26261 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26263 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26265 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26267 (CFLAGS-e_exp2f-fma.c): New.
26268 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26269 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26271 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26273 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26274 * sysdeps/i386/fpu/e_expf.S: Likewise.
26275 * sysdeps/i386/fpu/math_errf.c: Likewise.
26276 * sysdeps/i386/fpu/w_expf.c: Likewise.
26277 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26278 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26279 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26280 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26281 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26282 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26283 Remove e_expf-ia32.
26284 (CFLAGS-e_expf-sse2.c): New.
26285 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26286 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26288 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26290 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26291 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26292 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26293 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26295 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26297 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26298 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26300 (__redirect_expf): This.
26301 (SYMBOL_NAME): Changed to expf.
26302 (__ieee754_expf): Renamed to ...
26304 (__GI___expf): This.
26305 (__ieee754_expf): Add strong_alias.
26306 (__expf_finite): Likewise.
26308 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26310 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26313 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26316 2017-10-21 Florian Weimer <fweimer@redhat.com>
26318 * posix/Makefile (tests): Add tst-glob-tilde.
26319 (tests-special): Add tst-glob-tilde-mem.out
26320 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26321 (tst-glob-tilde-mem.out): Add mtrace check.
26322 * posix/tst-glob-tilde.c: New file.
26324 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26326 * bits/floatn-common.h: New file.
26327 * math/Makefile (headers): Add bits/floatn-common.h.
26328 * bits/floatn.h: Include <bits/floatn-common.h>.
26329 * sysdeps/ia64/bits/floatn.h: Likewise.
26330 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26331 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26332 * sysdeps/powerpc/bits/floatn.h: Likewise.
26333 * sysdeps/x86/bits/floatn.h: Likewise.
26335 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26337 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26338 indicates whether compiler emits an warning for alias for
26339 functions with incompatible types.
26342 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26343 the auxiliary process is terminated by a signal before calling _exit
26346 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26349 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26351 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26352 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26353 and bit_arch_XSAVEC_Usable if needed.
26354 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26355 and bit_arch_Use_dl_runtime_resolve_opt.
26356 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26358 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26359 (bit_arch_Prefer_No_AVX512): Updated.
26360 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26361 (bit_arch_XSAVEC_Usable): New.
26362 (STATE_SAVE_OFFSET): Likewise.
26363 (STATE_SAVE_MASK): Likewise.
26364 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26365 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26366 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26367 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26368 (index_arch_XSAVEC_Usable): New.
26369 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26370 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26371 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26373 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26374 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26375 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26376 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26377 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26378 _dl_runtime_resolve_xsavec.
26379 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26381 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26382 instead of VEC_SIZE.
26383 (REGISTER_SAVE_BND0): Removed.
26384 (REGISTER_SAVE_BND1): Likewise.
26385 (REGISTER_SAVE_BND3): Likewise.
26386 (REGISTER_SAVE_RAX): Always defined to 0.
26388 (_dl_runtime_resolve_avx): Likewise.
26389 (_dl_runtime_resolve_avx_slow): Likewise.
26390 (_dl_runtime_resolve_avx_opt): Likewise.
26391 (_dl_runtime_resolve_avx512): Likewise.
26392 (_dl_runtime_resolve_avx512_opt): Likewise.
26393 (_dl_runtime_resolve_sse): Likewise.
26394 (_dl_runtime_resolve_sse_vex): Likewise.
26396 (_dl_runtime_resolve_fxsave): Likewise.
26397 (USE_XSAVE): Likewise.
26398 (_dl_runtime_resolve_xsave): Likewise.
26399 (USE_XSAVEC): Likewise.
26400 (_dl_runtime_resolve_xsavec): Likewise.
26401 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26403 (_dl_runtime_resolve_avx512_opt): Likewise.
26404 (_dl_runtime_resolve_avx): Likewise.
26405 (_dl_runtime_resolve_avx_opt): Likewise.
26406 (_dl_runtime_resolve_sse): Likewise.
26407 (_dl_runtime_resolve_sse_vex): Likewise.
26408 (_dl_runtime_resolve_fxsave): New.
26409 (_dl_runtime_resolve_xsave): Likewise.
26410 (_dl_runtime_resolve_xsavec): Likewise.
26412 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26416 * posix/glob.c (__glob): Fix one-byte overflow.
26418 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26420 * malloc/malloc.c (sysdep-cancel.h): Add include.
26422 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26424 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26426 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26428 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26429 (tests): Remove $(objpfx)ga_test depdendency.
26430 * resolv/ga_test.c: Remove file.
26432 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26435 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26436 * localedata/locales/kab_DZ: New file.
26438 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26440 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26441 _dl_relocate_static_pie instead of _dl_start to compute load
26442 address in static PIE.
26444 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26446 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26448 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26451 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26452 * localedata/locales/shn_MM: New file.
26454 2017-10-20 Florian Weimer <fweimer@redhat.com>
26457 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26458 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26459 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26460 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26461 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26462 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26464 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26466 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26468 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26470 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26473 * sysdeps/mips/bits/long-double.h: Move to ....
26474 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26476 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26478 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26480 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26481 H.J. Lu <hongjiu.lu@intel.com>
26484 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26485 GLRO(dl_platform) to NULL.
26486 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26487 (modules-names): Add tst-platformmod-1 and
26488 x86_64/tst-platformmod-2.
26489 (CFLAGS-tst-platform-1.c): New.
26490 (CFLAGS-tst-platformmod-1.c): Likewise.
26491 (CFLAGS-tst-platformmod-2.c): Likewise.
26492 (LDFLAGS-tst-platformmod-2.so): Likewise.
26493 ($(objpfx)tst-platform-1): Likewise.
26494 ($(objpfx)tst-platform-1.out): Likewise.
26495 (tst-platform-1-ENV): Likewise.
26496 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26497 * sysdeps/x86_64/tst-platform-1.c: New file.
26498 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26499 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26501 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26504 * locale/iso-639.def: Add Karbi.
26505 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26506 * localedata/locales/mjw_IN: New file.
26508 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26510 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26511 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26512 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26513 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26514 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26515 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26516 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26518 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26519 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26520 * manual/math.texi (Mathematics): Document additional architecture
26521 support for _Float128.
26522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26523 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26524 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26525 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26526 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26527 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26528 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26529 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26530 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26531 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26533 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26535 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26536 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26538 2017-10-18 Renlin Li <renlin.li@arm.com>
26540 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26541 _DYNAMIC symbol to calculate load address.
26543 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26545 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26546 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26548 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26549 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26551 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26554 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26555 and improve readability by using more ASCII.
26556 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26557 and improve readability by using more ASCII.
26559 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26561 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26562 not all targets support atomics on bool.
26564 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26566 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26567 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26569 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26570 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26571 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26572 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26573 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26574 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26576 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26578 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26581 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26584 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26585 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26586 (do_check_remalloced_chunk): Fix build bug.
26587 (do_check_malloc_state): Add assert that checks arena->top.
26588 (malloc_consolidate): Remove initialization.
26589 (int_mallinfo): Remove call to malloc_consolidate.
26590 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26592 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26594 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26595 (have_fastchunks): Remove.
26596 (clear_fastchunks): Remove.
26597 (set_fastchunks): Remove.
26598 (malloc_state): Add have_fastchunks.
26599 (malloc_init_state): Use have_fastchunks.
26600 (do_check_malloc_state): Remove incorrect invariant checks.
26601 (_int_malloc): Use have_fastchunks.
26602 (_int_free): Likewise.
26603 (malloc_consolidate): Likewise.
26605 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26607 * malloc/malloc.c (tcache_put): Inline.
26608 (tcache_get): Inline.
26610 2017-10-17 Jordi Mallach <jordi@gnu.org>
26612 Aurelien Jarno <aurelien@aurel32.net>
26614 * localedata/locales/ca_ES@valencia: New file.
26615 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26617 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26620 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26623 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26625 * scripts/build-many-glibcs.py (Context.add_all_configs):
26626 Add arm-linux-gnueabihf multiarch extra_glibcs.
26628 * sysdeps/generic/ifunc-init.h: New file.
26629 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26631 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26634 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26635 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26636 * stdlib/tst-strfmon_l.c: adapt test case.
26638 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26640 * sysdeps/generic/float128-abi.h: New file.
26641 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26642 non-__prefixed symbols to ....
26643 * math/Versions: ... here. Include <float128-abi.h>.
26644 * stdlib/Versions ... and here. Include <float128-abi.h>
26646 2017-10-16 Florian Weimer <fweimer@redhat.com>
26648 * version.h (VERSION): Switch to ".9000" as the development
26651 2017-10-16 Florian Weimer <fweimer@redhat.com>
26654 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26655 compat_symbol_reference to access non-default version.
26657 2017-10-16 Florian Weimer <fweimer@redhat.com>
26659 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26661 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26663 * include/shlib-compat.h (compat_symbol_reference): Update
26666 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26668 * math/Makefile (test-types): Add
26669 $(type-float128-$(float128-alias-fcts)).
26670 * math/test-float128.h (TYPE_STR): Define conditional on
26671 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26672 (ULP_IDX): Likewise.
26673 (ULP_I_IDX): Likewise.
26675 * stdlib/strtold.c: Include <bits/floatn.h>
26676 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26677 and later undefine as macro. Define as weak alias if
26679 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26680 and later undefine as macro. Define as weak alias if
26682 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26683 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26684 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26685 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26686 Define and later undefine as macro. Define as weak alias if
26688 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26690 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26691 Define and later undefine as macro. Define as weak alias if
26693 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26694 Define and later undefine as macro. Define as weak alias if
26697 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26699 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26700 record_verbose messages.
26702 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26705 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26706 to silence -O3 -Wall warning with GCC 7.
26708 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26710 * Makeconfig (+link-static-before-libc): Use the first of
26711 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26712 * gmon/Makefile (tests): Add tst-gmon-static.
26713 (tests-static): Likewise.
26714 (CFLAGS-tst-gmon-static.c): New.
26715 (CRT-tst-gmon-static): Likewise.
26716 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26717 (tst-gmon-static-ENV): Likewise.
26718 (tests-special): Likewise.
26719 ($(objpfx)tst-gmon-static.out): Likewise.
26720 (clean-tst-gmon-static-data): Likewise.
26721 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26722 * gmon/tst-gmon-static-gprof.sh: New file.
26723 * gmon/tst-gmon-static.c: Likewise.
26725 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26728 * locale/programs/linereader.c (get_string): Don't warn on
26729 non-symbolic character.
26732 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26736 * locale/programs/record-status.h: New file
26737 * locale/programs/locale.c: Add comment.
26738 * locale/programs/charmap-dir.c: Don't include error.h.
26739 (charmap_opendir): Use record_error.
26740 * locale/programs/charmap.c: Don't include error.h.
26741 (charmap_read): Use record_error, and record_warning.
26742 (parse_charmap): Likewise.
26743 * locale/programs/ld-address.c: Don't include error.h.
26744 (address_finish): Use record_error, and record_warning.
26745 * locale/programs/ld-collate.c: Don't include error.h.
26746 (collate_finish): Use record_error, and record_error_at_line.
26747 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26748 (ctype_class_new): Likewise.
26749 (ctype_map_new): Likewise.
26750 (set_one_default): Likewise.
26751 (set_class_defaults): Likewise.
26752 (translit_flatten): Likewise.
26753 (allocate_arrays): Use record_error, and record_verbose.
26754 * locale/programs/ld-identification.c: Don't include error.h.
26755 (indentation_finish): Use record_error and record_warning.
26756 * locale/programs/ld-measurement.c: Don't include error.h.
26757 (measurement_finish): Use record_error.
26758 * locale/programs/ld-messages.c
26759 (message_finish): Likewise.
26760 * locale/programs/ld-monetary.c
26761 (monetary_finish): Likewise.
26762 * locale/programs/ld-name.c (name_finish): Use record_error
26763 and record_warning.
26764 * locale/programs/ld-numeric.c
26765 (numeric_finish): Use record_error.
26766 * locale/programs/ld-paper.c: Don't include error.h.
26767 (paper_finish): Use record_error.
26768 * locale/programs/ld-telephone.c: Don't include error.h.
26769 (telephone_finish): Use record_error.
26770 * locale/programs/ld-time.c (time_finish): Likewise.
26771 * locale/programs/linereader.h (lr_error): Make inline func.
26772 * locale/programs/localedef.c: Define recorded_warning_count,
26773 and recorded_error_count.
26774 (main): Use record_error. Use recorded_error_count and
26775 recorded_warning_count to issue correct error returns.
26776 (add_to_readlist): Use record_error.
26777 (find_locale): Likewise.
26778 (load_locale): Likewise.
26779 * locale/programs/localedef.h: Remove be_quiet
26780 and WITH_CUR_LOCALE.
26781 * locale/programs/locarchive.c (compare_from_file): Use
26783 * locale/programs/locfile.c (write_locale_data): Use
26785 * locale/programs/repertoire.c: Dont include error.h.
26786 (repertoire_complain): Use record_error.
26787 * localedata/tst-fmon.sh: Expect failures from localedef.
26788 * localedata/tst-locale.sh: Likewise.
26789 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26791 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26792 (REPORTS): Likewise.
26794 (i18n): Rename to...
26795 (i18n_ctype): ...this.
26796 (i18n-report): Rename to...
26797 (i18n_ctype-report): ...this.
26798 * localedata/locales/i18n_ctype: Regenerate.
26799 * localedata/locales/i18n: copy i18n_ctype.
26801 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26803 * stdlib/strfroml.c: Include <bits/floatn.h>.
26804 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26805 Define before include of <stdlib.h> and undefine afterwards, then
26806 define as weak alias.
26808 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26809 Undefine and restore default definition. Use
26810 libm_alias_ldouble_other.
26812 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26815 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26818 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26820 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26821 Assign sym_map to be map for local symbols, as TLS relocations
26822 use sym_map to determine whether the symbol is defined and to
26823 extract the TLS information.
26824 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26827 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26830 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26831 (math_force_eval): Add powerpc version.
26834 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26836 (do_test): Likewise.
26837 * stdio-common/tst-printf.sh: Likewise.
26838 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26839 ifdef clause in order to set the carry bit right. Replace r0 by
26840 0 without changing the behavior.
26842 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26844 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26845 <libm-alias-ldouble.h>.
26846 (fabsl): Define using libm_alias_ldouble.
26847 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26848 <libm-alias-ldouble.h>.
26849 (fabsl): Define using libm_alias_ldouble.
26851 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26852 Remove conditional code.
26854 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26855 Rename to __clog10_internal_l.
26856 (__clog10_internal_l): Define aliases using
26857 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26860 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26862 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26863 * benchtests/sincosf-inputs: New file.
26864 * benchtests/cosf-inputs: New file.
26865 * benchtests/sinf-inputs: New file.
26867 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26869 * posix/tst-spawn.c (do_test): Wait for both children.
26871 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26874 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26875 tests-pie): Add tst-gmon-pie.
26876 (CFLAGS-tst-gmon-pie.c): New.
26877 (CRT-tst-gmon-pie): Likewise.
26878 (tst-gmon-pie-ENV): Likewise.
26879 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26880 ($(objpfx)tst-gmon-pie.out): Likewise.
26881 (clean-tst-gmon-pie-data): Likewise.
26882 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26883 * gmon/gmon.c [PIC]: Include <link.h>.
26884 [PIC] (callback): New function.
26885 (write_hist): Add an argument for load address. Subtract load
26887 (write_call_graph): Likewise.
26888 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26889 it to write_hist and write_call_graph.
26890 * gmon/tst-gmon-pie.c: New file.
26892 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26894 * math/Makefile (test-types-basic): New variable.
26895 (test-types): Likewise.
26896 (libm-test-support): Use $(test-types) instead of $(types).
26897 (libm-tests-base-normal): Likewise.
26898 (libm-tests-base-finite): Likewise.
26899 (libm-tests-base-inline): Likewise.
26900 (generated): Likewise.
26901 ($(objpfx)libm-test-support-$(t).c): Likewise.
26902 (libm-tests-for-type iterator): Likewise.
26903 (libm-test-support iterator): Likewise.
26904 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26905 (ulp_idx): Use ULP_IDX.
26906 * math/test-ldouble.h: Include <float.h>.
26907 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26908 (ULP_IDX): New macro.
26909 (ULP_I_IDX): Likewise.
26910 * math/test-double.h (ULP_IDX): Likewise.
26911 (ULP_I_IDX): Likewise.
26912 * math/test-float.h (ULP_IDX): Likewise.
26913 (ULP_I_IDX): Likewise.
26914 * math/test-float128.h (ULP_IDX): Likewise.
26915 (ULP_I_IDX): Likewise.
26917 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26919 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26920 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26921 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26922 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26923 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26924 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26925 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26926 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26928 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26929 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26930 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26931 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26933 (SINGLE_THREAD_BY_GLOBAL): Define.
26934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26936 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26938 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26940 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26942 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26943 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26947 2017-10-11 Andreas Schwab <schwab@suse.de>
26949 * nis/Makefile (aux): Remove.
26950 * nscd/Makefile (aux): Add nscd_hash.
26951 (nscd-modules): Likewise.
26952 ($(objpfx)nscd): Don't depend on libnsl.
26953 * nscd/nscd_hash.c: New file.
26954 * nscd/nscd_hash.h: Likewise.
26955 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26956 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26957 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26958 instead of <nis/rpcsvc/nis.h>.
26959 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26961 2017-10-11 Florian Weimer <fweimer@redhat.com>
26964 Avoid large NSS buffers with many addresses, aliases.
26965 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26966 using dynarrays and struct alloc_buffer.
26967 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26968 (tst-nss-files-hosts-multi): Link with -ldl.
26969 * nss/tst-nss-files-hosts-multi.c: New file.
26971 2017-10-11 Florian Weimer <fweimer@redhat.com>
26974 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26975 scratch_buffer. Eliminate gotos.
26977 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26979 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26980 libm_alias_ldouble_other.
26981 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26982 undefine and redefine.
26983 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26984 (exp10l): Do not define here.
26985 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26986 (weak_alias): Undefine and redefine.
26987 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26988 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26989 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26990 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26992 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26993 [!__fma] (fma): Define using libm_alias_double.
26994 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26995 [!__fmaf] (fmaf): Define using libm_alias_float.
26996 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26997 (fmal): Define using libm_alias_ldouble.
26999 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27001 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27003 (libm_alias_double_other): Likewise.
27004 (libm_alias_double_r): Use libm_alias_double_other_r.
27005 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27007 (libm_alias_float_other): Likewise.
27008 (libm_alias_float_r): Use libm_alias_float_other_r.
27009 * sysdeps/generic/libm-alias-float128.h
27010 (libm_alias_float128_other_r): New macro.
27011 (libm_alias_float128_other): Likewise.
27012 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27013 * sysdeps/generic/libm-alias-ldouble.h
27014 (libm_alias_ldouble_other_r): New macro.
27015 (libm_alias_ldouble_other): Likewise.
27016 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27017 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27018 (libm_alias_double_other_r): New macro.
27019 (libm_alias_double_other): Likewise.
27020 (libm_alias_double_r): Use libm_alias_double_other_r.
27021 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27022 (libm_alias_ldouble_other_r): New macro.
27023 (libm_alias_ldouble_other): Likewise.
27024 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27025 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27026 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27027 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27028 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27029 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27030 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27031 * math/w_exp2f.c: Use libm_alias_float_other.
27032 * math/w_expf.c: Likewise.
27033 * math/w_log2f.c: Likewise.
27034 * math/w_logf.c: Likewise.
27035 * math/w_powf.c: Likewise.
27036 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27037 [!__exp2f]: Use libm_alias_float_other.
27038 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27039 [!__expf]: Use libm_alias_float_other.
27040 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27041 [!__log2f]: Use libm_alias_float_other.
27042 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27043 [!__logf]: Use libm_alias_float_other.
27044 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27045 [!__powf]: Use libm_alias_float_other.
27047 2017-10-10 Florian Weimer <fweimer@redhat.com>
27049 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27051 (_nss_files_gethostbyname3_r): Call it.
27053 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27055 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27056 error. Remove default definition of declare_mgen_alias.
27057 [!declare_mgen_alias_r]: Likewise.
27058 * sysdeps/generic/math-type-macros-double.h
27059 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27060 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27061 (declare_mgen_alias_r): Likewise.
27062 * sysdeps/generic/math-type-macros-float128.h
27063 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27064 * sysdeps/generic/math-type-macros-ldouble.h
27065 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27066 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27068 (declare_mgen_alias_r_s): Likewise.
27069 (declare_mgen_alias_r): Likewise.
27070 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27071 (lgamma_r): Define using libm_alias_double_r.
27072 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27073 (lgammaf_r): Define using libm_alias_float_r.
27074 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27075 (lgammal_r): Define using libm_alias_ldouble_r.
27076 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27077 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27079 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27081 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27082 extern declaration.
27084 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27086 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27088 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27091 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27092 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27093 * math/Makefile (test-math-cxx11): New test.
27094 * math/test-math-cxx11.cc: New file.
27096 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27098 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27100 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27101 call to allocate the slave pty file descriptor.
27103 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27105 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27106 [!__fma] (fma): Define using libm_alias_double.
27107 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27108 [!__fma] (fma): Define using libm_alias_double.
27110 * sysdeps/ieee754/float128/float128_private.h: Include
27111 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27112 (libm_alias_ldouble_r): Undefine and redefine.
27113 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27114 <libm-alias-ldouble.h>.
27115 (asinhl): Define using libm_alias_ldouble.
27116 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27117 <libm-alias-ldouble.h>.
27118 (atanl): Define using libm_alias_ldouble.
27119 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27120 <libm-alias-ldouble.h>.
27121 (cbrtl): Define using libm_alias_ldouble.
27122 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27123 <libm-alias-ldouble.h>.
27124 (ceill): Define using libm_alias_ldouble.
27125 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27126 <libm-alias-ldouble.h>.
27127 (copysignl): Define using libm_alias_ldouble.
27128 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27129 <libm-alias-ldouble.h>.
27130 (cosl): Define using libm_alias_ldouble.
27131 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27132 <libm-alias-ldouble.h>.
27133 (erfl): Define using libm_alias_ldouble.
27135 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27136 <libm-alias-ldouble.h>.
27137 (expm1l): Define using libm_alias_ldouble.
27138 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27139 <libm-alias-ldouble.h>.
27140 (fabsl): Define using libm_alias_ldouble.
27141 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27142 <libm-alias-ldouble.h>.
27143 (floorl): Define using libm_alias_ldouble.
27144 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27145 <libm-alias-ldouble.h>.
27146 (fmal): Define using libm_alias_ldouble.
27147 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27148 <libm-alias-ldouble.h>.
27149 (frexpl): Define using libm_alias_ldouble.
27150 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27151 libm_alias_ldouble.
27152 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27153 <libm-alias-ldouble.h>.
27154 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27155 libm_alias_ldouble.
27156 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27157 <libm-alias-ldouble.h>.
27158 (getpayloadl): Define using libm_alias_ldouble.
27159 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27160 <libm-alias-ldouble.h>.
27161 (llrintl): Define using libm_alias_ldouble.
27162 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27163 <libm-alias-ldouble.h>.
27164 (llroundl): Define using libm_alias_ldouble.
27165 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27166 <libm-alias-ldouble.h>.
27167 (logbl): Define using libm_alias_ldouble.
27168 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27169 <libm-alias-ldouble.h>.
27170 (lrintl): Define using libm_alias_ldouble.
27171 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27172 <libm-alias-ldouble.h>.
27173 (lroundl): Define using libm_alias_ldouble.
27174 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27175 <libm-alias-ldouble.h>.
27176 (modfl): Define using libm_alias_ldouble.
27177 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27178 <libm-alias-ldouble.h>.
27179 (nearbyintl): Define using libm_alias_ldouble.
27180 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27181 <libm-alias-ldouble.h>.
27182 (nextafterl): Define using libm_alias_ldouble.
27183 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27184 <libm-alias-ldouble.h>.
27185 (nextupl): Define using libm_alias_ldouble.
27186 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27187 <libm-alias-ldouble.h>.
27188 (remquol): Define using libm_alias_ldouble.
27189 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27190 <libm-alias-ldouble.h>.
27191 (rintl): Define using libm_alias_ldouble.
27192 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27193 <libm-alias-ldouble.h>.
27194 (roundevenl): Define using libm_alias_ldouble.
27195 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27196 <libm-alias-ldouble.h>.
27197 (roundl): Define using libm_alias_ldouble.
27198 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27199 using libm_alias_ldouble.
27200 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27201 <libm-alias-ldouble.h>.
27202 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27203 Define using libm_alias_ldouble.
27204 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27205 <libm-alias-ldouble.h>.
27206 (sincosl): Define using libm_alias_ldouble.
27207 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27208 <libm-alias-ldouble.h>.
27209 (sinl): Define using libm_alias_ldouble.
27210 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27211 <libm-alias-ldouble.h>.
27212 (tanhl): Define using libm_alias_ldouble.
27213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27214 <libm-alias-ldouble.h>.
27215 (tanl): Define using libm_alias_ldouble.
27216 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27217 <libm-alias-ldouble.h>.
27218 (totalorderl): Define using libm_alias_ldouble.
27219 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27220 <libm-alias-ldouble.h>.
27221 (totalordermagl): Define using libm_alias_ldouble.
27222 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27223 <libm-alias-ldouble.h>.
27224 (truncl): Define using libm_alias_ldouble.
27225 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27226 libm_alias_ldouble.
27227 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27228 libm_alias_ldouble.
27229 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27230 <libm-alias-ldouble.h>.
27231 (weak_alias): Do not undefine and redefine.
27232 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27233 (copysignl): Define with long_double_symbol only if [IS_IN
27235 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27236 <libm-alias-ldouble.h>.
27237 (weak_alias): Do not undefine and redefine.
27238 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27239 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27240 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27241 <libm-alias-ldouble.h>.
27242 (weak_alias): Do not undefine and redefine.
27243 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27244 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27245 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27246 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27249 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27252 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27255 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27262 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27270 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27273 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27274 (tcache_thread_freeres): Set tcache_shutting_down before
27275 freeing the tcache.
27276 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27277 * malloc/tst-malloc-tcache-leak.c: New file.
27279 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27281 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27282 back to powerpc32 file.
27283 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27284 (memrchr): Add __memrchr_power8 to ifunc list.
27285 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27286 extra bytes for unaligned inputs.
27288 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27290 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27291 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27293 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27296 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27298 * sysdeps/arm/libm-test-ulps: Update.
27300 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27301 <libm-alias-ldouble.h>.
27302 (asinhl): Define using libm_alias_ldouble.
27303 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27304 <libm-alias-ldouble.h>.
27305 (cbrtl): Define using libm_alias_ldouble.
27306 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27307 <libm-alias-ldouble.h>.
27308 (copysignl): Define using libm_alias_ldouble.
27309 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27310 <libm-alias-ldouble.h>.
27311 (cosl): Define using libm_alias_ldouble.
27312 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27313 <libm-alias-ldouble.h>.
27314 (erfl): Define using libm_alias_ldouble.
27316 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27317 <libm-alias-ldouble.h>.
27318 (fmal): Define using libm_alias_ldouble.
27319 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27320 <libm-alias-ldouble.h>.
27321 (frexpl): Define using libm_alias_ldouble.
27322 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27323 libm_alias_ldouble.
27324 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27325 <libm-alias-ldouble.h>.
27326 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27327 libm_alias_ldouble.
27328 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27329 <libm-alias-ldouble.h>.
27330 (getpayloadl): Define using libm_alias_ldouble.
27331 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27332 <libm-alias-ldouble.h>.
27333 (llrintl): Define using libm_alias_ldouble.
27334 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27335 <libm-alias-ldouble.h>.
27336 (llroundl): Define using libm_alias_ldouble.
27337 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27338 <libm-alias-ldouble.h>.
27339 (lrintl): Define using libm_alias_ldouble.
27340 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27341 <libm-alias-ldouble.h>.
27342 (lroundl): Define using libm_alias_ldouble.
27343 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27344 <libm-alias-ldouble.h>.
27345 (modfl): Define using libm_alias_ldouble.
27346 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27347 <libm-alias-ldouble.h>.
27348 (nextupl): Define using libm_alias_ldouble.
27349 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27350 <libm-alias-ldouble.h>.
27351 (remquol): Define using libm_alias_ldouble.
27352 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27353 <libm-alias-ldouble.h>.
27354 (roundevenl): Define using libm_alias_ldouble.
27355 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27356 <libm-alias-ldouble.h>.
27357 (roundl): Define using libm_alias_ldouble.
27358 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27359 using libm_alias_ldouble.
27360 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27361 <libm-alias-ldouble.h>.
27362 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27363 <libm-alias-ldouble.h>.
27364 (setpayloadsigl): Define using libm_alias_ldouble.
27365 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27366 <libm-alias-ldouble.h>.
27367 (sincosl): Define using libm_alias_ldouble.
27368 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27369 <libm-alias-ldouble.h>.
27370 (sinl): Define using libm_alias_ldouble.
27371 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27372 <libm-alias-ldouble.h>.
27373 (tanhl): Define using libm_alias_ldouble.
27374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27375 <libm-alias-ldouble.h>.
27376 (tanl): Define using libm_alias_ldouble.
27377 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27378 <libm-alias-ldouble.h>.
27379 (totalorderl): Define using libm_alias_ldouble.
27380 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27381 <libm-alias-ldouble.h>.
27382 (totalordermagl): Define using libm_alias_ldouble.
27383 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27384 libm_alias_ldouble.
27385 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27386 libm_alias_ldouble.
27388 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27390 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27392 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27393 (__libc_ifunc_impl_list): Likewise.
27394 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27395 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27397 * benchtests/bench-memmove-walk.c: New file.
27398 * benchtests/Makefile (string-benchset): Add it.
27400 * benchtests/bench-memset-walk.c: New file.
27401 * benchtests/Makefile (string-benchset): Add it.
27403 * benchtests/bench-memcpy-walk.c: New file.
27404 * benchtests/Makefile (string-benchset): Add it.
27406 2017-10-05 Florian Weimer <fweimer@redhat.com>
27408 nscd: Eliminate compilation time dependency in the build output.
27409 * nscd/nscd_stat.c (STATDATA_VERSION)
27410 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27411 (STATDATA_VERSION_FULL): New macro definitions.
27412 (compilation): Remove.
27413 (struct statdata): Adjust version member.
27414 (send_stats): Set version from STATDATA_VERSION_FULL.
27415 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27417 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27419 * configure.ac (--enable-add-ons): Remove option.
27420 (machine): Do not mention add-ons in comment.
27421 (LIBC_PRECONFIGURE): Likewise.
27422 (add_ons): Remove variable and sanity checks and logic to locate
27424 (add_ons_automatic): Remove variable.
27425 (configured_add_ons): Likewise.
27426 (add_ons_sfx): Likewise.
27427 (add_ons_pfx): Likewise.
27428 (add_on_subdirs): Likewise.
27429 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27430 consideration of add-ons in Implies handling.
27431 (sysdeps_add_ons): Likewise.
27432 * configure: Regenerated.
27433 * libidn/configure.ac: Remove.
27434 * libidn/configure: Likewise.
27435 * sysdeps/unix/inet/configure.ac: New file.
27436 * sysdeps/unix/inet/configure: New generated file.
27437 * sysdeps/unix/inet/Subdirs: Add libidn.
27438 * Makeconfig (sysdeps-srcdirs): Remove variable.
27439 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27440 ($(common-objpfx)config.status): Do not depend on add-on files.
27441 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27443 (all-subdirs): Do not include $(add-on-subdirs).
27444 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27445 * config.make.in (add-ons): Remove variable.
27446 (add-on-subdirs): Likewise.
27447 (sysdeps-add-ons): Likewise.
27448 * manual/Makefile (add-chapters): Remove.
27449 ($(objpfx)texis): Do not depend on $(add-chapters).
27450 (nonexamples): Do not handle $(add-chapters).
27451 (examples): Do not handle $(add-ons).
27452 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27454 * manual/install.texi (Installation): Do not mention add-ons.
27455 (--enable-add-ons): Do not document configure option.
27456 * INSTALL: Regenerated.
27457 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27458 * manual/maint.texi (Hierarchy Conventions): Do not mention
27460 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27462 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27464 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27465 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27467 2017-10-05 Andreas Schwab <schwab@suse.de>
27470 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27471 (_IO_flush_all_lockp): Always lock list_all_lock.
27472 (_IO_flush_all_linebuffered): Likewise.
27473 (_IO_unbuffer_all): Likewise.
27475 2017-10-05 Florian Weimer <fweimer@redhat.com>
27478 Do not flush stdio streams on abort.
27479 * stdlib/abort.c (fflush): Remove macro definition.
27480 (abort): Remove stages related to stdio flushing.
27482 2017-10-05 Florian Weimer <fweimer@redhat.com>
27484 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27486 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27488 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27490 2017-10-05 Florian Weimer <fweimer@redhat.com>
27492 * support/support_format_hostent.c (support_format_hostent): Add
27493 more error information for NETDB_INTERNAL.
27495 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27497 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27498 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27499 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27500 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27501 AC_DEFINE if multi-arch is enabled.
27502 * sysdeps/i386/configure: Regenerated.
27504 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27506 * Makeconfig (+link-static-before-libc): Use
27507 $(DEFAULT-LDFLAGS-$(@F)).
27508 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27509 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27510 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27512 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27514 * elf/Makefile (tests): Add tst-main1.
27515 (modules-names): Add tst-main1mod.
27516 ($(objpfx)tst-main1): New.
27517 (CRT-tst-main1): Likewise.
27518 (LDFLAGS-tst-main1): Likewise.
27519 (LDLIBS-tst-main1): Likewise.
27520 (tst-main1mod.so-no-z-defs): Likewise.
27521 * elf/tst-main1.c: New file.
27522 * elf/tst-main1mod.c: Likewise.
27524 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27526 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27528 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27530 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27531 (fma): Define using libm_alias_double.
27532 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27533 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27535 (fmal): Do not define as compat symbol here.
27536 * sysdeps/alpha/fpu/s_fma.c: New file.
27538 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27540 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27542 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27545 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27547 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27549 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27550 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27551 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27552 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27554 Include <math_ldbl_opt.h>
27555 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27557 (compat_symbol): Undefine and redefine.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27560 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27561 (compat_symbol): Undefine and redefine.
27562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27563 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27564 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27565 GLIBC_2_1 for libm.
27566 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27567 GLIBC_2.0 copysignl symbol.
27568 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27569 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27571 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27573 2017-10-04 Florian Weimer <fweimer@redhat.com>
27575 * scripts/check-local-headers.sh: Ignore nspr4 header file
27576 directory in addition to nspr.
27578 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27581 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27582 * configure: Regenerate.
27583 * crypt/Makefile (nss-cpp-flags): New variable.
27584 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27585 (CPPFLAGS-md5-crypt.c): Use it.
27586 * scripts/check-local-headers.sh: Ignore nspr header file
27589 2017-10-04 Andreas Schwab <schwab@suse.de>
27591 * nis/Makefile (services): Remove compat.
27592 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27593 ($(objpfx)libnss_compat.so): Remove rule.
27594 * nis/Versions (libnss_compat): Remove.
27595 * nss/Makefile (services): Add compat.
27596 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27597 * nss/Versions (libnss_compat): Define.
27598 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27599 Don't include <rpc/types.h>. Replace bool_t by bool.
27600 * nss/nss_compat/compat-initgroups.c: Likewise.
27601 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27602 instead of <rpcsrv/ypclnt.h>.
27603 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27604 yp_get_default_domain.
27605 * nss/nss_compat/compat-pwd.c: Likewise.
27606 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27607 yp_get_default_domain.
27608 * nss/nss_compat/nisdomain.c: New file.
27609 * nss/nss_compat/nisdomain.h: Likewise.
27611 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27614 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27615 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27617 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27620 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27621 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27623 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27625 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27626 "movl main@GOTOFF(%ebx), %eax".
27628 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27630 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27631 allow undefined _DYNAMIC in PIE libc.a.
27632 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27635 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27637 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27640 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27642 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27645 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27647 * math/test-math-iscanonical.cc (error): Replace bool with int.
27649 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27651 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27652 (modf): Define using libm_alias_double, only if [!__modf].
27653 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27654 <libm-alias-double.h>.
27655 (modf): Define using libm_alias_double, only if [!__modf].
27656 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27657 compat symbol here.
27658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27659 (weak_alias): Do not undefine and redefine.
27660 (strong_alias): Likewise.
27661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27662 (weak_alias): Likewise.
27663 (strong_alias): Likewise.
27665 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27666 (logb): Define using libm_alias_double, only if [!__logb].
27667 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27668 <libm-alias-double.h>.
27669 (logb): Define using libm_alias_double, only if [!__logb].
27670 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27672 (weak_alias): Do not undefine and redefine.
27673 (strong_alias): Likewise.
27674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27675 (weak_alias): Likewise.
27676 (strong_alias): Likewise.
27678 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27680 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27681 Check SHARED instead PIC.
27683 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27685 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27686 [!__fmaf] (fmaf): Define using libm_alias_float.
27688 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27689 (frexp): Define using libm_alias_double.
27690 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27691 <libm-alias-double.h>.
27692 (frexp): Define using libm_alias_double.
27693 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27694 compat symbol here.
27696 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27699 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27700 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27701 (CFLAGS-test-math-iscanonical.cc): New variable.
27702 * math/test-math-iscanonical.cc: New file.
27703 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27704 Provide a C++ implementation based on function overloading,
27705 rather than using __MATH_TG, which uses C-only builtins.
27706 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27708 * sysdeps/powerpc/powerpc64le/Makefile
27709 (CFLAGS-test-math-iscanonical.cc): New variable.
27711 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27713 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27714 (ceil): Define using libm_alias_double.
27715 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27716 (floor): Define using libm_alias_double.
27717 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27718 <libm-alias-double.h>.
27719 (llround): Define using libm_alias_double.
27720 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27721 <libm-alias-double.h>.
27722 (lround): Define using libm_alias_double.
27723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27724 <libm-alias-double.h>.
27725 (nearbyint): Define using libm_alias_double.
27726 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27727 <libm-alias-double.h>.
27728 (remquo): Define using libm_alias_double.
27729 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27730 (rint): Define using libm_alias_double.
27731 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27732 (round): Define using libm_alias_double.
27733 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27734 (trunc): Define using libm_alias_double.
27735 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27736 <libm-alias-double.h>.
27737 (ceil): Define using libm_alias_double.
27738 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27739 <libm-alias-double.h>.
27740 (floor): Define using libm_alias_double.
27741 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27742 <libm-alias-double.h>.
27743 (llround): Define using libm_alias_double.
27744 [_LP64] (lround): Likewise.
27745 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27746 <libm-alias-double.h>.
27747 [!_LP64] (lround): Define using libm_alias_double.
27748 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27749 <libm-alias-double.h>.
27750 (nearbyint): Define using libm_alias_double.
27751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27752 <libm-alias-double.h>.
27753 (remquo): Define using libm_alias_double.
27754 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27755 <libm-alias-double.h>.
27756 (rint): Define using libm_alias_double.
27757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27758 <libm-alias-double.h>.
27759 (round): Define using libm_alias_double.
27760 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27761 <libm-alias-double.h>.
27762 (trunc): Define using libm_alias_double.
27763 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27764 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27765 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27766 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27767 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27768 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27769 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27770 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27771 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27773 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27775 * math/w_remainder.c: New file.
27776 * math/w_remainderf.c: New file.
27777 * math/w_remainderl.c: New file.
27779 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27781 * elf/rtld.c (BOOTSTRAP_MAP): New.
27782 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27783 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27785 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27787 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27790 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27792 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27793 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27794 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27795 rtld_hidden_data_ver): Define to empty.
27796 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27797 __assert_perror_fail): Likewise.
27798 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27799 (__rewinddir): Likewise.
27800 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27801 (__profile_frequency): Likewise.
27802 * include/setjmp.h (__sigsetjmp): Likewise.
27803 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27804 __libc_sigaction): Likewise.
27805 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27806 not set hidden attribute.
27807 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27808 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27809 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27810 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27811 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27812 __fxstatat64): Likewise.
27813 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27814 (__uname): Likewise.
27815 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27816 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27817 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27818 (NO_RTLD_HIDDEN): Set.
27819 * sysdeps/mach/hurd/configure: Refresh.
27820 * config.h.in: Refresh.
27822 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27824 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27825 (atan): Define using libm_alias_double.
27826 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27827 (tan): Define using libm_alias_double.
27828 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27829 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27831 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27832 define as weak alias of __atan. Do not define any aliases if
27834 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27835 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27836 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27837 as weak alias of __tan. Do not define any aliases if [__tan].
27838 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27839 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27840 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27842 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27843 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27844 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27845 and define as weak alias of __atan.
27846 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27848 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27850 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27851 define as weak alias of __tan.
27853 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27855 * math/w_lgamma.c: New file.
27856 * math/w_lgammaf.c: New file.
27857 * math/w_lgammal.c: New file.
27859 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27861 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27862 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27863 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27864 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27865 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27866 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27867 * sysdeps/i386/fpu/w_log2f.c: New file.
27868 * sysdeps/i386/fpu/w_logf.c: New file.
27869 * sysdeps/i386/fpu/w_powf.c: New file.
27870 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27871 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27872 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27874 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27875 H.J. Lu <hongjiu.lu@intel.com>
27877 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27878 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27879 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27880 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27881 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27883 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27884 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27885 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27886 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27887 * sysdeps/i386/fpu/w_exp2f.c: New file.
27888 * sysdeps/i386/fpu/w_expf.c: New file.
27889 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27890 * sysdeps/x86_64/fpu/w_expf.c: New file.
27892 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27894 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27897 * math/w_log2f.c: New file.
27898 * math/w_logf.c: New file.
27899 * math/w_powf.c: New file.
27900 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27901 * math/w_logf_compat.c (__logf_compat): Likewise.
27902 * math/w_powf_compat.c (__powf_compat): Likewise.
27903 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27904 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27905 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27906 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27907 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27908 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27909 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27910 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27911 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27912 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27913 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27914 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27915 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27916 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27917 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27926 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27927 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27928 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27929 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27930 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27935 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27936 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27937 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27939 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27941 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27942 (sysdep_routines): Add memrchr_power8.
27943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27944 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27945 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27947 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27948 (memrchr): Add __memrchr_power8 to ifunc list.
27949 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27954 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27955 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27957 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27958 (__posix_fallocate64_l64): Likewise.
27960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27963 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27964 (__sched_setaffinity_new): Add libc_hidden_proto and
27967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27970 * include/glob.h (__glob64): Add libc_hidden_proto.
27971 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27977 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27983 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27988 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27994 * csu/version.c (__libc_print_version): Add attribute_hidden.
27996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27999 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28004 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28009 * nscd/nscd_helper.c (__nis_hash): New prototype.
28011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28014 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28015 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28017 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28018 * termios/tcgetattr.c (__tcgetattr): Likewise.
28020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28023 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28024 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28025 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28026 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28027 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28032 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28037 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28038 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28040 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28043 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28048 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28049 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28054 * include/ifreq.h: New file.
28055 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28056 (__ifreq): Likewise.
28057 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28058 (__ifreq): Likewise.
28060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28063 * include/idna.h: New file.
28064 * inet/getnameinfo.c: Include <idna.h> instead of
28066 (__idna_to_unicode_lzlz): Removed.
28067 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28069 (__idna_to_ascii_lz): Removed.
28070 (__idna_to_unicode_lzlz): Likewise.
28072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28075 * include/plural-exp.h: New file.
28076 * intl/plural-exp.c: Include <plural-exp.h> instead of
28079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28082 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28083 "getsourcefilter.h".
28084 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28085 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28086 "getsourcefilter.h".
28087 (__get_sol): Removed.
28089 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28092 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28094 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28099 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28102 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28105 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28107 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28110 * include/search.h (__tdestroy): Add libc_hidden_proto.
28111 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28116 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28121 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28124 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28127 * include/signal.h (__kill): Add libc_hidden_proto.
28128 (__sigblock): Likewise.
28129 (__sigprocmask): Likewise.
28130 (__sigaltstack): Likewise.
28131 * signal/kill.c (__kill): Add libc_hidden_def.
28132 * signal/sigblock.c (__sigblock): Likewise.
28133 * signal/sigprocmask.c (__sigprocmask): Likewise.
28134 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28135 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28136 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28137 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28138 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28140 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28142 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28143 (__sigprocmask): Likewise.
28144 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28146 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28147 (__sigprocmask): Likewise.
28148 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28154 * include/string.h (__strsep): Add libc_hidden_proto.
28155 * string/strsep.c (__strsep): Add libc_hidden_def.
28157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28160 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28162 (__spawni): Likewise.
28164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28167 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28168 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28174 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28179 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28180 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28181 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28182 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28183 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28185 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28186 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28191 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28192 (__dcigettext): Likewise.
28194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28197 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28199 (__get_nprocs): Likewise.
28200 (__get_phys_pages): Likewise.
28201 (__get_avphys_pages): Likewise.
28202 (__get_child_max): Add attribute_hidden.
28203 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28204 (__get_nprocs): Likewise.
28205 (__get_phys_pages): Likewise.
28206 (__get_avphys_pages): Likewise.
28207 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28209 (__get_nprocs): Likewise.
28210 (__get_phys_pages): Likewise.
28211 (__get_avphys_pages): Likewise.
28212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28214 (__get_nprocs_conf): Likewise.
28215 (__get_phys_pages): Likewise.
28216 (__get_avphys_pages): Likewise.
28218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28221 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28223 (__netlink_close): Likewise.
28224 (__netlink_free_handle): Likewise.
28225 (__netlink_request): Likewise.
28227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28230 * include/rpc/rpc.h (__rpc_thread_variables): Add
28232 (__rpc_thread_svc_cleanup): Likewise.
28233 (__rpc_thread_clnt_cleanup): Likewise.
28234 (__rpc_thread_key_cleanup): Likewise.
28236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28239 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28240 (__writev): Likewise.
28241 * misc/readv.c (__readv): Add libc_hidden_def.
28242 * misc/writev.c (__writev): Likewise.
28243 * sysdeps/posix/readv.c (__readv): Likewise.
28244 * sysdeps/posix/writev.c (__writev): Likewise.
28245 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28246 (__readv): Likewise.
28247 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28248 (__writev): Likewise.
28250 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28253 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28254 (__regcomp): Add libc_hidden_proto.
28255 (__regexec): Likewise.
28256 (__regfree): Likewise.
28257 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28258 (__regfree): Likewise.
28259 * posix/regexec.c (__regexec): Likewise.
28261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28264 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28265 (__getutent): Likewise.
28266 (__getutid): Likewise.
28267 (__getutline): Likewise.
28268 (__pututline): Likewise.
28269 (__getutent_r): Likewise.
28270 (__getutid_r): Likewise.
28271 (__getutline_r): Likewise.
28272 (__utmpname): Add attribute_hidden.
28273 (__setutent): Likewise.
28274 (__endutent): Likewise.
28275 * login/getutent.c (__getutent): Add libc_hidden_def.
28276 * login/getutent_r.c (__getutent_r): Likewise.
28277 (__pututline): Likewise.
28278 * login/getutid.c (__getutid): Likewise.
28279 * login/getutid_r.c (__getutid_r): Likewise.
28280 * login/getutline.c (__getutline): Likewise.
28281 * login/getutline_r.c (__getutline_r): Likewise.
28282 * login/updwtmp.c (__updwtmp): Likewise.
28284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28287 * include/dirent.h (__opendir): Always add attribute_hidden.
28288 (__fdopendir): Likewise.
28289 (__closedir): Likewise.
28290 (__readdir): Likewise.
28291 (__readdir64): Add libc_hidden_proto.
28292 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28293 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28294 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28295 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28298 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28301 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28302 * include/netdb.h (__gethostbyaddr_r): Likewise.
28303 (__gethostbyname_r): Likewise.
28304 (__gethostbyname2_r): Likewise.
28305 (__getnetbyaddr_r): Likewise.
28306 (__getnetbyname_r): Likewise.
28307 (__getservbyname_r): Likewise.
28308 (__getservbyport_r): Likewise.
28309 (__getprotobyname_r): Likewise.
28310 (__getprotobynumber_r): Likewise.
28311 (__getnetgrent_r): Likewise.
28312 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28313 (__getrpcbynumber_r): Likewise.
28314 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28319 * include/stdio.h (__fcloseall): Add attribute_hidden.
28320 (__getline): Likewise.
28321 (__path_search): Likewise.
28322 (__gen_tempname): Likewise.
28323 (__libc_message): Likewise.
28324 (__flockfile): Likewise.
28325 (__funlockfile): Likewise.
28326 (__fxprintf): Likewise.
28327 (__fxprintf_nocancel): Likewise.
28329 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28332 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28333 (__sgetsgent_r): Likewise.
28335 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28338 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28339 (__statfs64): Likewise.
28340 (__fstatfs64): Likewise.
28341 * include/sys/statvfs.h (__statvfs64): Likewise.
28342 (__fstatvfs64): Likewise.
28343 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28344 (__statfs_filesize_max): Likewise.
28345 (__statfs_symlinks): Likewise.
28346 (__statfs_chown_restricted): Likewise.
28348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28351 * include/time.h (__tzstring): Add attribute_hidden.
28352 (__tzfile_read): Likewise.
28353 (__tzfile_compute): Likewise.
28354 (__tzfile_default): Likewise.
28355 (__tzset_parse_tz): Likewise.
28356 (__offtime): Likewise.
28357 (__asctime_r): Likewise.
28358 (__tzset): Likewise.
28359 (__tz_convert): Likewise.
28360 (__getdate_r): Likewise.
28361 (__getclktck): Likewise.
28363 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28366 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28367 (__nscd_unmap): Likewise.
28368 (__nscd_cache_search): Likewise.
28369 (__nscd_get_nl_timestamp): Likewise.
28370 (__nscd_getpwnam_r): Likewise.
28371 (__nscd_getpwuid_r): Likewise.
28372 (__nscd_getgrnam_r): Likewise.
28373 (__nscd_getgrgid_r): Likewise.
28374 (__nscd_gethostbyname_r): Likewise.
28375 (__nscd_gethostbyname2_r): Likewise.
28376 (__nscd_gethostbyaddr_r): Likewise.
28377 (__nscd_getai): Likewise.
28378 (__nscd_getgrouplist): Likewise.
28379 (__nscd_getservbyname_r): Likewise.
28380 (__nscd_getservbyport_r): Likewise.
28381 (__nscd_innetgr): Likewise.
28382 (__nscd_setnetgrent): Likewise.
28384 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28387 * include/gmp.h: Declare internal functions only if _ISOMAC is
28389 (__mpn_extract_double): Add attribute_hidden.
28390 (__mpn_extract_long_double): Likewise.
28391 (__mpn_extract_float128): Likewise.
28392 (__mpn_construct_float): Likewise.
28393 (__mpn_construct_double): Likewise.
28394 (__mpn_construct_long_double): Likewise.
28395 (__mpn_construct_float128): Likewise.
28396 (mpn_add_1): Likewise.
28397 (mpn_addmul_1): Likewise.
28398 (mpn_add_n): Likewise.
28399 (mpn_cmp): Likewise.
28400 (mpn_divrem): Likewise.
28401 (mpn_lshift): Likewise.
28402 (mpn_mul): Likewise.
28403 (mpn_mul_1): Likewise.
28404 (mpn_rshift): Likewise.
28405 (mpn_sub_1): Likewise.
28406 (mpn_submul_1): Likewise.
28407 (mpn_sub_n): Likewise.
28409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28412 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28413 (__wcscat): Likewise.
28414 (__btowc): Likewise.
28415 (__wcrtomb): Likewise.
28416 (__mbsrtowcs): Likewise.
28417 (__wcsrtombs): Likewise.
28418 (__mbsnrtowcs): Likewise.
28419 (__wcsnrtombs): Likewise.
28420 (__wcsncpy): Likewise.
28421 (__wcpncpy): Likewise.
28422 (__wmemcpy): Likewise.
28423 (__wmempcpy): Likewise.
28424 (__wmemmove): Likewise.
28425 (__wcschrnul): Likewise.
28426 (__vfwscanf): Likewise.
28427 (__vswprintf): Likewise.
28428 (__fwprintf): Likewise.
28429 (__vfwprintf): Likewise.
28431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28434 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28435 (__getgrgid_r): Likewise.
28436 (__getgrnam_r): Likewise.
28437 * include/pwd.h (__getpwuid_r): Likewise.
28438 (__getpwnam_r): Likewise.
28439 (__fgetpwent_r): Likewise.
28440 * include/shadow.h (__getspnam_r): Likewise.
28441 (__sgetspent_r): Likewise.
28442 (__fgetspent_r): Likewise.
28444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28447 * include/unistd.h (__access): Add attribute_hidden.
28448 (__lseek64): Likewise.
28449 (__libc_pread64): Likewise.
28450 (__pipe2): Likewise.
28451 (__sleep): Likewise.
28452 (__chdir): Likewise.
28453 (__fchdir): Likewise.
28454 (__getcwd): Likewise.
28455 (__rmdir): Likewise.
28456 (__execvpe): Likewise.
28457 (__execve): Likewise.
28458 (__setsid): Likewise.
28459 (__getuid): Likewise.
28460 (__geteuid): Likewise.
28461 (__getgid): Likewise.
28462 (__getegid): Likewise.
28463 (__getgroups): Likewise.
28464 (__group_member): Likewise.
28465 (__ttyname_r): Likewise.
28466 (__isatty): Likewise.
28467 (__readlink): Likewise.
28468 (__unlink): Likewise.
28469 (__gethostname): Likewise.
28470 (__profil): Likewise.
28471 (__getdtablesize): Likewise.
28473 (__ftruncate): Likewise.
28474 (__ftruncate64): Likewise.
28476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28479 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28480 * argp/argp-fs-xinl.c: Likewise.
28481 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28482 * argp/argp-parse.c: Include <argp.h>.
28483 * argp/argp-xinl.c: Likewise.
28484 * include/argp-fmtstream.h: New file.
28485 * include/argp.h (__argp_error): Add attribute_hidden.
28486 (__argp_failure): Likewise.
28487 (__argp_input): Likewise.
28488 (__argp_state_help): Likewise.
28490 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28493 * include/wchar.h (____wcstof_l_internal): New prototype.
28494 (____wcstod_l_internal): Likewise.
28495 (____wcstold_l_internal): Likewise.
28496 (____wcstol_l_internal): Likewise.
28497 (____wcstoul_l_internal): Likewise.
28498 (____wcstoll_l_internal): Likewise.
28499 (____wcstoull_l_internal): Likewise.
28500 (____wcstof128_l_internal): Likewise.
28501 * sysdeps/ieee754/float128/wcstof128.c
28502 (____wcstof128_l_internal): Removed.
28503 * sysdeps/ieee754/float128/wcstof128_l.c
28504 (____wcstof128_l_internal): Likewise.
28505 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28506 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28507 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28508 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28509 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28510 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28511 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28512 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28513 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28514 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28519 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28520 instead of <sys/statvfs.h>.
28521 (__internal_statvfs): Removed.
28522 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28523 instead of <sys/statvfs.h>.
28524 (__internal_statvfs64): Removed.
28525 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28526 "internal_statvfs.h" instead of <sys/statvfs.h>.
28527 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28528 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28529 instead of <sys/statvfs.h>.
28530 (__internal_statvfs): Removed.
28531 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28532 instead of <sys/statvfs.h>.
28533 (__internal_statvfs64): Removed.
28535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28538 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28539 (__gconv_close): Likewise.
28540 (__gconv): Likewise.
28541 (__gconv_find_transform): Likewise.
28542 (__gconv_lookup_cache): Likewise.
28543 (__gconv_compare_alias_cache): Likewise.
28544 (__gconv_load_cache): Likewise.
28545 (__gconv_get_path): Likewise.
28546 (__gconv_close_transform): Likewise.
28547 (__gconv_release_cache): Likewise.
28548 (__gconv_find_shlib): Likewise.
28549 (__gconv_release_shlib): Likewise.
28550 (__gconv_get_builtin_trans): Likewise.
28551 (__gconv_compare_alias): Likewise.
28552 * include/dlfcn.h (_dlerror_run): Likewise.
28553 * include/stdio.h (__fortify_fail_abort): Likewise.
28554 * include/time.h (__tz_compute): Likewise.
28555 (__strptime_internal): Likewise.
28556 * intl/gettextP.h (_nl_find_domain): Likewise.
28557 (_nl_load_domain): Likewise.
28558 (_nl_find_msg): Likewise.
28559 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28560 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28561 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28562 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28563 (__gai_find_request): Likewise.
28564 (__gai_remove_request): Likewise.
28565 (__gai_notify): Likewise.
28566 (__gai_notify_only): Likewise.
28567 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28568 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28569 (_dl_non_dynamic_init): Likewise.
28570 (_dl_aux_init): Likewise.
28571 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28572 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28574 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28575 (__wcsmbs_clone_conv): Likewise.
28576 (__wcsmbs_named_conv): Likewise.
28578 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28581 * include/stdlib.h (__random): Add attribute_hidden.
28582 (__random_r): Likewise.
28583 (__srandom_r): Likewise.
28584 (__initstate_r): Likewise.
28585 (__setstate_r): Likewise.
28586 (__erand48_r): Likewise.
28587 (__nrand48_r): Likewise.
28588 (__jrand48_r): Likewise.
28589 (__srand48_r): Likewise.
28590 (__seed48_r): Likewise.
28591 (__lcong48_r): Likewise.
28592 (__drand48_iterate): Likewise.
28593 (__setenv): Likewise.
28594 (__unsetenv): Likewise.
28595 (__clearenv): Likewise.
28596 (__ptsname_r): Likewise.
28597 (__posix_openpt): Likewise.
28598 (__add_to_environ): Likewise.
28599 (__realpath): Add libc_hidden_proto.
28600 (__ecvt_r): Likewise.
28601 (__fcvt_r): Likewise.
28602 (__qecvt_r): Likewise.
28603 (__qfcvt_r): Likewise.
28604 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28605 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28607 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28610 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28611 * include/time.h (__mktime_internal): Likewise.
28612 * libio/iolibio.h (__fopen_internal): Likewise.
28614 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28616 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28618 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28619 Correct offset used to restore PIC register.
28621 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28624 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28625 code to load address of __getcontext_ret when generating PIC code.
28627 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28629 * elf/Makefile (tests-static-internal): Add
28630 tst-tls1-static-non-pie.
28631 (LDFLAGS-tst-tls1-static-non-pie): New.
28632 * elf/tst-tls1-static-non-pie.c: New file.
28634 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28636 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28637 (asinh): Define using libm_alias_double.
28638 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28639 (cbrt): Define using libm_alias_double.
28640 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28641 <libm-alias-double.h>.
28642 (copysign): Define using libm_alias_double.
28643 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28644 (erf): Define using libm_alias_double.
28646 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28647 (expm1): Define using libm_alias_double.
28648 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28649 (fabs): Define using libm_alias_double.
28650 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28652 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28653 <libm-alias-double.h>.
28654 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28656 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28657 <libm-alias-double.h>.
28658 (getpayload): Define using libm_alias_double.
28659 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28660 <libm-alias-double.h>.
28661 (llrint): Define using libm_alias_double.
28662 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28663 (lrint): Define using libm_alias_double.
28664 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28665 <libm-alias-double.h>.
28666 (nextup): Define using libm_alias_double.
28667 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28668 <libm-alias-double.h>.
28669 (roundeven): Define using libm_alias_double.
28670 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28672 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28673 <libm-alias-double.h>.
28674 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28675 using libm_alias_double.
28676 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28677 (cos): Define using libm_alias_double.
28679 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28680 <libm-alias-double.h>.
28681 (sincos): Define using libm_alias_double.
28682 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28683 (tanh): Define using libm_alias_double.
28684 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28685 <libm-alias-double.h>.
28686 (totalorder): Define using libm_alias_double.
28687 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28688 <libm-alias-double.h>.
28689 (totalordermag): Define using libm_alias_double.
28690 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28692 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28694 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28695 <libm-alias-double.h>.
28696 (getpayload): Define using libm_alias_double.
28697 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28698 <libm-alias-double.h>.
28699 (roundeven): Define using libm_alias_double.
28700 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28701 <libm-alias-double.h>.
28702 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28703 <libm-alias-double.h>.
28704 (totalorder): Define using libm_alias_double.
28705 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28706 <libm-alias-double.h>.
28707 (totalordermag): Define using libm_alias_double.
28708 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28709 libc compat symbol here.
28710 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28711 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28712 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28713 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28714 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28715 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28716 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28717 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28718 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28719 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28721 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28723 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28724 _dl_relocate_static_pie instead of _dl_start to compute load
28725 address in static PIE. Return 0 if _DYNAMIC is undefined for
28728 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28730 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28731 _DYNAMIC is undefined for static executable.
28733 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28735 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28737 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28741 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28743 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28744 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28745 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28746 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28748 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28749 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28750 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28751 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28752 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28753 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28754 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28755 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28756 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28757 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28759 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28761 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28763 * math/bits/cmathcalls.h (cimag): Remove inline.
28764 (creal): Remove inline.
28765 (conj): Remove inline.
28767 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28769 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28770 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28771 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28772 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28773 (issignalingf_inline): Likewise.
28774 (POWF_LOG2_TABLE_BITS): Likewise.
28775 (POWF_LOG2_POLY_ORDER): Likewise.
28776 (POWF_SCALE_BITS): Likewise.
28777 (POWF_SCALE): Likewise.
28778 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28779 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28780 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28782 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28784 * math/Makefile (type-float-routines): Add e_log2f_data.
28785 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28786 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28787 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28788 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28789 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28790 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28791 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28793 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28795 * math/Makefile (type-float-routines): Add e_logf_data.
28796 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28797 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28798 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28799 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28800 * sysdeps/i386/fpu/e_logf_data.c: New file.
28801 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28802 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28804 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28806 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28807 undefined _DYNAMIC in PIE libc.a.
28808 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28811 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28813 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28814 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28815 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28816 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28817 (__signbit): Remove.
28818 (__signbitl): Remove.
28819 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28820 (__signbit): Remove.
28821 (__signbitl): Remove.
28822 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28823 (__signbit): Remove.
28824 (__signbitl): Remove.
28825 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28826 (__signbit): Remove.
28827 (__signbitl): Remove.
28828 * sysdeps/tile/bits/mathinline.h: Delete file.
28829 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28830 (__signbit): Remove.
28831 (__signbitl): Remove.
28833 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28835 * math/math.h: Improve handling of C99 isgreater macros.
28836 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28837 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28838 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28839 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28840 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28842 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28844 * sysdeps/aarch64/libm-test-ulps: Update.
28846 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28849 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28850 math_opt_barrier on argument when doing arithmetic on it.
28851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28852 Likewise. Use math_force_eval not math_opt_barrier after
28854 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28855 math_opt_barrier on argument when doing arithmetic on it.
28856 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28859 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28861 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28863 (__freeifaddrs): Likewise.
28865 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28867 * include/dirent.h (__dirfd): New declaration.
28868 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28870 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28871 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28872 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28873 * include/unistd.h (__revoke): New declaration.
28874 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28876 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28877 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28879 * include/dirent.h (__seekdir): New declaration.
28880 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28881 redefine as weak alias.
28882 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28884 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28885 and use libc_hidden_def on them.
28886 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28888 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28889 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28890 instead of getifaddrs and freeifaddrs.
28892 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28895 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28896 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28897 (__dso_handle): Remove declaration.
28898 * dlfcn/tstatexit.c (__dso_handle): Removed.
28899 (main): Don't check __dso_handle.
28900 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28901 (main): Don't check __dso_handle.
28902 * include/dso_handle.h: New file.
28903 * malloc/mtrace.c: Include <dso_handle.h>.
28904 (mtrace): Pass __dso_handle directly.
28905 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28906 (__dso_handle): Remove declaration.
28907 (__pthread_atfork): Pass __dso_handle directly.
28908 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28909 (__dso_handle): Removed.
28910 * posix/wordexp-test.c: Include <dso_handle.h>.
28911 (__dso_handle): Remove declaration.
28912 (__app_register_atfork): Pass __dso_handle directly.
28913 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28914 (__dso_handle): Remove declaration.
28915 (at_quick_exit): Pass __dso_handle directly.
28916 * stdlib/atexit.c: Include <dso_handle.h>.
28917 (__dso_handle): Remove declaration.
28918 (atexit): Pass __dso_handle directly.
28919 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28920 (__dso_handle): Removed.
28922 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28924 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28927 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28929 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28930 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28931 values to correct default value for given type.
28933 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28936 * elf/Makefile (tests): Add tst-debug1.
28937 ($(objpfx)tst-debug1): New.
28938 ($(objpfx)tst-debug1.out): Likewise.
28939 ($(objpfx)tst-debug1mod1.so): Likewise.
28940 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28941 with p_filesz == 0.
28942 * elf/tst-debug1.c: New file.
28944 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28946 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28947 Define using __ifunc.
28949 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28951 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28954 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28957 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28959 2017-09-26 Florian Weimer <fweimer@redhat.com>
28961 * resolv/Makefile (tests-internal): Fix typo in comment.
28963 2017-09-26 Florian Weimer <fweimer@redhat.com>
28965 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28967 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28969 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28970 Use an union instead of a max_align_t array for __space,
28971 so that __space is the same size on all platforms.
28972 * malloc/scratch_buffer_grow_preserve.c
28973 (__libc_scratch_buffer_grow_preserve): Likewise.
28976 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28978 * posix/Makefile (routines): Add glob-lstat-compat and
28979 glob64-lstat-compat.
28980 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28981 * posix/glob-lstat-compat.c: New file.
28982 * posix/glob64-lstat-compat.c: Likewise.
28983 * posix/tst-glob_lstat_compat.c: Likewise.
28984 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28985 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28986 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28987 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28989 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28990 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28991 * posix/glob.c (glob_lstat): New function.
28992 (glob): Rename to __glob and add versioned symbol to 2.27.
28993 (glob_in_dir): Use glob_lstat.
28994 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28995 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28996 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28998 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28999 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29000 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29001 gl_lstat on glob call.
29002 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29003 and glob64 symbols.
29004 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29005 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29006 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29007 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29008 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29009 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29010 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29011 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29012 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29013 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29014 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29015 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29018 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29020 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29022 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29024 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29027 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29028 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29029 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29031 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29033 * configure.ac (AS): Require binutils 2.25 or later.
29034 * configure: Regenerated.
29036 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29039 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29042 2017-09-25 DJ Delorie <dj@redhat.com>
29045 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29048 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29050 * sysdeps/ieee754/dbl-64/sincos32.h
29051 [SINCCOS32_H]: Remove define.
29052 [SINCOS32_H]: Define.
29054 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29056 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29058 * math/w_exp2f.c: New file.
29059 * math/w_expf.c: New file.
29060 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29061 * math/w_expf_compat.c (__expf_compat): Likewise.
29062 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29063 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29064 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29065 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29066 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29067 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29068 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29069 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29070 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29071 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29072 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29073 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29074 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29075 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29084 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29085 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29086 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29087 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29088 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29093 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29094 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29095 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29097 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29099 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29100 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29101 (roundtoint, converttoint): Likewise.
29102 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29103 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29104 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29105 * sysdeps/ieee754/flt-32/math_config.h: New file.
29106 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29107 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29108 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29109 * sysdeps/i386/fpu/math_errf.c: New file.
29110 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29111 * sysdeps/ia64/fpu/math_errf.c: New file.
29112 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29113 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29115 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29117 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29118 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29119 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29120 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29121 to make sure that these symbols are defined.
29122 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29124 (__need_NULL): Do not define.
29125 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29127 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29128 CMGROUP_MAX, cmsgcred): Do not define.
29129 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29131 * bits/socket.h: Likewise.
29132 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29133 __gettimeofday instead of gettimeofday.
29134 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29135 instead of settimeofday.
29137 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29139 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29140 (asinhf): Define using libm_alias_float.
29141 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29142 (atanf): Define using libm_alias_float.
29143 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29144 (cbrtf): Define using libm_alias_float.
29145 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29146 (ceilf): Define using libm_alias_float.
29147 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29148 <libm-alias-float.h>.
29149 (copysignf): Define using libm_alias_float.
29150 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29151 (cosf): Define using libm_alias_float.
29152 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29153 (erff): Define using libm_alias_float.
29155 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29156 (expm1f): Define using libm_alias_float.
29157 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29158 (fabsf): Define using libm_alias_float.
29159 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29160 (floorf): Define using libm_alias_float.
29161 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29162 (frexpf): Define using libm_alias_float.
29163 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29165 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29166 <libm-alias-float.h>.
29167 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29169 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29170 <libm-alias-float.h>.
29171 (getpayloadf): Define using libm_alias_float.
29172 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29173 <libm-alias-float.h>.
29174 (llrintf): Define using libm_alias_float.
29175 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29176 <libm-alias-float.h>.
29177 (llroundf): Define using libm_alias_float.
29178 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29179 (logbf): Define using libm_alias_float.
29180 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29181 (lrintf): Define using libm_alias_float.
29182 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29183 (lroundf): Define using libm_alias_float.
29184 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29185 (modff): Define using libm_alias_float.
29186 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29187 <libm-alias-float.h>.
29188 (nearbyintf): Define using libm_alias_float.
29189 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29190 <libm-alias-float.h>.
29191 (nextafterf): Define using libm_alias_float.
29192 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29193 <libm-alias-float.h>.
29194 (nextupf): Define using libm_alias_float.
29195 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29196 <libm-alias-float.h>.
29197 (remquof): Define using libm_alias_float.
29198 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29199 (rintf): Define using libm_alias_float.
29200 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29201 <libm-alias-float.h>.
29202 (roundevenf): Define using libm_alias_float.
29203 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29204 (roundf): Define using libm_alias_float.
29205 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29206 using libm_alias_float.
29207 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29208 <libm-alias-float.h>.
29209 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29210 Define using libm_alias_float.
29211 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29212 <libm-alias-float.h>.
29213 (sincosf): Define using libm_alias_float.
29214 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29215 (sinf): Define using libm_alias_float.
29216 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29217 (tanf): Define using libm_alias_float.
29218 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29219 (tanhf): Define using libm_alias_float.
29220 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29221 <libm-alias-float.h>.
29222 (totalorderf): Define using libm_alias_float.
29223 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29224 <libm-alias-float.h>.
29225 (totalordermagf): Define using libm_alias_float.
29226 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29227 (truncf): Define using libm_alias_float.
29228 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29230 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29233 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29236 math/math.h: Let fpclassify use the builtin in C++ mode, even
29237 when optimazing for size.
29239 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29241 * csu/Makefile (generated): Do not add version-info.h.
29242 (before-compile): Likewise.
29243 (all-Banner-files): Remove variable.
29244 ($(objpfx)version-info.h): Remove rule.
29245 * csu/version.c (banner): Do not include "version-info.h".
29246 * libidn/Banner: Remove.
29247 * manual/contrib.texi (Simon Josefsson): New entry.
29249 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29252 Remove conditionals on LDBL_MANT_DIG.
29253 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29254 (__ieee754_lgammal_r): Likewise.
29256 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29260 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29261 _Float128 and L(). Replace _Float128 with long double and L(x)
29262 with xL, throughout the file.
29263 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29268 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29271 sysdeps/ieee754/ldbl-128ibm.
29272 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29273 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29274 of including it. Keep _Float128 and L() intact. These will be
29275 reviewed by a separate patch.
29276 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29281 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29284 (__finitef128): Define to __redirect___finitef128.
29285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29286 (__isinff128): Define to __redirect___isinff128.
29287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29288 (__isnanf128): Define to __redirect___isnanf128.
29290 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29292 * sysdeps/powerpc/powerpc64le/Makefile
29293 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29294 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29296 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29297 Carlos O'Donell <carlos@redhat.com>
29300 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29301 * stdlib/test-dlclose-exit-race.c: New file.
29302 * stdlib/test-dlclose-exit-race-helper.c: New file.
29303 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29305 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29307 * crypt/Banner: Remove file.
29308 * nptl/Banner: Likewise.
29309 * resolv/Banner: Likewise.
29310 * soft-fp/Banner: Likewise.
29311 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29312 ($(objpfx)version.d): Remove dependency on banner.h.
29313 ($(objpfx)version.os): Likewise.
29314 * nptl/version.c (banner): Do not include banner.h.
29315 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29316 Jelinek and BIND code.
29318 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29319 Carlos O'Donell <carlos@redhat.com>
29321 * support/xdlfcn.h: New file.
29322 * support/xdlfcn.c: New file.
29323 * support/Makefile (libsupport-routines): Add xdlfcn.
29324 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29326 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29329 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29330 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29331 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29332 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29333 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29334 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29335 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29336 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29338 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29339 Ricky Zhou <rickyz@google.com>
29340 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29343 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29345 (__new_exitfn): Fail registration when we finished at_exit processing.
29346 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29347 * stdlib/on_exit.c (__on_exit): Likewise.
29348 * stdlib/exit.c (__exit_funcs_done): New variable.
29349 (__run_exit_handlers): Use __exit_funcs_lock.
29350 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29352 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29353 (test-cxa_atexit-race, test-on_exit-race): New tests.
29354 * stdlib/test-atexit-race-common.c: New file.
29355 * stdlib/test-atexit-race.c: New file.
29356 * stdlib/test-at_quick_exit-race.c: New file.
29357 * stdlib/test-cxa_atexit-race.c: New file.
29358 * stdlib/test-on_exit-race.c: New file.
29360 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29362 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29363 * benchtests/exp2f-inputs: Copy of expf-inputs.
29364 * benchtests/log2f-inputs: Copy of logf-inputs.
29366 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29368 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29369 Explicitly take address of first element of array arguments in
29370 call to INLINE_SYSCALL.
29372 2017-09-19 Andreas Schwab <schwab@suse.de>
29375 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29377 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29379 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29380 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29381 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29382 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29383 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29384 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29386 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29387 * posix/Makefile (tests): Add tst-fexecve.
29388 * posix/tst-fexecve.c: New file.
29390 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29392 * benchtests/Makefile: Add logf benchmark.
29393 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29395 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29397 * benchtests/Makefile: Add expf benchmark.
29398 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29400 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29402 * csu/Makefile: Add -funwind-tables to libc-start.c.
29403 * debug/Makefile: Add -funwind-tables to backtrace.c.
29404 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29405 * sysdeps/arm/Makefile: Likewise.
29406 * sysdeps/i386/Makefile: Likewise.
29407 * sysdeps/m68k/Makefile: Likewise.
29408 * sysdeps/mips/Makefile: Likewise.
29409 * sysdeps/nios2/Makefile: Likewise.
29410 * sysdeps/sh/Makefile: Likewise.
29411 * sysdeps/sparc/Makefile: Likewise.
29413 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29415 * benchtests/Makefile (bench-math): Add trunc and truncf.
29416 (CFLAGS-bench-trunc.c): New variable.
29417 (CFLAGS-bench-truncf.c): Likewise.
29418 * benchtests/trunc-inputs: New file.
29419 * benchtests/truncf-inputs: Likewise.
29421 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29423 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29425 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29427 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29428 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29430 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29431 (exp10l): Define as weak alias.
29432 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29433 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29435 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29436 (remainderl): Define as weak alias.
29438 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29439 (fmal): Define using libm_alias_ldouble.
29440 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29441 (acoshl): Define using libm_alias_ldouble.
29442 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29443 (acosl): Define using libm_alias_ldouble.
29444 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29445 (asinl): Define using libm_alias_ldouble.
29446 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29447 (atan2l): Define using libm_alias_ldouble.
29448 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29449 (atanhl): Define using libm_alias_ldouble.
29450 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29451 (coshl): Define using libm_alias_ldouble.
29452 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29453 (exp10l): Define using libm_alias_ldouble.
29454 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29455 (exp2l): Define using libm_alias_ldouble.
29456 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29457 (expl): Define using libm_alias_ldouble.
29458 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29459 (fmodl): Define using libm_alias_ldouble.
29460 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29461 (hypotl): Define using libm_alias_ldouble.
29462 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29463 (j0l): Define using libm_alias_ldouble.
29465 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29466 (j1l): Define using libm_alias_ldouble.
29468 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29469 (jnl): Define using libm_alias_ldouble.
29471 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29472 (log10l): Define using libm_alias_ldouble.
29473 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29474 (log2l): Define using libm_alias_ldouble.
29475 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29476 (logl): Define using libm_alias_ldouble.
29477 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29478 (powl): Define using libm_alias_ldouble.
29479 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29480 (remainderl): Define using libm_alias_ldouble.
29481 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29482 (sinhl): Define using libm_alias_ldouble.
29483 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29484 (sqrtl): Define using libm_alias_ldouble.
29485 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29486 (tgammal): Define using libm_alias_ldouble.
29487 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29488 (exp10l): Do not use long_double_symbol here.
29489 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29490 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29491 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29492 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29493 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29494 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29495 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29496 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29497 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29498 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29499 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29500 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29501 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29502 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29503 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29504 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29505 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29506 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29507 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29508 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29509 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29510 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29512 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29514 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29515 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29517 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29519 * io/read.c (read): Add libc_hidden_weak.
29520 * sysdeps/mach/hurd/read.c (read): Likewise.
29521 * io/write.c (write): Likewise.
29522 * sysdeps/mach/hurd/write.c (write): Likewise.
29523 * io/pread64.c (__pread64): Likewise.
29524 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29525 * posix/pread64.c (__pread64): Add libc_hidden_def.
29527 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29529 * benchtests/scripts/compare_strings.py: New option -g.
29530 (draw_graph): Print a message that a graph is being generated.
29531 (process_results): Generate graph only if -g is passed.
29532 (main): Process option -g.
29534 * benchtests/scripts/compare_strings.py (process_results):
29535 Better spacing for output.
29537 * benchtests/scripts/compare_strings.py: Use argparse.
29538 * benchtests/README: Document existence of compare_strings.py.
29540 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29542 * math/s_fma.c: Include <libm-alias-double.h>.
29543 (fma): Define using libm_alias_double.
29544 * math/s_nextafter.c: Include <libm-alias-double.h>.
29545 (nextafter): Define using libm_alias_double.
29546 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29547 (acos): Define using libm_alias_double.
29548 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29549 (aocsh): Define using libm_alias_double.
29550 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29551 (asin): Define using libm_alias_double.
29552 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29553 (atan2): Define using libm_alias_double.
29554 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29555 (atanh): Define using libm_alias_double.
29556 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29557 (cosh): Define using libm_alias_double.
29558 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29559 (exp10): Define using libm_alias_double.
29560 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29561 (exp2): Define using libm_alias_double.
29562 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29563 (exp): Define using libm_alias_double.
29564 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29565 (fmod): Define using libm_alias_double.
29566 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29567 (hypot): Define using libm_alias_double.
29568 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29569 (j0): Define using libm_alias_double.
29571 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29572 (j1): Define using libm_alias_double.
29574 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29575 (jn): Define using libm_alias_double.
29577 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29578 (log10): Define using libm_alias_double.
29579 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29580 (log2): Define using libm_alias_double.
29581 * math/w_log_compat.c: Include <libm-alias-double.h>.
29582 (log): Define using libm_alias_double.
29583 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29584 (pow): Define using libm_alias_double.
29585 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29586 (remainder): Define using libm_alias_double.
29587 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29588 (sinh): Define using libm_alias_double.
29589 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29590 (sqrt): Define using libm_alias_double.
29591 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29592 (tgamma): Define using libm_alias_double.
29593 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29594 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29595 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29596 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29597 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29598 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29599 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29600 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29601 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29602 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29603 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29604 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29605 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29606 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29607 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29608 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29609 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29610 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29611 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29612 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29613 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29614 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29615 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29616 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29617 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29619 * math/e_acoshl.c: Remove.
29620 * math/e_acosl.c: Likewise.
29621 * math/e_asinl.c: Likewise.
29622 * math/e_atan2l.c: Likewise.
29623 * math/e_atanhl.c: Likewise.
29624 * math/e_coshl.c: Likewise.
29625 * math/e_expl.c: Likewise.
29626 * math/e_fmodl.c: Likewise.
29627 * math/e_gammal_r.c: Likewise.
29628 * math/e_hypotl.c: Likewise.
29629 * math/e_j0l.c: Likewise.
29630 * math/e_j1l.c: Likewise.
29631 * math/e_jnl.c: Likewise.
29632 * math/e_lgammal_r.c: Likewise.
29633 * math/e_log10l.c: Likewise.
29634 * math/e_log2l.c: Likewise.
29635 * math/e_logl.c: Likewise.
29636 * math/e_powl.c: Likewise.
29637 * math/e_rem_pio2l.c: Likewise.
29638 * math/e_sinhl.c: Likewise.
29639 * math/e_sqrtf128.c: Likewise.
29640 * math/e_sqrtl.c: Likewise.
29641 * math/k_cosl.c: Likewise.
29642 * math/k_sinl.c: Likewise.
29643 * math/k_tanl.c: Likewise.
29644 * math/s_asinhl.c: Likewise.
29645 * math/s_atanl.c: Likewise.
29646 * math/s_cbrtl.c: Likewise.
29647 * math/s_erfl.c: Likewise.
29648 * math/s_expm1l.c: Likewise.
29649 * math/s_log1pl.c: Likewise.
29650 * math/s_tanhl.c: Likewise.
29652 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29656 [$(subdir) = math] (sysdep_calls): New variable. Has the
29657 previous contents of sysdep_routines, but re-sorted..
29658 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29660 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29661 defined in sysdep_calls and replace by the respective m_* names.
29662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29663 (compat_symbol): Undefine to avoid duplicated compat symbols in
29666 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29668 * math/s_fmaf.c: Include <libm-alias-float.h>.
29669 (fmaf): Define using libm_alias_float.
29670 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29671 (acosf): Define using libm_alias_float.
29672 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29673 (acoshf): Define using libm_alias_float.
29674 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29675 (asinf): Define using libm_alias_float.
29676 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29677 (atan2f): Define using libm_alias_float.
29678 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29679 (atanhf): Define using libm_alias_float.
29680 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29681 (coshf): Define using libm_alias_float.
29682 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29683 (exp10f): Define using libm_alias_float.
29684 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29685 (fmodf): Define using libm_alias_float.
29686 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29687 (hypotf): Define using libm_alias_float.
29688 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29689 (j0f): Define using libm_alias_float.
29691 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29692 (j1f): Define using libm_alias_float.
29694 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29695 (jnf): Define using libm_alias_float.
29697 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29698 (log10f): Define using libm_alias_float.
29699 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29700 (log2f): Define using libm_alias_float.
29701 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29702 (logf): Define using libm_alias_float.
29703 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29704 (powf): Define using libm_alias_float.
29705 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29706 (remainderf): Define using libm_alias_float.
29707 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29708 (sinhf): Define using libm_alias_float.
29709 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29710 (sqrtf): Define using libm_alias_float.
29711 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29712 (tgammaf): Define using libm_alias_float.
29714 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29716 * include/math.h (roundeven): Change hidden_proto call to
29718 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29720 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29721 (y0): Rename to __y0 and define as weak alias.
29722 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29723 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29725 (y0f): Rename to __y0f and define as weak alias.
29726 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29728 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29729 (y1): Rename to __y1 and define as weak alias.
29730 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29731 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29733 (y1f): Rename to __y1f and define as weak alias.
29734 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29736 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29737 (yn): Rename to __yn and define as weak alias.
29738 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29739 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29741 (ynf): Rename to __ynf and define as weak alias.
29742 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29743 (fromfp): Define as weak alias.
29744 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29745 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29746 (fromfpx): Define as weak alias.
29747 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29748 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29749 __getpayload and define as weak alias.
29750 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29751 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29752 __roundeven and define as weak alias.
29753 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29754 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29756 (setpayload): Define as weak alias.
29757 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29758 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29760 (setpayloadsig): Define as weak alias.
29761 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29762 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29763 __totalorder and define as weak alias.
29764 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29765 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29766 to __totalordermag and define as weak alias.
29767 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29768 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29769 (ufromfp): Define as weak alias.
29770 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29771 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29773 (ufromfpx): Define as weak alias.
29774 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29775 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29776 Rename to __getpayload and define as weak alias.
29777 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29778 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29779 Rename to __roundeven and define as weak alias.
29780 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29781 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29782 Rename to __totalorder and define as weak alias.
29783 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29784 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29785 (totalordermag): Rename to __totalordermag and define as weak
29787 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29788 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29790 (__roundevenl): Likewise.
29791 (__totalorderl): Likewise.
29792 (__totalordermagl): Likewise
29793 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29795 (fromfpf128): Define as weak alias.
29796 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29798 (fromfpxf128): Define as weak alias.
29799 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29801 (setpayloadf128): Define as weak alias.
29802 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29803 __setpayloadsigf128.
29804 (setpayloadsigf128): Define as weak alias.
29805 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29807 (ufromfpf128): Define as weak alias.
29808 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29810 (ufromfpxf128): Define as weak alias.
29811 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29812 (fromfpf): Define as weak alias.
29813 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29815 (fromfpxf): Define as weak alias.
29816 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29817 __getpayloadf and define as weak alias.
29818 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29819 __roundevenf and define as weak alias.
29820 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29822 (setpayloadf): Define as weak alias.
29823 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29825 (setpayloadsigf): Define as weak alias.
29826 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29827 __totalorderf and define as weak alias.
29828 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29829 Rename to __totalordermagf and define as weak alias.
29830 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29832 (ufromfpf): Define as weak alias.
29833 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29835 (ufromfpxf): Define as weak alias.
29836 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29838 (fromfpl): Define as weak alias.
29839 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29841 (fromfpxl): Define as weak alias.
29842 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29843 to __getpayloadl and define as weak alias.
29844 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29845 __roundevenl and define as weak alias.
29846 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29848 (setpayloadl): Define as weak alias.
29849 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29851 (setpayloadsigl): Define as weak alias.
29852 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29853 to __totalorderl and define as weak alias.
29854 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29855 Rename to __totalordermagl and define as weak alias.
29856 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29858 (ufromfpl): Define as weak alias.
29859 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29861 (ufromfpxl): Define as weak alias.
29862 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29864 (fromfpl): Define as weak alias.
29865 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29867 (fromfpxl): Define as weak alias.
29868 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29869 Rename to __getpayloadl and define as weak alias.
29870 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29871 to __roundevenl and define as weak alias. Call __roundeven
29872 instead of roundeven.
29873 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29875 (setpayloadl): Define as weak alias.
29876 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29878 (setpayloadsigl): Define as weak alias.
29879 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29880 Rename to __totalorderl and define as weak alias.
29881 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29882 Rename to __totalordermagl and define as weak alias.
29883 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29885 (ufromfpl): Define as weak alias.
29886 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29888 (ufromfpxl): Define as weak alias.
29889 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29891 (fromfpl): Define as weak alias.
29892 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29894 (fromfpxl): Define as weak alias.
29895 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29896 __getpayloadl and define as weak alias.
29897 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29898 __roundevenl and define as weak alias.
29899 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29901 (setpayloadl): Define as weak alias.
29902 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29904 (setpayloadsigl): Define as weak alias.
29905 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29906 __totalorderl and define as weak alias.
29907 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29908 Rename to __totalordermagl and define as weak alias.
29909 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29911 (ufromfpl): Define as weak alias.
29912 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29914 (ufromfpxl): Define as weak alias.
29916 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29918 * benchtests/bench-string.h (realloc_bufs): New function.
29919 (test_init): Call it.
29920 * benchtests/bench-memset-large.c (do_test): Likewise.
29921 * benchtests/bench-memset.c (do_test): Likewise.
29923 * benchtests/bench-memset-large.c: Print output in JSON
29925 * benchtests/bench-memset.c: Likewise.
29927 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29930 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29931 * iconvdata/Makefile: Add IBM858.
29932 * iconvdata/gconv-modules: Likewise.
29933 * iconvdata/tst-tables.sh: Likewise.
29934 * iconvdata/ibm858.c: New file.
29935 * localedata/charmaps/IBM858: Likewise.
29937 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29940 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29941 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29943 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29946 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29947 and add tel_int_fmt.
29949 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29951 * sysdeps/generic/libm-alias-float128.h: New file.
29952 * sysdeps/generic/math-type-macros-float128.h: Include
29953 <libm-alias-float128.h>.
29954 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29956 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29958 * sysdeps/generic/libm-alias-ldouble.h: New file.
29959 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29960 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29961 * sysdeps/generic/math-type-macros-ldouble.h: Include
29962 <libm-alias-ldouble.h>.
29963 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29964 libm_alias_ldouble.
29966 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29968 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29969 * math/w_exp_compat.c: ... here.
29970 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29971 * math/w_expf_compat.c: ... here.
29972 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29973 * math/w_expl_compat.c: ... here.
29974 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29975 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29976 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29977 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29979 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29981 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29983 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29985 (ldexpl): Only define as compat symbol for libc, not libm.
29986 (scalbnl): Define as compat symbol for libc here.
29987 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29988 define for [IS_IN (libc)].
29989 (__ldexpl_2): Remove alias.
29990 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29991 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29992 name in long_double_symbol call.
29993 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29994 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29995 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29996 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29997 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29999 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30000 Define as compat symbol.
30002 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30004 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30005 * sysdeps/unix/sysv/linux/alpha/Makefile
30006 [$(subdir) = csu] (sysdep_routines): Remove rule.
30008 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30010 * sysdeps/generic/libm-alias-double.h: New file.
30011 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30012 * sysdeps/generic/math-type-macros-double.h: Include
30013 <libm-alias-double.h>.
30014 [declare_mgen_alias] (declare_mgen_alias): Define to use
30016 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30017 (M_LIBM_NEED_COMPAT): Remove macro.
30018 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30019 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30020 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30022 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30023 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30024 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30025 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30026 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30027 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30028 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30029 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30030 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30031 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30032 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30033 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30034 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30035 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30036 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30037 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30038 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30039 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30040 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30041 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30042 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30043 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30044 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30045 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30046 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30047 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30048 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30049 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30050 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30052 (declare_mgen_alias): New macro.
30053 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30054 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30056 (M_LIBM_NEED_COMPAT): Remove macro.
30057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30058 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30059 <first-versions.h>.
30060 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30061 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30063 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30065 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30066 (declare_mgen_alias_2): Remove.
30067 * sysdeps/generic/math-type-macros-double.h
30068 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30070 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30072 (ldexp): Define with declare_mgen_alias.
30073 (scalbn): Likewise.
30075 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30077 * grp/initgroups.c: Include config.h.
30078 (DEFAULT_CONFIG): New macro.
30079 (internal_getgrouplist): Use DEFAULT_CONFIG.
30080 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30081 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30082 (DEFAULT_DEFCONFIG): New macro.
30083 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30084 * nss/grp-lookup.c: Include config.h
30085 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30086 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30087 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30088 * manual/nss.texi: Update default values section.
30090 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30093 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30095 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30096 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30097 Handle MathVec_Prefer_No_AVX512.
30098 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30099 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30102 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30104 * posix/sched_primax.c (__sched_get_priority_max): Add
30106 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30107 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30108 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30109 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30110 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30111 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30112 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30113 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30116 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30118 * sysdeps/generic/libm-alias-float.h: New file.
30119 * sysdeps/generic/math-type-macros-float.h: Include
30120 <libm-alias-float.h>.
30121 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30123 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30126 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30127 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30128 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30129 (HWCAP_IMPORTANT): Likewise.
30130 (HWCAP_X86_64): New enum.
30131 (HWCAP_X86_AVX512_1): Updated.
30132 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30133 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30134 (modules-names): Add x86_64/tst-x86_64mod-1.
30135 (LDFLAGS-tst-x86_64mod-1.so): New.
30136 ($(objpfx)tst-x86_64-1): Likewise.
30137 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30138 (tst-x86_64-1-clean): Likewise.
30139 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30140 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30142 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30144 * po/sv.po: Update translations.
30145 * po/fr.po: Likewise.
30147 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30149 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30151 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30153 * elf/rtld-Rules: Fix $(error) use.
30155 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30158 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30159 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30160 * localedata/locales/bn_BD: “Bengali” was still used in some
30161 comments. Change it to “Bangla”.
30163 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30165 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30167 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30169 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30170 thunderx2t99p1 to list of cpu names.
30171 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30172 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30174 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30176 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30177 Use strcmp instead of tunable_is_name.
30179 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30182 (F_GET_RW_HINT): New macro.
30183 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30184 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30185 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30186 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30187 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30188 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30189 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30190 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30191 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30194 (F_ADD_SEALS): New macro.
30195 [__USE_GNU] (F_GET_SEALS): Likewise.
30196 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30197 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30198 [__USE_GNU] (F_SEAL_GROW): Likewise.
30199 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30201 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30203 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30204 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30205 * posix/glob_internal.h (__glob_pattern_type):
30206 * posix/glob.c (glob):
30207 * posix/glob_pattern_p.c (__glob_pattern_p):
30210 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30211 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30212 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30213 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30214 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30216 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30217 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30218 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30219 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30220 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30221 * sysdeps/wordsize-64/glob.c: Likewise.
30222 * sysdeps/wordsize-64/glob64.c: Likewise.
30223 * sysdeps/wordsize-64/globfree.c: Likewise.
30224 * sysdeps/wordsize-64/globfree64.c: Likewise.
30225 * sysdeps/unix/sysv/linux/glob.c: New file.
30226 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30227 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30228 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30229 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30230 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30231 adds !GLOB_NO_OLD_VERSION as an extra condition.
30232 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30233 using relative path instead of absolute one.
30234 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30235 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30236 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30237 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30239 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30242 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30243 (glob): Use the same scratch buffer for both getlogin_r and
30244 getpwnam_r. Don’t require preallocation of the login name. This
30245 simplifies storage allocation, and corrects the handling of
30249 * posix/glob.c (glob): Port recent patches to platforms
30250 lacking getpwnam_r.
30251 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30252 returns an error number rather than setting errno.
30254 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30255 instead of GCC extension.
30256 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30257 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30258 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30262 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30263 * posix/bug-glob1.c: Remove file.
30264 * posix/tst-glob_symlinks.c: New file.
30265 * posix/glob.c (__lstat64): New macro.
30266 (is_dir): New function.
30267 (glob, glob_in_dir): Match symlinks even if they are dangling.
30268 (link_stat, link_exists_p): Remove. All uses removed.
30272 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30273 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30278 * posix/Makefile (routines): Add globfree, globfree64, and
30280 * posix/flexmember.h: New file.
30281 * posix/glob_internal.h: Likewise.
30282 * posix/glob_pattern_p.c: Likewise.
30283 * posix/globfree.c: Likewise.
30284 * posix/globfree64.c: Likewise.
30285 * sysdeps/gnu/globfree64.c: Likewise.
30286 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30287 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30288 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30289 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30290 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30291 * sysdeps/wordsize-64/globfree.c: Likewise.
30292 * sysdeps/wordsize-64/globfree64.c: Likewise.
30293 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30294 [NDEBUG): Remove comments.
30295 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30296 (dirent_type): New type. Use uint_fast8_t not
30297 uint8_t, as C99 does not require uint8_t.
30298 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30299 (struct readdir_result): Use dirent_type. Do not define skip_entry
30300 unless it is needed; this saves a byte on platforms lacking d_ino.
30301 (readdir_result_type, readdir_result_skip_entry):
30302 New functions, replacing ...
30303 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30304 these functions, which were removed. This makes the callers
30305 easier to read. All callers changed.
30306 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30307 (size_add_wrapv, glob_use_alloca): New static functions.
30308 (glob, glob_in_dir): Check for size_t overflow in several places,
30309 and fix some size_t checks that were not quite right.
30310 Remove old code using SHELL since Bash no longer
30312 (glob, prefix_array): Separate MS code better.
30313 (glob_in_dir): Remove old Amiga and VMS code.
30314 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30316 (glob_in_dir): Do not rely on undefined behavior in accessing
30317 struct members beyond their bounds. Use a flexible array member
30319 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30320 0/1. Caller changed.
30321 (glob): Fix memory leaks.
30322 * posix/glob64 (globfree64): Move to separate file.
30323 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30324 (globfree64): Remove hidden alias.
30325 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30327 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30329 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30331 Move compat code to separate file.
30332 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30335 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30337 * resolv/tst-resolv-qtypes.c (domain): Changed to
30338 "const char domain[] =".
30340 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30342 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30345 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30346 (TCP_MD5SIG_EXT): Likewise.
30347 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30348 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30349 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30351 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30353 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30355 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30357 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30360 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30362 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30364 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30365 before assuming that the file is empty. Avoid testing buffer content
30368 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30371 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30373 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30375 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30377 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30379 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30381 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30383 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30386 2017-09-06 Florian Weimer <fweimer@redhat.com>
30388 * malloc/dynarray_emplace_enlarge.c
30389 (__libc_dynarray_emplace_enlarge): Add missing else.
30391 2017-09-06 Florian Weimer <fweimer@redhat.com>
30394 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30395 case of failure to obtain the global conf object.
30397 2017-09-06 Florian Weimer <fweimer@redhat.com>
30400 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30401 dynarray allocation failure.
30403 2017-09-06 Florian Weimer <fweimer@redhat.com>
30405 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30406 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30407 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30409 (response): Call them. Add 'p', '6' flag processing.
30410 (test_reverse): New function.
30411 (test_get2_any): Call it.
30412 (test_no_inet6): Add 'p' test.
30413 (test_inet6): Likewise.
30415 2017-09-06 Florian Weimer <fweimer@redhat.com>
30417 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30418 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30420 (test_gai): Adjust query names. Add additional tests.
30421 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30422 test_get2. Adjust query names. Add additional tests.
30423 (test_no_inet6): New function, extracted from threadfunc.
30424 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30425 Add additional tests.
30427 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30430 * localedata/unicode-gen/utf8_gen.py: Set the width for
30431 characters with Prepended_Concatenation_Mark property to 1
30432 * localedata/charmaps/UTF-8: Updated using the improved script.
30434 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30437 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30438 use the range notation for all ranges of neighbouring characters
30439 with the same width.
30441 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30443 * sysdeps/generic/math-type-macros-double.h: Include
30444 <math-svid-compat.h>.
30445 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30446 * sysdeps/generic/math-type-macros-float.h: Include
30447 <math-svid-compat.h>.
30448 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30449 * sysdeps/generic/math-type-macros-ldouble.h: Include
30450 <math-svid-compat.h>.
30451 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30452 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30454 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30455 * math/w_acosf_compat.c: Likewise.
30456 * math/w_acosh_compat.c: Likewise.
30457 * math/w_acoshf_compat.c: Likewise.
30458 * math/w_acoshl_compat.c: Likewise.
30459 * math/w_acosl_compat.c: Likewise.
30460 * math/w_asin_compat.c: Likewise.
30461 * math/w_asinf_compat.c: Likewise.
30462 * math/w_asinl_compat.c: Likewise.
30463 * math/w_atan2_compat.c: Likewise.
30464 * math/w_atan2f_compat.c: Likewise.
30465 * math/w_atan2l_compat.c: Likewise.
30466 * math/w_atanh_compat.c: Likewise.
30467 * math/w_atanhf_compat.c: Likewise.
30468 * math/w_atanhl_compat.c: Likewise.
30469 * math/w_cosh_compat.c: Likewise.
30470 * math/w_coshf_compat.c: Likewise.
30471 * math/w_coshl_compat.c: Likewise.
30472 * math/w_exp10_compat.c: Likewise.
30473 * math/w_exp10f_compat.c: Likewise.
30474 * math/w_exp10l_compat.c: Likewise.
30475 * math/w_exp2_compat.c: Likewise.
30476 * math/w_exp2f_compat.c: Likewise.
30477 * math/w_exp2l_compat.c: Likewise.
30478 * math/w_fmod_compat.c: Likewise.
30479 * math/w_fmodf_compat.c: Likewise.
30480 * math/w_fmodl_compat.c: Likewise.
30481 * math/w_hypot_compat.c: Likewise.
30482 * math/w_hypotf_compat.c: Likewise.
30483 * math/w_hypotl_compat.c: Likewise.
30484 * math/w_j0_compat.c: Likewise.
30485 * math/w_j0f_compat.c: Likewise.
30486 * math/w_j0l_compat.c: Likewise.
30487 * math/w_j1_compat.c: Likewise.
30488 * math/w_j1f_compat.c: Likewise.
30489 * math/w_j1l_compat.c: Likewise.
30490 * math/w_jn_compat.c: Likewise.
30491 * math/w_jnf_compat.c: Likewise.
30492 * math/w_jnl_compat.c: Likewise.
30493 * math/w_lgamma_r_compat.c: Likewise.
30494 * math/w_lgammaf_r_compat.c: Likewise.
30495 * math/w_lgammal_r_compat.c: Likewise.
30496 * math/w_log10_compat.c: Likewise.
30497 * math/w_log10f_compat.c: Likewise.
30498 * math/w_log10l_compat.c: Likewise.
30499 * math/w_log2_compat.c: Likewise.
30500 * math/w_log2f_compat.c: Likewise.
30501 * math/w_log2l_compat.c: Likewise.
30502 * math/w_log_compat.c: Likewise.
30503 * math/w_logf_compat.c: Likewise.
30504 * math/w_logl_compat.c: Likewise.
30505 * math/w_pow_compat.c: Likewise.
30506 * math/w_powf_compat.c: Likewise.
30507 * math/w_powl_compat.c: Likewise.
30508 * math/w_remainder_compat.c: Likewise.
30509 * math/w_remainderf_compat.c: Likewise.
30510 * math/w_remainderl_compat.c: Likewise.
30511 * math/w_sinh_compat.c: Likewise.
30512 * math/w_sinhf_compat.c: Likewise.
30513 * math/w_sinhl_compat.c: Likewise.
30514 * math/w_sqrt_compat.c: Likewise.
30515 * math/w_sqrtf_compat.c: Likewise.
30516 * math/w_sqrtl_compat.c: Likewise.
30517 * math/w_tgamma_compat.c: Likewise.
30518 * math/w_tgammaf_compat.c: Likewise.
30519 * math/w_tgammal_compat.c: Likewise.
30520 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30521 [LIBM_SVID_COMPAT].
30522 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30523 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30524 [LIBM_SVID_COMPAT].
30525 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30526 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30527 [LIBM_SVID_COMPAT].
30528 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30529 * sysdeps/i386/fpu/w_sqrt.c: New file.
30530 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30531 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30532 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30533 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30534 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30535 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30536 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30537 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30538 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30539 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30540 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30541 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30542 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30543 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30544 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30545 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30546 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30547 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30548 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30549 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30550 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30551 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30552 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30553 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30554 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30555 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30556 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30557 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30558 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30559 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30560 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30561 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30562 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30563 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30564 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30565 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30566 * sysdeps/ia64/fpu/w_log.c: Likewise.
30567 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30568 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30569 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30570 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30571 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30572 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30573 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30574 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30575 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30576 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30577 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30578 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30579 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30580 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30581 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30582 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30583 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30584 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30585 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30586 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30587 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30588 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30589 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30591 [LIBM_SVID_COMPAT].
30592 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30593 * sysdeps/ieee754/k_standard.c: Likewise.
30594 * sysdeps/ieee754/k_standardf.c: Likewise.
30595 * sysdeps/ieee754/k_standardl.c: Likewise.
30596 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30597 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30598 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30599 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30600 long_double_symbol call on [LIBM_SVID_COMPAT].
30601 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30602 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30603 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30604 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30605 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30606 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30607 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30608 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30609 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30610 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30611 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30612 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30613 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30614 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30615 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30616 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30617 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30618 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30619 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30620 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30621 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30622 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30624 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30626 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30627 * malloc/tst-mallocstate.c: Convert from test-skeleton
30628 to test-driver. Ifdef code using TEST_COMPAT macro.
30629 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30630 * math/test-matherr.c: Likewise.
30632 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30635 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30636 comparing word with byte-swapped constant.
30638 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30641 * locale/iso-639.def: add Miskito.
30642 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30643 * localedata/locales/miq_NI: New file.
30645 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30648 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30649 (__mkdir): Likewise.
30650 * io/chmod.c (__chmod): Add libc_hidden_def.
30651 * io/mkdir.c (__mkdir): Likewise.
30652 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30653 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30654 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30655 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30657 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30659 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30663 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30664 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30666 2017-09-04 Florian Weimer <fweimer@redhat.com>
30668 * math/math.h: Issue warning if log is defined.
30670 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30672 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30673 kernel version to 4.13.
30675 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30677 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30678 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30680 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30681 just <bits/types.h>.
30682 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30683 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30684 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30685 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30686 * misc/preadv2.c: Include <errno.h>.
30687 * misc/preadv64v2.c: Include <errno.h>.
30688 * misc/pwritev2.c: Include <errno.h>.
30689 * misc/pwritev64v2.c: Include <errno.h>.
30690 * sysdeps/posix/preadv2.c: Include <errno.h>.
30691 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30692 Fix <unistd.h> inclusion.
30693 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30694 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30695 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30696 __strtoul_internal): New functions.
30697 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30698 * sysdeps/posix/system.c: Include <sigsetops.h>.
30699 * sysdeps/mach/hurd/i386/Makefile
30700 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30701 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30702 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30703 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30704 __feraiseexcept_renamed to feraiseexcept instead of
30705 __GI_feraiseexcept.
30706 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30707 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30708 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30709 RWF_NOWAIT): Define to 0 if undefined already.
30710 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30712 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30713 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30715 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30717 * manual/math.texi (pow10): Do not document.
30718 (pow10f): Likewise.
30719 (pow10l): Likewise.
30720 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30721 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30722 * math/libm-test-exp10.inc (pow10_test): Remove.
30723 (do_test): Do not call pow10.
30724 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30725 [NO_LONG_DOUBLE] (pow10l): Likewise.
30726 * math/w_exp10f_compat.c (pow10f): Likewise.
30727 * math/w_exp10l_compat.c (pow10l): Likewise.
30728 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30729 (pow10): Make into compat symbol.
30730 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30731 (pow10f): Make into compat symbol.
30732 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30733 (pow10l): Make into compat symbol.
30734 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30736 (CFLAGS-nldbl-pow10.c): Remove variable..
30737 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30738 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30739 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30740 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30741 Undefine and redefine.
30742 (pow10l): Make into compat symbol.
30743 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30744 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30745 * sysdeps/arm/libm-test-ulps: Likewise.
30746 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30747 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30748 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30749 * sysdeps/microblaze/libm-test-ulps: Likewise.
30750 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30751 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30752 * sysdeps/nios2/libm-test-ulps: Likewise.
30753 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30754 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30755 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30756 * sysdeps/sh/libm-test-ulps: Likewise.
30757 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30758 * sysdeps/tile/libm-test-ulps: Likewise.
30759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30761 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30763 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30765 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30767 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30768 "../ChangeLog.old/ChangeLog.8".
30769 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30770 "../ChangeLog.old/ChangeLog.14".
30772 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30774 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30777 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30779 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30781 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30783 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30784 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30786 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30788 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30789 32 atexit handlers.
30791 2017-09-01 Zack Weinberg <zackw@panix.com>
30793 * math/math.h (HUGE_VAL): Improve commentary.
30795 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30796 Andreas Schwab <schwab@suse.de>
30799 * include/stdio.h (__gen_tempfd): New function.
30800 * stdio-common/Makefile (routines): Add gentempfd.
30801 * stdio-common/gentempfd.c: New file.
30802 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30803 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30804 unnamed file first.
30806 2017-09-01 Florian Weimer <fweimer@redhat.com>
30810 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30811 result to determine success or failure, not the errno value.
30812 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30813 (tst-nss-files-hosts-erange): Link with -ldl.
30814 * nss/tst-nss-files-hosts-erange.c: New file.
30815 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30816 (do_test): Add NO_DATA tests.
30817 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30818 (do_test): Call it.
30820 2017-09-01 Florian Weimer <fweimer@redhat.com>
30823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30824 coming from gethostbyname2_r.
30826 2017-09-01 Florian Weimer <fweimer@redhat.com>
30828 * support/namespace.h (struct support_chroot_configuration): Add
30830 (struct support_chroot): Add path_hosts, path_host_conf.
30831 * support/support_chroot.c (write_file): New function.
30832 (support_chroot_create): Call it to process /etc/resolv.conf,
30833 /etc/hosts, /etc/host.conf.
30834 (support_chroot_free): Update.
30836 2017-09-01 Florian Weimer <fweimer@redhat.com>
30838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30839 status indicates it is set.
30841 2017-09-01 Florian Weimer <fweimer@redhat.com>
30844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30845 function lookup failures more reliable.
30847 2017-09-01 Florian Weimer <fweimer@redhat.com>
30849 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30850 (getcanonname): Likewise.
30851 (gaih_inet): Likewise.
30853 2017-09-01 Florian Weimer <fweimer@redhat.com>
30855 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30856 (getcanonname): Likewise.
30857 (gaih_inet): Likewise.
30859 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30860 Richard Henderson <rth@twiddle.net>
30862 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30863 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30864 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30865 (IREG_SIZE, OREG_SIZE): New macros.
30866 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30867 (IREG_SIZE, OREG_SIZE): New macros.
30868 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30869 (IREG_SIZE): New macro.
30870 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30871 (IREG_SIZE): New macro.
30872 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30874 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30875 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30876 (__CONCATX): Handle exceptions correctly on large values that may
30878 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30879 Initialize if not already set.
30880 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30882 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30884 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30885 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30887 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30889 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30891 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30893 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30895 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30897 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30899 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30900 (NO_CANCELLATION): Likewise.
30901 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30903 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30905 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30908 (NO_CANCELLATION): Likewise.
30909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30910 (NO_CANCELLATION): Likewise.
30911 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30913 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30915 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30917 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30919 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30921 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30922 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30924 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30926 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30929 2017-08-31 Florian Weimer <fweimer@redhat.com>
30931 * include/libc-symbols.h (internal_function): Remove.
30933 2017-08-31 Florian Weimer <fweimer@redhat.com>
30935 * stdlib/fmtmsg.c (internal_addseverity): Remove
30938 2017-08-31 Florian Weimer <fweimer@redhat.com>
30940 * stdio-common/printf_fp.c (group_number): Remove
30942 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30944 2017-08-31 Florian Weimer <fweimer@redhat.com>
30946 * posix/fnmatch.c (internal_function): Remove definition.
30947 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30948 * posix/regcomp.c (peek_token, init_word_char)
30949 (duplicate_node_closure, fetch_token, peek_token)
30950 (peek_token_bracket, build_range_exp, build_collating_symbol):
30952 * posix/regex_internal.c (re_string_construct_common)
30953 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30954 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30955 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30956 (re_string_translate_buffer, re_string_reconstruct)
30957 (re_string_peek_byte_case, re_string_fetch_byte_case)
30958 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30959 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30960 (re_node_set_add_intersect, re_node_set_init_union)
30961 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30962 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30963 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30964 (re_acquire_state_context): Likewise.
30965 * posix/regex_internal.h (internal_function): Remove definition.
30966 (re_string_realloc_buffers, build_wcs_buffer)
30967 (build_wcs_upper_buffer, build_upper_buffer)
30968 (re_string_translate_buffer, re_string_context_at)
30969 (re_string_char_size_at, re_string_wchar_at)
30970 (re_string_elem_size_at): Likewise.
30971 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30972 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30973 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30974 (re_search_internal, re_search_2_stub, re_search_stub)
30975 (re_copy_regs, prune_impossible_nodes, check_matching)
30976 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30977 (free_fail_stack_return, sift_states_iter_mb)
30978 (sift_states_backward, build_sifted_states)
30979 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30980 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30981 (check_subexp_limits, sift_states_bkref, merge_state_array)
30982 (find_recover_state, transit_state, merge_state_with_log)
30983 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30984 (transit_state_mb, transit_state_bkref, get_subexp)
30985 (get_subexp_sub, find_subexp_node, check_arrival)
30986 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30987 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30988 (check_node_accept_bytes, find_collation_sequence_value)
30989 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30990 (acquire_init_state_context, check_halt_node_context)
30991 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30992 (sub_epsilon_src_nodes): Likewise.
30993 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30994 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30995 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30996 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30997 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30998 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30999 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31000 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31001 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31002 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31003 (PREADV): Likewise.
31004 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31005 (PREADV): Likewise.
31006 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31007 (PWRITEV): Likewise.
31008 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31009 (PWRITEV): Likewise.
31010 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31011 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31013 2017-08-31 Florian Weimer <fweimer@redhat.com>
31015 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31016 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31017 Remove internal_function.
31018 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31019 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31020 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31021 (__deallocate_stack, __libc_pthread_init)
31022 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31023 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31024 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31026 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31027 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31028 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31030 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31031 (__pthread_mutex_unlock_usercnt): Likewise.
31033 2017-08-31 Florian Weimer <fweimer@redhat.com>
31035 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31036 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31037 (fts_safe_changedir): Remove internal_function.
31038 * io/ftw.c (internal_function): Remove definition.
31039 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31041 2017-08-31 Florian Weimer <fweimer@redhat.com>
31043 * inet/deadline.c (__deadline_current_time)
31044 (__deadline_from_timeval, __deadline_to_ms): Remove
31046 * inet/getnameinfo.c (nrl_domainname): Likewise.
31047 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31048 * inet/inet6_option.c (add_pad): Likewise.
31049 * inet/net-internal.h (__deadline_current_time)
31050 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31051 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31052 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31053 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31055 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31057 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31058 include <bits/nan.h>.
31059 * math/Makefile (headers): Remove bits/nan.h.
31060 * bits/nan.h: Remove.
31061 * sysdeps/ieee754/bits/nan.h: Likewise.
31062 * sysdeps/mips/bits/nan.h: Likewise.
31064 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31065 not include <bits/inf.h>.
31066 * math/Makefile (headers): Remove bits/inf.h.
31067 * bits/inf.h: Remove.
31068 * sysdeps/ieee754/bits/inf.h: Likewise.
31070 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31071 bits/huge_vall.h or bits/huge_val_flt128.h.
31072 (HUGE_VAL): Define directly here.
31073 [__USE_ISOC99] (HUGE_VALF): Likewise.
31074 [__USE_ISOC99] (HUGE_VALL): Likewise.
31075 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31076 (HUGE_VAL_F128): Likewise.
31077 * math/Makefile (headers): Remove bits/huge_val.h,
31078 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31079 * bits/huge_val.h: Remove.
31080 * bits/huge_val_flt128.h: Likewise.
31081 * bits/huge_valf.h: Likewise.
31082 * bits/huge_vall.h: Likewise.
31083 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31084 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31085 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31086 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31087 * sysdeps/sh/bits/huge_val.h: Likewise.
31088 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31089 * sysdeps/x86/bits/huge_vall.h: Likewise.
31091 2017-08-31 Florian Weimer <fweimer@redhat.com>
31093 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31095 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31097 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31098 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31099 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31100 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31101 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31102 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31103 * elf/dl-libc.c (dlerror_run): Likewise.
31104 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31105 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31106 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31107 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31109 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31110 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31111 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31112 * elf/dl-profile.c (_dl_start_profile): Likewise.
31113 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31114 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31116 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31117 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31118 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31119 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31120 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31121 (_dl_allocate_tls_storage): Likewise.
31122 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31123 (_dl_check_all_versions): Likewise.
31124 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31125 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31126 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31127 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31128 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31129 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31130 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31131 internal_function from __dl_start.
31132 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31133 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31134 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31135 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31136 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31137 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31138 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31139 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31140 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31141 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31142 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31143 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31144 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31145 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31146 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31148 (struct rtld_global_ro): Remove internal_function from the
31149 _dl_lookup_symbol_x member.
31150 (_dl_symbol_value): Remove. No longer defined anywhere.
31151 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31153 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31154 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31155 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31156 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31157 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31158 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31159 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31160 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31161 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31162 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31163 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31164 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31166 2017-08-31 Florian Weimer <fweimer@redhat.com>
31168 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31169 Remove internal_function.
31170 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31172 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31175 2017-08-31 Florian Weimer <fweimer@redhat.com>
31177 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31178 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31179 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31181 2017-08-31 Florian Weimer <fweimer@redhat.com>
31183 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31184 (__gai_enqueue_request): Remove internal_function.
31185 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31186 (__gai_remove_request, __gai_notify, __gai_notify_only)
31187 (__gai_sigqueue): Likewise.
31188 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31189 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31190 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31191 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31194 2017-08-31 Florian Weimer <fweimer@redhat.com>
31196 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31197 * include/dirent.h (__opendirat, __getdents, __getdents64)
31198 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31199 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31200 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31201 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31205 2017-08-31 Florian Weimer <fweimer@redhat.com>
31207 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31209 (GETCWD_RETURN_TYPE): Likewise.
31211 2017-08-31 Florian Weimer <fweimer@redhat.com>
31213 * include/time.h (__tz_compute, __strptime_internal): Remove
31215 * time/strptime_l.c (__strptime_internal): Likewise.
31216 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31218 2017-08-31 Florian Weimer <fweimer@redhat.com>
31220 * iconv/gconv.c (__gconv): Remove internal_function.
31221 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31222 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31223 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31224 (__gconv_release_cache): Likewise.
31225 * iconv/gconv_close.c (__gconv_close): Likewise.
31226 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31227 (read_conf_file, __gconv_get_path): Likewise.
31228 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31229 (__gconv_release_step, gen_steps, increment_counter)
31230 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31231 (__gconv_close_transform, free_modules_db): Likewise.
31232 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31234 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31235 (__gconv_find_transform, __gconv_lookup_cache)
31236 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31237 (__gconv_close_transform, __gconv_release_cache)
31238 (__gconv_loaded_object, __gconv_release_shlib)
31239 (__gconv_compare_alias): Likewise.
31240 * iconv/gconv_open.c (__gconv_open): Likewise.
31241 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31242 * iconv/iconvconfig.c (add_module): Likewise.
31243 * intl/dcigettext.c (plural_lookup, guess_category_value)
31244 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31245 * intl/eval-plural.h (plural_eval): Likewise.
31246 * intl/finddomain.c (_nl_find_domain): Likewise.
31247 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31248 (_nl_load_domain, _nl_find_msg): Likewise.
31249 (internal_function): Remove definition.
31250 * intl/loadinfo.h (internal_function): Likewise.
31251 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31253 * intl/localealias.c (internal_function): Remove definition.
31254 (read_alias_file): Remove internal_function.
31255 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31256 * intl/plural-exp.h (internal_function): Remove definition.
31257 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31259 * intl/plural.c: Regenerate.
31260 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31261 * locale/coll-lookup.c (__collidx_table_lookup)
31262 (__collseq_table_lookup): Likewise.
31263 * locale/coll-lookup.h (__collidx_table_lookup)
31264 (__collseq_table_lookup): Likewise.
31265 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31266 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31267 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31268 (_nl_unload_locale): Likewise.
31269 * locale/localeinfo.h (struct __locale_data): Remove
31270 internal_function from cleanup member.
31271 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31272 (_nl_remove_locale, _nl_load_locale_from_archive)
31273 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31274 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31275 (_nl_cleanup_time): Remove internal_function.
31276 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31277 (_nl_parse_alt_digit): Likewise.
31278 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31279 (_nl_select_era_entry): Likewise.
31280 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31281 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31282 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31283 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31284 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31286 2017-08-31 Florian Weimer <fweimer@redhat.com>
31288 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31289 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31290 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31291 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31293 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31294 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31295 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31296 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31298 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31300 2017-08-31 Florian Weimer <fweimer@redhat.com>
31302 * misc/getttyent.c (skip, value): Remove internal_function.
31303 * misc/syslog.c (openlog_internal): Likewise.
31304 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31306 2017-08-31 Florian Weimer <fweimer@redhat.com>
31308 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31309 (__nss_rewrite_field): Remove internal_function.
31310 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31311 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31312 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31313 * nss/nsswitch.c (nss_parse_file, nss_getline)
31314 (nss_parse_service_list, nss_new_service): Likewise.
31315 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31316 * nss/valid_field.c (__nss_valid_field): Likewise.
31317 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31319 2017-08-31 Florian Weimer <fweimer@redhat.com>
31321 * malloc/arena.c (__malloc_fork_lock_parent)
31322 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31323 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31324 internal_function from defintions.
31325 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31326 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31327 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31328 internal_function from declarations.
31329 * malloc/malloc.c (internal_function): Do not define.
31330 (mem2mem_check): Remove internal_function from declaration.
31331 (munmap_chunk, mremap_chunk): Remove internal_function.
31332 * malloc/mtrace.c (tr_where): Likewise.
31334 2017-08-31 Florian Weimer <fweimer@redhat.com>
31336 * include/rpc/pmap_clnt.h (__get_socket): Remove
31338 * sunrpc/auth_des.c (synchronize): Likewise.
31339 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31340 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31341 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31342 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31343 (key_call): Likewise.
31344 * sunrpc/pm_getport.c (__get_socket): Likewise.
31345 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31346 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31347 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31348 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31349 (invalidate): Likewise.
31350 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31351 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31352 (set_input_fragment, get_input_bytes): Likewise.
31354 2017-08-31 Florian Weimer <fweimer@redhat.com>
31356 * malloc/malloc.c (_int_free): Remove locked variable and related
31359 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31362 * Makerules (build-module-helper-objlist): Filter out
31363 $(elf-objpfx)sofini.os.
31364 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31367 2017-08-31 Florian Weimer <fweimer@redhat.com>
31369 * libio/fcloseall.c: Assume weak_alias is defined.
31370 * libio/feof.c: Likewise.
31371 * libio/fileno.c: Likewise.
31372 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31373 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31375 (_IO_file_open): Call __open directly.
31376 (_IO_new_file_sync): Assume ESPIPE is defined.
31377 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31378 (_IO_new_file_write): Call __write directly.
31379 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31380 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31381 * libio/genops.c: Assume _LIBC is defined.
31382 (save_for_backup): Remove internal_function.
31383 * libio/getc.c: Assume weak_alias is defined.
31384 * libio/getwc.c: Likewise.
31385 * libio/iofclose.c: Assume _LIBC is defined.
31386 * libio/iofdopen.c: Likewise.
31387 (_IO_fcntl): Remove macro definition.
31388 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31389 Call __fcntl directly.
31390 * libio/iofflush.c: Assume weak_alias is defined.
31391 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31393 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31394 * libio/iofgets.c: Likewise.
31395 * libio/iofopen.c: Assume _LIBC is defined.
31396 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31397 * libio/iofputs.c: Assume weak_alias is defined.
31398 * libio/iofread.c: Likewise.
31399 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31400 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31401 * libio/ioftell.c: Assume weak_alias is defined.
31402 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31403 * libio/iofwide.c: Assume _LIBC is defined.
31404 (_IO_fwide): Drop SHARED conditional because it is implied by
31406 * libio/iofwrite.c: Assume weak_alias is defined.
31407 * libio/iogetdelim.c: Likewise.
31408 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31409 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31410 (_IO_getwline): Call __wmemcpy directly.
31411 * libio/iopopen.c: Assume _LIBC is defined.
31412 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31413 (_IO_close): Remove macro definitions.
31414 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31416 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31418 * libio/ioputs.c: Assume weak_alias is defined.
31419 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31420 * libio/iosetbuffer.c: Assume weak_alias is defined.
31421 * libio/iosetvbuf.c: Likewise.
31422 * libio/ioungetc.c: Likewise.
31423 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31424 libc_hidden_def, libc_hidden_weak, NULL are defined.
31425 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31426 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31428 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31430 (_IO_old_file_init_internal): Drop SHARED conditional because it
31431 is implied by SHLIB_COMPAT.
31432 (_IO_old_file_fopen): Call __open directly.
31433 (_IO_old_file_sync): Assume ESPIPE is defined.
31434 (_IO_old_file_write): Call __write directly.
31435 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31436 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31437 Call __fcntl directly.
31438 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31439 (_IO_old_fgetpos): Assume EIO is defined.
31440 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31441 (_IO_old_fgetpos64): Assume EIO is defined.
31442 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31443 (_IO_old_fsetpos): Assume EIO is defined.
31444 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31445 (_IO_old_fsetpos64): Assume EIO is defined.
31446 * libio/oldiopopen.c: Assume _LIBC is defined.
31447 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31448 (_IO_close): Remove macro definitions.
31449 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31451 (_IO_old_proc_close): Call __close, __waitpid directly.
31452 * libio/put.c: Assume weak_alias is defined.
31453 * libio/stdfiles.c: Assume _LIBC is defined.
31454 * libio/stdio.c: Likewise.
31455 * libio/wfileops.c: Likewise.
31456 (_IO_wfile_sync): Assume ESPIPE is defined.
31457 * libio/wgenops.c: Assume _LIBC is defined.
31458 (save_for_wbackup): Remove internal_function.
31460 2017-08-31 Florian Weimer <fweimer@redhat.com>
31462 * malloc/malloc.c (top_check): Change return type to void. Remove
31464 * malloc/hooks.c (top_check): Likewise.
31465 (malloc_check, realloc_check, memalign_check): Adjust.
31467 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31470 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31471 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31472 sigcontext and namespace requirements.
31473 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31474 * sysdeps/m68k/sys/ucontext.h: Likewise.
31475 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31476 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31477 <bits/sigcontext.h>.
31478 (__ctx): Define earlier.
31479 (mcontext_t): Define structure contents rather than using struct
31481 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31482 __glibc_reserved1 instead of __reserved.
31483 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31484 <bits/sigcontext.h>.
31485 (__ctx): Define earlier.
31486 (mcontext_t): Define structure contents rather than using struct
31488 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31489 mcontext_t instead of struct sigcontext.
31490 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31491 <bits/sigcontext.h>.
31492 (__ctx): Define earlier.
31493 (mcontext_t): Define structure contents rather than using struct
31495 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31496 <bits/sigcontext.h>.
31497 (__ctx): Define earlier.
31498 (mcontext_t): Define structure contents rather than using struct
31500 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31501 mcontext_t instead of struct sigcontext.
31502 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31503 mcontext_t instead of struct sigcontext.
31504 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31505 <bits/sigcontext.h>.
31506 (__ctx): New macro.
31507 (struct __ia64_fpreg_mcontext): New type.
31508 (mcontext_t): Define structure contents rather than using struct
31510 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31511 (uc_sigmask): Define using __ctx.
31512 (uc_stack): Likewise.
31513 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31514 <bits/sigcontext.h>.
31515 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31516 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31517 <bits/sigcontext.h>.
31518 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31519 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31520 <bits/sigcontext.h>.
31521 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31522 <bits/sigcontext.h>.
31523 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31524 <bits/sigcontext.h>.
31525 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31526 <bits/sigcontext.h>.
31527 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31528 <bits/sigcontext.h>.
31529 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31530 <bits/sigcontext.h>.
31531 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31532 <bits/sigcontext.h>.
31533 (__ctx): Define earlier.
31534 (mcontext_t): Define structure contents rather than using struct
31536 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31537 <bits/sigcontext.h>. Include <bits/types.h>.
31538 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31539 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31540 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31541 (test-xfail-UNIX98/signal.h/conform): Likewise.
31542 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31543 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31544 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31545 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31546 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31547 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31548 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31549 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31550 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31552 2017-08-30 Florian Weimer <fweimer@redhat.com>
31554 * malloc/dynarray_emplace_enlarge.c
31555 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31556 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31557 * malloc/tst-dynarray.c (test_long_overflow): New function.
31558 (do_test): Call it.
31560 2017-08-30 Florian Weimer <fweimer@redhat.com>
31562 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31563 (set_arena_corrupt): Remove definitions.
31564 (mtrim): Do not check for corrupt arena.
31565 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31568 2017-08-30 Florian Weimer <fweimer@redhat.com>
31571 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31573 (ptmalloc_init): Do not set or use check_action.
31574 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31575 call to malloc_printerr. Remove return statement.
31576 (free_check): Likewise. Remove arena unlock.
31577 (top_check): Update comment. Adjust call to malloc_printerr.
31578 Remove heap repair code.
31579 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31580 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31581 (sysmalloc): Adjust call to malloc_printerr.
31582 (munmap_chunk, __libc_realloc): Likewise. Remove return
31584 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31585 Remove errout label and corresponding gotos.
31586 (_int_free): Likewise. Remove arena unlock.
31587 (do_set_mallopt_check): Do not set check_action.
31588 (malloc_printerr): Adjust parameter list. Do not mark arena as
31590 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31592 * manual/probes.texi (Memory Allocation Probes): Remove
31593 memory_mallopt_check_action.
31595 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31597 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31598 Use pointer to uint64_t instead of long int for sp.
31600 2017-08-30 Florian Weimer <fweimer@redhat.com>
31603 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31604 without printing a backtrace. Do not leak any information in the
31606 * manual/memory.texi (Heap Consistency Checking): Update.
31607 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31609 2017-08-30 Florian Weimer <fweimer@redhat.com>
31611 Do not scale NPTL tests with available number of CPUs.
31612 * nptl/tst-cond16.c (count): Set to constant value of 8.
31613 * nptl/tst-cond18.c (count): Likewise.
31615 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31618 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31619 Define to take a second argument that is a macro that
31620 concatentates a suffix, not the suffix itself.
31621 (__CONCAT_d): New macro.
31622 (__CONCAT_f): Likewise.
31623 (__CONCAT_l): Likewise.
31625 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31627 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31630 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31631 Aurelien Jarno <aurelien@aurel32.net>
31632 Maciej W. Rozycki <macro@imgtec.com>
31635 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31636 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31637 `mips16-syscall6' and `mips16-syscall7'.
31638 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31639 (CFLAGS-mips16-syscall7.c): Remove.
31640 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31641 Remove `__mips16_syscall5', `__mips16_syscall6' and
31642 `__mips16_syscall7'.
31643 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31644 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31645 `__mips_syscall_return'.
31646 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31647 (__mips16_syscall1): Likewise.
31648 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31649 (__mips16_syscall2): Likewise.
31650 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31651 (__mips16_syscall3): Likewise.
31652 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31653 (__mips16_syscall4): Likewise.
31654 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31656 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31658 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31660 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31661 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31662 `__mips16_syscall5'. Remove prototype.
31663 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31664 `__mips16_syscall6'. Remove prototype.
31665 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31666 `__mips16_syscall7'. Remove prototype.
31667 (__nomips16, __mips16_syscall_return): Move to...
31668 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31669 (__nomips16, __mips_syscall_return): ... here.
31670 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31671 `__mips16_syscall_return' to `__mips_syscall_return'.
31672 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31673 `internal_syscall##nr'.
31674 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31675 `internal_syscall##nr'.
31676 (FORCE_FRAME_POINTER): Remove.
31677 (__mips_syscall5): New prototype.
31678 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31679 (__mips_syscall6): New prototype.
31680 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31681 (__mips_syscall7): New prototype.
31682 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31683 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31684 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31685 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31686 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31687 (sysdep_routines): Add libc-do-syscall.
31688 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31689 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31691 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31694 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31695 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31696 (advise_stack_range): New function.
31697 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31698 stack non required to advise_stack_range at allocatestack.c
31700 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31702 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31704 2017-08-29 Florian Weimer <fweimer@redhat.com>
31707 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31708 __end_fct. Mangle __end_fct after setting it to NULL.
31709 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31710 (modules-names, modules-names-tests): Add
31711 tst-gconv-init-failure-mod.
31712 (gconv-modules): New target.
31713 (tst-gconv-init-failure-mod.so): Link against libsupport.
31714 (tst-gconv-init-failure): Depend on gconv-modules,
31715 tst-gconv-init-failure-mod.so.
31716 * iconv/tst-gconv-init-failure-mod.c: New file.
31717 * iconv/tst-gconv-init-failure.c: Likewise.
31718 * iconv/test-gconv-modules: Likewise.
31720 2017-08-29 Florian Weimer <fweimer@redhat.com>
31723 * iconv/gconv_db.c (free_derivation): Remove redundant
31725 (gen_steps): Unconditionally mangle __btowc_fct after
31727 (increment_counter): Likewise. Do not call init_fct for internal
31730 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31733 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31734 (_MSUF_): Remove macro.
31735 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31737 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31738 (__REDIRFROM_X): New macro.
31739 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31741 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31742 (__REDIRTO_X): Likewise.
31743 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31745 (__MATH_REDIRCALL_2): Likewise.
31746 (__MATH_REDIRCALL_INTERNAL): Likewise.
31747 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31748 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31749 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31750 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31751 * math/test-finite-macros.c: New file.
31752 * math/Makefile (tests): Add test-finite-macros.
31753 (CFLAGS-test-finite-macros.c): New variable.
31755 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31756 Jeff Law <law@redhat.com>
31759 Mangle NULL pointers in iconv/gconv.
31760 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31761 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31762 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31763 is non-NULL before demangling the end_fct. Check for NULL
31764 end_fct after demangling.
31765 (__gconv_release_step): Demangle the end_fct before checking
31766 it for NULL. Remove assert on __shlibc_handle != NULL.
31767 (gen_steps): Don't check btowc_fct for NULL before mangling.
31768 Demangle init_fct before checking for NULL.
31769 (increment_counter): Likewise.
31770 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31771 end_fct for NULL before mangling.
31772 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31775 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31778 * locale/iso-639.def: add Morisyen.
31780 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31783 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31784 (iszero): New C++ implementation that does not use
31785 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31786 signaling nans are enabled, since __builtin_types_compatible_p
31787 is a C-only feature.
31788 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31789 defined, include ieee754_float128.h for access to the union and
31790 member ieee854_float128.ieee.
31791 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31792 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31793 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31794 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31795 options of test-math-zero on powerpc64le.
31797 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31799 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31800 Change double to float.
31802 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31804 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31806 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31807 conditional code; define contents only for [LIBM_SVID_COMPAT].
31809 2017-08-28 Florian Weimer <fweimer@redhat.com>
31811 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31812 (abi-lp64_be-options): Remove.
31813 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31814 (abi-hard-options): Likewise.
31815 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31816 (abi-o32_hard-options, abi-o32_soft_2008-options)
31817 (abi-o32_hard_2008-options, abi-n32_soft-options)
31818 (abi-n32_hard-options, abi-n32_soft_2008-options)
31819 (abi-n32_hard_2008-options, abi-n64_soft-options)
31820 (abi-n64_hard-options, abi-n64_soft_2008-options)
31821 (abi-n64_hard_2008-options): Likewise.
31822 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31823 (abi-64-v1-options, abi-64-v2-options): Likewise.
31824 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31825 (abi-64-options): Likewise.
31826 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31827 (abi-64-options): Likewise.
31828 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31829 (abi-64-options): Likewise.
31830 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31831 (abi-64-options, abi-x32-options): Likewise.
31833 2017-08-28 Florian Weimer <fweimer@redhat.com>
31835 Store supported list of SYS_* system calls in the source tree.
31836 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31837 (bits/syscall.h): Generate from list file.
31838 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31839 [$(subdir) = misc] (tests): Add tst-syscall-list.
31840 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31841 [$(subdir) = misc] (tst-syscall-list-macros.list)
31842 [$(subdir) = misc] (tst-syscall-list-nr.list)
31843 (tst-syscall-list-sys.list): Helper targets for new
31844 tst-syscall-list test.
31845 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31846 tst-syscall-list.sh.
31847 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31848 target. Do not include bits/syscall.d.
31849 [$(subdir) = misc] (generated): Do not update.
31850 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31851 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31852 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31853 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31855 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31857 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31858 (tst-cxa_atexit, tst-on_exit): Likewise.
31859 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31860 tst-cxa_atexit, and tst-on_exit.
31861 * stdlib/tst-atexit-common.c: New file.
31862 * stdlib/tst-atexit.c: New file.
31863 * stdlib/tst-at_quick_exit.c: New file.
31864 * stdlib/tst-cxa_atexit.c: New file.
31865 * stdlib/tst-on_exit.c: New file.
31867 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31869 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31870 * mach/stack_chk_fail_local.c: New file.
31871 * hurd/stack_chk_fail_local.c: New file.
31872 * mach/Machrules ($(interface-library)-routines): Add
31873 stack_chk_fail_local.
31874 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31875 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31876 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31877 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31878 * hurd/Makefile (CFLAGS-hurdstartup.o,
31879 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31881 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31883 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31884 (index_cpu_*, index_arch_*): Removed.
31886 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31888 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31889 Use uint64_t instead of unsigned long.
31891 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31893 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31894 [__HAVE_DISTINCT_FLOAT128].
31896 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31897 of <bits/math-finite.h>.
31898 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31899 inclusion of <bits/math-finite.h>.
31900 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31901 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31902 __NO_LONG_DOUBLE_MATH].
31903 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31904 (__MATH_REDIRCALL_2): Likewise.
31905 (__MATH_REDIRCALL_INTERNAL): Likewise.
31906 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31907 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31908 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31922 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31923 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31924 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31925 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31927 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31928 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31929 w_sqrtf_compat-ppc32.
31931 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31933 * math/math.h [defined __cplusplus] (issignaling): In the long
31934 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31935 is not defined. Call __issignaling, otherwise.
31937 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31939 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31940 syscall definitions and replace __builtin_expect with __glibc_likely.
31941 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31943 (SYSCALL_CANCELLABLE): Removedefinition
31944 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31946 (PSEUDO_END): Likewise.
31947 [IS_IN (libpthread)] (CENABLE): Likewise.
31948 [IS_IN (libpthread)] (CDISABLE): Likewise.
31949 [IS_IN (libc)] (CENABLE): Likewise.
31950 [IS_IN (libc)] (CENABLE): Likewise.
31951 [IS_IN (librt)] (CDISABLE): Likewise.
31952 [IS_IN (librt)] (CDISABLE): Likewise.
31953 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31954 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31956 (PSEUDO_END): Likewise.
31957 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31958 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31959 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31960 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31961 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31962 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31963 (CENABLE): Likewise.
31964 (CDISABLE): Likewise.
31965 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31966 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31968 (PSEUDO_END): Likewise.
31969 [IS_IN (libpthread)] (CENABLE): Likewise.
31970 [IS_IN (libpthread)] (CDISABLE): Likewise.
31971 [IS_IN (libc)] (CENABLE): Likewise.
31972 [IS_IN (libc)] (CENABLE): Likewise.
31973 [IS_IN (librt)] (CDISABLE): Likewise.
31974 [IS_IN (librt)] (CDISABLE): Likewise.
31975 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31976 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31978 (PSEUDO_END): Likewise.
31979 [IS_IN (libpthread)] (CENABLE): Likewise.
31980 [IS_IN (libpthread)] (CDISABLE): Likewise.
31981 [IS_IN (libc)] (CENABLE): Likewise.
31982 [IS_IN (libc)] (CENABLE): Likewise.
31983 [IS_IN (librt)] (CDISABLE): Likewise.
31984 [IS_IN (librt)] (CDISABLE): Likewise.
31985 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31986 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31988 (PSEUDO_END): Likewise.
31989 [IS_IN (libpthread)] (CENABLE): Likewise.
31990 [IS_IN (libpthread)] (CDISABLE): Likewise.
31991 [IS_IN (libc)] (CENABLE): Likewise.
31992 [IS_IN (libc)] (CENABLE): Likewise.
31993 [IS_IN (librt)] (CDISABLE): Likewise.
31994 [IS_IN (librt)] (CDISABLE): Likewise.
31995 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31996 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31998 (PSEUDO_END): Likewise.
31999 [IS_IN (libpthread)] (CENABLE): Likewise.
32000 [IS_IN (libpthread)] (CDISABLE): Likewise.
32001 [IS_IN (libc)] (CENABLE): Likewise.
32002 [IS_IN (libc)] (CENABLE): Likewise.
32003 [IS_IN (librt)] (CDISABLE): Likewise.
32004 [IS_IN (librt)] (CDISABLE): Likewise.
32005 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32006 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32008 (PSEUDO_END): Likewise.
32009 [IS_IN (libpthread)] (CENABLE): Likewise.
32010 [IS_IN (libpthread)] (CDISABLE): Likewise.
32011 [IS_IN (libc)] (CENABLE): Likewise.
32012 [IS_IN (libc)] (CENABLE): Likewise.
32013 [IS_IN (librt)] (CDISABLE): Likewise.
32014 [IS_IN (librt)] (CDISABLE): Likewise.
32015 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32016 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32018 (PSEUDO_END): Likewise.
32019 [IS_IN (libpthread)] (CENABLE): Likewise.
32020 [IS_IN (libpthread)] (CDISABLE): Likewise.
32021 [IS_IN (libc)] (CENABLE): Likewise.
32022 [IS_IN (libc)] (CENABLE): Likewise.
32023 [IS_IN (librt)] (CDISABLE): Likewise.
32024 [IS_IN (librt)] (CDISABLE): Likewise.
32025 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32026 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32028 (PSEUDO_END): Likewise.
32029 [IS_IN (libpthread)] (CENABLE): Likewise.
32030 [IS_IN (libpthread)] (CDISABLE): Likewise.
32031 [IS_IN (libc)] (CENABLE): Likewise.
32032 [IS_IN (libc)] (CENABLE): Likewise.
32033 [IS_IN (librt)] (CDISABLE): Likewise.
32034 [IS_IN (librt)] (CDISABLE): Likewise.
32035 (SINGLE_THREAD_P): Likewise.
32036 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32038 (PSEUDO_END): Likewise.
32039 [IS_IN (libpthread)] (CENABLE): Likewise.
32040 [IS_IN (libpthread)] (CDISABLE): Likewise.
32041 [IS_IN (libc)] (CENABLE): Likewise.
32042 [IS_IN (libc)] (CENABLE): Likewise.
32043 [IS_IN (librt)] (CDISABLE): Likewise.
32044 [IS_IN (librt)] (CDISABLE): Likewise.
32045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32046 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32048 (PSEUDO_END): Likewise.
32049 [IS_IN (libpthread)] (CENABLE): Likewise.
32050 [IS_IN (libpthread)] (CDISABLE): Likewise.
32051 [IS_IN (libc)] (CENABLE): Likewise.
32052 [IS_IN (libc)] (CENABLE): Likewise.
32053 [IS_IN (librt)] (CDISABLE): Likewise.
32054 [IS_IN (librt)] (CDISABLE): Likewise.
32055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32056 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32057 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32058 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32061 (PSEUDO_END): Likewise.
32062 [IS_IN (libpthread)] (CENABLE): Likewise.
32063 [IS_IN (libpthread)] (CDISABLE): Likewise.
32064 [IS_IN (libc)] (CENABLE): Likewise.
32065 [IS_IN (libc)] (CENABLE): Likewise.
32066 [IS_IN (librt)] (CDISABLE): Likewise.
32067 [IS_IN (librt)] (CDISABLE): Likewise.
32068 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32071 (PSEUDO_END): Likewise.
32072 [IS_IN (libpthread)] (CENABLE): Likewise.
32073 [IS_IN (libpthread)] (CDISABLE): Likewise.
32074 [IS_IN (libc)] (CENABLE): Likewise.
32075 [IS_IN (libc)] (CENABLE): Likewise.
32076 [IS_IN (librt)] (CDISABLE): Likewise.
32077 [IS_IN (librt)] (CDISABLE): Likewise.
32078 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32079 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32081 (PSEUDO_END): Likewise.
32082 [IS_IN (libpthread)] (CENABLE): Likewise.
32083 [IS_IN (libpthread)] (CDISABLE): Likewise.
32084 [IS_IN (libc)] (CENABLE): Likewise.
32085 [IS_IN (libc)] (CENABLE): Likewise.
32086 [IS_IN (librt)] (CDISABLE): Likewise.
32087 [IS_IN (librt)] (CDISABLE): Likewise.
32088 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32091 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32092 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32094 (PSEUDO_END): Likewise.
32095 [IS_IN (libpthread)] (CENABLE): Likewise.
32096 [IS_IN (libpthread)] (CDISABLE): Likewise.
32097 [IS_IN (libc)] (CENABLE): Likewise.
32098 [IS_IN (libc)] (CENABLE): Likewise.
32099 [IS_IN (librt)] (CDISABLE): Likewise.
32100 [IS_IN (librt)] (CDISABLE): Likewise.
32101 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32102 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32104 (PSEUDO_END): Likewise.
32105 [IS_IN (libpthread)] (CENABLE): Likewise.
32106 [IS_IN (libpthread)] (CDISABLE): Likewise.
32107 [IS_IN (libc)] (CENABLE): Likewise.
32108 [IS_IN (libc)] (CENABLE): Likewise.
32109 [IS_IN (librt)] (CDISABLE): Likewise.
32110 [IS_IN (librt)] (CDISABLE): Likewise.
32111 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32113 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32115 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32117 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32119 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32121 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32124 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32125 middle and outer with size_t instead of int. Repleace %d and
32126 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32127 "MAX (outer, nchars - 64)" to support unsigned outer and
32128 nchars. Also exit loop when outer == 0.
32130 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32132 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32133 * include/signal.h (__sigsuspend_nocancel): Likewise.
32134 * include/time.h (__nanosleep_nocancel): Likewise.
32135 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32136 * login/utmp_file.c: Include non cancellable syscall header.
32137 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32140 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32142 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32143 .byte sequences with AVX512F instructions.
32144 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32145 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32146 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32149 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32152 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32153 Steve Ellcey <sellcey@cavium.com>
32155 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32156 Use PTR_REG macro in cmp instruction.
32158 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32160 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32161 Change the return type of the ifunc resolver to match the return
32162 type of the target function.
32164 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32166 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32167 (preadv64): Likewise.
32168 (pwrite64(: Likewise.
32169 (pwritev64): Likewise.
32171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32172 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32173 (LOAD_ARGS_0): Likewise.
32174 (LOAD_ARGS_1): Likewise.
32175 (LOAD_ARGS_2): Likewise.
32176 (LOAD_ARGS_3): Likewise.
32177 (LOAD_ARGS_4): Likewise.
32178 (LOAD_ARGS_5): Likewise.
32179 (LOAD_ARGS_6): Likewise.
32180 (LOAD_REGS_0): Likewise.
32181 (LOAD_REGS_1): Likewise.
32182 (LOAD_REGS_2): Likewise.
32183 (LOAD_REGS_3): Likewise.
32184 (LOAD_REGS_4): Likewise.
32185 (LOAD_REGS_5): Likewise.
32186 (LOAD_REGS_6): Likewise.
32187 (ASM_ARGS_0): Likewise.
32188 (ASM_ARGS_1): Likewise.
32189 (ASM_ARGS_2): Likewise.
32190 (ASM_ARGS_3): Likewise.
32191 (ASM_ARGS_4): Likewise.
32192 (ASM_ARGS_5): Likewise.
32193 (ASM_ARGS_6): Likewise.
32194 (LOAD_ARGS_TYPES_1): Likewise.
32195 (LOAD_ARGS_TYPES_2): Likewise.
32196 (LOAD_ARGS_TYPES_3): Likewise.
32197 (LOAD_ARGS_TYPES_4): Likewise.
32198 (LOAD_ARGS_TYPES_5): Likewise.
32199 (LOAD_ARGS_TYPES_6): Likewise.
32200 (LOAD_REGS_TYPES_1): Likewise.
32201 (LOAD_REGS_TYPES_2): Likewise.
32202 (LOAD_REGS_TYPES_3): Likewise.
32203 (LOAD_REGS_TYPES_4): Likewise.
32204 (LOAD_REGS_TYPES_5): Likewise.
32205 (LOAD_REGS_TYPES_6): Likewise.
32206 (TYPEFY): New define.
32207 (ARGIFY): Likewise.
32208 (internal_syscall0): Likewise.
32209 (internal_syscall1): Likewise.
32210 (internal_syscall2): Likewise.
32211 (internal_syscall3): Likewise.
32212 (internal_syscall4): Likewise.
32213 (internal_syscall5): Likewise.
32214 (internal_syscall6): Likewise.
32215 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32216 (INTERNAL_SYSCALL_NCS): Remove define.
32217 (internal_syscall1): Add define.
32219 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32221 * math/w_remainder_compat.c: Remove duplicate inclusion of
32222 math-svid-compat.h.
32223 * math/w_remainderf_compat.c: Likewise.
32224 * math/w_remainderl_compat.c: Likewise.
32226 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32230 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32233 * math/tgmath.h (__floating_type): Simplify definitions.
32234 (__real_integer_type): New macro.
32235 (__complex_integer_type): Likewise.
32236 (__expr_is_real): Likewise.
32237 (__tgmath_real_type_sub): Update comment to describe handling of
32239 (__tgmath_complex_type_sub): New macro.
32240 (__tgmath_complex_type): Likewise.
32241 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32242 (__TGMATH_CF128): Use __expr_is_real.
32243 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32245 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32246 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32247 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32250 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32252 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32254 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32256 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32259 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32260 nanosleep_not_cancel with __nanosleep_nocancel.
32261 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32262 (__nanosleep_nocancel): New macro.
32263 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32265 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32267 (__nanosleep_nocancel): New prototype.
32269 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32270 pause_not_cancel with __pause_nocancel.
32271 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32272 (__pause_nocancel): New macro.
32273 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32275 (__pause_nocancel): New prototype.
32276 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32278 2017-08-22 Martin Sebor <msebor@redhat.com>
32280 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32281 to return a pointer to the same type as the target function.
32283 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32287 * include/printf.h (__printf_fphex): Add attribute_hidden.
32288 (__guess_grouping): New prototype.
32289 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32290 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32291 libc_hidden_proto and libc_hidden_def.
32292 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32293 (__vstrfmon_l): Remove the third argument passed to
32296 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32298 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32299 definition for issignaling that does not rely on __MATH_TG,
32300 since __MATH_TG uses __builtin_types_compatible_p, which is only
32301 available in C mode.
32302 (CFLAGS-test-math-issignaling.cc): New variable.
32303 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32304 * math/test-math-issignaling.cc: New test for C++ implementation
32305 of type-generic issignaling.
32306 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32307 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32308 options of test-math-issignaling on powerpc64le.
32310 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32312 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32314 (hidden_proto): Likewise.
32315 (hidden_tls_proto): Likewise.
32316 (__hidden_proto): Likewise.
32318 2017-08-22 Florian Weimer <fweimer@redhat.com>
32320 math: Statically link tests of internal functionality.
32321 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32323 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32324 (gmp-objs): Remove assignment.
32325 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32327 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32330 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32332 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32334 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32337 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32338 variable definitions above inclusion of ../Rules.
32340 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32342 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32343 case calling __builtin_unreachable.
32345 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32347 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32348 __waitpid_nocancel.
32349 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32350 (__waitpid_nocancel): New macro.
32351 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32353 (__waitpid_nocancel): Replace macro with a function.
32354 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32357 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32359 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32360 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32362 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32363 __writev_nocancel_nostatus.
32364 (write_call_graph): Likewise.
32365 (write_bb_counts): Likewise.
32366 * resolv/herror.c (herror): Likewise.
32367 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32369 (__writev_nocancel_nostatus): New macro.
32370 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32372 (__writev_nocancel_nostatus): New function.
32374 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32377 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32379 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32381 (hidden_proto): Likewise.
32382 (hidden_tls_proto): Likewise.
32383 (__hidden_proto): Likewise.
32386 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32387 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32397 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32398 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32399 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32400 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32401 GLIBC_2.0 sqrtl symbol.
32403 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32404 [__USE_MISC] (_LIB_VERSION): Likewise.
32405 [__USE_MISC] (struct exception): Likewise.
32406 [__USE_MISC] (matherr): Likewise.
32407 [__USE_MISC] (DOMAIN): Likewise.
32408 [__USE_MISC] (SING): Likewise.
32409 [__USE_MISC] (OVERFLOW): Likewise.
32410 [__USE_MISC] (UNDERFLOW): Likewise.
32411 [__USE_MISC] (TLOSS): Likewise.
32412 [__USE_MISC] (PLOSS): Likewise.
32413 [__USE_MISC] (HUGE): Likewise.
32414 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32415 * math/math-svid-compat.h: New file.
32416 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32418 * include/math.h [!_ISOMAC] (__matherr): Remove.
32419 * manual/arith.texi (FP Exceptions): Do not document matherr.
32420 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32421 (tests-internal): New variable.
32422 (install-lib): Do not add libieee.a.
32423 (non-lib.a): Likewise.
32424 (extra-objs): Do not add libieee.a and ieee-math.o.
32425 (CPPFLAGS-s_lib_version.c): Remove variable.
32426 ($(objpfx)libieee.a): Remove rule.
32427 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32428 * math/ieee-math.c: Remove.
32429 * math/libm-test-support.c (matherr): Remove.
32430 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32431 and license notices. Include <math-svid-compat.h> and
32433 (matherr): Undefine as macro. Use compat_symbol_reference.
32434 (_LIB_VERSION): Likewise.
32435 * math/test-matherr-2.c: New file.
32436 * math/test-matherr-3.c: Likewise.
32437 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32439 (__kernel_standard_f): Likewise.
32440 (__kernel_standard_l): Likewise.
32441 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32442 <math_private.h>. Include <math-svid-compat.h>.
32443 (_LIB_VERSION): Undefine as macro.
32444 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32445 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32446 [LIBM_SVID_COMPAT], use compat_symbol.
32447 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32448 <math_private.h>. Include <math-svid-compat.h>.
32449 (matherr): Undefine as macro.
32450 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32452 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32453 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32454 compat_symbol_reference.
32455 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32456 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32457 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32458 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32459 (MATHERR_D): Remove declaration.
32460 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32461 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32462 [LIBM_BUILD] (pmatherrf): Likewise.
32463 [LIBM_BUILD] (pmatherr): Likewise.
32464 [LIBM_BUILD] (pmatherrl): Likewise.
32465 (DOMAIN): Likewise.
32467 (OVERFLOW): Likewise.
32468 (UNDERFLOW): Likewise.
32471 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32472 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32474 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32475 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32477 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32478 * math/w_acos_compat.c: Likewise.
32479 * math/w_acosf_compat.c: Likewise.
32480 * math/w_acosh_compat.c: Likewise.
32481 * math/w_acoshf_compat.c: Likewise.
32482 * math/w_acoshl_compat.c: Likewise.
32483 * math/w_acosl_compat.c: Likewise.
32484 * math/w_asin_compat.c: Likewise.
32485 * math/w_asinf_compat.c: Likewise.
32486 * math/w_asinl_compat.c: Likewise.
32487 * math/w_atan2_compat.c: Likewise.
32488 * math/w_atan2f_compat.c: Likewise.
32489 * math/w_atan2l_compat.c: Likewise.
32490 * math/w_atanh_compat.c: Likewise.
32491 * math/w_atanhf_compat.c: Likewise.
32492 * math/w_atanhl_compat.c: Likewise.
32493 * math/w_cosh_compat.c: Likewise.
32494 * math/w_coshf_compat.c: Likewise.
32495 * math/w_coshl_compat.c: Likewise.
32496 * math/w_exp10_compat.c: Likewise.
32497 * math/w_exp10f_compat.c: Likewise.
32498 * math/w_exp10l_compat.c: Likewise.
32499 * math/w_exp2_compat.c: Likewise.
32500 * math/w_exp2f_compat.c: Likewise.
32501 * math/w_exp2l_compat.c: Likewise.
32502 * math/w_fmod_compat.c: Likewise.
32503 * math/w_fmodf_compat.c: Likewise.
32504 * math/w_fmodl_compat.c: Likewise.
32505 * math/w_hypot_compat.c: Likewise.
32506 * math/w_hypotf_compat.c: Likewise.
32507 * math/w_hypotl_compat.c: Likewise.
32508 * math/w_j0_compat.c: Likewise.
32509 * math/w_j0f_compat.c: Likewise.
32510 * math/w_j0l_compat.c: Likewise.
32511 * math/w_j1_compat.c: Likewise.
32512 * math/w_j1f_compat.c: Likewise.
32513 * math/w_j1l_compat.c: Likewise.
32514 * math/w_jn_compat.c: Likewise.
32515 * math/w_jnf_compat.c: Likewise.
32516 * math/w_jnl_compat.c: Likewise.
32517 * math/w_lgamma_main.c: Likewise.
32518 * math/w_lgamma_r_compat.c: Likewise.
32519 * math/w_lgammaf_main.c: Likewise.
32520 * math/w_lgammaf_r_compat.c: Likewise.
32521 * math/w_lgammal_main.c: Likewise.
32522 * math/w_lgammal_r_compat.c: Likewise.
32523 * math/w_log10_compat.c: Likewise.
32524 * math/w_log10f_compat.c: Likewise.
32525 * math/w_log10l_compat.c: Likewise.
32526 * math/w_log2_compat.c: Likewise.
32527 * math/w_log2f_compat.c: Likewise.
32528 * math/w_log2l_compat.c: Likewise.
32529 * math/w_log_compat.c: Likewise.
32530 * math/w_logf_compat.c: Likewise.
32531 * math/w_logl_compat.c: Likewise.
32532 * math/w_pow_compat.c: Likewise.
32533 * math/w_powf_compat.c: Likewise.
32534 * math/w_powl_compat.c: Likewise.
32535 * math/w_remainder_compat.c: Likewise.
32536 * math/w_remainderf_compat.c: Likewise.
32537 * math/w_remainderl_compat.c: Likewise.
32538 * math/w_scalb_compat.c: Likewise.
32539 * math/w_scalbf_compat.c: Likewise.
32540 * math/w_scalbl_compat.c: Likewise.
32541 * math/w_sinh_compat.c: Likewise.
32542 * math/w_sinhf_compat.c: Likewise.
32543 * math/w_sinhl_compat.c: Likewise.
32544 * math/w_sqrt_compat.c: Likewise.
32545 * math/w_sqrtf_compat.c: Likewise.
32546 * math/w_sqrtl_compat.c: Likewise.
32547 * math/w_tgamma_compat.c: Likewise.
32548 * math/w_tgammaf_compat.c: Likewise.
32549 * math/w_tgammal_compat.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32551 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32552 * sysdeps/ieee754/k_standard.c: Likewise.
32553 * sysdeps/ieee754/k_standardf.c: Likewise.
32554 * sysdeps/ieee754/k_standardl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32557 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32558 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32559 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32560 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32561 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32562 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32563 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32570 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32571 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32573 2017-08-21 Florian Weimer <fweimer@redhat.com>
32576 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32577 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32578 Move before inclusion of ../Rules.
32580 2017-08-21 Florian Weimer <fweimer@redhat.com>
32583 * assert/assert.h (assert): Use static_cast (bool) for C++.
32584 Use the ternary operator in the warning branch for GNU C.
32585 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32586 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32587 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32588 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32589 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32591 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32595 (__syscall_clock_gettime): Add attribute_hidden.
32596 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32597 (__start_context): Likewise.
32599 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32601 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32603 (hidden_proto): Likewise.
32604 (hidden_tls_proto): Likewise.
32605 (__hidden_proto): Likewise.
32607 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32609 * include/libc-symbols.h (attribute_hidden): Enable hidden
32610 visibility in libc.a compiled with PIE.
32612 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32615 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32616 Add attribute_hidden.
32618 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32621 * Makerules (all-nonlib): Add $(others-extras).
32622 * catgets/Makefile (others-extras): New.
32623 * elf/Makefile (others-extras): Likewise.
32624 * nss/Makefile (others-extras): Likewise.
32626 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32629 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32630 * elf/dl-open.c: Include <libc-internal.h>.
32631 (__libc_multiple_libcs): Removed.
32632 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32634 * include/libc-internal.h (__libc_multiple_libcs): New.
32635 * misc/sbrk.c: Include <libc-internal.h>.
32636 (__libc_multiple_libcs): Removed.
32638 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32641 * grp/initgroups.c (__nss_group_database): Removed.
32642 (__nss_initgroups_database): Likewise.
32643 * nscd/gai.c (__nss_hosts_database): Likewise.
32644 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32645 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32646 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32647 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32648 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32649 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32651 * nss/nsswitch.c (__nss_database_custom): Define only if
32652 USE_NSCD is defined.
32653 (__nss_configure_lookup): Use __nss_database_custom only if
32654 USE_NSCD is defined.
32655 * nss/nsswitch.h (__nss_database_custom): Declare only if
32656 USE_NSCD is defined. Add attribute_hidden.
32657 (__nss_setent): Add attribute_hidden.
32658 (__nss_endent): Likewise.
32659 (__nss_getent_r): Likewise.
32660 (__nss_getent): Likewise.
32661 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32663 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32666 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32667 libc_hidden_proto and libc_hidden_def.
32669 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32672 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32673 Add libc_hidden_proto.
32674 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32675 Add libc_hidden_def.
32677 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32680 * gmon/Makefile (routines): Remove bb_init_func and
32682 (elide-routines.os): Removed.
32683 * gmon/bb_exit_func.c: Likewise.
32684 * gmon/bb_init_func.c: Likewise.
32685 * include/sys/gmon.h (__bb): Likewise.
32686 (__bb_init_func): Likewise.
32687 (__bb_exit_func): Likewise.
32688 * sysdeps/alpha/bb_init_func.S: Likewise.
32690 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32692 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32693 * include/setjmp.h (____longjmp_chk): Here. Add
32696 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32699 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32701 (__strspn_sse2): Likewise.
32703 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32705 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32706 (close_not_cancel_no_status): Likewise.
32707 (__close_nocancel): New macro.
32708 (__close_nocancel_nostatus): Likewise.
32709 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32711 (close_not_cancel): Likewise.
32712 (close_not_cancel_no_status): Likewise.
32713 (__close_nocancel): New prototype.
32714 (__close_nocancel_nostatus): New function.
32715 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32716 * catgets/open_catalog.c (__open_catalog): Replace
32717 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32718 * gmon/gmon.c (write_gmon): Likewise.
32719 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32720 * intl/loadmsgcat.c (close): Likewise.
32721 * io/ftw.c (open_dir_stream): Likewise.
32722 (ftw_startup): Likewise.
32723 * libio/fileops.c (_IO_file_open): Likewise.
32724 (_IO_file_close_mmap): Likewise.
32725 (_IO_file_close): Likewise.
32726 * libio/iopopen.c (_IO_dup2): Likewise.
32727 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32728 * locale/loadlocale.c (_nl_load_locale): Likewise.
32729 * login/utmp_file.c (pututline_file): Likewise.
32730 (endutent_file): Likewise.
32731 * misc/daemon.c (daemon): Likewise.
32732 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32733 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32734 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32735 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32736 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32737 * nscd/nscd_helper.c (open_socket): Likewise.
32738 (__nscd_open_socket): Likewise.
32739 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32740 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32741 (__nscd_innetgr): Likewise.
32742 * nss/nss_db/db-open.c (internal_setent): Likewise.
32743 * resolv/res-close.c (__res_iclose): Likewise.
32744 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32745 * sysdeps/posix/closedir.c (__closedir): Likewise.
32746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32747 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32748 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32749 (opendir_tail): Likewise.
32750 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32751 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32752 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32753 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32754 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32755 (gethostid): Likewise.
32756 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32757 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32760 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32761 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32762 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32764 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32765 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32766 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32768 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32769 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32771 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32773 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32774 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32775 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32778 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32779 (openat_not_cancel_3): Likewise.
32780 (openat64_not_cancel_3): Likewise).
32781 (openat_not_cancel_3): Likewise).
32782 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32784 (openat_not_cancel_3): Likewise.
32785 (openat64_not_cancel): Likewise.
32786 (openat64_not_cancel_3): Likewise.
32787 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32788 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32789 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32790 __open{64}_nocancel.
32791 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32792 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32793 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32795 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32798 * include/argz.h (__argz_create_sep): New function prototype.
32799 (__argz_append): Likewise.
32800 (__argz_add): Likewise.
32801 (__argz_add_sep): Likewise.
32802 (__argz_delete): Likewise.
32803 (__argz_insert): Likewise.
32804 (__argz_replace): Likewise.
32805 * string/argz.h (__argz_create_sep): Removed.
32806 (__argz_append): Likewise.
32807 (__argz_add): Likewise.
32808 (__argz_add_sep): Likewise.
32809 (__argz_delete): Likewise.
32810 (__argz_insert): Likewise.
32811 (__argz_replace): Likewise.
32813 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32815 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32816 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32817 (GNU_PROPERTY_STACK_SIZE): Likewie.
32818 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32819 (GNU_PROPERTY_LOPROC): Likewise.
32820 (GNU_PROPERTY_HIPROC): Likewise.
32821 (GNU_PROPERTY_LOUSER): Likewise.
32822 (GNU_PROPERTY_HIUSER): Likewise.
32823 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32824 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32825 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32826 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32827 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32828 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32829 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32830 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32831 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32832 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32833 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32834 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32835 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32836 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32837 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32838 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32839 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32840 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32841 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32842 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32843 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32844 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32845 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32847 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32849 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32852 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32855 * math/math.h (isinf): Check if in C or C++ mode before using
32856 __builtin_types_compatible_p, since this is a C mode feature.
32858 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32860 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32861 (__write_nocancel): New macro.
32862 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32863 Rewrite as a function prototype.
32864 (write_not_cancel): Remove macro.
32865 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32866 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32867 (write_gmon): Likewise.
32868 * libio/fileops.c (_IO_new_file_write): Likewise.
32869 * login/utmp_file.c (pututline_file): Likewise.
32870 (updwtmp_file): Likewise.
32871 * stdio-common/psiginfo.c (psiginfo): Likewise.
32872 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32873 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32874 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32876 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32879 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32880 (__read_nocancel): New macro.
32881 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32883 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32885 (__read_nocancel): New prototype.
32886 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32887 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32888 with __read_nocancel.
32889 * intl/loadmsgcat.c (read): Likewise.
32890 * libio/fileops.c (_IO_file_read): Likewise.
32891 * locale/loadlocale.c (_nl_load_locale): Likewise.
32892 * login/utmp_file.c (getutent_r_file): Likewise.
32893 (internal_getut_r): Likewise.
32894 (getutline_r_file): Likewise.
32895 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32896 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32897 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32898 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32900 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32901 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32902 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32904 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32906 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32908 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32910 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32912 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32915 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32916 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32919 2017-08-17 DJ Delorie <dj@redhat.com>
32921 * bug17079.c: Update to new test harness.
32922 * test-digits-dots.c: Likewise.
32923 * test-netdb.c: Likewise.
32924 * tst-field.c: Likewise.
32925 * tst-nss-getpwent.c: Likewise.
32926 * tst-nss-static.c: Likewise.
32927 * tst-nss-test1.c: Likewise.
32928 * tst-nss-test2.c: Likewise.
32929 * tst-nss-test3.c: Likewise.
32930 * tst-nss-test4.c: Likewise.
32931 * tst-nss-test5.c: Likewise.
32933 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32935 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32936 (open_not_cancel_2): Likewise.
32937 (open_nocancel): New macro.
32938 (open64_nocancel): Likewise.
32939 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32940 (open_not_cancel_2): Likewise.
32941 (__open_nocancel): New prototype.
32942 (__open64_nocancel): Likewise.
32943 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32945 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32946 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32947 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32948 with __open_nocancel.
32949 * csu/check_fds.c (check_one_fd): Likewise.
32950 * gmon/gmon.c (write_gmon): Likewise.
32951 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32952 * intl/loadmsgcat.c (open): Likewise.
32953 * libio/fileops.c (_IO_file_open): Likewise.
32954 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32955 * locale/loadlocale.c (_nl_load_locale): Likewise.
32956 * login/utmp_file.c (setutent_file): Likewise.
32957 * misc/daemon.c (daemon): Likewise.
32958 * nss/nss_db/db-open.c (internal_setent): Likewise.
32959 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32960 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32961 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32962 (__opendir): Likewise.
32963 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32964 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32965 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32966 (gethostid): Likewise.
32967 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32971 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32972 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32973 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32975 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32977 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32979 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32981 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32983 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32985 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32986 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32988 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32990 * benchtests/bench-skeleton.c (main): Add support for
32991 latency benchmarking.
32992 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32994 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32996 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32997 the startup object.
32999 2017-08-17 Florian Weimer <fweimer@redhat.com>
33001 * include/sys/socket.h (__opensock): Remove internal_function.
33002 * socket/opensock.c (__opensock): Likewise.
33003 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33005 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33008 * signal/bits/types/__sigval_t.h: New file.
33009 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33010 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33011 and define sigval_t using __sigval_t.
33012 * include/bits/types/__sigval_t.h: New file.
33013 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33014 instead of <bits/types/__sigval_t.h>.
33015 (struct sigevent): Use __sigval_t instead of sigval_t.
33016 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33017 instead of <bits/types/__sigval_t.h>.
33018 (siginfo_t): Use __sigval_t instead of sigval_t.
33019 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33020 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33021 (struct sigevent): Use __sigval_t instead of sigval_t.
33022 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33023 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33024 (siginfo_t): Use __sigval_t instead of sigval_t.
33025 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33027 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33029 * NEWS: Remove "[Add new features here]" for 2.27.
33031 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33033 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33036 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33038 * NEWS: Mention x86-64 FMA optimization.
33040 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33043 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33045 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33046 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33047 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33049 2017-08-16 Andreas Schwab <schwab@suse.de>
33053 * elf/ldd.bash.in: Never run file directly.
33055 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33058 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33059 (L(SP_INF_0)): Likewise.
33061 2017-08-15 Florian Weimer <fweimer@redhat.com>
33063 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33066 2017-08-15 Florian Weimer <fweimer@redhat.com>
33068 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33069 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33070 BROKEN_THREAD_SIGNALS code.
33071 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33072 request_list): Remove caller_pid member used for
33073 BROKEN_THREAD_SIGNALS.
33074 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33075 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33076 Remove BROKEN_THREAD_SIGNALS support.
33077 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33078 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33080 2017-08-15 Florian Weimer <fweimer@redhat.com>
33082 * gmon/Makefile (tests): Add tst-gmon.
33083 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33085 (tests-special): Add tst-gmon-prof.out.
33086 (tst-gmon.out): Depend on clean-tst-gmon-data.
33087 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33088 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33089 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33091 * aclocal.m4 (GPROF): Set and substitute.
33092 * config.amke.in (GPROF): Set.
33093 * configure: Regenerate.
33095 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33097 * elf/elf.h A (NT_PPC_TAR): New macro.
33098 (NT_PPC_PPR): Likewise.
33099 (NT_PPC_DSCR): Likewise.
33100 (NT_PPC_EBB): Likewise.
33101 (NT_PPC_PMU): Likewise.
33102 (NT_PPC_TM_CGPR): Likewise.
33103 (NT_PPC_TM_CFPR): Likewise.
33104 (NT_PPC_TM_CVMX): Likewise.
33105 (NT_PPC_TM_CVSX): Likewise.
33106 (NT_PPC_TM_SPR): Likewise.
33107 (NT_PPC_TM_CTAR): Likewise.
33108 (NT_PPC_TM_CPPR): Likewise.
33109 (NT_PPC_TM_CDSCR): Likewise.
33111 2017-08-15 Florian Weimer <fweimer@redhat.com>
33113 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33114 regparm (2) instead of internal_function.
33115 (_MCOUNT_DECL): Adjust.
33117 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33119 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33120 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33122 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33124 * conform/data/sys/wait.h-data (si_value): Do not expect for
33127 2017-08-14 Florian Weimer <fweimer@redhat.com>
33130 NSS: Create stubs for accidentally exported lookup functions.
33131 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33132 Remove declaration.
33133 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33134 (ether_hostton): Call __nss_ethers_lookup2 instead.
33135 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33136 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33137 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33138 (setup): Call __nss_netgroup_lookup2 instead.
33139 * nss/Makefile (routines): Add compat-lookup.
33140 * nss/Versions (GLIBC_2.27): Add symbol version.
33141 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33142 (DB_COMPAT_FCT): Remove.
33143 * nss/compat-lookup.c: New file.
33144 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33145 from databases.def.
33146 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33147 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33148 (netname2user): Call __nss_publickey_lookup2 instead.
33149 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33150 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33153 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33154 Sergei Trofimovich <slyfox@inbox.ru>
33157 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33158 Rename to MMAP2_PAGE_UNIT.
33159 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33160 __OFF_T_MATCHES_OFF64_T is not defined.
33161 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33163 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33164 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33166 2017-08-14 Florian Weimer <fweimer@redhat.com>
33168 i386: Do not set internal_function.
33169 * config.h.in (USE_REGPARMS, internal_function): Remove.
33170 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33171 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33173 2017-08-14 Florian Weimer <fweimer@redhat.com>
33175 * elf/dl-init.c (_dl_init): Remove internal_function.
33176 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33177 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33179 2017-08-14 Florian Weimer <fweimer@redhat.com>
33181 * elf/rtld.c (_dl_start): Remove internal_function.
33182 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33185 2017-08-14 Florian Weimer <fweimer@redhat.com>
33187 * elf/dl-fini.c (_dl_fini): Remove internal_function
33188 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33190 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33192 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33193 (bit_cpu_SHSTK): Likewise.
33194 (index_cpu_IBT): Likewise.
33195 (index_cpu_SHSTK): Likewise.
33196 (reg_IBT): Likewise.
33197 (reg_SHSTK): Likewise.
33198 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33199 Handle index_cpu_IBT and index_cpu_SHSTK.
33201 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33204 * po/fr.po: Fix spelling mistake.
33206 2017-08-13 Florian Weimer <fweimer@redhat.com>
33208 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33209 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33210 (_dl_catch_error, _dl_receive_error): Likewise.
33211 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33212 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33213 (_dl_deallocate_tls): Likewise.
33214 * include/dlfcn.h (_dl_addr): Likewise.
33215 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33216 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33217 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33220 2017-08-13 Florian Weimer <fweimer@redhat.com>
33222 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33223 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33225 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33227 2017-08-13 Florian Weimer <fweimer@redhat.com>
33229 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33231 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33232 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33233 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33234 internal_function from _dl_make_stack_executable_hook member.
33235 (_dl_make_stack_executable): Remove internal_function.
33236 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33238 * sysdeps/unix/sysv/linux/dl-execstack.c
33239 (_dl_make_stack_executable): Likewise.
33241 2017-08-13 Florian Weimer <fweimer@redhat.com>
33243 * sysdeps/unix/sysv/linux/netlinkaccess.h
33244 (__netlink_assert_response): Remove internal_function.
33245 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33246 (__netlink_assert_response): Likewise.
33248 2017-08-13 Florian Weimer <fweimer@redhat.com>
33250 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33252 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33254 2017-08-13 Florian Weimer <fweimer@redhat.com>
33256 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33258 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33259 * inet/netgroup.h (__internal_setnetgrent)
33260 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33261 * inet/getnetgrent_r.c (__internal_setnetgrent)
33262 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33263 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33264 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33265 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33266 * nss/nsswitch.h (db_lookup_function): Likewise.
33268 2017-08-13 Florian Weimer <fweimer@redhat.com>
33270 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33271 Remove internal_function.
33272 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33273 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33274 message argument on the stack.
33275 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33278 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33280 Adapt test case data to the changes in the thousands
33284 * localedata/tst-langinfo.sh: Adapt test case data.
33285 * stdlib/tst-strfmon_l.c: Likewise.
33286 * stdlib/tst-strtod4.c: Likewise.
33287 * stdlib/tst-strtod5i.c: Likewise.
33289 2017-08-11 Florian Weimer <fweimer@redhat.com>
33292 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33293 Suppress pedantic warning resulting from statement expression.
33294 (__ASSERT_FUNCTION): Add missing __extension__.
33296 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33298 * benchtests/bench-memmove-large.c: Print output in JSON
33300 * benchtests/bench-memmove.c: Likewise.
33302 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33303 * benchtests/bench-memchr.c (do_one_test): Likewise.
33304 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33305 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33306 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33307 * benchtests/bench-memmove.c (do_one_test): Likewise.
33308 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33309 * benchtests/bench-memset.c (do_one_test): Likewise.
33310 * benchtests/bench-string.h (test_init): Remove memsets.
33312 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33315 (Computing the Width of an Integer Data Type): Rename section to
33316 "Width of an Integer Type". Remove inaccurate statement regarding
33317 lack of C language facilities for determining width of integer
33318 types, and reorder content to improve flow and context of
33321 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33323 * lang.texi (va_copy): Change standard from ISO to C99.
33324 (__va_copy): Add standard and header annotation.
33325 Update description for clarity of origins and current use.
33327 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33330 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33331 xssqrtqp requires operands to be in Vector Registers
33332 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33333 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33334 (__ieee754_sqrtf128): Likewise.
33336 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33338 * sysdeps/aarch64/memcmp.S (memcmp):
33339 Rewrite of optimized memcmp.
33341 2017-08-10 Florian Weimer <fweimer@redhat.com>
33343 Introduce ld.so exceptions.
33344 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33345 (_dl_exception_create, _dl_exception_create_format)
33346 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33347 (_dl_catch_exception): Declare.
33348 (_dl_catch_error): Update comment.
33349 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33350 errstring, malloced members with exception member.
33351 (_dl_out_of_memory): Remove.
33352 (fatal_error): New function, extracted from _dl_signal_error.
33353 (_dl_signal_exception, _dl_signal_cexception): New functions.
33354 (_dl_signal_error): Call _dl_exception_create to allocate an
33356 (_dl_catch_exception): New function, based on _dl_catch_error.
33357 (_dl_catch_error): Implement using _dl_catch_exception.
33358 * elf/dl-exception.c: New file.
33359 * elf/Makefile (dl-routines): Add dl-exception.
33360 (elide-routines.os): Likewise.
33361 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33362 _dl_exception_create_format, _dl_exception_free.
33363 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33364 _dl_signal_exception.
33365 * elf/dl-lookup.c (make_string): Remove.
33366 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33367 _dl_signal_cexception, _dl_exception_free.
33368 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33369 _dl_signal_exception.
33370 * elf/dl-sym.c (do_sym): Likewise.
33371 * elf/dl-version.c (make_string): Remove.
33372 (match_symbol): Use _dl_exception_create_format,
33373 _dl_signal_cexception, _dl_exception_free.
33374 (_dl_check_map_versions): Likewise.
33375 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33376 _dl_catch_exception.
33377 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33378 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33379 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33380 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33381 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33382 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33383 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33384 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33386 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33393 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33394 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33395 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33397 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33399 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33401 2017-08-10 Florian Weimer <fweimer@redhat.com>
33403 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33404 attribute_hidden, internal_function.
33405 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33408 2017-08-10 Florian Weimer <fweimer@redhat.com>
33410 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33411 function which calls __builtin_unreachable.
33413 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33415 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33416 Indian monetary formatting
33417 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33420 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33422 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33423 Fix typo in comment.
33426 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33427 PTRACE_SEIZE_DEVEL): Remove.
33428 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33429 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33430 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33431 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33432 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33434 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33436 * posix/bits/types.h (__qaddr_t): Remove.
33439 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33440 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33442 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33443 (ucontext_t): Use __ctx with uc_flags.
33444 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33445 (__ctxt): Likewise.
33446 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33448 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33449 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33451 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33452 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33454 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33456 (ucontext_t): Use __ctx with uc_flags.
33457 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33458 (ucontext_t): Use __ctx with uc_flags.
33459 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33460 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33461 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33462 (ucontext_t): Use __ctx with uc_flags.
33463 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33464 undefine further down.
33465 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33467 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33468 undefine further down.
33469 (ucontext_t): Use __ctx with uc_flags.
33470 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33471 undefine further down.
33472 (ucontext_t): Use __ctx with uc_flags.
33473 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33474 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33475 Rename uc_pad to __glibc_reserved1.
33476 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33477 undefine further down.
33478 (ucontext_t): Use __ctx with uc_flags.
33479 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33481 (ucontext_t): Use __ctx with uc_flags.
33482 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33483 __ctx with uc_flags.
33484 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33485 (ucontext_t): Use __ctx with uc_flags.
33486 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33487 __ctx with uc_flags.
33489 2017-08-09 Florian Weimer <fweimer@redhat.com>
33492 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33493 before early return.
33495 2017-08-09 Andreas Schwab <schwab@suse.de>
33498 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33502 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33503 tst-compat-forwarder.
33504 (modules-names): Add tst-compat-forwarder-mod.
33505 ($(objpfx)tst-compat-forwarder): Depend on
33506 $(objpfx)tst-compat-forwarder-mod.so.
33507 * nptl/tst-compat-forwarder.c: New file.
33508 * nptl/tst-compat-forwarder-mod.c: New file.
33510 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33512 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33515 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33516 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33518 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33520 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33521 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33522 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33523 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33525 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33528 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33531 * manual/setjmp.texi (getcontex): Document uc_stack value
33532 compatibility differences.
33534 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33536 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33537 (old_malloc_hook): Likewise.
33538 (old_memalign_hook): Likewise.
33539 (old_realloc_hook): Likewise.
33540 (struct hdr): Likewise.
33542 (freehook): Likewise.
33543 (mallochook): Likewise.
33544 (memalignhook): Likewise.
33545 (reallochook): Likewise.
33546 (mprobe): Likewise.
33547 * malloc/mtrace.c (mallwatch): Likewise.
33548 (tr_old_free_hook): Likewise.
33549 (tr_old_malloc_hook): Likewise.
33550 (tr_old_realloc_hook): Likewise.
33551 (tr_old_memalign_hook): Likewise.
33552 (tr_where): Likewise.
33553 (lock_and_info): Likewise.
33554 (tr_freehook): Likewise.
33555 (tr_mallochook): Likewise.
33556 (tr_reallochook): Likewise.
33557 (tr_memalignhook): Likewise.
33558 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33559 * misc/mmap.c (__mmap): Likewise.
33560 * misc/mmap64.c (__mmap64): Likewise.
33561 * misc/mprotect.c (__mprotect): Likewise.
33562 * misc/msync.c (msync): Likewise.
33563 * misc/munmap.c (__munmap): Likewise.
33564 * posix/posix_madvise.c (posix_madvise): Likewise.
33565 * socket/send.c (__send): Likewise.
33566 * socket/sendto.c (__sendto): Likewise.
33567 * socket/setsockopt.c (__setsockopt): Likewise.
33568 * string/memcmp.c (__ptr_t): Remove macro.
33569 (MEMCMP): Use void * instead of ptr_t.
33570 * string/memrchr.c (__ptr_t): Remove macro.
33571 (__memrchr): Use void * instead of ptr_t.
33572 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33573 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33574 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33575 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33576 * sysdeps/mach/msync.c (msync): Likewise.
33577 * sysdeps/mach/munmap.c (__munmap): Likewise.
33578 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33580 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33581 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33582 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33583 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33584 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33585 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33586 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33587 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33589 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33590 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33591 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33592 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33593 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33594 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33595 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33596 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33599 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33600 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33601 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33602 (MEMCMP): Use void * instead of ptr_t.
33603 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33604 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33606 2017-08-08 Florian Weimer <fweimer@redhat.com>
33608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33611 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33614 * csu/libc-tls.c: Include <startup.h> first.
33615 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33616 * elf/dl-tunables.c: Include <startup.h> first.
33617 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33618 * sysdeps/generic/startup.h: New file.
33619 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33620 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33621 (I386_USE_SYSENTER): New. Defined to 0.
33623 2017-08-08 Andreas Schwab <schwab@suse.de>
33626 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33627 * nptl/pt-system.c (system): Likewise.
33629 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33632 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33634 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33635 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33636 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33637 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33638 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33639 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33640 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33642 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33645 * bits/sigaction.h (struct sigaction): Define sa_handler and
33646 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33647 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33648 [__USE_XOPEN_EXTENDED].
33649 (SA_RESTART): Likewise.
33650 (SA_NODEFER): Likewise.
33651 (SA_RESETHAND): Likewise.
33652 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33653 (struct sigaction): Define sa_handler and sa_sigaction using union
33654 also for [__USE_XOPEN_EXTENDED].
33655 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33656 [__USE_XOPEN_EXTENDED].
33657 (SA_RESTART): Likewise.
33658 (SA_NODEFER): Likewise.
33659 (SA_RESETHAND): Likewise.
33660 * sysdeps/unix/sysv/linux/bits/sigaction.h
33661 (struct sigaction): Define sa_handler and sa_sigaction using union
33662 also for [__USE_XOPEN_EXTENDED].
33663 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33664 [__USE_XOPEN_EXTENDED].
33665 (SA_RESTART): Likewise.
33666 (SA_NODEFER): Likewise.
33667 (SA_RESETHAND): Likewise.
33668 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33669 (struct sigaction): Define sa_handler and sa_sigaction using union
33670 also for [__USE_XOPEN_EXTENDED].
33671 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33672 [__USE_XOPEN_EXTENDED].
33673 (SA_RESTART): Likewise.
33674 (SA_NODEFER): Likewise.
33675 (SA_RESETHAND): Likewise.
33676 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33677 (struct sigaction): Define sa_handler and sa_sigaction using union
33678 also for [__USE_XOPEN_EXTENDED].
33679 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33680 [__USE_XOPEN_EXTENDED].
33681 (SA_RESTART): Likewise.
33682 (SA_NODEFER): Likewise.
33683 (SA_RESETHAND): Likewise.
33684 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33685 (struct sigaction): Define sa_handler and sa_sigaction using union
33686 also for [__USE_XOPEN_EXTENDED].
33687 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33688 [__USE_XOPEN_EXTENDED].
33689 (SA_RESTART): Likewise.
33690 (SA_NODEFER): Likewise.
33691 (SA_RESETHAND): Likewise.
33692 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33693 (struct sigaction): Define sa_handler and sa_sigaction using union
33694 also for [__USE_XOPEN_EXTENDED].
33695 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33696 [__USE_XOPEN_EXTENDED].
33697 (SA_RESTART): Likewise.
33698 (SA_NODEFER): Likewise.
33699 (SA_RESETHAND): Likewise.
33700 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33701 (struct sigaction): Define sa_handler and sa_sigaction using union
33702 also for [__USE_XOPEN_EXTENDED].
33703 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33704 [__USE_XOPEN_EXTENDED].
33705 (SA_RESTART): Likewise.
33706 (SA_NODEFER): Likewise. Define directly rather than as alias.
33707 (SA_RESETHAND): Likewise.
33708 (SA_INTERRUPT): Define only for [__USE_MISC].
33709 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33710 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33712 (SA_STACK): Define only for [__USE_MISC].
33713 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33714 (struct sigaction): Define sa_handler and sa_sigaction using union
33715 also for [__USE_XOPEN_EXTENDED].
33716 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33717 [__USE_XOPEN_EXTENDED].
33718 (SA_RESTART): Likewise.
33719 (SA_NODEFER): Likewise.
33720 (SA_RESETHAND): Likewise.
33721 (SA_NOPTRACE): Define only for [__USE_MISC].
33723 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33724 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33725 (struct catalog_info): Likewise.
33726 * inet/htontest.c (lo): Likewise.
33728 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33729 * inet/inet_net.c (inet_network): Likewise.
33730 * inet/inet_netof.c (inet_netof): Likewise.
33731 * inet/rcmd.c (__ivaliduser): Likewise.
33732 (iruserok): Likewise.
33733 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33734 * locale/programs/locale-spec.c (locale_special): Likewise.
33735 * nis/nis_findserv.c (struct findserv_req): Likewise.
33736 (__nis_findfastest_with_timeout): Likewise.
33737 * nss/test-netdb.c (test_network): Likewise.
33738 * resolv/inet_neta.c (inet_neta): Likewise.
33739 * resolv/ns_date.c (ns_datetosecs): Likewise.
33740 (SECS_PER_DAY): Likewise.
33741 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33743 * resolv/res_comp.c (__putlong): Likewise.
33744 (__putshort): Likewise.
33745 (_getlong): Likewise.
33746 (_getshort): Likewise.
33747 * resolv/res_debug.c (p_time): Likewise.
33748 (precsize_ntoa): Likewise.
33749 (precsize_aton): Likewise.
33750 (latlon2ul): Likewise.
33751 (loc_aton): Likewise.
33752 (loc_ntoa): Likewise.
33753 * resolv/res_hconf.c (struct netaddr): Likewise.
33754 (_res_hconf_reorder_addrs): Likewise.
33755 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33756 (clnttcp_control): Likewise.
33757 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33758 (clntudp_control): Likewise.
33759 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33760 (clntunix_control): Likewise.
33761 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33762 * sunrpc/rpc/auth.h (union des_block): Likewise.
33763 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33764 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33765 (xdrrec_create): Likewise.
33766 (xdrrec_endofrecord): Likewise.
33767 (flush_out): Likewise.
33768 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33769 (xdrstdio_putlong): Likewise.
33770 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33773 * misc/sys/cdefs.h (__long_double_t): Remove.
33774 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33775 instead of __long_double_t,
33776 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33778 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33780 * benchtests/scripts/compare_strings.py: Avoid display error when
33781 running on a text terminal.
33783 * benchtests/scripts/compare_strings.py (main): Add an
33784 optional -base option.
33785 (process_results): New argument base_func.
33787 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33789 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33790 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33792 2017-08-07 Andreas Schwab <schwab@suse.de>
33794 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33795 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33796 * intl/Makefile ($(objpfx)tst-gettext.out)
33797 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33798 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33799 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33800 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33801 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33802 * posix/Makefile ($(objpfx)globtest.out)
33803 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33804 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33805 ($(objpfx)tst-printf.out): Likewise.
33806 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33807 ($(objpfx)tst-setcontext3.out): Likewise.
33809 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33812 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33813 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33814 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33815 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33817 (CFLAGS-doasin-fma.c): New.
33818 (CFLAGS-dosincos-fma.c): Likewise.
33819 (CFLAGS-e_asin-fma.c): Likewise.
33820 (CFLAGS-e_atan2-fma.c): Likewise.
33821 (CFLAGS-e_exp-fma.c): Likewise.
33822 (CFLAGS-e_log-fma.c): Likewise.
33823 (CFLAGS-e_pow-fma.c): Likewise.
33824 (CFLAGS-halfulp-fma.c): Likewise.
33825 (CFLAGS-mpa-fma.c): Likewise.
33826 (CFLAGS-mpatan-fma.c): Likewise.
33827 (CFLAGS-mpatan2-fma.c): Likewise.
33828 (CFLAGS-mpexp-fma.c): Likewise.
33829 (CFLAGS-mplog-fma.c): Likewise.
33830 (CFLAGS-mpsqrt-fma.c): Likewise.
33831 (CFLAGS-mptan-fma.c): Likewise.
33832 (CFLAGS-s_atan-fma.c): Likewise.
33833 (CFLAGS-sincos32-fma.c): Likewise.
33834 (CFLAGS-slowexp-fma.c): Likewise.
33835 (CFLAGS-slowpow-fma.c): Likewise.
33836 (CFLAGS-s_sin-fma.c): Likewise.
33837 (CFLAGS-s_tan-fma.c): Likewise.
33838 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33839 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33840 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33841 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33843 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33844 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33845 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33846 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33847 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33848 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33849 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33850 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33851 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33852 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33854 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33855 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33856 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33857 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33858 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33859 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33860 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33863 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33864 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33865 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33870 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33872 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33873 (min_of_type_f): New macro.
33874 (min_of_type_): Likewise.
33875 (min_of_type_l): Likewise.
33876 (min_of_type_f128): Likewise.
33877 (min_of_type): Define using __MATH_TG and taking an expression
33879 (math_check_force_underflow): Pass expression instead of type to
33881 (math_check_force_underflow_nonneg): Likewise.
33883 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33885 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33886 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33887 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33889 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33892 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33893 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33894 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33895 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33896 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33897 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33898 memmove_chk-nonshared and memset_chk-nonshared
33899 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33900 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33901 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33902 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33903 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33904 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33905 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33906 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33907 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33908 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33909 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33910 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33911 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33912 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33913 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33914 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33915 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33916 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33917 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33918 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33919 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33920 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33921 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33922 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33923 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33924 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33926 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33927 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33928 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33929 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33930 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33931 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33932 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33933 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33934 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33935 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33936 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33937 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33938 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33939 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33940 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33941 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33942 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33943 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33944 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33945 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33946 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33947 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33948 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33949 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33950 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33951 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33952 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33953 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33954 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33955 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33956 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33957 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33958 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33959 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33960 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33961 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33962 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33963 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33964 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33965 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33966 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33967 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33968 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33969 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33970 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33971 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33972 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33973 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33974 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33975 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33976 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33977 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33978 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33979 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33980 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33981 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33982 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33983 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33984 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33985 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33986 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33987 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33988 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33991 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33993 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33994 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33995 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33996 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33997 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33998 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33999 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34000 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34001 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34002 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34003 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34004 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34005 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34006 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34008 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34010 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34011 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34012 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34013 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34014 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34015 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34016 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34017 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34018 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34019 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34020 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34021 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34022 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34023 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34024 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34025 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34026 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34027 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34028 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34029 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34030 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34038 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34039 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34040 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34041 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34042 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34043 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34044 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34045 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34046 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34047 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34048 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34049 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34050 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34051 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34052 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34053 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34054 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34055 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34056 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34057 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34058 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34059 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34060 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34061 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34064 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34065 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34066 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34067 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34068 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34070 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34071 Don't include <sysdep.h> nor <init-arch.h>.
34072 (_ZGVbN2v_cos): Removed.
34073 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34075 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34076 Don't include <sysdep.h> nor <init-arch.h>.
34077 (_ZGVdN4v_cos): Removed.
34078 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34080 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34081 Don't include <sysdep.h> nor <init-arch.h>.
34082 (_ZGVeN8v_cos): Removed.
34083 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34085 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34086 Don't include <sysdep.h> nor <init-arch.h>.
34087 (_ZGVbN2v_exp): Removed.
34088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34090 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34091 Don't include <sysdep.h> nor <init-arch.h>.
34092 (_ZGVdN4v_exp): Removed.
34093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34095 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34096 Don't include <sysdep.h> nor <init-arch.h>.
34097 (_ZGVeN8v_exp): Removed.
34098 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34100 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34101 Don't include <sysdep.h> nor <init-arch.h>.
34102 (_ZGVbN2v_log): Removed.
34103 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34105 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34106 Don't include <sysdep.h> nor <init-arch.h>.
34107 (_ZGVdN4v_log): Removed.
34108 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34110 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34111 Don't include <sysdep.h> nor <init-arch.h>.
34112 (_ZGVeN8v_log): Removed.
34113 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34115 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34116 Don't include <sysdep.h> nor <init-arch.h>.
34117 (_ZGVbN2vv_pow): Removed.
34118 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34120 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34121 Don't include <sysdep.h> nor <init-arch.h>.
34122 (_ZGVdN4vv_pow): Removed.
34123 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34125 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34126 Don't include <sysdep.h> nor <init-arch.h>.
34127 (_ZGVeN8vv_pow): Removed.
34128 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34130 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34131 Don't include <sysdep.h> nor <init-arch.h>.
34132 (_ZGVbN2v_sin): Removed.
34133 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34135 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34136 Don't include <sysdep.h> nor <init-arch.h>.
34137 (_ZGVbN4v_sin): Removed.
34138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34140 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34141 Don't include <sysdep.h> nor <init-arch.h>.
34142 (_ZGVbN8v_sin): Removed.
34143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34146 Don't include <sysdep.h> nor <init-arch.h>.
34147 (_ZGVbN2vvv_sincos): Removed.
34148 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34151 Don't include <sysdep.h> nor <init-arch.h>.
34152 (_ZGVdN4vvv_sincos): Removed.
34153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34156 Don't include <sysdep.h> nor <init-arch.h>.
34157 (_ZGVeN8vvv_sincos): Removed.
34158 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34160 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34161 Don't include <sysdep.h> nor <init-arch.h>.
34162 (_ZGVeN16v_cosf): Removed.
34163 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34165 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34166 Don't include <sysdep.h> nor <init-arch.h>.
34167 (_ZGVbN4v_cosf): Removed.
34168 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34170 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34171 Don't include <sysdep.h> nor <init-arch.h>.
34172 (_ZGVdN8v_cosf): Removed.
34173 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34175 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34176 Don't include <sysdep.h> nor <init-arch.h>.
34177 (_ZGVeN16v_expf): Removed.
34178 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34180 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34181 Don't include <sysdep.h> nor <init-arch.h>.
34182 (_ZGVbN4v_expf): Removed.
34183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34185 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34186 Don't include <sysdep.h> nor <init-arch.h>.
34187 (_ZGVdN8v_expf): Removed.
34188 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34190 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34191 Don't include <sysdep.h> nor <init-arch.h>.
34192 (_ZGVeN16v_logf): Removed.
34193 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34195 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34196 Don't include <sysdep.h> nor <init-arch.h>.
34197 (_ZGVbN4v_logf): Removed.
34198 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34200 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34201 Don't include <sysdep.h> nor <init-arch.h>.
34202 (_ZGVdN8v_logf): Removed.
34203 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34205 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34206 Don't include <sysdep.h> nor <init-arch.h>.
34207 (_ZGVeN16vv_powf): Removed.
34208 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34210 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34211 Don't include <sysdep.h> nor <init-arch.h>.
34212 (_ZGVbN4vv_powf): Removed.
34213 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34215 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34216 Don't include <sysdep.h> nor <init-arch.h>.
34217 (_ZGVdN8vv_powf): Removed.
34218 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34220 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34221 Don't include <sysdep.h> nor <init-arch.h>.
34222 (_ZGVeN16vvv_sincosf): Removed.
34223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34225 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34226 Don't include <sysdep.h> nor <init-arch.h>.
34227 (_ZGVbN4vvv_sincosf): Removed.
34228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34231 Don't include <sysdep.h> nor <init-arch.h>.
34232 (_ZGVdN8vvv_sincosf): Removed.
34233 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34235 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34236 Don't include <sysdep.h> nor <init-arch.h>.
34237 (_ZGVeN16v_sinf): Removed.
34238 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34240 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34241 Don't include <sysdep.h> nor <init-arch.h>.
34242 (_ZGVbN4v_sinf): Removed.
34243 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34245 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34246 Don't include <sysdep.h> nor <init-arch.h>.
34247 (_ZGVdN8v_sinf): Removed.
34249 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34251 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34252 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34253 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34254 s_rint-sse4_1 and s_rintf-sse4_1.
34255 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34256 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34257 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34258 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34259 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34260 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34262 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34263 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34264 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34265 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34266 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34268 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34269 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34270 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34271 (__ceilf): Removed.
34272 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34273 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34274 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34275 (__floor): Removed.
34276 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34277 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34278 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34279 (__floorf): Removed.
34280 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34281 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34282 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34283 (__nearbyint): Removed.
34284 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34285 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34286 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34287 (__nearbyintf): Removed.
34288 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34289 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34290 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34292 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34293 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34294 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34295 (__rintf): Removed.
34297 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34299 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34300 SHARED. Avoid dynamic relocation against main in static PIE.
34302 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34305 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34306 (LDFLAGS-tst-prelink): Likewise.
34308 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34310 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34311 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34312 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34313 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34314 (INTERNAL_SYSCALL_NCS): Likewise.
34315 (LOADARGS_1): Likewise.
34316 (LOADARGS_5): Likewise.
34317 (RESTOREARGS_1): Likewise.
34318 (RESTOREARGS_5): Likewise.
34320 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34322 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34323 (MEMPCPY_SYMBOL): Likewise.
34324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34325 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34326 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34329 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34331 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34332 (__hidden_ver1): Don't use in libc.a.
34333 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34334 (__mempcpy): Don't create a weak alias in libc.a.
34335 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34337 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34338 (__hidden_ver1): Don't use in libc.a.
34340 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34342 * config.make.in (have-insert): New.
34343 * configure.ac (libc_cv_insert): New. Set to yes if linker
34344 supports INSERT in linker script.
34345 (AC_SUBST(libc_cv_insert): New.
34346 * configure: Regenerated.
34347 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34348 if $(have-insert) == yes.
34350 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34352 * elf/Makefile (tests): Add vismain only if
34353 $(have-protected-data) == yes.
34354 (tests-pie): Likewise.
34356 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34359 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34360 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34362 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34365 * sysdeps/i386/i586/memset.S
34366 (__memset_zero_constant_len_parameter): Removed.
34367 * sysdeps/i386/i686/memset.S
34368 (__memset_zero_constant_len_parameter): Likewise.
34369 * sysdeps/i386/i686/multiarch/memset_chk.S
34370 (__memset_zero_constant_len_parameter): Likewise.
34371 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34374 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34376 * stdlib/getentropy.c (getentropy): Change return type to int.
34378 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34380 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34382 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34384 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34386 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34387 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34389 (ieee_float_shape_type): Likewise.
34390 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34391 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34392 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34393 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34394 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34395 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34396 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34397 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34398 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34400 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34401 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34402 (__ieee754_yn): Likewise.
34403 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34404 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34405 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34407 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34408 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34409 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34410 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34411 (__erfc): Likewise.
34412 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34413 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34414 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34415 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34416 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34417 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34419 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34420 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34421 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34422 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34423 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34424 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34425 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34426 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34427 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34428 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34429 (__issignaling): Likewise.
34430 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34431 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34432 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34434 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34435 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34436 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34437 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34439 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34441 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34442 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34443 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34444 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34445 (__erfcf): Likewise.
34446 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34447 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34448 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34449 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34451 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34452 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34454 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34455 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34456 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34457 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34458 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34459 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34460 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34461 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34463 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34465 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34467 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34470 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34472 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34473 (__ieee754_ynl): Likewise.
34474 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34475 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34477 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34479 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34480 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34481 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34483 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34484 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34485 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34487 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34488 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34489 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34490 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34492 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34493 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34494 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34496 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34497 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34498 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34499 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34500 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34503 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34505 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34509 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34510 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34511 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34512 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34513 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34514 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34517 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34520 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34522 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34523 (__ieee754_remainderl): Likewise.
34524 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34525 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34526 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34527 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34532 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34533 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34534 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34535 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34536 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34537 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34539 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34540 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34541 (__ieee754_y0l): Likewise.
34544 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34545 (__ieee754_y1l): Likewise.
34548 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34549 (__ieee754_ynl): Likewise.
34550 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34551 (__ieee754_lgammal_r): Likewise.
34552 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34554 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34555 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34556 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34557 (__erfcl): Likewise.
34558 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34559 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34561 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34562 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34563 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34564 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34565 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34566 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34567 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34569 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34570 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34571 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34572 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34573 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34575 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34576 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34578 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34579 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34580 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34581 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34582 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34584 2017-08-03 Florian Weimer <fweimer@redhat.com>
34587 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34588 on memory allocation failure.
34590 2017-08-03 Alan Modra <amodra@gmail.com>
34592 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34593 tst-tlsopt-powerpc.c with function name change and no test harness.
34594 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34595 Call tls_get_addr_opt_test.
34596 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34597 (modules-names): Add mod-tlsopt-powerpc.
34598 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34599 (tst-tlsopt-powerpc): Depend on .so.
34600 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34601 define. Expand use in TLS_GD and TLS_LD.
34603 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34605 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34607 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34609 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34612 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34613 comparing size with that of double.
34614 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34615 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34616 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34617 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34618 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34619 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34620 unsigned __int128 types.
34622 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34624 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34625 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34626 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34627 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34628 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34630 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34632 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34634 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34636 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34638 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34641 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34642 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34644 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34646 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34649 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34650 bit-field expressions passed to sizeof or typeof.
34651 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34652 (__TGMATH_F128): Likewise.
34653 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34654 (__TGMATH_CF128): Likewise.
34655 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34656 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34657 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34658 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34659 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34660 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34661 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34662 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34663 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34664 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34665 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34666 (__TGMATH_UNARY_IMAG): Likewise.
34667 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34668 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34669 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34671 (define_vars_for_type): Handle bit_field type specially.
34672 (Tests.__init__): Declare structure with bit-field element.
34674 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34677 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34678 (MEMCPY_CHK): Define only if SHARED is defined.
34679 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34681 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34684 See ChangeLog.18 for earlier changes.