1 2019-05-15 Mark Wielaard <mark@klomp.org>
4 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
5 __libc_once_get (once) and static_buf == NULL.
6 (__dlerror): Check we have a valid key, set result to static_buf
9 2019-05-15 Andreas Schwab <schwab@suse.de>
12 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
14 * libio/Makefile (tests): Add tst-wfile-sync.
15 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
16 * libio/tst-wfile-sync.c: New file.
17 * libio/tst-wfile-sync.input: New file.
19 2019-05-15 Florian Weimer <fweimer@redhat.com>
21 nss: Turn __nss_database_lookup into a compatibility symbol.
22 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
23 __nss_database_lookup.
24 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
25 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
26 __nss_database_lookup.
27 (__nss_next): Move to …
28 * nss/compat-lookup.c (nss_next): … here. Change it to fail
30 (__nss_database_lookup): New function.
31 * nss/Versions (GLIBC_2.0): Update comment.
32 (GLIBC_PRIVATE): Export __nss_database_lookup2.
33 * grp/initgroups.c (internal_getgrouplist): Call
34 __nss_database_lookup2 instead of __nss_database_lookup.
35 * nscd/aicache.c (addhstaiX): Likewise.
36 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
39 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
40 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
42 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
43 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
44 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
48 * support/support.h (support_install_rootsbindir): New variable.
49 * support/support_paths.c: Likewise.
50 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
52 2019-05-15 Florian Weimer <fweimer@redhat.com>
54 * iconv/gconv.h (__gconv_transliterate): Move declaration …
55 * iconv/gconv_int.h (__gconv_transliterate): … here.
56 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
57 * iconv/skeleton.c: Likewise.
59 2019-05-14 Florian Weimer <fweimer@redhat.com>
61 Linux: Add the tgkill function.
62 * bits/signal_ext.h: New file.
63 * manual/signal.texi (Signaling Another Process): Document tgkill.
64 * signal/Makefile (headers): Add bits/signal_ext.h.
65 * signal/signal.h: Include <bits/signal_ext.h>.
66 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
67 (tst-tgkill): Link with libpthread.
68 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
69 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
70 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
71 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
73 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
74 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
75 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
76 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
77 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
78 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
79 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
80 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
81 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
82 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
83 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
85 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
86 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
87 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
92 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
94 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
96 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
97 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
98 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
99 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
100 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
101 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
102 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
103 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
105 2019-05-14 Carlos O'Donell <carlos@redhat.com>
107 * manual/search.texi (Tree Search Function): Adjust twalk_r
110 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
113 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
116 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
117 * support/support.h (support_bindir_prefix): New variable.
118 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
120 * config.make.in (bindir): New variable.
122 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
123 (lll_trylock): Call __lll_trylock.
124 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
125 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
126 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
127 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
128 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
129 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
132 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
133 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
134 lowlevellock-futex.h.
136 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
137 initialization for LLL_LOCK_INITIALIZER different than 0.
138 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
139 Assume LLL_LOCK_INITIALIZER being 0.
140 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
141 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
143 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
144 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
146 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
147 Optimize futex call and add systemtap probe.
149 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
150 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
151 __libc_disable_asynccancel, __librt_enable_asynccancel,
152 __libc_disable_asynccancel, __librt_enable_asynccancel,
153 __librt_disable_asynccancel): Move to ...
154 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
155 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
156 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
157 * sysdeps/generic/single-thread.h: New file.
158 * sysdeps/unix/sysdep.h: Include single-thread.h.
159 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
160 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
162 2019-05-08 Mike FABIAN <mfabian@redhat.com>
165 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
166 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
168 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
169 * localedata/unicode-gen/PropList.txt: Likewise.
170 * localedata/unicode-gen/UnicodeData.txt: Likewise.
171 * localedata/charmaps/UTF-8: Regenerate.
172 * localedata/locales/i18n_ctype: Likewise.
173 * localedata/locales/tr_TR: Likewise.
174 * localedata/locales/translit_circle: Likewise.
175 * localedata/locales/translit_cjk_compat: Likewise.
176 * localedata/locales/translit_combining: Likewise.
177 * localedata/locales/translit_compat: Likewise.
178 * localedata/locales/translit_font: Likewise.
179 * localedata/locales/translit_fraction: Likewise.
181 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
184 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
185 (do_set_tcache_count): Only update if count is small enough.
186 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
188 2019-05-10 Florian Weimer <fweimer@redhat.com>
190 * nptl/sem_close.c (struct walk_closure): Define.
191 (walker): Adjust for __twalk_r.
192 (sem_close): Call __twalk_r.
194 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
196 * support/timespec.c (test_timespec_before_impl,
197 test_timespec_equal_or_after_impl): print timespec member as intmax_t
200 2019-05-09 Mike Crowe <mac@mcrowe.com>
202 * nptl/tst-abstime.c: Use libsupport.
204 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
205 small bug where only tv.tv_usec was checked which could cause an
206 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
209 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
212 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
213 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
215 * nptl/tst-cond11.c: Use libsupport.
217 * support/timespec.h: New file. Provide timespec helper functions
218 along with macros in the style of those in check.h.
219 * support/timespec.c: New file. Implement check functions declared
220 in support/timespec.h.
221 * support/timespec-add.c: New file from gnulib containing
222 timespec_add implementation that handles overflow.
223 * support/timespec-sub.c: New file from gnulib containing
224 timespec_sub implementation that handles overflow.
225 * support/README: Mention timespec.h.
227 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
230 * nptl/Makefile: Move tst-eintr1 to xtests.
232 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
234 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
236 (round_mode): Add definition for TRUNC.
237 * sysdeps/powerpc/fpu/s_trunc.c: New file.
238 * sysdeps/powerpc/fpu/s_truncf.c: New file.
239 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
240 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
241 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
243 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
245 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
247 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
249 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
251 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
253 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
255 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
257 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
258 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
259 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
260 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
261 s_truncf-power5+, and s_truncf-ppc64.
262 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
263 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
265 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
267 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
268 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
270 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
273 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
275 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
276 s_truncf-power5+, and s_truncf-ppc64.
277 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
279 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
280 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
282 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
283 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
284 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
285 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
286 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
288 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
290 (round_mode): Add definition for ROUND.
291 (round_to_integer_float): Likewise.
292 * sysdeps/powerpc/fpu/s_round.c: New file.
293 * sysdeps/powerpc/fpu/s_roundf.c: New file.
294 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
295 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
296 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
298 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
300 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
302 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
304 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
306 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
308 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
310 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
312 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
313 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
314 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
315 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
316 s_roundf-power5+, and s_roundf-ppc64.
317 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
318 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
320 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
322 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
323 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
325 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
328 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
330 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
331 s_roundf-power5+, and s_roundf-ppc64.
332 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
334 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
335 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
337 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
338 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
339 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
340 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
341 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
343 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
345 (round_mode): Add definition for FLOOR.
346 * sysdeps/powerpc/fpu/s_floor.c: New file.
347 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
348 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
349 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
366 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
367 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
368 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
369 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
370 s_floorf-power5+, and s_floorf-ppc64.
371 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
372 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
374 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
376 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
377 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
379 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
382 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
384 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
385 s_floorf-power5+, and s_floorf-ppc64.
386 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
394 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
395 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
396 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
397 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
399 2019-05-08 Mike Crowe <mac@mcrowe.com>
401 * support/xclock_gettime.c (xclock_gettime): New file. Provide
402 clock_gettime wrapper for use in tests that fails the test rather
403 than returning failure.
405 * support/xtime.h: New file to declare xclock_gettime.
407 * support/Makefile: Add xclock_gettime.c.
409 * support/README: Mention xtime.h.
411 2019-05-08 Florian Weimer <fweimer@redhat.com>
413 malloc/tst-mallocfork2: Use process-shared barriers.
414 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
415 (signal_count, sigusr1_sender_pid): Remove.
416 (iterations): Define constant.
417 (shared): New variable.
418 (sigusr1_received): Update comment.
419 (sigusr1_handler): Do not send SIGSTOP to the sender process.
420 (signal_sender): Optional use barriers to avoid sending signals
421 during irrelevant times.
422 (do_it): Initialize variable shared. Use xfork for error
423 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
424 the iteration count, independent of signal delivery. Check for
425 deadlocks in fork. Introduce barriers for reducing signal
426 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
427 replaced by the barriers. Count signals during fork/free/malloc
429 * malloc/Makefile (tst-mallocfork): Link with libpthread.
431 2019-05-07 Joseph Myers <joseph@codesourcery.com>
433 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
435 (clock_adjtime64) New syscall.
436 (clock_getres_time64) Likewise.
437 (clock_gettime64) Likewise.
438 (clock_nanosleep_time64) Likewise.
439 (clock_settime64) Likewise.
440 (futex_time64) Likewise.
441 (io_pgetevents_time64) Likewise.
442 (io_uring_enter) Likewise.
443 (io_uring_register) Likewise.
444 (io_uring_setup) Likewise.
445 (mq_timedreceive_time64) Likewise.
446 (mq_timedsend_time64) Likewise.
447 (pidfd_send_signal) Likewise.
448 (ppoll_time64) Likewise.
449 (pselect6_time64) Likewise.
450 (recvmmsg_time64) Likewise.
451 (rt_sigtimedwait_time64) Likewise.
452 (sched_rr_get_interval_time64) Likewise.
453 (semtimedop_time64) Likewise.
454 (timer_gettime64) Likewise.
455 (timer_settime64) Likewise.
456 (timerfd_gettime64) Likewise.
457 (timerfd_settime64) Likewise.
458 (utimensat_time64) Likewise.
460 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
463 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
465 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
466 __memmove_thunderx2 to the list of implementations
467 * sysdeps/aarch64/multiarch/memmove.c: Likewise
468 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
469 (__memmove_thunderx2): Rewritten using SIMD ld/st
470 (__memcpy_thunderx2): Fixed handling overlapping cases.
471 Used ldp/stp instead of ldr/str if possible. Made loops
474 2019-05-03 Florian Weimer <fweimer@redhat.com>
476 * misc/tst-tsearch.c (walk_tree): Add more error checking.
478 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
481 * elf/tst-pldd.c (in_str_list): New function.
482 (do_test): Add default names for ld and libc as one option.
484 2019-05-02 Florian Weimer <fweimer@redhat.com>
486 misc: Add twalk_r function.
487 * include/search.h (__twalk_r): Declare.
488 * manual/examples/twalk.c: New file.
489 * manual/search.texi (Tree Search Function): Document twalk_r.
490 * misc/Versions (2.30): Export twalk_r.
491 (GLIBC_PRIVATE): Export __twalk_r.
492 * misc/search.h [__USE_GNU] (twalk_r): Declare.
493 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
494 (twalk_r): Add weak alias.
495 * misc/tst-tsearch.c (struct walk_trace_element): Define.
496 (walk_trace): New variable.
497 (struct twalk_with_twalk_r_closure): Define.
498 (twalk_with_twalk_r_action): New function.
499 (twalk_with_twalk_r): Likewise.
500 (walk_action): Call walk_trace_add.
501 (walk_tree_with): Rename from walk_tree. Add walk argument.
502 (walk_tree): New function.
503 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
504 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
506 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
508 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
509 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
510 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
511 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
512 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
513 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
515 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
517 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
519 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
520 (GLIBC_2.30): Likewise.
521 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
522 (GLIBC_2.30): Likewise.
523 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
524 (GLIBC_2.30): Likewise.
525 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
526 (GLIBC_2.30): Likewise.
527 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
530 (GLIBC_2.30): Likewise.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
532 (GLIBC_2.30): Likewise.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
534 (GLIBC_2.30): Likewise.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
536 (GLIBC_2.30): Likewise.
537 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
539 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
541 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
543 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
544 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
546 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
548 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
550 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
553 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
555 Make mktime etc. compatible with __time64_t
556 Keep these functions compatible with Gnulib while adding
557 __time64_t support. The basic idea is to move private API
558 declarations from include/time.h to time/mktime-internal.h, since
559 the former file cannot easily be shared with Gnulib whereas the
561 Also, do some other minor cleanup while in the neighborhood.
562 * include/time.h: Include stdbool.h, time/mktime-internal.h.
563 (__mktime_internal): Move this prototype to time/mktime-internal.h,
564 since Gnulib needs it.
565 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
566 Move these macros to time/mktime-internal.h, since Gnulib needs them.
567 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
568 (in_time_t_range): New static function.
569 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
570 so that glibc users are not tempted to use __time64_t.
571 * time/mktime-internal.h: Rewrite so that it does both glibc
572 and Gnulib work. Include time.h if not _LIBC.
573 (mktime_offset_t) [!_LIBC]: Define for gnulib.
574 (__time64_t): New type or macro, moved here from
576 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
577 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
579 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
580 New macros, taken from GNulib.
581 (__mktime_internal): New prototype, moved here from include/time.h.
582 * time/mktime.c (mktime_min, mktime_max, convert_time)
583 (ranged_convert, __mktime_internal, __mktime64):
584 * time/timegm.c (__timegm64):
585 Use __time64_t, not time_t.
586 * time/mktime.c: Stop worrying about whether time_t is floating-point.
587 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
589 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
590 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
593 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
595 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
597 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
600 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
601 from `-Wmaybe-uninitialized'.
602 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
604 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
606 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
608 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
609 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
610 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
611 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
612 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
614 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
633 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
634 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
639 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
642 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
645 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
648 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
649 s_ceilf-power5+, and s_ceilf-ppc64.
650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
655 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
656 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
657 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
658 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
660 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
661 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
662 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
664 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
666 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
667 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
668 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
669 (sem_getvalue): Likewise.
671 2019-04-26 Florian Weimer <fweimer@redhat.com>
673 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
674 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
676 2019-04-26 Florian Weimer <fweimer@redhat.com>
678 Makeconfig: Move -Wl,-rpath-link options before library references.
679 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
680 (link-libc): Remove $(link-libc-rpath-link).
682 2019-04-25 Florian Weimer <fweimer@redhat.com>
684 * Makeconfig (+link-pie-before-libc): Remove $(CC).
685 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
686 (+link-static-before-libc): Remove $(CC).
687 (+link-static, +link-static-tests): Add $(CC).
688 (+link-before-libc): Remove $(CC).
689 (+link, +link-pie, +link-pie-printers): Add $(CC).
691 2019-04-26 Florian Weimer <fweimer@redhat.com>
693 * Makeconfig (+link-pie-before-libc): Remove $(CC).
694 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
695 (+link-static-before-libc): Remove $(CC).
696 (+link-static, +link-static-tests): Add $(CC).
697 (+link-before-libc): Remove $(CC).
698 (+link, +link-pie, +link-pie-printers): Add $(CC).
700 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
703 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
705 2019-04-25 Florian Weimer <fweimer@redhat.com>
707 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
708 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
709 (bench-link-targets): New variable.
710 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
712 2019-04-25 Florian Weimer <fweimer@redhat.com>
714 Also enable BIND_NOW for programs if --enable-bind-now.
715 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
716 (+link-pie): Use $(link-extra-flags).
717 (+link-static): Likewise.
718 [! $(build-pie-default)] (+link): Likewise.
719 * manual/install.texi (Configuring and compiling): Update
720 --enable-bind-now description.
721 * INSTALL: Regenerated.
723 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
725 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
726 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
728 2019-04-24 Mike Frysinger <vapier@gentoo.org>
731 * malloc/Makefile (others): Add memusagestat.
732 ($(objpfx)memusagestat): Delete rule.
733 (LDLIBS-memusagestat): New variable.
735 2019-04-24 Florian Weimer <fweimer@redhat.com>
737 * locale/Makefile (tests-special): Guard setting by
738 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
739 to run while cross-compiling.
741 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
744 * elf/Makefile (tests-container): Add tst-pldd.
745 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
746 (E(find_maps)): Avoid use alloca, use default read file operations
747 instead of explicit LFS names, and fix infinite loop.
748 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
749 (get_process_info): Use _Static_assert instead of assert, use default
750 directory operations instead of explicit LFS names, and free some
752 * elf/tst-pldd.c: New file.
754 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
756 * malloc/arena.c (do_set_mallopt_check): Removed.
758 2019-04-23 Florian Weimer <fweimer@redhat.com>
760 locale: Add LOCPATH diagnostics to the locale program.
761 * locale/programs/locale.c (setlocale_failed): New variable.
762 (try_setlocale): New function.
763 (quote_string): Likewise.
764 (setlocale_diagnostics): Likewise.
765 (main): Call try_setlocale instead of setlocale. Call
766 setlocale_diagnostics.
767 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
768 (tst-locale-locpath.out): New target.
769 * locale/tst-locale-locpath.sh: New file.
771 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
773 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
776 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
779 * malloc/hooks.c (malloc_check, realloc_check): Use
780 __builtin_add_overflow on overflow check and adapt to
781 checked_request2size change.
782 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
783 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
784 allocation size to PTRDIFF_MAX.
785 (REQUEST_OUT_OF_RANGE): Remove macro.
786 (checked_request2size): Change to inline function and limit maximum
787 requested size to PTRDIFF_MAX.
788 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
789 maximum allocation size to PTRDIFF_MAX.
790 (_mid_memalign): Use _int_memalign call for overflow check.
791 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
792 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
793 limit maximum requested size to PTRDIFF_MAX.
794 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
795 valloc, pvalloc): Add __attribute_alloc_size__.
796 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
797 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
798 larger than PTRDIFF_MAX.
799 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
800 around tests of malloc with negative sizes.
801 * malloc/tst-posix_memalign.c (do_test): Likewise.
802 * malloc/tst-pvalloc.c (do_test): Likewise.
803 * malloc/tst-valloc.c (do_test): Likewise.
804 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
805 with resulting size allocation larger than PTRDIFF_MAX with
807 (reallocarray_nowarn): New function.
808 * NEWS: Mention the malloc function semantic change.
810 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
812 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
813 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
815 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
816 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
817 * sysdeps/powerpc/fpu/s_fma.c: New file.
818 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
820 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
821 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
823 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
824 the magic flag store.
825 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
827 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
829 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
830 Remove rt_sigreturn call.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
833 Remove rt_sigreturn call.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
839 * support/Makefile (libsupport-routines): Add support_subprocess,
840 xposix_spawn, xposix_spawn_file_actions_addclose, and
841 xposix_spawn_file_actions_adddup2.
842 (tst-support_capture_subprocess-ARGS): New rule.
843 * support/capture_subprocess.h (support_capture_subprogram): New
845 * support/support_capture_subprocess.c (support_capture_subprocess):
846 Refactor to use support_subprocess and support_capture_poll.
847 (support_capture_subprogram): New function.
848 * support/tst-support_capture_subprocess.c (write_mode_to_str,
849 str_to_write_mode, test_common, parse_int, handle_restart,
850 do_subprocess, do_subprogram, do_multiple_tests): New functions.
851 (do_test): Add support_capture_subprogram tests.
852 * support/subprocess.h: New file.
853 * support/support_subprocess.c: Likewise.
854 * support/xposix_spawn.c: Likewise.
855 * support/xposix_spawn_file_actions_addclose.c: Likewise.
856 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
857 * support/xspawn.h: Likewise.
859 2019-04-17 Mike Gerow <gerow@google.com>
861 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
864 2019-04-11 Florian Weimer <fweimer@redhat.com>
866 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
867 domain with empty string.
868 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
870 2019-04-11 Florian Weimer <fweimer@redhat.com>
872 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
874 (alloc_buffer_next): Change return type to non-const. Update
877 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
879 * manual/time.texi (Formatting Calendar Time): Add missing percent
880 sign to conversion specifier.
882 2019-04-09 Carlos O'Donell <carlos@redhat.com>
883 Kwok Cheung Yeung <kcy@codesourcery.com>
886 * malloc/mtrace.c: Define prototypes for all hooks.
887 (set_default_hooks): New function.
888 (set_trace_hooks): Likewise.
889 (save_default_hooks): Likewise.
890 (tr_freehook): Use new s*_hooks functions.
891 (tr_mallochook): Likewise.
892 (tr_reallochook): Likewise.
893 (tr_memalignhook): Likewise.
895 (muntrace): Likewise.
897 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
899 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
900 (generic_stpcpy): New function.
901 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
902 (generic_stpncpy): New function.
903 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
904 (generic_strcat): New function.
905 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
906 (generic_strcpy): New function.
907 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
908 (STUPID_STRNCAT): Remove function.
909 (generic_strncat): New function.
910 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
911 (STUPID_STRNCPY): Remove function.
912 (generic_strncpy): New function.
913 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
914 (generic_strnlen): New function.
915 (memchr_strnlen): New function.
916 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
917 (memchr_strlen): Likewise.
919 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
921 * benchtests/bench-strstr.c (input): Add realistic input text.
922 (stupid_strstr): Remove function.
923 (basic_strstr): Add function.
924 (twoway_strstr): Add function.
925 (do_one_test): Add result checking.
926 (do_test): Use new input text. Remove accidental early matches.
927 (test_main): Improve range of tests, reduce unaligned cases.
929 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
931 * benchtests/bench-memmem.c (simple_memmem): Remove function.
932 (basic_memmem): Add function.
933 (twoway_memmem): Add function.
935 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
937 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
938 * benchtests/bench-malloc-thread.c: Likewise.
939 * benchtests/bench-skeleton.c: Likewise.
940 * benchtests/bench-strtod.c: Likewise.
941 * benchtests/bench-timing.h: Likewise.
943 2019-04-08 Florian Weimer <fweimer@redhat.com>
945 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
947 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
948 RES_INSECURE2 security checks.
949 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
950 RES_INSECURE2 handling.
952 2019-04-08 Florian Weimer <fweimer@redhat.com>
954 resolv: Remove support for RES_USE_INET6 and the inet6 option.
955 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
956 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
958 * resolv/Makefile (tests): Remove tst-res_use_inet6.
959 (tests-internal): Update justification for tst-resolv-res_init,
960 tst-resolv-res_init-thread.
961 (tst-res_use_inet6): Remove target.
962 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
963 * resolv/res_debug.c (p_option): Remove "inet6" support.
964 * resolv/res_init.c (res_setoptions): Likewise.
965 * resolv/res_use_inet6.h: Remove file.
966 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
968 (res_use_inet6): Always return false.
969 * resolv/resolv.h (RES_USE_INET6): Remove definition.
970 * resolv/resolv_context.h: Adjust file comment.
971 (struct resolv_context): Update comment on __next field.
972 (__resolv_context_put): Update comment.
973 * resolv/tst-res_use_inet6.c: Remove file.
974 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
976 (test_cases): Adjust test case.
977 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
978 (thread_byname2_af_inet6): Use old byname_inet6 code.
979 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
980 (gai): Remove do_inet6 argument.
981 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
982 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
983 (thread_gai_unspec_inet6): Remove functions.
984 (do_test): Adjust thread_funcs.
985 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
987 (gaih_inet): Do not disable RES_USE_INET6 flag.
989 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
991 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
992 and remove redundant code.
994 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
996 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
998 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1006 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1008 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1009 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1010 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1012 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1014 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1017 Remove wcsrchr optimizations.
1018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1020 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1023 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1025 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1033 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1034 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1035 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1036 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1037 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1039 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1041 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1044 Remove wcschr optimizations.
1045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1047 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1050 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1052 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1060 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1064 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1066 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1068 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1071 Remove wcscpy optimizations.
1072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1074 * include/loop_unroll.h: New file.
1075 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1076 besides generic implementation.
1078 2019-04-03 DJ Delorie <dj@redhat.com>
1080 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1081 snprintf truncating output.
1083 2019-04-02 DJ Delorie <dj@redhat.com>
1085 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1088 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1091 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1093 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1094 (mkreftable): Add rules for the new Japanese era and the new dates.
1096 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1097 Rafal Luzynski <digitalfreak@lingonborough.com>
1099 * time/tst-strftime2.c (date_t): Explicitly define the type.
1100 (dates): Use natural month and year numbers to express a date.
1101 (is_before): New function to compare dates.
1102 (mkreftable): Minor improvements to simplify maintenance.
1103 (do_test): Reflect the changes in dates array.
1106 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1107 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1108 * time/tst-strftime2.c (locales): Likewise.
1109 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1110 2010-04-01, and 2011-04-01.
1111 (mkreftable): Add rules for the new locales and the new dates.
1113 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1115 * localedata/locales/ja_JP: Add comments to era entries.
1117 2019-04-01 DJ Delorie <dj@redhat.com>
1120 * time/strptime_l.c (%Ey): Fix fencepost error.
1121 * time/tst-strftime3.c: New.
1122 * time/Makefile (tests): Add tst-strftime3.
1124 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1126 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1127 conditional branch to DIVBYZERO. Fix unwind info.
1128 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1129 excb after conditional branch to $powerof2. Add missing unop
1130 instructions and .align directives and reorder instructions to
1133 2019-04-01 Richard Henderson <rth@twiddle.net>
1135 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1137 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1140 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1142 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1143 $libc_cv_riscv_float_abi in `test' invocation.
1144 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1146 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1148 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1150 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1152 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1153 (_GET_SI_FPSCR): Likewise.
1154 (_SET_SI_FPSCR): Likewise.
1156 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1158 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1160 (signbit): Use builtin for clang 3.3.
1161 (isinf): Use builtin for clang 3.7.
1163 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1165 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1167 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1169 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1172 2019-03-25 Mike Crowe <mac@mcrowe.com>
1174 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1175 pthread_rwlock_timedrdlock with calls to
1176 pthread_rwlock_timedwrlock to ensure that the latter is tested
1177 too. Use new function name in diagnostic messages too.
1179 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1180 (do_test) Use libsupport test macros rather than hand-coded
1181 conditionals and error messages. Ensure that sem_init returns zero
1182 rather than not -1. Use <support/test-driver.c> rather than
1185 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1186 test macros rather than hand-coded conditionals and error messages.
1187 Use <support/test-driver.c> rather than test-skeleton.c.
1189 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1191 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1193 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1194 (NT_MIPS_MSA): Likewise.
1196 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1198 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1199 * benchtests/README: Update description.
1200 * benchtests/bench-timing.h: Default to hp-timing.
1201 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1202 HP_TIMING_PRINT): Remove.
1203 (HP_TIMING_NOW): Add generic implementation.
1204 (hp_timing_t): Change to uint64_t.
1206 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1208 * nptl/descr.h: Likewise.
1209 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1210 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1211 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1212 Abstract hp-timing usage with RTLD_* macros.
1213 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1214 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1215 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1216 HP_TIMING_NONAVAIL): Likewise.
1217 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1219 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1220 HP_SMALL_TIMING_AVAIL): Likewise.
1221 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1222 HP_SMALL_TIMING_AVAIL): Likewise.
1223 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1224 HP_SMALL_TIMING_AVAIL): Likewise.
1225 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1226 HP_SMALL_TIMING_AVAIL): Likewise.
1227 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1229 * sysdeps/generic/hp-timing-common.h: Update comment with
1230 HP_TIMING_AVAIL removal.
1232 * include/random-bits.h: New file.
1233 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1234 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1236 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1237 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1240 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1241 * rt/Makefile (clock-routines): Remove get_clockfreq.
1242 * rt/get_clockfreq.c: Remove file.
1243 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1244 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1246 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1247 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1249 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1250 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1251 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1252 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1253 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1255 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1256 pthread_clock_settime.
1257 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1258 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1259 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1260 * elf/rtld.c (_dl_start_final): Likewise.
1261 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1262 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1264 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1265 (_dl_cpuclock_offset): Remove.
1266 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1267 cpuclock_offset_ununsed.
1268 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1269 cpuclock_offset set.
1270 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1271 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1272 * nptl/pthread_clock_gettime.c: Remove file.
1273 * nptl/pthread_clock_settime.c: Likewise.
1274 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1275 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1276 and CLOCK_PROCESS_CPUTIME_ID support.
1277 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1278 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1279 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1280 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1281 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1283 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1285 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1287 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1288 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1289 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1291 * sysdeps/s390/memmem-arch13.S: New file.
1292 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1293 if it is only used as fallback.
1294 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1295 * sysdeps/s390/multiarch/ifunc-impl-list.c
1296 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1298 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1300 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1301 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1302 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1304 * sysdeps/s390/multiarch/ifunc-impl-list.c
1305 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1306 * sysdeps/s390/strstr-arch13.S: New file.
1307 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1308 if it is only used as fallback.
1309 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1311 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1313 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1314 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1315 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1316 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1318 * sysdeps/s390/multiarch/ifunc-impl-list.c
1319 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1320 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1321 S390_IS_ARCH13_MIE3): New defines.
1323 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1325 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1326 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1327 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1328 * sysdeps/s390/configure: Regenerated.
1330 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1332 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1333 Add vxe2, vxp, dflt, sort flags.
1334 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1335 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1337 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1338 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1339 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1340 HWCAP_S390_DFLT): Define.
1342 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1345 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1346 of compiler warning.
1347 * locale/programs/ld-collate.c (collate_output): Likewise.
1349 2019-03-21 DJ Delorie <dj@redhat.com>
1352 * iconv/iconvconfig.c (write_output): Replace floating point math
1353 with integer math to avoid imprecise results.
1354 * locale/programs/ld-collate.c (collate_output): Likewise.
1356 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1358 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1359 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1361 2019-03-20 mansayk <6688000@gmail.com>
1364 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1365 (abday): Likewise, but remove the trailing dots.
1367 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1369 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1371 (HWCAP_PACA): Likewise.
1372 (HWCAP_PACG): Likewise.
1373 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1375 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1377 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1379 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1382 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1384 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1386 (old_getpagesize): New syscall.
1388 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1391 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1392 * localedata/locales/cmn_TW (era): Likewise.
1393 * localedata/locales/hak_TW (era): Likewise.
1394 * localedata/locales/lzh_TW (era): Likewise.
1395 * localedata/locales/nan_TW (era): Likewise.
1397 2019-03-14 Adam Maris <amaris@redhat.com>
1399 * malloc/malloc.c (_int_malloc): Check for large bin list
1400 corruption when inserting unsorted chunk.
1402 2019-03-14 Florian Weimer <fweimer@redhat.com>
1404 Remove obsolete, never-implemented XSI STREAMS declarations.
1405 * manual/terminal.texi (Allocation): Remove portability note and
1407 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1409 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1410 * sysdeps/unix/inet/Subdirs (streams): Remove.
1411 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1412 (conformtest-headers-UNIX98): Likewise.
1413 (conformtest-headers-XOPEN2K): Likewise.
1414 (conformtest-headers-POSIX2008): Likewise.
1415 * posix/compat-streams.c: New file.
1416 * posix/Makefile (routines): Add it.
1417 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1418 getpmsg, isastream, putmsg, putpmsg.
1419 (GLIBC_2.30): New section.
1420 * bits/stropts.h: Remove file.
1421 * bits/xtitypes.h: Likewise.
1422 * conform/data/stropts.h-data: Likewise.
1423 * include/stropts.h: Likewise.
1424 * include/sys/stropts.h: Likewise.
1425 * include/xtitypes.h: Likewise.
1426 * streams/Makefile: Likewise.
1427 * streams/fattach.c: Likewise.
1428 * streams/fdetach.c: Likewise.
1429 * streams/getmsg.c: Likewise.
1430 * streams/getpmsg.c: Likewise.
1431 * streams/isastream.c: Likewise.
1432 * streams/putmsg.c: Likewise.
1433 * streams/putpmsg.c: Likewise.
1434 * streams/stropts.h: Likewise.
1435 * streams/sys/stropts.h: Likewise.
1436 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1437 * sysdeps/s390/bits/xtitypes.h: Likewise.
1438 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1439 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1440 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1441 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1442 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1443 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1444 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1445 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1446 * sysdeps/x86/bits/xtitypes.h: Likewise.
1448 2019-03-14 Florian Weimer <fweimer@redhat.com>
1450 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1452 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1453 but not with libnss_files.
1454 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1456 2019-03-14 Zack Weinberg <zackw@panix.com>
1458 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1459 Specify encoding="utf-8" when opening headers to check.
1461 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1463 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1465 (Context.checkout_tar): Handle variable major version for Linux
1468 2019-03-13 Florian Weimer <fweimer@redhat.com>
1471 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1473 2019-03-13 Zack Weinberg <zackw@panix.com>
1475 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1477 * include/inttypes.h: Adjust to match.
1478 * include/stdint.h: New wrapper.
1480 2019-03-13 Zack Weinberg <zackw@panix.com>
1482 * scripts/check-obsolete-constructs.py: New test script.
1483 * scripts/check-installed-headers.sh: Remove tests for
1484 obsolete typedefs, superseded by check-obsolete-constructs.py.
1485 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1486 as a special test. Update commentary.
1487 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1488 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1490 * posix/sys/types.h (__u_intN_t): Remove.
1491 (u_int8_t): Typedef using __uint8_t.
1492 (u_int16_t): Typedef using __uint16_t.
1493 (u_int32_t): Typedef using __uint32_t.
1494 (u_int64_t): Typedef using __uint64_t.
1496 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1498 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1500 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1501 Ignore types other than AT_HWCAP.
1502 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1503 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1505 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1506 in the case of falling back to generic output mechanism.
1507 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1510 2019-03-12 Florian Weimer <fweimer@redhat.com>
1512 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1514 2019-03-12 Florian Weimer <fweimer@redhat.com>
1517 resolv: Enable full ICMP errors for UDP DNS sockets
1518 * resolv/res_enable_icmp.c: New file.
1519 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1520 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1521 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1524 2019-03-11 Mao Han <han_mao@c-sky.com>
1526 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1527 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1529 2019-03-11 Mao Han <han_mao@c-sky.com>
1531 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1532 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1533 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1535 2019-03-11 Mao Han <han_mao@c-sky.com>
1537 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1539 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1542 2019-03-11 Mao Han <han_mao@c-sky.com>
1544 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1545 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1548 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1551 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1552 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1554 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1555 * localedata/unicode-gen/PropList.txt: Likewise.
1556 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1557 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1558 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1559 * localedata/charmaps/UTF-8: Regenerate.
1560 * localedata/locales/i18n_ctype: Likewise.
1561 * localedata/locales/tr_TR: Likewise.
1562 * localedata/locales/translit_circle: Likewise.
1563 * localedata/locales/translit_cjk_compat: Likewise.
1564 * localedata/locales/translit_combining: Likewise.
1565 * localedata/locales/translit_compat: Likewise.
1566 * localedata/locales/translit_font: Likewise.
1567 * localedata/locales/translit_fraction: Likewise.
1569 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1571 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1572 than after operators.
1573 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1574 (setitimer_locked): Likewise.
1575 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1576 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1577 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1578 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1579 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1580 (PPC_CPU_SUPPORTED): Likewise.
1581 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1582 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1583 (stat_overflow): Likewise.
1584 (statfs_overflow): Likewise.
1585 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1586 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1587 (eq_ttyname_r): Likewise.
1588 (run_chroot_tests): Likewise.
1590 2019-03-07 Florian Weimer <fweimer@redhat.com>
1592 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1595 2019-03-07 Martin Liska <mliska@suse.cz>
1597 * math/Makefile: Change location where math-vector-fortran.h is
1599 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1600 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1601 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1602 * scripts/check-installed-headers.sh: Skip Fortran header files.
1603 * scripts/check-wrapper-headers.py: Likewise.
1605 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1607 * nptl/nptl-init.c (__have_futex_clock_realtime,
1608 __have_futex_clock_realtime): Remove definition.
1609 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1610 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1611 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1612 __ASSUME_FUTEX_CLOCK_REALTIME support.
1613 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1614 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1615 * sysdeps/unix/sysv/linux/kernel-features.h
1616 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1617 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1620 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1622 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1623 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1624 __GI___wcscpy and wcscpy.
1626 2019-03-04 Florian Weimer <fweimer@redhat.com>
1628 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1630 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1633 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1635 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1636 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1638 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1641 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1642 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1644 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1646 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1648 (do_test): Likewise.
1649 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1650 (do_test_call_varg): Likewise.
1651 (do_test_call_rarg): Likewise.
1652 * sysdeps/ieee754/ldbl-opt/Makefile
1653 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1655 ($(objpfx)tst-nldbl-warn.c): New rule.
1656 ($(objpfx)tst-nldbl-error.c): Likewise.
1657 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1660 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1663 * include/bits/error-ldbl.h: New file.
1664 * include/error.h: Include stdarg.h. Declare internal functions
1665 __error_internal and __error_at_line_internal.
1666 * misc/Makefile (headers): Add bits/error-ldbl.h.
1667 * misc/bits/error-ldbl.h: New file.
1668 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1669 avoid the inclusion of bits/error.h.
1670 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1671 and __nldbl_error_at_line.
1672 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1673 (__nldbl_error, __ndlbl_error_at_line): New functions.
1674 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1675 Redirect error and error_at_line.
1676 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1685 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1687 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1689 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1692 * include/bits/err-ldbl.h: New file.
1693 * include/err.h: Add prototypes for the internal functions:
1694 __vwarnx_internal and __vwarn_internal.
1695 * misc/Makefile (headers): Add bits/err-ldbl.h.
1696 * misc/bits/err-ldbl.h: New file.
1697 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1698 defined, i.e.: when -mlong-double-64 is in use.
1699 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1700 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1701 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1702 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1703 (VA_CALL): New macro.
1704 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1705 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1707 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1708 declare prototypes for the new functions.
1709 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1719 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1720 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1722 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1724 * sysdeps/ieee754/ldbl-opt/Makefile
1725 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1726 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1727 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1729 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1732 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1733 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1734 * argp/bits/argp-ldbl.h: New file.
1735 * include/argp.h: Include stdarg.h. Add prototypes for internal
1736 functions: __argp_error_internal and __argp_failure_internal.
1737 * include/bits/argp-ldbl.h: New file.
1738 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1739 __nldbl_argp_error and __nldbl_argp_failure.
1740 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1741 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1742 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1743 Redirect argp_error and argp_failure calls.
1744 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1753 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1754 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1755 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1757 2019-03-01 Florian Weimer <fweimer@redhat.com>
1760 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1761 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1762 code, to avoid creating an ABI tag note.
1763 (modules-names-nobuild): Add tst-big-note-lib.
1765 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1767 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1768 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1770 2019-03-01 Florian Weimer <fweimer@redhat.com>
1773 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1774 (__netlink_assert_response): Add additional missing newlines.
1776 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1778 * sysdeps/powerpc/powerpc32/dl-machine.c
1779 (__elf_machine_fixup_plt): Use space before '('.
1780 (__process_machine_rela): Likewise.
1781 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1783 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1785 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1787 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1788 (pattern): Likewise.
1790 (check_result): Likewise.
1791 (check_excepts): Likewise.
1792 (check_op): Likewise.
1793 (fail_xr): Likewise.
1794 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1795 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1797 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1800 (__makecontext): Likewise.
1801 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1804 2019-02-28 Florian Weimer <fweimer@redhat.com>
1807 elf: Add test with a local IFUNC resolver.
1808 * elf/ifuncmain9.c: New file.
1809 * elf/ifuncmain9pic.c: Likewise.
1810 * elf/ifuncmain9picstatic.c: Likewise.
1811 * elf/ifuncmain9pie.c: Likewise.
1812 * elf/ifuncmain9static.c: Likewise.
1813 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1814 ifuncmain9static, ifuncmain9picstatic.
1815 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1816 Add ifuncmain9, ifuncmain9pic.
1817 * elf/Makefile [multi-arch && build-shared && have-fpie]
1818 (ifunc-pie-tests): Add ifuncmain9pie.
1819 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1820 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1821 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1823 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1825 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1826 * configure: Regenerated.
1827 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1829 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1832 symbol as __wcspcy instead of wcscpy.
1834 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1836 * include/stdio.h (__renameat2): New hidden prototype.
1837 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1838 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1839 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1840 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1842 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1844 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1847 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1848 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1849 * benchtests/bench-strlen.c (do_test): Likewise.
1850 (test_main): Likewise.
1851 * catgets/gencat.c (read_old): Likewise.
1852 * elf/cache.c (load_aux_cache): Likewise.
1853 * iconvdata/bug-iconv8.c (do_test): Likewise.
1854 * math/test-tgmath-ret.c (do_test): Likewise.
1855 * nis/nis_call.c (rec_dirsearch): Likewise.
1856 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1857 * nptl/tst-audit-threads.c (do_test): Likewise.
1858 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1859 * nss/nss_test1.c (init): Likewise.
1860 * nss/test-netdb.c (test_hosts): Likewise.
1861 * posix/execvpe.c (maybe_script_execute): Likewise.
1862 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1863 * stdio-common/tst-printf.c (do_test): Likewise.
1864 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1865 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1866 * stdlib/qsort.c (STACK_SIZE): Likewise.
1867 * stdlib/test-canon.c (do_test): Likewise.
1868 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1869 * string/memcmp.c (OPSIZ): Likewise.
1870 * string/test-strcpy.c (do_test): Likewise.
1871 (do_random_tests): Likewise.
1872 * string/test-strlen.c (do_test): Likewise.
1873 (test_main): Likewise.
1874 * string/test-strrchr.c (do_test): Likewise.
1875 (do_random_tests): Likewise.
1876 * string/tester.c (test_memrchr): Likewise.
1877 (test_memchr): Likewise.
1878 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1879 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1880 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1881 (read_encoded_value_with_base): Likewise.
1882 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1883 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1884 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1885 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1886 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1887 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1889 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1891 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1892 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1893 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1895 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1897 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1899 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1901 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1902 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1903 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1904 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1905 * time/test_time.c (main): Likewise.
1907 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1909 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1911 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1914 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1917 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1919 * include/wchar.h (__wcscpy): New prototype.
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1921 (__wcscpy): Route internal symbol to generic implementation.
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1923 Add internal __wcscpy alias.
1924 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1925 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1926 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1927 * wcsmbs/wcscpy.c (wcscpy): Add
1928 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1929 use generic implementation.
1930 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1932 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1935 * sysdeps/m68k/wcpcpy.c: Remove file.
1936 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1938 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1940 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1941 than after operators.
1942 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1943 * sysdeps/mach/hurd/getcwd.c
1944 (__hurd_canonicalize_directory_name_internal): Likewise.
1945 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1946 (pthread_mutex_consistent): Likewise.
1947 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1949 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1950 (__pthread_mutex_transfer_np): Likewise.
1951 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1952 (__pthread_mutex_unlock): Likewise.
1953 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1954 (mtx_owned_p): Likewise.
1955 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1956 (pthread_mutexattr_getrobust): Likewise.
1957 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1958 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1960 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1961 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1962 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1963 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1964 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1966 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1968 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1970 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1971 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1972 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1973 (____longjmp_chk): Likewise.
1974 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1977 (INTERNAL_SYSCALL): Likewise.
1978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1979 (INTERNAL_SYSCALL): Likewise.
1980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1981 (__get_clockfreq_via_cpuinfo): Likewise.
1983 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1985 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1986 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1987 (WORD_COPY_BWD): Likewise.
1988 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1991 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1992 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1994 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1996 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1998 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1999 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2000 rather than after operators.
2001 * elf/cache.c (print_cache): Likewise.
2002 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2003 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2004 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2005 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2006 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2007 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2008 (reauth_proc): Likewise.
2009 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2010 (__file_name_split_at): Likewise.
2011 (__directory_name_split_at): Likewise.
2012 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2013 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2014 * iconv/gconv_dl.c (do_print): Likewise.
2015 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2016 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2017 * locale/setlocale.c (new_composite_name): Likewise.
2018 * malloc/memusagestat.c (main): Likewise.
2019 * misc/fstab.c (fstab_convert): Likewise.
2020 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2022 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2023 (getgrent_next_file): Likewise.
2024 (internal_getgrnam_r): Likewise.
2025 (internal_getgrgid_r): Likewise.
2026 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2028 (internal_getgrent_r): Likewise.
2029 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2030 (getpwent_next_nss): Likewise.
2031 (getpwent_next_file): Likewise.
2032 (internal_getpwnam_r): Likewise.
2033 (internal_getpwuid_r): Likewise.
2034 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2036 (getspent_next_nss): Likewise.
2037 (internal_getspnam_r): Likewise.
2038 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2039 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2040 * string/strchr.c (STRCHR): Likewise.
2041 * string/strchrnul.c (STRCHRNUL): Likewise.
2042 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2043 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2044 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2045 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2046 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2048 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2049 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2050 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2051 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2052 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2053 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2054 (open_file): Likewise.
2055 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2056 (pthread_mutexattr_setprotocol): Likewise.
2057 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2058 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2059 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2060 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2061 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2063 (elf_machine_rela): Likewise.
2064 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2065 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2066 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2067 * sysdeps/posix/rename.c (rename): Likewise.
2068 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2069 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2070 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2071 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2072 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2073 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2074 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2076 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2078 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2079 * time/tzfile.c (__tzfile_compute): Likewise.
2081 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2083 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2084 rather than after operators.
2085 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2086 * crypt/md5.c (md5_finish_ctx): Likewise.
2087 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2088 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2089 * elf/cache.c (load_aux_cache): Likewise.
2090 * elf/dl-load.c (open_verify): Likewise.
2091 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2092 * elf/readelflib.c (process_elf_file): Likewise.
2093 * elf/rtld.c (dl_main): Likewise.
2094 * elf/sprof.c (generate_call_graph): Likewise.
2095 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2096 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2097 * hurd/dtable.c (reauth_dtable): Likewise.
2098 * hurd/getdport.c (__getdport): Likewise.
2099 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2100 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2101 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2103 * hurd/hurdioctl.c (fioctl): Likewise.
2104 * hurd/hurdselect.c (_hurd_select): Likewise.
2105 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2106 (STOPSIGS): Likewise.
2107 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2108 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2109 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2110 * hurd/msgportdemux.c (msgport_server): Likewise.
2111 * hurd/setauth.c (_hurd_setauth): Likewise.
2112 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2113 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2114 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2115 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2116 * login/tst-utmp.c (do_check): Likewise.
2117 (simulate_login): Likewise.
2118 * mach/lowlevellock.h (lll_lock): Likewise.
2119 (lll_trylock): Likewise.
2120 * math/test-fenv.c (ALL_EXC): Likewise.
2121 * math/test-fenvinline.c (ALL_EXC): Likewise.
2122 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2123 * nis/nis_call.c (__do_niscall3): Likewise.
2124 * nis/nis_callback.c (cb_prog_1): Likewise.
2125 * nis/nis_defaults.c (searchaccess): Likewise.
2126 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2127 * nis/nis_ismember.c (internal_ismember): Likewise.
2128 * nis/nis_local_names.c (nis_local_principal): Likewise.
2129 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2130 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2132 * nis/ypclnt.c (yp_match): Likewise.
2133 (yp_first): Likewise.
2134 (yp_next): Likewise.
2135 (yp_master): Likewise.
2136 (yp_order): Likewise.
2137 * nscd/hstcache.c (cache_addhst): Likewise.
2138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2139 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2140 (internal_getpwuid_r): Likewise.
2141 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2142 * posix/glob.h (__GLOB_FLAGS): Likewise.
2143 * posix/regcomp.c (peek_token): Likewise.
2144 (peek_token_bracket): Likewise.
2145 (parse_expression): Likewise.
2146 * posix/regexec.c (sift_states_iter_mb): Likewise.
2147 (check_node_accept_bytes): Likewise.
2148 * posix/tst-spawn3.c (do_test): Likewise.
2149 * posix/wordexp-test.c (testit): Likewise.
2150 * posix/wordexp.c (parse_tilde): Likewise.
2151 (exec_comm): Likewise.
2152 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2153 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2154 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2155 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2156 * stdio-common/tst-fileno.c (do_test): Likewise.
2157 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2158 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2159 * stdlib/strtod_l.c (round_and_return): Likewise.
2160 (____STRTOF_INTERNAL): Likewise.
2161 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2162 * string/strcspn.c (STRCSPN): Likewise.
2163 * string/test-memmem.c (simple_memmem): Likewise.
2164 * termios/tcsetattr.c (tcsetattr): Likewise.
2165 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2166 * time/asctime.c (asctime_internal): Likewise.
2167 * time/strptime_l.c (__strptime_internal): Likewise.
2168 * time/sys/time.h (timercmp): Likewise.
2169 * time/tzfile.c (__tzfile_compute): Likewise.
2171 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2174 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2176 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2178 * argp/argp-help.c (__argp_error_internal): New function,
2179 renamed from __argp_error, but that takes a 'mode_flags'
2180 parameter to control the format of long double parameters.
2181 (__argp_error): Converted into a call __argp_error_internal.
2182 (__argp_failure_internal): New function, renamed from
2183 __argp_failure, but that takes a 'mode_flags' parameter.
2184 (__argp_failure): Converted into a call __argp_failure_internal.
2185 * misc/err.c (__vwarnx_internal): New function, renamed from
2186 vwarnx, but that takes a 'mode_flags' parameter.
2187 (vwarnx): Converted into a call to __vwarnx_internal.
2188 (__vwarn_internal): New function, renamed from vwarn, but that
2189 takes a 'mode_flags' parameter.
2190 (vwarn): Converted into a call to __vwarn_internal.
2191 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2192 call to __vfxprintf with 'mode_flags'.
2193 (__error_internal): New function, renamed from error, but that
2194 takes a 'mode_flags' parameter.
2195 (error): Converted into a call to __error_internal.
2196 (__error_at_line_internal): New function, renamed from
2197 error_at_line, but that takes a 'mode_flags' parameter.
2198 (error_at_line): Converted into a call to
2199 __error_at_line_internal.
2200 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2201 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2204 2019-02-20 Martin Liska <mliska@suse.cz>
2206 * math/Makefile: Install math-vector-fortran.h.
2207 * bits/math-vector-fortran.h: New file.
2208 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2210 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2212 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2213 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2215 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2217 * nptl/pthread_mutex_trylock.c: Fix comment.
2219 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2221 * nptl/pthread_tryjoin.c: Fix comment.
2223 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2227 after R_SPARC_H34 case.
2229 2019-02-18 Florian Weimer <fweimer@redhat.com>
2231 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2232 (getanswer): Do not call Dprintf.
2233 (res_gethostbyname2_context): Likewise.
2234 (res_gethostbyaddr_context): Likewise.
2236 2019-02-18 Florian Weimer <fweimer@redhat.com>
2238 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2240 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2242 * libio/stdfiles.c: Update comment.
2243 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2244 set _IO_stdin, _IO_stdout, _IO_stderr.
2245 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2246 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2248 (_IO_deallocate_file): New inline function.
2249 * libio/iolibio.h (_IO_vprintf): Remove definition.
2250 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2251 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2252 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2254 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2255 __builtin_expect. Use _IO_legacy_file.
2257 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2259 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2260 Initialize ctid with a known value and remove update of ctid
2262 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2263 as assumed current value of ctid_ptr.
2265 2019-02-16 Florian Weimer <fweimer@redhat.com>
2267 Check that non-sysdeps headers have wrapper headers.
2268 * scripts/check-wrapper-headers.py: New file.
2269 * Makefile (tests-special): Add check-wrapper-headers.out.
2270 (check-wrapper-headers.out): New target.
2271 * Rules (tests-special): Add check-wrapper-headers.out.
2272 (check-wrapper-headers.out): New target.
2274 2019-02-16 Florian Weimer <fweimer@redhat.com>
2276 Add missing header wrappers under include/.
2277 * include/ar.h: New file.
2278 * include/bits/mqueue2.h: Likewise.
2279 * include/bits/stdio.h: Likewise.
2280 * include/bits/stdio2.h: Likewise.
2281 * include/fstab.h: Likewise.
2282 * include/fts.h: Likewise.
2283 * include/lastlog.h: Likewise.
2284 * include/netinet/icmp6.h: Likewise.
2285 * include/netinet/igmp.h: Likewise.
2286 * include/netinet/ip6.h: Likewise.
2287 * include/re_comp.h: Likewise.
2288 * include/regexp.h: Likewise.
2289 * include/rpcsvc/bootparam.h: Likewise.
2290 * include/rpcsvc/yp_prot.h: Likewise.
2291 * include/sys/random.h: Likewise.
2292 * include/sys/stropts.h: Likewise.
2293 * include/sys/ttychars.h: Likewise.
2294 * include/sys/vfs.h: Likewise.
2295 * include/wait.h: Likewise.
2297 2019-02-16 Florian Weimer <fweimer@redhat.com>
2299 * nptl_db/proc_service.h: Move to ...
2300 * sysdeps/nptl/proc_service.h: ... here.
2301 * nptl_db/thread_db.h: Move to ...
2302 * sysdeps/nptl/thread_db.h: ... here.
2303 * nptl/descr.h: Include <thread_db.h>.
2305 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2307 * io/Makefile (tests): Add tst-lockf.
2308 * io/lockf.c (lockf): Use __fcntl and only define for
2309 !__OFF_T_MATCHES_OFF64_T.
2310 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2311 __OFF_T_MATCHES_OFF64_T case.
2312 * io/tst-lockf.c: New file.
2313 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2314 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2315 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2316 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2317 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2320 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2323 2019-02-15 Florian Weimer <fweimer@redhat.com>
2326 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2327 pd->result after the thread descriptor has been freed.
2329 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2331 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2332 from function return type.
2334 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2336 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2338 * scripts/test_printers_common.py: Set TERM to a known harmless
2341 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2343 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2344 (xdr_u_int): Likewise.
2345 (xdr_enum): Likewise.
2346 (xdr_bytes): Reword fall-through comment.
2347 (xdr_string): Likewise.
2349 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2352 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2353 (tests): Add tst-join8 tst-join9.
2354 * nptl/lll_timedwait_tid.c: Remove file.
2355 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2356 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2357 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2358 * nptl/pthread_join_common.c (timedwait_tid): New function.
2359 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2361 * nptl/tst-join5.c (thread_join): New function.
2362 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2364 * nptl/tst-join8.c: New file.
2365 * nptl/tst-join9.c: Likewise.
2366 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2367 lll_futex_timed_wait_cancel): Add generic macros.
2368 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2370 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2371 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2372 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2373 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2375 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2377 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2378 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2379 (lll_futex_timed_wait_cancel): New macro.
2381 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2383 * benchtests/Makefile: Add malloc-simple benchmark.
2384 * benchtests/bench-malloc-simple.c: New benchmark.
2386 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2388 * benchtests/bench-memmove.c (do_one_test): Remove unused
2391 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2395 2019-01-13 Jim Wilson <jimw@sifive.com>
2398 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2399 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2401 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2403 * nptl/Makefile (tests): Add tst-unwind-thread.
2404 (CFLAGS-tst-unwind-thread.c): Define.
2405 * nptl/tst-unwind-thread.c: New file.
2406 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2409 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2411 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2413 * nis/nis_call.c (__do_niscall3): Likewise.
2415 * catgets/gencat.c (normalize_line): Use braces around empty
2417 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2418 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2419 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2420 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2421 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2422 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2423 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2426 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2429 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2431 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2432 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2433 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2434 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2435 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2436 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2437 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2438 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2439 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2440 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2441 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2442 * benchtests/bench-bcopy.c: Delete file.
2443 * benchtests/bench-bzero.c: Likewise.
2444 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2445 (simple_memccpy): Remove.
2446 (generic_memccpy): Add function.
2447 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2448 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2449 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2450 (generic_mempcpy): Add new function.
2451 * benchtests/bench-memset.c (simple_bzero): Remove.
2452 (builtin_bzero): Remove.
2453 (builtin_memset): Remove.
2454 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2455 (generic_rawmemchr): Add new function.
2457 2019-02-12 Florian Weimer <fweimer@redhat.com>
2459 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2461 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2464 * elf/Makefile (tests): Add tst-audit13.
2465 (modules-names): Add tst-audit13mod1.
2466 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2468 * elf/tst-audit13.c: New file.
2469 * elf/tst-audit13mod1.c: Likewise.
2471 2019-02-12 Florian Weimer <fweimer@redhat.com>
2474 * elf/rtld.c (unload_audit_module): New function.
2475 (report_audit_module_load_error): Likewise.
2476 (load_audit_module): Likewise. Extracted from dl_main. Call
2477 _dl_close if the laversion symbol cannot be found. Use early
2478 returns for error handling. Add malloc error check. Check for a
2479 zero return value from la_version. Remove spurious comment about
2480 static TLS initialization. Remove useless casts.
2481 (notify_audit_modules_of_loaded_object): New function. Extracted
2483 (load_audit_module): Likewise.
2484 (dl_main): Call load_audit_modules.
2486 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2488 * elf/dl-exception.c (_dl_exception_create_format): Add
2489 fall-through comments.
2490 * elf/ldconfig.c (parse_conf_include): Likewise.
2491 * elf/rtld.c (print_statistics): Likewise.
2492 * locale/programs/charmap.c (parse_charmap): Likewise.
2493 * misc/mntent_r.c (__getmntent_r): Likewise.
2494 * posix/wordexp.c (parse_arith): Likewise.
2495 (parse_backtick): Likewise.
2496 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2497 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2500 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2502 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2503 Use float instead of double.
2505 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2507 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2509 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2511 * sysdeps/powerpc/bits/mathinline.h: Remove.
2513 2019-02-08 Florian Weimer <fweimer@redhat.com>
2515 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2516 * math/bits/math-finite.h: Move to ...
2517 * bits/math-finite.h: ... here.
2519 2019-02-08 Florian Weimer <fweimer@redhat.com>
2521 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2522 * bits/unistd_ext.h: here.
2524 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2527 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2528 * nss/tst-nss-files-hosts-long.c: New file.
2529 * nss/tst-nss-files-hosts-long.root: New directory.
2530 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2531 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2533 2019-02-08 Florian Weimer <fweimer@redhat.com>
2535 * include/bits/unistd_ext.h: Remove file.
2536 * posix/bits/unistd_ext.h: Move to ...
2537 * sysdeps/generic/bits/unistd_ext.h: ... here.
2539 2019-02-08 Florian Weimer <fweimer@redhat.com>
2541 * include/bits/unistd_ext.h: New file.
2543 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2545 * time/tst-strftime2.c: Use array_length macros instead of magic
2548 2019-02-08 Florian Weimer <fweimer@redhat.com>
2551 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2553 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2554 locking if the new do_locking argument is true.
2555 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2556 __run_fork_handlers.
2558 2019-02-08 Florian Weimer <fweimer@redhat.com>
2561 Linux: Add gettid system call wrapper.
2562 * posix/Makefile (headers): Add bits/unistd_ext.h.
2563 * posix/bits/unistd_ext.h: New file.
2564 * posix/unistd.h: Include it.
2565 * manual/process.texi (Process Identification): Document gettid.
2566 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2567 tst-gettid, tst-gettid-kill.
2568 (tst-gettid): Link with $(shared-thread-library).
2569 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2570 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2571 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2572 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2573 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2574 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2576 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2578 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2579 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2581 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2583 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2585 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2587 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2589 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2591 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2593 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2594 (GLIBC_2.30): Likewise.
2595 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2596 (GLIBC_2.30): Likewise.
2597 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2598 (GLIBC_2.30): Likewise.
2599 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2600 (GLIBC_2.30): Likewise.
2601 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2604 (GLIBC_2.30): Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2606 (GLIBC_2.30): Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2608 (GLIBC_2.30): Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2610 (GLIBC_2.30): Likewise.
2611 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2613 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2615 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2617 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2618 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2622 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2624 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2626 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2628 2019-02-08 Florian Weimer <fweimer@redhat.com>
2630 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2631 compatibility symbols.
2633 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2636 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2637 Add compiler barriers and comments.
2639 2019-02-07 Florian Weimer <fweimer@redhat.com>
2641 * include/array_length.h (array_length): Do not use a statement
2642 expression and _Static_assert, so that array_length can be used at
2643 file scope and as a constant expression.
2645 2019-02-07 Florian Weimer <fweimer@redhat.com>
2647 * support/xdlfcn.h (xdlmopen): Declare.
2648 * support/xdlmopen.c: New file.
2649 * support/Makefile (libsupport-routines): Add xdlmopen.
2651 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2653 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2654 before return type, without separate inline.
2655 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2656 * elf/dl-tunables.h (tunable_is_name): Likewise.
2657 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2658 (do_set_top_pad): Likewise.
2659 (do_set_mmap_threshold): Likewise.
2660 (do_set_mmaps_max): Likewise.
2661 (do_set_mallopt_check): Likewise.
2662 (do_set_perturb_byte): Likewise.
2663 (do_set_arena_test): Likewise.
2664 (do_set_arena_max): Likewise.
2665 (do_set_tcache_max): Likewise.
2666 (do_set_tcache_count): Likewise.
2667 (do_set_tcache_unsorted_limit): Likewise.
2668 * nis/nis_subr.c (count_dots): Likewise.
2669 * nptl/allocatestack.c (advise_stack_range): Likewise.
2670 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2672 (reduce_sincos): Likewise.
2673 (do_sincos): Likewise.
2674 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2675 (do_set_elision_enable): Likewise.
2676 (TUNABLE_CALLBACK_FNDECL): Likewise.
2678 2019-02-06 Florian Weimer <fweimer@redhat.com>
2680 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2681 (xdlsym): Use dlerror to detect a NULL symbol.
2683 2019-02-06 Florian Weimer <fweimer@redhat.com>
2685 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2687 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2689 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2691 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2693 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2695 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2696 __wmemcmp and weak alias to wmemcmp.
2698 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2701 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2702 TLS_TCB_AT_TP tls variant.
2703 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2704 Add alignment checks.
2705 * support/Makefile (libsupport-routines): Add xposix_memalign and
2707 * support/support.h: Add xposix_memalign.
2708 * support/xthread.h: Add xpthread_attr_setstack.
2709 * support/xposix_memalign.c: New File.
2710 * support/xpthread_attr_setstack.c: Likewise.
2712 2019-02-05 Florian Weimer <fweimer@redhat.com>
2715 arm: Use "nr" constraint for Systemtap probes, to avoid the
2716 compiler using memory operands for constants, due to the "o"
2717 alternative in the default "nor" constraint.
2718 * include/stap-probe.h [USE_STAP_PROBE]: Include
2719 <stap-probe-machine.h>
2720 * sysdeps/generic/stap-probe-machine.h: New file.
2721 * sysdeps/arm/stap-probe-machine.h: Likewise.
2723 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2725 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2726 with 0, not tcache->entries[tc_idx].
2728 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2731 2019-02-04 Andreas Schwab <schwab@suse.de>
2735 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2736 looking up collating elements match against (wide) character
2737 sequence instead of name. Correct alignment adjustment.
2738 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2739 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2740 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2741 (LOCALES): Add cs_CZ.ISO-8859-2.
2742 * posix/tst-fnmatch4.c: New file.
2743 * posix/tst-fnmatch5.c: New file.
2744 * include/wchar.h (__wmemcmp): Declare.
2745 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2746 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2747 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2748 * sysdeps/s390/wmemcmp.c: Likewise.
2750 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2754 * NEWS: Updated for CVE-2019-7309.
2755 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2756 upper 32 bits of RDX register for x32. Use unsigned Jcc
2757 instructions, instead of signed.
2758 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2759 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2761 2019-02-04 Florian Weimer <fweimer@redhat.com>
2763 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2764 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2765 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2767 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2768 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2769 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2770 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2772 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2774 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2776 (posix_spawn_file_actions_addopen): Likewise.
2777 (posix_spawn_file_actions_addclose): Likewise.
2778 (posix_spawn_file_actions_adddup2): Likewise.
2779 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2781 (posix_spawn_file_actions_addfchdir_np): Likewise.
2783 2019-02-04 David Newall <glibc@davidnewall.com>
2785 elf: Implement --preload option for the dynamic linker.
2786 * elf/rtld.c (preloadarg): New variable.
2787 (handle_preload_list): Pass through “where” argument to
2789 (dl_main): Handle "--preload" and add second call to
2790 handle_preload_list.
2791 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2792 (tst-rtld-preload-OBJS): Set variable.
2793 (tst-rtld-preload.out): New target.
2794 * elf/tst-rtld-preload.sh: New file.
2796 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2798 * Makefile (testrun.sh): Exit in case of incorrect argument.
2800 2019-02-04 Florian Weimer <fweimer@redhat.com>
2802 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2805 2019-02-03 Florian Weimer <fweimer@redhat.com>
2807 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2808 implicit overflow checks.
2810 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2812 * stdlib/isomac.c: Include <unistd.h>.
2814 2019-02-03 Florian Weimer <fweimer@redhat.com>
2816 * include/time.h (__tzfile_default): Use int, not long int, for
2818 * time/tzfile.c (struct ttinfo): Change type of the offset member
2820 (__tzfile_read): Remove useless cast.
2821 (__tzfile_default): Adjust prototype.
2822 * time/tzset.c (tz_rule): Change type of the offset member to int.
2823 (parse_offset): Change the type of the sign variable to int.
2825 2019-02-03 Florian Weimer <fweimer@redhat.com>
2828 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2829 * libio/getchar.c (getchar): Likewise.
2830 * libio/getchar_u.c (getchar_unlocked): Likewise.
2831 * libio/getwchar.c (getwchar): Likewise.
2832 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2833 * libio/iogets.c (_IO_gets): Likewise.
2834 * libio/vscanf.c (_IO_vscanf): Likewise.
2835 * libio/vwscanf.c (__vwscanf): Likewise.
2836 * libio/tst-bz24153.c: New file.
2837 * libio/Makefile (tests): Add it.
2839 2019-02-02 Florian Weimer <fweimer@redhat.com>
2842 * manual/resource.texi (Basic Scheduling Functions): Add
2843 portability note. Change process to task throughout the section.
2844 Remove incorrect comment about sched_yield as it affects
2845 tasks/threads, not entire processes.
2846 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2847 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2849 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2851 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2852 * configure: Regenerated.
2853 * manual/install.texi (Tools for Compilation): Update minimum GCC
2855 * INSTALL: Regenerated.
2857 2019-02-01 Florian Weimer <fweimer@redhat.com>
2859 * support/support_test_compare_string.c
2860 (support_test_compare_string): Use "string" in error message.
2861 * support/tst-test_compare_string.c (do_test): Adjust.
2863 2019-02-01 Florian Weimer <fweimer@redhat.com>
2865 * support/support_format_address_family.c
2866 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2868 2019-02-01 Florian Weimer <fweimer@redhat.com>
2870 * manual/socket.texi (Internet Address Formats): Clarify the byte
2871 order of struct sockaddr_in, struct sockaddr_in6. Document
2872 sin6_flowinfo and sin6_scope_id.
2874 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2876 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2877 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2878 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2879 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2880 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2881 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2883 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2885 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2886 [!MEMCHR](MEMCHR): Set to __memchr.
2887 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2888 Add memchr_generic and memchr_nosimd.
2889 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2890 (__libc_ifunc_impl_list): Add memchr ifuncs.
2891 * sysdeps/aarch64/multiarch/memchr.c: New file.
2892 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2893 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2895 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2897 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2899 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2900 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2901 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2902 Add IS_EMAG check for ifunc dispatch.
2903 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2904 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2906 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2908 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2909 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2911 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2914 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2916 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2918 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2920 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2921 syscall-template file.
2923 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2924 Torvald Riegel <triegel@redhat.com>
2925 Rik Prohaska <prohaska7@gmail.com>
2928 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2929 tst-rwlock-trywrlock-stall.
2930 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2931 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2932 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2933 Set __wrphase_fute to 1 only if we started the write phase.
2934 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2935 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2936 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2937 * support/xpthread_rwlock_destroy.c: New file.
2938 * support/xthread.h: Declare xpthread_rwlock_destroy.
2940 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2942 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2945 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2948 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2949 * libio/fileops.c (_IO_new_file_underflow): Likewise
2950 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2951 * libio/putchar.c (putchar): Likewise.
2952 * libio/putchar_u.c (putchar_unlocked): Likewise.
2953 * libio/putwchar.c (putchar): Likewise.
2954 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2955 * libio/tst-bz24051.c: New test.
2956 * libio/Makefile (tests): Add tst-bz24051
2958 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2961 regex: fix read overrun [BZ #24114]
2962 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2963 https://debbugs.gnu.org/34140
2964 * posix/regexec.c (proceed_next_node):
2965 Do not read past end of input buffer.
2967 2019-01-31 Florian Weimer <fweimer@redhat.com>
2970 * nss/nss_files/files-alias.c (get_next_alias): Handle
2971 continuation line without newline at the end.
2972 * nss/tst-nss-files-alias-truncated.c: New file.
2973 * nss/Makefile [$(build-shared)] (tests): Add
2974 tst-nss-files-alias-truncated.
2975 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2976 * support/namespace.h (struct support_chroot_configuration): Add
2978 (struct support_chroot): Add path_aliases member.
2979 * support/support_chroot.c (support_chroot_create): Handle
2981 (support_chroot_free): Free path_aliases.
2983 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2985 * version.h (RELEASE): Set to "development".
2986 (VERSION): Set to "2.29.9000".
2987 * NEWS: Add section for 2.30.
2989 * version.h (RELEASE): Set to "stable".
2990 (VERSION): Set to "2.29".
2991 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2993 * NEWS: Add the list of bugs fixed in 2.29.
2994 * manual/contrib.texi: Update contributors list with some more
2996 * manual/install.texi: Update latest versions of packages
2998 * INSTALL: Regenerated.
3000 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3002 * po/be.po: Update translations.
3003 * po/bg.po: Likewise.
3004 * po/ca.po: Likewise.
3005 * po/cs.po: Likewise.
3006 * po/da.po: Likewise.
3007 * po/de.po: Likewise.
3008 * po/el.po: Likewise.
3009 * po/eo.po: Likewise.
3010 * po/es.po: Likewise.
3011 * po/fi.po: Likewise.
3012 * po/fr.po: Likewise.
3013 * po/gl.po: Likewise.
3014 * po/hr.po: Likewise.
3015 * po/hu.po: Likewise.
3016 * po/ia.po: Likewise.
3017 * po/id.po: Likewise.
3018 * po/it.po: Likewise.
3019 * po/ja.po: Likewise.
3020 * po/ko.po: Likewise.
3021 * po/lt.po: Likewise.
3022 * po/nb.po: Likewise.
3023 * po/nl.po: Likewise.
3024 * po/pl.po: Likewise.
3025 * po/pt_BR.po: Likewise.
3026 * po/ru.po: Likewise.
3027 * po/rw.po: Likewise.
3028 * po/sk.po: Likewise.
3029 * po/sl.po: Likewise.
3030 * po/sv.po: Likewise.
3031 * po/tr.po: Likewise.
3032 * po/uk.po: Likewise.
3033 * po/vi.po: Likewise.
3034 * po/zh_CN.po: Likewise.
3035 * po/zh_TW.po: Likewise.
3037 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3040 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3041 of $f3 register on $y_is_neg path.
3043 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3046 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3047 sigaltstack.ss_flags.
3049 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3052 * manual/time.texi (strftime): Document "%Ey".
3053 * time/strftime_l.c (__strftime_internal): Set the default width
3054 padding with zero of "%Ey" to 2.
3057 * manual/time.texi (strftime): Document "%EC" and "%EY".
3058 * time/Makefile (tests): Add tst-strftime2.
3059 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3060 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3061 override padding for "%Ey".
3062 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3063 "%Ey" in the subformat as if decorated with that flag.
3064 * time/tst-strftime2.c: New file.
3066 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3068 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3072 * elf/Makefile (tests): Add tst-audit13.
3073 (modules-names): Add tst-audit13mod1.
3074 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3076 * elf/rtld.c (dl_main): Handle invalid audit module version.
3077 * elf/tst-audit13.c: New file.
3078 * elf/tst-audit13mod1.c: Likewise.
3080 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3082 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3083 returned by __hurd_at_flags.
3084 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3085 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3086 directly instead of __hurd_file_name_lookup.
3088 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3090 * scripts/build-many-glibcs.py (Context.checkout): Default
3091 binutils version to 2.32 branch.
3093 2019-01-21 Florian Weimer <fweimer@redhat.com>
3097 resolv: Reject trailing characters in host names
3098 * include/arpa/inet.h (__inet_aton_exact): Declare.
3099 (inet_aton): Remove hidden prototype. No longer used internally.
3100 * nscd/gai.c (__inet_aton): Do not define.
3101 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3102 * nss/digits_dots.c (__inet_aton): Likewise.
3103 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3104 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3105 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3106 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3107 (tst-resolv-trailing): Likewise.
3108 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3110 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3111 Make static. Add endp parameter.
3112 (__inet_aton_exact): New function.
3113 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3114 (__inet_addr): Call inet_aton_end.
3115 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3116 not just IPv6. Call __inet_aton_exact.
3117 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3118 (tests): Make const. Add additional test cases with trailing
3120 (do_test): Use array_length.
3121 * resolv/tst-inet_aton_exact.c: New file.
3122 * resolv/tst-resolv-trailing.c: Likewise.
3123 * resolv/tst-resolv-nondecimal.c: Likewise.
3124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3126 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3130 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3131 Clear the upper 32 bits of RSI register.
3132 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3133 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3134 and tst-size_t-wcsnlen.
3135 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3136 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3138 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3142 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3145 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3146 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3148 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3152 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3154 * sysdeps/x86_64/strcmp.S: Likewise.
3155 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3156 tst-size_t-strncmp and tst-size_t-wcsncmp.
3157 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3158 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3159 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3161 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3165 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3166 RDX_LP for length. Clear the upper 32 bits of RDX register.
3167 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3168 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3169 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3170 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3172 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3176 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3177 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3178 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3179 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3181 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3186 length. Clear the upper 32 bits of RDX register.
3187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3188 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3190 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3192 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3194 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3196 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3200 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3201 length. Clear the upper 32 bits of RDX register.
3202 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3203 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3204 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3206 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3207 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3209 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3213 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3214 upper 32 bits of RDX register.
3215 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3216 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3218 * sysdeps/x86_64/x32/test-size_t.h: New file.
3219 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3220 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3222 2019-01-18 Florian Weimer <fweimer@redhat.com>
3225 resolv: Do not send queries for non-host-names in nss_dns.
3226 * resolv/nss_dns/dns-host.c (check_name): New function.
3227 (_nss_dns_gethostbyname2_r): Use it.
3228 (_nss_dns_gethostbyname_r): Likewise.
3229 (_nss_dns_gethostbyname4_r): Likewise.
3231 2019-01-21 Florian Weimer <fweimer@redhat.com>
3233 * resolv/inet_addr.c: Reformat to GNU style.
3234 (__inet_addr, __inet_aton): Update comment.
3236 2019-01-18 Florian Weimer <fweimer@redhat.com>
3238 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3239 ("malloc: Use current (C11-style) atomics for fastbin access").
3240 This commit introduces a substantial performance regression on
3242 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3243 (REMOVE_FB): Define.
3244 (_int_malloc): Use it and reindent.
3245 (_int_free): Use CAS loop with
3246 catomic_compare_and_exchange_val_rel.
3247 (malloc_consolidate): Use atomic_exchange_acq.
3250 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3252 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3254 (LDFLAGS-tst-minsigstksz-2): Likewise.
3255 (LDFLAGS-tst-minsigstksz-3): Likewise.
3256 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3257 (LDFLAGS-tst-minsigstksz-4): Likewise.
3259 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3261 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3264 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3266 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3268 2019-01-16 Zack Weinberg <zackw@panix.com>
3270 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3271 (xget_sigstack_location): New test support functions.
3272 * support/xsigstack.c: New file, implementing them.
3273 * support/tst-xsigstack.c: New test for them.
3274 * support/Makefile: Update.
3276 * signal/tst-minsigstksz-1.c
3277 * signal/tst-minsigstksz-2.c
3278 * signal/tst-minsigstksz-3.c
3279 * signal/tst-minsigstksz-3a.c
3280 * signal/tst-minsigstksz-4.c: New tests.
3281 * signal/Makefile: Run them.
3283 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3285 * po/libc.pot: Regenerate.
3287 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3289 * math/libm-test-fma.inc (fma_test_data): Set
3290 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3292 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3294 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3295 (do_test): Changed __vector __int128_t to __vector unsigned int.
3297 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3300 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3301 stpcpy-avx2 and stpncpy-avx2.
3302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3303 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3304 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3306 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3307 ifunc-strcpy.h}: rename header for a more generic name.
3308 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3309 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3310 AVX unaligned load is fast and vzeroupper is preferred.
3311 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3312 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3313 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3314 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3315 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3316 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3318 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3320 * argp/argp-help.c: Fix typo in comment.
3321 * misc/sys/cdefs.h: Likewise.
3322 * posix/regexec.c (sift_states_iter_mb): Likewise.
3323 * socket/sockatmark.c: Likewise.
3324 * socket/sys/socket.h: Likewise.
3325 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3326 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3327 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3329 * sysdeps/unix/sockatmark.c: Likewise.
3330 * time/strptime_l.c: Likewise.
3332 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3334 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3335 missing space after the cast of "_NL_CURRENT".
3337 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3339 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3340 ifdef to fix read of VSCR.
3341 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3342 tst-ucontext-ppc64-vscr.c to test list.
3343 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3345 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3347 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3350 2019-01-09 Jim Wilson <jimw@sifive.com>
3352 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3354 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3356 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3357 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3358 __memcpy_falkor for ares.
3359 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3361 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3364 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3367 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3368 4_FP_W_TYPEs are used for IEEE quad precision.
3369 * soft-fp/extendhftf2.c: Likewise.
3370 * soft-fp/extendsftf2.c: Likewise.
3371 * soft-fp/extendxftf2.c: Likewise.
3372 * soft-fp/trunctfdf2.c: Likewise.
3373 * soft-fp/trunctfhf2.c: Likewise.
3374 * soft-fp/trunctfsf2.c: Likewise.
3375 * soft-fp/trunctfxf2.c: Likewise.
3376 * sysdeps/alpha/ots_cvttx.c: Likewise.
3377 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3378 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3379 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3380 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3381 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3382 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3383 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3384 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3385 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3386 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3387 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3388 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3389 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3390 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3391 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3392 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3393 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3395 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3398 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3399 code with -fmath-errno.
3400 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3401 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3402 * string/test-strerror-errno.c: New file.
3404 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3407 * localedata/locales/en_US (date_fmt): Add, set to
3408 "%a %d %b %Y %r %Z".
3410 2019-01-07 Florian Weimer <fweimer@redhat.com>
3413 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3414 instead of @var{errno}.
3415 (Parsing of Integers): Likewise.
3416 (Parsing of Floats): Likewise.
3417 * manual/filesys.texi (Working with Directory Trees): Likewise.
3418 (Temporary Files): Likewise.
3419 * manual/job.texi (Terminal Access Functions): Likewise.
3420 * manual/llio.texi (Synchronizing I/O): Likewise.
3421 * manual/math.texi (SVID Random): Likewise.
3422 * manual/message.texi (The catgets Functions): Likewise.
3423 (Translation with gettext): Likewise.
3424 (Locating gettext catalog): Likewise.
3425 (Charset conversion in gettext): Likewise.
3426 * manual/nss.texi (NSS Module Function Internals): Likewise.
3427 * manual/search.texi (Hash Search Function): Likewise.
3428 * manual/setjmp.texi (System V contexts): Likewise.
3429 * manual/time.texi (Sleeping): Likewise.
3430 * manual/users.texi (Lookup User): Likewise.
3431 (Lookup Group): Likewise.
3433 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3435 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3438 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3441 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3442 __builtin_unreachable for default case in switch.
3443 (__ieee754_yn): Likewise.
3444 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3445 (__ieee754_ynl): Likewise.
3446 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3447 (__ieee754_ynl): Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3449 (__ieee754_ynl): Likewise.
3451 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3453 * manual/maint.texi: Use @{ and @}.
3455 2019-01-04 Florian Weimer <fweimer@redhat.com>
3457 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3459 (do_in_chroot_1): Call it.
3461 Improve error reporting in case it is not possible to create a
3462 collision for the PTY name required by the test.
3464 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3466 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3467 lll_wait_tid with timeout.
3468 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3469 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3470 futex_reltimed_wait_cancelable for cancelabla mode.
3471 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3472 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3474 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3475 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3476 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3477 SYSCALL_CANCEL_NCS): New macro.
3478 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3479 (lll_timedwait_tid): Remove macro.
3480 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3482 (lll_timedwait_tid): Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3485 (lll_timedwait_tid): Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3488 (lll_timedwait_tid): Likewise.
3489 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3490 Use INTERNAL_SYSCALL_CANCEL.
3491 * sysdeps/unix/sysv/linux/futex-internal.h
3492 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3493 instead of __pthread_{enable,disable}_asynccancel.
3494 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3495 (lll_futex_wait_cancel): New macro.
3497 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3498 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3500 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3501 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3503 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3504 in backtrace analysis.
3505 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3507 (tf_send): Likewise.
3509 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3510 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3511 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3512 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3513 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3514 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3515 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3516 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3517 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3518 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3519 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3520 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3522 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3523 tst-cancel-wrappers.sh.
3524 (generated): Remove tst-cancel-wrappers.out.
3525 (tst-cancel-wrappers.out): Remove rule.
3526 * nptl/tst-cancel-wrappers.sh: Remove file.
3528 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3530 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3531 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3534 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3537 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3538 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3539 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3540 close-on-exec reset for adddup2 file action.
3541 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3543 2019-01-03 Zack Weinberg <zackw@panix.com>
3545 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3546 parameter. Only use deprecated scanf when __USE_GNU is defined
3547 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3548 than 201103L, whichever is relevant for the language being compiled.
3550 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3551 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3552 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3553 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3554 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3558 * libio/iovswscanf.c
3563 * stdio-common/fscanf.c
3564 * stdio-common/scanf.c
3565 * stdio-common/vfscanf.c
3566 * stdio-common/vfwscanf.c
3567 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3568 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3569 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3570 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3571 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3572 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3573 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3574 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3575 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3576 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3577 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3578 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3579 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3580 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3581 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3583 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3584 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3585 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3587 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3588 with a preprocessor macro.
3590 * stdio-common/bug21.c, stdio-common/scanf14.c:
3591 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3592 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3593 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3594 to xscanf, xfscanf, xsscanf.
3596 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3597 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3598 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3599 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3601 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3602 override feature selection macros or provide definitions of u_char etc.
3603 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3604 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3605 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3608 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3611 bits/termios-misc.h.
3612 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3613 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3614 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3615 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3616 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3617 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3619 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3620 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3621 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3622 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3623 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3624 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3626 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3627 (sysdep_headers): Add termios-misc.h.
3629 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3630 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3631 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3635 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3636 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3637 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3638 TCSAFLUSH): Move to termios-tcflow.h.
3639 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3640 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3641 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3646 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3647 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3648 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3649 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3650 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3651 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3652 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3653 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3655 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3656 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3658 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3662 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3663 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3664 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3665 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3666 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3668 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3669 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3671 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3676 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3677 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3678 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3679 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3680 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3681 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3682 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3683 __MAX_BAUD): Move to termios-baud.h.
3684 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3685 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3686 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3687 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3688 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3690 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3692 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3693 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3695 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3696 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3697 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3699 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3700 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3702 [USE_MISC] (XTABS): Likewise.
3703 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3704 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3708 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3710 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3711 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3712 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3713 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3714 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3715 IUTF8): Move to termios-c_iflag.h.
3716 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3717 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3721 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3723 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3724 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3725 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3726 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3727 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3728 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3729 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3730 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3731 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3732 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3733 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3736 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3737 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3738 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3742 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3744 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3746 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3750 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3752 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3753 _HAVE_C_OSPEED): Define.
3754 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3755 _HAVE_C_OSPEED): Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3757 _HAVE_C_OSPEED): Likewise.
3758 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3759 (cfsetospeed): Check for define value instead of existence.
3760 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3761 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3762 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3763 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3764 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3767 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3769 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3770 (TIOCSER_TEMT): Likewise.
3771 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3772 (TEOCSER_TEMT): Likewise.
3774 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3777 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3779 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3781 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3783 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3785 * sysdeps/htl/pt-barrierattr-setpshared.c
3786 (pthread_barrierattr_setpshared): Add stub warning.
3787 * sysdeps/htl/pt-condattr-setpshared.c
3788 (pthread_condattr_setpshared): Likewise.
3789 * sysdeps/htl/pt-mutexattr-setpshared.c
3790 (pthread_mutexattr_setpshared): Likewise.
3791 * sysdeps/htl/pt-rwlockattr-setpshared.c
3792 (pthread_rwlockattr_setpshared): Likewise.
3793 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3794 (pthread_mutexattr_setpshared): Likewise.
3796 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3798 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3799 constants to match with Linux 4.20.
3801 * sysdeps/mips/mips32/libm-test-ulps: Update.
3802 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3804 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3807 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3808 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3809 than __typeof (...) for the a_ptr variable.
3811 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3813 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3814 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3815 * libio/Makefile (tests): Add tst-sprintf-ub and
3817 (CFLAGS-tst-sprintf-ub.c): New variable.
3818 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3819 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3820 destination buffer and check for overflows in fortified mode.
3821 * libio/libioP.h (PRINTF_CHK): New macro.
3822 * libio/tst-sprintf-chk-ub.c: New file.
3823 * libio/tst-sprintf-ub.c: Likewise.
3825 2019-01-02 Florian Weimer <fweimer@redhat.com>
3828 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3831 2019-01-02 Florian Weimer <fweimer@redhat.com>
3833 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3835 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3837 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3840 * sysdeps/unix/sysv/linux/netpacket/packet.h
3841 (PACKET_IGNORE_OUTGOING): New macro.
3843 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3846 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3848 (riscv_flush_icache): New syscall.
3850 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3851 trailing whitespace removed.
3852 * scripts/config.guess: Update to version 2019-01-01.
3853 * scripts/config.sub: Update to version 2019-01-01.
3854 * scripts/move-if-change: Update from gnulib.
3856 * NEWS: Update copyright dates.
3857 * catgets/gencat.c (print_version): Likewise.
3858 * csu/version.c (banner): Likewise.
3859 * debug/catchsegv.sh: Likewise.
3860 * debug/pcprofiledump.c (print_version): Likewise.
3861 * debug/xtrace.sh (do_version): Likewise.
3862 * elf/ldconfig.c (print_version): Likewise.
3863 * elf/ldd.bash.in: Likewise.
3864 * elf/pldd.c (print_version): Likewise.
3865 * elf/sotruss.sh: Likewise.
3866 * elf/sprof.c (print_version): Likewise.
3867 * iconv/iconv_prog.c (print_version): Likewise.
3868 * iconv/iconvconfig.c (print_version): Likewise.
3869 * locale/programs/locale.c (print_version): Likewise.
3870 * locale/programs/localedef.c (print_version): Likewise.
3871 * login/programs/pt_chown.c (print_version): Likewise.
3872 * malloc/memusage.sh (do_version): Likewise.
3873 * malloc/memusagestat.c (print_version): Likewise.
3874 * malloc/mtrace.pl: Likewise.
3875 * manual/libc.texinfo: Likewise.
3876 * nptl/version.c (banner): Likewise.
3877 * nscd/nscd.c (print_version): Likewise.
3878 * nss/getent.c (print_version): Likewise.
3879 * nss/makedb.c (print_version): Likewise.
3880 * posix/getconf.c (main): Likewise.
3881 * scripts/test-installation.pl: Likewise.
3882 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3884 * All files with FSF copyright notices: Update copyright dates
3885 using scripts/update-copyrights.
3886 * locale/programs/charmap-kw.h: Regenerated.
3887 * locale/programs/locfile-kw.h: Likewise.
3889 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3891 * timezone/zdump.c: Update from tzcode 2018i.
3892 * timezone/zic.c: Likewise.
3894 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3896 regex: improve Gnulib port to AIX
3897 From the glibc point of view, this removes duplicate macro
3898 definitions and is obviously safe.
3899 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3900 * posix/regex_internal.h:
3901 (__attribute__, __attribute_warn_unused_result__):
3902 Remove; already defined elsewhere.
3904 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3907 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3908 copying operation. (ncopies had the wrong type, resulting in an
3909 integer wraparound and too few elements being copied.)
3911 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3914 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3915 <asm/syscalls.h> exists with __has_include__ before including it.
3917 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3919 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3922 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3924 * hurd/lookup-retry: Include <unistd.h>.
3925 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3926 Release it on return. Handle "pid" magical lookup retry.
3928 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3931 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3932 (t_fmt_ampm): Likewise.
3933 * localedata/locales/aa_ER (t_fmt): Likewise.
3934 (t_fmt_ampm): Likewise.
3935 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3936 (t_fmt_ampm): Likewise.
3937 * localedata/locales/aa_ET (t_fmt): Likewise.
3938 (t_fmt_ampm): Likewise.
3939 * localedata/locales/am_ET (t_fmt): Likewise.
3940 (t_fmt_ampm): Likewise.
3941 * localedata/locales/byn_ER (t_fmt): Likewise.
3942 (t_fmt_ampm): Likewise.
3943 * localedata/locales/om_ET (t_fmt): Likewise.
3944 (t_fmt_ampm): Likewise.
3945 * localedata/locales/sid_ET (t_fmt): Likewise.
3946 (t_fmt_ampm): Likewise.
3947 * localedata/locales/so_DJ (t_fmt): Likewise.
3948 (t_fmt_ampm): Likewise.
3949 * localedata/locales/so_ET (t_fmt): Likewise.
3950 (t_fmt_ampm): Likewise.
3951 * localedata/locales/so_SO (t_fmt): Likewise.
3952 (t_fmt_ampm): Likewise.
3953 * localedata/locales/ti_ER (t_fmt): Likewise.
3954 (t_fmt_ampm): Likewise.
3955 * localedata/locales/ti_ET (t_fmt): Likewise.
3956 (t_fmt_ampm): Likewise.
3957 * localedata/locales/tig_ER (t_fmt): Likewise.
3958 (t_fmt_ampm): Likewise.
3959 * localedata/locales/wal_ET (t_fmt): Likewise.
3960 (t_fmt_ampm): Likewise.
3962 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3963 * localedata/locales/ar_IN (t_fmt): Likewise.
3964 * localedata/locales/bhb_IN (t_fmt): Likewise.
3965 * localedata/locales/bho_IN (t_fmt): Likewise.
3966 * localedata/locales/bi_VU (t_fmt): Likewise.
3967 * localedata/locales/bn_BD (t_fmt): Likewise.
3968 * localedata/locales/bn_IN (t_fmt): Likewise.
3969 * localedata/locales/brx_IN (t_fmt): Likewise.
3970 * localedata/locales/doi_IN (t_fmt): Likewise.
3971 * localedata/locales/en_HK (t_fmt): Likewise.
3972 (t_fmt_ampm): Likewise.
3973 * localedata/locales/en_IN (t_fmt): Likewise.
3974 * localedata/locales/en_PH (t_fmt): Likewise.
3975 * localedata/locales/gu_IN (t_fmt): Likewise.
3976 * localedata/locales/hi_IN (t_fmt): Likewise.
3977 * localedata/locales/hif_FJ (t_fmt): Likewise.
3978 * localedata/locales/hne_IN (t_fmt): Likewise.
3979 * localedata/locales/kn_IN (t_fmt): Likewise.
3980 * localedata/locales/kok_IN (t_fmt): Likewise.
3981 * localedata/locales/ks_IN (t_fmt): Likewise.
3982 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3983 * localedata/locales/mag_IN (t_fmt): Likewise.
3984 * localedata/locales/mai_IN (t_fmt): Likewise.
3985 * localedata/locales/mjw_IN (t_fmt): Likewise.
3986 * localedata/locales/ml_IN (t_fmt): Likewise.
3987 * localedata/locales/mni_IN (t_fmt): Likewise.
3988 * localedata/locales/mr_IN (t_fmt): Likewise.
3989 * localedata/locales/ms_MY (t_fmt): Likewise.
3990 * localedata/locales/pa_IN (t_fmt): Likewise.
3991 * localedata/locales/raj_IN (t_fmt): Likewise.
3992 * localedata/locales/sa_IN (t_fmt): Likewise.
3993 * localedata/locales/sat_IN (t_fmt): Likewise.
3994 * localedata/locales/sd_IN (t_fmt): Likewise.
3995 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3996 * localedata/locales/tcy_IN (t_fmt): Likewise.
3997 * localedata/locales/the_NP (t_fmt): Likewise.
3998 * localedata/locales/to_TO (t_fmt): Likewise.
3999 * localedata/locales/ur_IN (t_fmt): Likewise.
4001 * localedata/locales/hif_FJ (d_t_fmt): Set to
4002 "%A %d %b %Y %I:%M:%S %p".
4003 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4005 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4006 * localedata/locales/ar_BH (t_fmt): Likewise.
4007 * localedata/locales/ar_DZ (t_fmt): Likewise.
4008 * localedata/locales/ar_EG (t_fmt): Likewise.
4009 * localedata/locales/ar_IQ (t_fmt): Likewise.
4010 * localedata/locales/ar_JO (t_fmt): Likewise.
4011 * localedata/locales/ar_KW (t_fmt): Likewise.
4012 * localedata/locales/ar_LB (t_fmt): Likewise.
4013 * localedata/locales/ar_LY (t_fmt): Likewise.
4014 * localedata/locales/ar_OM (t_fmt): Likewise.
4015 * localedata/locales/ar_QA (t_fmt): Likewise.
4016 * localedata/locales/ar_SD (t_fmt): Likewise.
4017 * localedata/locales/ar_SS (t_fmt): Likewise.
4018 * localedata/locales/ar_SY (t_fmt): Likewise.
4019 * localedata/locales/ar_TN (t_fmt): Likewise.
4020 * localedata/locales/ar_YE (t_fmt): Likewise.
4022 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4023 (t_fmt_ampm): Likewise.
4024 * localedata/locales/gez_ET (t_fmt): Likewise.
4025 (t_fmt_ampm): Likewise.
4027 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4028 (t_fmt_ampm): Likewise.
4029 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4031 * localedata/locales/zh_HK (t_fmt):
4032 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4034 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4035 because this locale does not use the 12-hour clock.
4036 (t_fmt): Set to "%Z %H:%M:%S".
4037 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4039 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4040 because this locale does not use the 12-hour clock.
4041 (t_fmt): Set to "%H:%M:%S %Z".
4042 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4044 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4045 because this locale does not use the 12-hour clock.
4046 (t_fmt): Set to "%T".
4047 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4048 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4050 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4051 because this locale does not use the 12-hour clock.
4052 (t_fmt): Set to "%H:%M:%S %Z".
4053 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4055 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4056 because this locale does not use the 12-hour clock.
4057 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4058 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4060 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4064 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4065 (t_fmt_ampm): Likewise.
4066 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4067 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4068 (d_fmt): Set to "%-d.%-m.%y".
4070 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4072 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4073 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4074 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4076 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4077 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4078 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4080 * support/blob_repeat.c (check_mul_overflow_size_t,
4081 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4083 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4085 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4087 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4089 regex: simplify Gnulib port
4090 This simplifies the code, by removing stuff intended for porting
4091 to Gnulib but no longer needed there.
4092 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4093 uses of libc_hidden_def, weak_alias.
4094 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4095 _Restrict_ except for public-facing headers.
4096 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4097 Remove; already defined elsewhere.
4098 * posix/regex.c, posix/regex_internal.h:
4099 Use __GNUC_PREREQ instead of rolling our own.
4100 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4102 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4104 * benchtests/bench-strlen.c (generic_strlen): New function.
4105 (memchr_strlen): New function.
4107 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4109 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4110 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4111 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4113 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4115 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4117 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4119 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4120 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4121 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4122 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4123 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4124 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4125 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4127 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4130 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4131 PLT reference in libc.so.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4133 _Q_lltoq and _Q_qtod PLT references in libc.so.
4135 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4137 * benchtests/bench-memchr.c: Cleanup defines.
4138 * benchtests/bench-memcmp.c: Likewise.
4139 * benchtests/bench-memset.c: Likewise.
4140 * benchtests/bench-memset-large.c: Likewise.
4141 * benchtests/bench-memset-walk.c: Likewise.
4142 * benchtests/bench-stpcpy.c: Likewise.
4143 * benchtests/bench-stpncpy.c: Likewise.
4144 * benchtests/bench-strcat.c: Likewise.
4145 * benchtests/bench-strchr.c: Likewise.
4146 * benchtests/bench-strcmp.c: Likewise.
4147 * benchtests/bench-strcpy.c: Likewise.
4148 * benchtests/bench-strcspn.c: Likewise.
4149 * benchtests/bench-string.h: Likewise.
4150 * benchtests/bench-strlen.c: Likewise.
4151 * benchtests/bench-strncat.c: Likewise.
4152 * benchtests/bench-strncmp.c: Likewise.
4153 * benchtests/bench-strncpy.c: Likewise.
4154 * benchtests/bench-strnlen.c: Likewise.
4155 * benchtests/bench-strpbrk.c: Likewise.
4156 * benchtests/bench-strrchr.c: Likewise.
4157 * benchtests/bench-strspn.c: Likewise.
4159 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4161 * stdlib/longlong.h: Update from GCC.
4164 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4165 * configure: Regenerated.
4166 * manual/install.texi (Tools for Compilation): Update minimum GCC
4168 * INSTALL: Regenerated.
4170 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4172 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4174 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4176 * malloc/malloc.c (mremap_chunk): Additional checks.
4178 2018-12-21 Mao Han <han_mao@c-sky.com>
4180 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4181 * scripts/build-many-glibcs.py: Add C-SKY targets.
4182 * sysdeps/csky/Implies: New file.
4183 * sysdeps/csky/Makefile: Likewise.
4184 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4185 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4186 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4187 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4188 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4189 * sysdeps/csky/abiv2/memmove.S: Likewise.
4190 * sysdeps/csky/abiv2/memset.S: Likewise.
4191 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4192 * sysdeps/csky/abiv2/start.S: Likewise.
4193 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4194 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4195 * sysdeps/csky/abiv2/strlen.S: Likewise.
4196 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4197 * sysdeps/csky/abort-instr.h: Likewise.
4198 * sysdeps/csky/atomic-machine.h: Likewise.
4199 * sysdeps/csky/bits/endian.h: Likewise.
4200 * sysdeps/csky/bits/fenv.h: Likewise.
4201 * sysdeps/csky/bits/link.h: Likewise.
4202 * sysdeps/csky/bits/setjmp.h: Likewise.
4203 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4204 * sysdeps/csky/bsd-setjmp.S: Likewise.
4205 * sysdeps/csky/configure: Likewise.
4206 * sysdeps/csky/configure.ac: Likewise.
4207 * sysdeps/csky/dl-machine.h: Likewise.
4208 * sysdeps/csky/dl-procinfo.c: Likewise.
4209 * sysdeps/csky/dl-procinfo.h: Likewise.
4210 * sysdeps/csky/dl-sysdep.h: Likewise.
4211 * sysdeps/csky/dl-tls.h: Likewise.
4212 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4213 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4214 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4215 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4216 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4217 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4218 * sysdeps/csky/fpu/fegetround.c: Likewise.
4219 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4220 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4221 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4222 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4223 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4224 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4225 * sysdeps/csky/fpu/fesetround.c: Likewise.
4226 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4227 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4228 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4229 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4230 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4231 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4232 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4233 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4234 * sysdeps/csky/fpu_control.h: Likewise.
4235 * sysdeps/csky/gccframe.h: Likewise.
4236 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4237 * sysdeps/csky/ldsodefs.h: Likewise.
4238 * sysdeps/csky/libc-tls.c: Likewise.
4239 * sysdeps/csky/linkmap.h: Likewise.
4240 * sysdeps/csky/machine-gmon.h: Likewise.
4241 * sysdeps/csky/memusage.h: Likewise.
4242 * sysdeps/csky/nofpu/Implies: Likewise.
4243 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4244 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4245 * sysdeps/csky/nptl/Makefile: Likewise.
4246 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4247 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4248 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4249 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4250 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4251 * sysdeps/csky/nptl/tls.h: Likewise.
4252 * sysdeps/csky/preconfigure: Likewise.
4253 * sysdeps/csky/sfp-machine.h: Likewise.
4254 * sysdeps/csky/sotruss-lib.c: Likewise.
4255 * sysdeps/csky/stackinfo.h: Likewise.
4256 * sysdeps/csky/sysdep.h: Likewise.
4257 * sysdeps/csky/tininess.h: Likewise.
4258 * sysdeps/csky/tst-audit.h: Likewise.
4259 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4260 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4261 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4262 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4263 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4264 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4265 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4266 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4267 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4268 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4269 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4270 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4271 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4272 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4273 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4274 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4275 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4276 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4277 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4278 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4279 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4280 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4281 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4282 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4283 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4284 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4285 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4286 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4287 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4288 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4289 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4290 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4291 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4292 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4293 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4294 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4295 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4296 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4297 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4298 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4299 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4300 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4301 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4302 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4304 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4306 * include/time.h (__difftime64): Add.
4307 * time/difftime.c (subtract): convert to 64-bit time.
4308 * time/difftime.c (__difftime64): Add.
4309 * time/difftime.c (__difftime): Wrap around __difftime64.
4311 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4313 * manual/examples/add.c: Remove redundant "if not".
4314 * manual/examples/argp-ex1.c: Likewise.
4315 * manual/examples/argp-ex2.c: Likewise.
4316 * manual/examples/argp-ex3.c: Likewise.
4317 * manual/examples/argp-ex4.c: Likewise.
4318 * manual/examples/atexit.c: Likewise.
4319 * manual/examples/db.c: Likewise.
4320 * manual/examples/dir.c: Likewise.
4321 * manual/examples/dir2.c: Likewise.
4322 * manual/examples/execinfo.c: Likewise.
4323 * manual/examples/filecli.c: Likewise.
4324 * manual/examples/filesrv.c: Likewise.
4325 * manual/examples/fmtmsgexpl.c: Likewise.
4326 * manual/examples/genpass.c: Likewise.
4327 * manual/examples/inetcli.c: Likewise.
4328 * manual/examples/inetsrv.c: Likewise.
4329 * manual/examples/isockad.c: Likewise.
4330 * manual/examples/longopt.c: Likewise.
4331 * manual/examples/memopen.c: Likewise.
4332 * manual/examples/memstrm.c: Likewise.
4333 * manual/examples/mkdirent.c: Likewise.
4334 * manual/examples/mkfsock.c: Likewise.
4335 * manual/examples/mkisock.c: Likewise.
4336 * manual/examples/mygetpass.c: Likewise.
4337 * manual/examples/pipe.c: Likewise.
4338 * manual/examples/popen.c: Likewise.
4339 * manual/examples/rprintf.c: Likewise.
4340 * manual/examples/search.c: Likewise.
4341 * manual/examples/select.c: Likewise.
4342 * manual/examples/setjmp.c: Likewise.
4343 * manual/examples/sigh1.c: Likewise.
4344 * manual/examples/sigusr.c: Likewise.
4345 * manual/examples/stpcpy.c: Likewise.
4346 * manual/examples/strdupa.c: Likewise.
4347 * manual/examples/strftim.c: Likewise.
4348 * manual/examples/subopt.c: Likewise.
4349 * manual/examples/swapcontext.c: Likewise.
4350 * manual/examples/termios.c: Likewise.
4351 * manual/examples/testopt.c: Likewise.
4352 * manual/examples/testpass.c: Likewise.
4353 * manual/examples/timeval_subtract.c: Likewise.
4355 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4357 * sysdeps/x86/fpu/math_private.h: New file.
4358 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4360 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4365 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4367 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4368 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4369 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4370 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4372 (_dl_show_auxv): Give a special treatment to
4373 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4374 and AT_L3_CACHEGEOMETRY.
4375 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4376 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4377 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4378 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4380 2018-12-19 Andreas Schwab <schwab@suse.de>
4382 * nscd/connections.c (check_use): Don't abort on invalid len.
4384 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4386 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4387 values in the 64bit value cases.
4389 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4395 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4401 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4404 (__gmtime64_r): Add.
4406 (__gmtime64_r): Add.
4407 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4413 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4416 (__localtime64_r): Add.
4418 (__localtime64_r): Add.
4419 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4421 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4423 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4424 kernel_sigction definition.
4426 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4428 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4430 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4431 __syscall_rt_sigaction.
4432 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4433 (kernel_sigaction): Use Linux generic defintion.
4435 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4436 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4437 (__syscall_rt_sigaction): Remove implementation.
4438 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4440 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4441 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4442 INTERNAL_SYSCALL): Remove definitions.
4443 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4444 action and signal set size.
4445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4448 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4449 James Clarke <jrtc27@jrtc27.com>
4452 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4453 Define if SA_RESTORER is defined.
4454 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4455 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4457 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4458 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4460 (HAS_SA_RESTORER): Define.
4461 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4462 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4463 (HAS_SA_RESTORER): Define.
4464 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4465 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4466 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4467 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4470 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4472 * sysdeps/unix/sysv/linux/kernel-features.h
4473 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4475 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4476 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4477 (__ASSUME_ST_INO_64_BIT): Likewise.
4478 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4479 <kernel-features.h>.
4480 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4481 Remove conditional code.
4482 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4483 <kernel-features.h>.
4484 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4485 Remove conditional code.
4486 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4487 <kernel-features.h>.
4488 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4489 Remove conditional code.
4490 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4491 <kernel-features.h>.
4492 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4493 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4495 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4497 * sysdeps/s390/multiarch/ifunc-resolve.h
4498 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4499 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4500 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4501 Delete macro definition.
4502 (s390_libc_ifunc_init): Rename to
4503 s390_libc_ifunc_expr_stfle_init.
4504 * sysdeps/s390/bzero: Use
4505 s390_libc_ifunc_expr_stfle_init instead of
4506 s390_libc_ifunc_init.
4507 * sysdeps/s390/memcmp.c: Likewise.
4508 * sysdeps/s390/memcpy.c: Likewise.
4509 * sysdeps/s390/mempcpy.c: Likewise.
4510 * sysdeps/s390/memset.c: Likewise.
4512 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4514 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4515 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4517 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4519 * sysdeps/s390/multiarch/Makefile
4520 (sysdep_routines): Remove wmemcmp variants.
4521 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4522 * sysdeps/s390/multiarch/ifunc-impl-list.c
4523 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4524 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4525 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4526 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4527 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4528 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4529 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4530 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4532 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4534 * sysdeps/s390/multiarch/Makefile
4535 (sysdep_routines): Remove wmemset variants.
4536 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4537 * sysdeps/s390/multiarch/ifunc-impl-list.c
4538 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4539 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4540 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4541 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4542 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4543 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4544 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4545 * sysdeps/s390/ifunc-wmemset.h: New file.
4547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4549 * sysdeps/s390/multiarch/Makefile
4550 (sysdep_routines): Remove wmemchr variants.
4551 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4552 * sysdeps/s390/multiarch/ifunc-impl-list.c
4553 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4554 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4555 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4556 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4557 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4558 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4559 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4560 * sysdeps/s390/ifunc-wmemchr.h: New file.
4562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4564 * sysdeps/s390/multiarch/Makefile
4565 (sysdep_routines): Remove wcscspn variants.
4566 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4567 * sysdeps/s390/multiarch/ifunc-impl-list.c
4568 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4569 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4570 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4571 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4572 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4573 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4574 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4575 * sysdeps/s390/ifunc-wcscspn.h: New file.
4577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4579 * sysdeps/s390/multiarch/Makefile
4580 (sysdep_routines): Remove wcspbrk variants.
4581 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4582 * sysdeps/s390/multiarch/ifunc-impl-list.c
4583 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4584 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4585 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4586 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4587 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4588 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4589 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4590 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4592 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4594 * sysdeps/s390/multiarch/Makefile
4595 (sysdep_routines): Remove wcsspn variants.
4596 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4597 * sysdeps/s390/multiarch/ifunc-impl-list.c
4598 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4599 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4600 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4601 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4602 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4603 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4604 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4605 * sysdeps/s390/ifunc-wcsspn.h: New file.
4607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4609 * sysdeps/s390/multiarch/Makefile
4610 (sysdep_routines): Remove wcsrchr variants.
4611 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4612 * sysdeps/s390/multiarch/ifunc-impl-list.c
4613 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4614 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4615 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4616 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4617 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4618 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4619 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4620 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4624 * sysdeps/s390/multiarch/Makefile
4625 (sysdep_routines): Remove wcschrnul variants.
4626 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4627 * sysdeps/s390/multiarch/ifunc-impl-list.c
4628 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4629 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4630 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4631 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4632 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4633 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4634 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4635 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4637 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4639 * sysdeps/s390/multiarch/Makefile
4640 (sysdep_routines): Remove wcschr variants.
4641 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4642 * sysdeps/s390/multiarch/ifunc-impl-list.c
4643 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4644 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4645 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4646 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4647 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4648 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4649 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4650 * sysdeps/s390/ifunc-wcschr.h: New file.
4652 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4654 * sysdeps/s390/multiarch/Makefile
4655 (sysdep_routines): Remove wcsncmp variants.
4656 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4657 * sysdeps/s390/multiarch/ifunc-impl-list.c
4658 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4659 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4660 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4661 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4662 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4663 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4664 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4665 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4667 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4669 * sysdeps/s390/multiarch/Makefile
4670 (sysdep_routines): Remove wcscmp variants.
4671 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4672 * sysdeps/s390/multiarch/ifunc-impl-list.c
4673 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4674 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4675 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4676 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4677 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4678 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4679 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4680 * sysdeps/s390/ifunc-wcscmp.h: New file.
4682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4684 * sysdeps/s390/multiarch/Makefile
4685 (sysdep_routines): Remove wcsncat variants.
4686 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4687 * sysdeps/s390/multiarch/ifunc-impl-list.c
4688 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4689 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4690 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4691 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4692 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4693 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4694 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4695 * sysdeps/s390/ifunc-wcsncat.h: New file.
4697 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4699 * sysdeps/s390/multiarch/Makefile
4700 (sysdep_routines): Remove wcscat variants.
4701 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4702 * sysdeps/s390/multiarch/ifunc-impl-list.c
4703 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4704 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4705 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4706 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4707 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4708 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4709 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4710 * sysdeps/s390/ifunc-wcscat.h: New file.
4712 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4714 * sysdeps/s390/multiarch/Makefile
4715 (sysdep_routines): Remove wcpncpy variants.
4716 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4717 * sysdeps/s390/multiarch/ifunc-impl-list.c
4718 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4719 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4720 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4721 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4722 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4723 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4724 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4725 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4727 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4729 * sysdeps/s390/multiarch/Makefile
4730 (sysdep_routines): Remove wcsncpy variants.
4731 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4732 * sysdeps/s390/multiarch/ifunc-impl-list.c
4733 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4734 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4735 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4736 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4737 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4738 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4739 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4740 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4742 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4744 * sysdeps/s390/multiarch/Makefile
4745 (sysdep_routines): Remove wcpcpy variants.
4746 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4747 * sysdeps/s390/multiarch/ifunc-impl-list.c
4748 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4749 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4750 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4751 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4752 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4753 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4754 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4755 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4759 * sysdeps/s390/multiarch/Makefile
4760 (sysdep_routines): Remove wcscpy variants.
4761 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4762 * sysdeps/s390/multiarch/ifunc-impl-list.c
4763 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4764 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4765 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4766 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4767 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4768 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4769 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4770 * sysdeps/s390/ifunc-wcscpy.h: New file.
4772 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4774 * sysdeps/s390/multiarch/Makefile
4775 (sysdep_routines): Remove wcsnlen variants.
4776 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4777 * sysdeps/s390/multiarch/ifunc-impl-list.c
4778 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4779 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4780 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4781 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4782 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4783 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4784 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4785 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4787 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4789 * sysdeps/s390/multiarch/Makefile
4790 (sysdep_routines): Remove wcslen variants.
4791 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4792 * sysdeps/s390/multiarch/ifunc-impl-list.c
4793 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4794 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4795 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4796 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4797 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4798 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4799 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4800 * sysdeps/s390/ifunc-wcslen.h: New file.
4802 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4804 * sysdeps/s390/multiarch/Makefile
4805 (sysdep_routines): Remove memrchr variants.
4806 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4807 * sysdeps/s390/multiarch/ifunc-impl-list.c
4808 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4809 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4810 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4811 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4812 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4813 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4814 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4815 * sysdeps/s390/ifunc-memrchr.h: New file.
4817 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4819 * sysdeps/s390/multiarch/Makefile
4820 (sysdep_routines): Remove memccpy variants.
4821 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4822 * sysdeps/s390/multiarch/ifunc-impl-list.c
4823 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4824 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4825 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4826 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4827 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4828 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4829 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4830 * sysdeps/s390/ifunc-memccpy.h: New file.
4832 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4834 * sysdeps/s390/multiarch/Makefile
4835 (sysdep_routines): Remove rawmemchr variants.
4836 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4837 * sysdeps/s390/multiarch/ifunc-impl-list.c
4838 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4839 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4840 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4841 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4842 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4843 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4844 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4845 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4847 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4849 * sysdeps/s390/multiarch/Makefile
4850 (sysdep_routines): Remove memchr variants.
4851 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4852 * sysdeps/s390/multiarch/ifunc-impl-list.c
4853 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4854 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4855 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4856 * sysdeps/s390/multiarch/memchr.c: Move to ...
4857 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4858 * sysdeps/s390/ifunc-memchr.h: New file.
4859 * sysdeps/s390/s390-64/memchr.S: Move to ...
4860 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4861 for 31/64bit and ifunc handling.
4862 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4863 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4864 * sysdeps/s390/s390-32/memchr.S: Likewise.
4866 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4868 * sysdeps/s390/multiarch/Makefile
4869 (sysdep_routines): Remove strcspn variants.
4870 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4871 * sysdeps/s390/multiarch/ifunc-impl-list.c
4872 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4873 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4874 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4875 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4876 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4877 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4878 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4879 * sysdeps/s390/ifunc-strcspn.h: New file.
4881 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4883 * sysdeps/s390/multiarch/Makefile
4884 (sysdep_routines): Remove strpbrk variants.
4885 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4886 * sysdeps/s390/multiarch/ifunc-impl-list.c
4887 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4888 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4889 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4890 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4891 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4892 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4893 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4894 * sysdeps/s390/ifunc-strpbrk.h: New file.
4896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4898 * sysdeps/s390/multiarch/Makefile
4899 (sysdep_routines): Remove strspn variants.
4900 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4901 * sysdeps/s390/multiarch/ifunc-impl-list.c
4902 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4903 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4904 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4905 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4906 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4907 * sysdeps/s390/multiarch/strspn.c: Move to ...
4908 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4909 * sysdeps/s390/ifunc-strspn.h: New file.
4911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4913 * sysdeps/s390/multiarch/Makefile
4914 (sysdep_routines): Remove strrchr variants.
4915 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4916 * sysdeps/s390/multiarch/ifunc-impl-list.c
4917 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4918 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4919 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4920 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4921 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4922 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4923 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4924 * sysdeps/s390/ifunc-strrchr.h: New file.
4926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4928 * sysdeps/s390/multiarch/Makefile
4929 (sysdep_routines): Remove strchrnul variants.
4930 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4931 * sysdeps/s390/multiarch/ifunc-impl-list.c
4932 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4933 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4934 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4935 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4936 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4937 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4938 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4939 * sysdeps/s390/ifunc-strchrnul.h: New file.
4941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4943 * sysdeps/s390/multiarch/Makefile
4944 (sysdep_routines): Remove strchr variants.
4945 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4946 * sysdeps/s390/multiarch/ifunc-impl-list.c
4947 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4948 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4949 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4950 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4951 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4952 * sysdeps/s390/multiarch/strchr.c: Move to ...
4953 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4954 * sysdeps/s390/ifunc-strchr.h: New file.
4956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4958 * sysdeps/s390/multiarch/Makefile
4959 (sysdep_routines): Remove strncmp variants.
4960 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4961 * sysdeps/s390/multiarch/ifunc-impl-list.c
4962 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4963 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4964 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4965 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4966 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4967 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4968 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4969 * sysdeps/s390/ifunc-strncmp.h: New file.
4971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4973 * sysdeps/s390/multiarch/Makefile
4974 (sysdep_routines): Remove strcmp variants.
4975 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4976 * sysdeps/s390/multiarch/ifunc-impl-list.c
4977 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4978 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4979 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4980 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4981 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4982 * sysdeps/s390/ifunc-strcmp.h: New file.
4983 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4984 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4985 for 31/64bit and ifunc handling.
4986 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4987 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4988 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4992 * sysdeps/s390/multiarch/Makefile
4993 (sysdep_routines): Remove strncat variants.
4994 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4995 * sysdeps/s390/multiarch/ifunc-impl-list.c
4996 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4997 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4998 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4999 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5000 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5001 * sysdeps/s390/multiarch/strncat.c: Move to ...
5002 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5003 * sysdeps/s390/ifunc-strncat.h: New file.
5005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5007 * sysdeps/s390/multiarch/Makefile
5008 (sysdep_routines): Remove strcat variants.
5009 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5010 * sysdeps/s390/multiarch/ifunc-impl-list.c
5011 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5012 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5013 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5014 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5015 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5016 * sysdeps/s390/multiarch/strcat.c: Move to ...
5017 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5018 * sysdeps/s390/ifunc-strcat.h: New file.
5020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5022 * sysdeps/s390/multiarch/Makefile
5023 (sysdep_routines): Remove stpncpy variants.
5024 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5025 * sysdeps/s390/multiarch/ifunc-impl-list.c
5026 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5027 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5028 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5029 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5030 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5031 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5032 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5033 * sysdeps/s390/ifunc-stpncpy.h: New file.
5035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5037 * sysdeps/s390/multiarch/Makefile
5038 (sysdep_routines): Remove strncpy variants.
5039 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5040 * sysdeps/s390/multiarch/ifunc-impl-list.c
5041 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5042 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5043 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5044 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5045 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5046 * sysdeps/s390/ifunc-strncpy.h: New file.
5047 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5048 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5049 and adjust ifunc handling.
5050 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5051 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5052 and adjust ifunc handling.
5053 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5054 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5058 * sysdeps/s390/multiarch/Makefile
5059 (sysdep_routines): Remove stpcpy variants.
5060 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5061 * sysdeps/s390/multiarch/ifunc-impl-list.c
5062 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5063 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5064 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5065 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5066 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5067 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5068 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5069 * sysdeps/s390/ifunc-stpcpy.h: New file.
5071 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5073 * sysdeps/s390/multiarch/Makefile
5074 (sysdep_routines): Remove strcpy variants.
5075 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5076 * sysdeps/s390/multiarch/ifunc-impl-list.c
5077 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5078 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5079 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5080 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5081 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5082 * sysdeps/s390/ifunc-strcpy.h: New file.
5083 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5084 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5085 for 31/64bit and ifunc handling.
5086 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5087 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5088 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5092 * sysdeps/s390/multiarch/Makefile
5093 (sysdep_routines): Remove strnlen variants.
5094 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5095 * sysdeps/s390/multiarch/ifunc-impl-list.c
5096 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5097 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5098 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5099 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5100 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5101 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5102 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5103 * sysdeps/s390/ifunc-strnlen.h: New file.
5105 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5107 * sysdeps/s390/multiarch/Makefile
5108 (sysdep_routines): Remove strlen variants.
5109 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5110 * sysdeps/s390/multiarch/ifunc-impl-list.c
5111 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5112 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5113 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5114 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5115 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5116 * sysdeps/s390/multiarch/strlen.c: Move to ...
5117 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5118 * sysdeps/s390/ifunc-strlen.h: New file.
5120 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5122 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5123 * sysdeps/s390/multiarch/ifunc-impl-list.c
5124 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5125 * sysdeps/s390/ifunc-memmem.h: New file.
5126 * sysdeps/s390/memmem.c: Likewise.
5127 * sysdeps/s390/memmem-c.c: Likewise.
5128 * sysdeps/s390/memmem-vx.c: Likewise.
5130 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5132 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5133 * sysdeps/s390/multiarch/ifunc-impl-list.c
5134 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5135 * sysdeps/s390/ifunc-strstr.h: New file.
5136 * sysdeps/s390/strstr.c: Likewise.
5137 * sysdeps/s390/strstr-c.c: Likewise.
5138 * sysdeps/s390/strstr-vx.c: Likewise.
5140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5142 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5143 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5144 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5145 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5147 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5148 * sysdeps/s390/memmove-c.c: New file.
5149 * sysdeps/s390/memmove.c: Likewise.
5150 * sysdeps/s390/multiarch/ifunc-impl-list.c
5151 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5153 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5155 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5156 * sysdeps/s390/configure.ac: Add check for z13 support.
5157 * sysdeps/s390/configure: Regenerated.
5159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5161 * sysdeps/s390/memcopy.h: New file.
5163 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5165 * sysdeps/s390/s390-32/bcopy.S: Remove.
5166 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5168 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5170 * sysdeps/s390/ifunc-memcpy.h: New File.
5171 * sysdeps/s390/memcpy.S: Move to ...
5172 * sysdeps/s390/memcpy-z900.S ... here.
5173 Move implementations from memcpy-s390x.s to here.
5174 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5175 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5176 Remove memcpy/mempcpy variants.
5177 * sysdeps/s390/Makefile (sysdep_routines):
5178 Add memcpy/mempcpy variants.
5179 * sysdeps/s390/multiarch/ifunc-impl-list.c
5180 (__libc_ifunc_impl_list): Adjust ifunc variants for
5182 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5184 * sysdeps/s390/memcpy.c: ... here.
5185 Adjust ifunc variants for memcpy.
5186 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5187 * sysdeps/s390/mempcpy.c: ... here.
5188 Adjust ifunc variants for mempcpy.
5189 * sysdeps/s390/mempcpy.S: Delete file.
5191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5193 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5194 * sysdeps/s390/memcpy.S: ... here.
5195 Adjust to be usable for 31/64bit.
5196 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5197 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5198 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5199 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5200 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5201 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5202 Adjust to be usable for 31/64bit.
5203 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5204 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5205 * sysdeps/s390/multiarch/memcpy.c: ... here.
5206 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5208 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5210 * sysdeps/s390/ifunc-memcmp.h: New File.
5211 * sysdeps/s390/memcmp.S: Move to ...
5212 * sysdeps/s390/memcmp-z900.S ... here.
5213 Move implementations from memcmp-s390x.s to here.
5214 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5215 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5216 Remove memcmp variants.
5217 * sysdeps/s390/Makefile (sysdep_routines):
5218 Add memcmp variants.
5219 * sysdeps/s390/multiarch/ifunc-impl-list.c
5220 (__libc_ifunc_impl_list): Adjust ifunc variants for
5222 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5224 * sysdeps/s390/memcmp.c: ... here.
5225 Adjust ifunc variants for memcmp.
5227 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5229 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5230 * sysdeps/s390/memcmp.S: ... here.
5231 Adjust to be usable for 31/64bit.
5232 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5233 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5234 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5236 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5237 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5238 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5239 Adjust to be usable for 31/64bit.
5240 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5241 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5242 * sysdeps/s390/multiarch/memcmp.c: ... here.
5243 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5247 * sysdeps/s390/s390-32/bzero.S: Delete file.
5248 * sysdeps/s390/s390-64/bzero.S: Likewise.
5249 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5250 * sysdeps/s390/bzero.c: New file.
5251 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5252 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5253 * sysdeps/s390/multiarch/ifunc-impl-list.c
5254 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5256 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5258 * sysdeps/s390/ifunc-memset.h: New File.
5259 * sysdeps/s390/memset.S: Move to ...
5260 * sysdeps/s390/memset-z900.S ... here.
5261 Move implementations from memset-s390x.s to here.
5262 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5263 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5264 Remove memset variants.
5265 * sysdeps/s390/Makefile (sysdep_routines):
5266 Add memset variants.
5267 * sysdeps/s390/multiarch/ifunc-impl-list.c
5268 (__libc_ifunc_impl_list): Adjust ifunc variants for
5270 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5272 * sysdeps/s390/memset.c: ... here.
5273 Adjust ifunc variants for memset.
5275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5277 * sysdeps/s390/s390-64/memset.S: Move to ...
5278 * sysdeps/s390/memset.S: ... here.
5279 Adjust to be usable for 31/64bit.
5280 * sysdeps/s390/s390-32/memset.S: Delete File.
5281 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5282 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5284 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5285 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5286 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5287 Adjust to be usable for 31/64bit.
5288 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5289 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5290 * sysdeps/s390/multiarch/memset.c: ... here.
5291 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5295 * sysdeps/s390/multiarch/ifunc-resolve.h
5296 (s390_libc_ifunc_init, s390_libc_ifunc,
5297 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5299 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5301 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5302 * sysdeps/s390/configure.ac: Add check for z10 support.
5303 * sysdeps/s390/configure: Regenerated.
5305 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5307 * sysdeps/i386/atomic-machine.h: Merged with ...
5308 * sysdeps/x86_64/atomic-machine.h: To ...
5309 * sysdeps/x86/atomic-machine.h: This. New file.
5311 2018-12-18 Florian Weimer <fweimer@redhat.com>
5313 Rewrite locale/gen-translit.pl in Python.
5314 * locale/Makefile (generated): Add C-translit.h.
5315 (before-compile): Add $(objpfx)C-translit.h.
5316 (C-translit.h): Move to $(objpfx). Create target directory.
5317 Build using Python script.
5318 * locale/gen-translit.py: New file.
5319 * locale/gen-translit.pl: Remove file.
5320 * locale/C-translit.h.in: Change comment character to '#' for
5321 easier parsing without a C preprocessor.
5322 * locale/C-translit.h: Remove generated file.
5323 * manual/install.texi (Tools for Compilation): Do not mention
5325 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5326 Remove locale/C-translit.h.
5327 * scripts/update-copyrights: Likewise.
5328 * INSTALL: Regenerate.
5330 2018-12-18 Florian Weimer <fweimer@redhat.com>
5333 * localedata/locales/bi_VU: Remove executable bit from file.
5335 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5338 (__localtime64): Add.
5339 * manual/maint.texi: Document Y2038 symbol handling.
5341 (__localtime64): Add.
5342 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5344 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5346 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5349 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5350 to allow extra macros from first or second sources.
5351 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5352 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5353 (tests-special): Add $(objpfx)tst-mman-consts.out.
5354 ($(objpfx)tst-mman-consts.out): New makefile target.
5356 2018-12-17 Mao Han <han_mao@c-sky.com>
5358 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5359 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5360 without stat64 system call support.
5361 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5362 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5363 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5364 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5365 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5366 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5367 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5368 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5369 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5370 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5371 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5373 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5375 regex: fix storage-exhaustion error
5377 * posix/regexec.c (get_subexp):
5378 Do not continue if storage is exhausted.
5380 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5382 regex: fix heap-use-after-free error
5384 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5385 https://debbugs.gnu.org/32592
5386 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5387 call extend_buffers which reallocates the re_string_t internal buffer.
5388 Local variable 'buf' was not updated in such case, resulting in
5390 * posix/regexec.c (get_subexp): Update 'buf' after call to
5393 2018-12-15 Florian Weimer <fweimer@redhat.com>
5395 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5396 (minimum_stride_size): Use it.
5397 (support_blob_repeat_allocate): Likewise.
5399 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5401 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5406 2018-12-14 Florian Weimer <fweimer@redhat.com>
5408 * manual/process.texi (Process Creation Concepts): Remove
5409 documentation of process (ID) lifetime. List more process
5410 creation functions. Reference Process Identification section.
5411 (Process Identification): Add information about process ID
5412 lifetime. Describe Linux thread/task IDs.
5413 * manual/signal.texi (Signaling Another Process): Mention that the
5414 signal is always sent to the process.
5416 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5418 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5419 and tst-ldbl-efgcvt.
5420 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5421 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5422 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5423 (fcvt_tests, output_error, output_r_error, do_test): Use the
5424 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5425 select the type of floating-point variables and arguments; to
5426 produce extra tests for double and conversion specifiers for
5427 printf; and to set the names of called functions.
5428 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5429 in tst-efgcvt-template.c.
5430 * misc/tst-ldbl-efgcvt.c: Likewise.
5432 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5434 * nss/Makefile (tst-nss-test3.out): New rule.
5436 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5438 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5441 2018-12-13 fanjinke <fanjinke@hygon.cn>
5443 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5446 2018-12-13 Andreas Schwab <schwab@suse.de>
5449 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5450 (__pthread_rwlock_rdlock_full): Update expected value for
5451 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5452 * nptl/tst-rwlock-pwn.c: New file.
5453 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5455 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5457 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5460 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5462 * benchtests/scripts/compare_bench.py (do_compare): write to
5463 stderr in casestat is not present.
5464 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5465 stderr in case timings field is not present. Also string showing
5466 the output filename goes into the stderr.
5468 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5470 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5471 and ZeroDivisorError exceptions.
5472 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5473 argument to loop through user provided statistics.
5474 * benchtests/scripts/compare_bench.py (main): Include the --stats
5477 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5479 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5482 2018-12-12 Florian Weimer <fweimer@redhat.com>
5484 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5485 clause to copyright header.
5487 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5490 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5491 registers saved in the stack frame.
5492 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5493 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5495 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5497 * include/bits/monetary-ldbl.h: New file.
5498 * include/bits/printf-ldbl.h: Likewise.
5499 * include/bits/stdio-ldbl.h: Likewise.
5500 * include/bits/stdlib-ldbl.h: Likewise.
5501 * include/bits/syslog-ldbl.h: Likewise.
5502 * include/bits/wchar-ldbl.h: Likewise.
5504 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5506 * libio/libio.h: Remove redirection for _IO_vfprintf.
5508 2018-12-11 Andreas Schwab <schwab@suse.de>
5510 * Makerules: Remove all references to abilist-pattern.
5511 (update-all-abi): Simplify find expression.
5513 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5516 * math/auto-libm-test-in: Add new test case.
5517 * math/auto-libm-test-out-pow: Regenerated.
5518 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5520 2018-12-10 DJ Delorie <dj@redhat.com>
5523 * support/test-container.c: Move postclean step to before we
5526 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5528 * scripts/gen-as-const.py (main): Handle --python option.
5529 * scripts/gen-py-const.awk: Remove.
5530 * Makerules (py-const-script): Use gen-as-const.py.
5531 ($(py-const)): Likewise.
5532 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5533 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5534 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5535 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5536 ~PTHREAD_MUTEX_NO_ELISION_NP.
5537 * manual/README.pretty-printers: Update reference to
5540 * scripts/glibcextract.py: New file.
5541 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5542 or tempfile. Import glibcexctract.
5543 (compute_c_consts): Remove. Moved to glibcextract.py.
5544 (gen_test): Update reference to compute_c_consts.
5546 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5547 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5548 * sysdeps/unix/sysv/linux/Makefile
5549 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5550 Redirect stderr as well as stdout.
5552 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5555 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5556 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5557 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5558 ALWAYS_USE_VSYSCALL.
5559 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5560 ALWAYS_USE_VSYSCALL.
5561 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5562 ALWAYS_USE_VSYSCALL.
5564 2018-12-10 Florian Weimer <fweimer@redhat.com>
5567 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5568 offset instead of count for clarity. Fix typo in comment.
5569 (__old_getdents64): Keep track of previous offset. Use it to call
5571 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5572 that d_off is never zero.
5574 2018-12-10 Andreas Schwab <schwab@suse.de>
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5577 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5579 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5580 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5582 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5584 * timezone/private.h: Update from tzcode 2018g.
5585 * timezone/tzfile.h: Likewise.
5586 * timezone/tzselect.ksh: Likewise.
5587 * timezone/zdump.c: Likewise.
5588 * timezone/zic.c: Likewise.
5590 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5593 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5594 (do_test): Adjust buffer size and fix format.
5596 2018-12-07 DJ Delorie <dj@redhat.com>
5599 * malloc/tst-tcfree3.c: New.
5600 * malloc/Makefile: Add it.
5602 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5604 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5606 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5608 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5609 used as a mask for the mode argument of __vfscanf_internal and
5610 __vfwscanf_internal.
5611 * stdio-common/vfscanf-internal.c
5612 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5613 (__strtof128_internal): Define to __wcstof128_internal.
5614 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5615 __strtof128_internal or __wcstof128_internal when the format of
5616 long double is the same as _Float128.
5618 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5620 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5621 * posix/confstr.c (confstr): Rename to __confstr.
5622 (__confstr): Add hidden def.
5623 (confstr): Add weak alias for __confstr.
5624 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5627 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5629 * NEWS: Mention getcpu.
5630 * include/sched.h (__getcpu): New libc_hidden_proto.
5631 * manual/resource.texi: Document getcpu.
5632 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5633 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5634 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5635 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5636 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5637 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5638 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5639 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5640 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5641 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5642 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5643 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5644 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5646 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5647 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5648 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5657 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5658 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5659 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5660 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5661 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5662 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5663 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5665 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5666 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5667 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5670 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5672 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5674 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5676 2018-12-07 Florian Weimer <fweimer@redhat.com>
5679 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5680 * posix/Versions (GLIBC_2.29): Export
5681 posix_spawn_file_actions_addfchdir_np.
5682 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5683 * posix/spawn_faction_destroy.c
5684 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5685 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5686 and the field action.fchdir_action.
5687 * posix/tst-spawn-chdir.c (add_chdir): New function.
5688 (do_test): Add do_fchdir loop. Call add_chdir.
5689 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5690 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5691 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5692 posix_spawn_file_actions_addfchdir_np.
5693 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5695 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5697 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5698 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5700 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5702 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5704 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5706 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5708 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5711 (GLIBC_2.29): Likewise.
5712 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5713 (GLIBC_2.29): Likewise.
5714 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5715 (GLIBC_2.29): Likewise.
5716 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5717 (GLIBC_2.29): Likewise.
5718 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5721 (GLIBC_2.29): Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5723 (GLIBC_2.29): Likewise.
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5725 (GLIBC_2.29): Likewise.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5727 (GLIBC_2.29): Likewise.
5728 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5730 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5732 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5734 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5735 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5737 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5739 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5741 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5744 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5746 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5747 trailing whitespace removed.
5748 * scripts/config.guess: Update to version 2018-11-28.
5749 * scripts/config.sub: Update to version 2018-11-28.
5750 * scripts/install-sh: Update to version 2018-03-11.20.
5751 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5752 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5754 2018-12-07 Florian Weimer <fweimer@redhat.com>
5758 * inet/tst-if_index-long.c: New file.
5759 * inet/Makefile (tests): Add tst-if_index-long.
5761 2018-12-07 Florian Weimer <fweimer@redhat.com>
5763 * support/check.h (support_record_failure_is_failed): Declare.
5764 * support/descriptors.h: New file.
5765 * support/support_descriptors.c: Likewise.
5766 * support/tst-support_descriptors.c: Likewise.
5767 * support/support_record_failure.c
5768 (support_record_failure_is_failed): New function.
5769 * support/Makefile (libsupport-routines): Add support_descriptors.
5770 (tests): Add tst-support_descriptors.
5772 2018-12-05 Zack Weinberg <zackw@panix.com>
5773 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5775 * stdio-common/vfprintf-internal.c
5776 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5777 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5778 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5779 and __no_long_double.
5780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5781 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5782 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5783 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5784 and __nldbl_*syslog* functions.
5785 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5786 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5787 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5788 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5789 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5790 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5791 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5792 (__nldbl_vwprintf, __nldbl_wprintf):
5793 Directly call the appropriate __v*printf_internal routine, passing
5794 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5796 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5797 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5798 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5799 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5800 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5801 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5802 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5803 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5804 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5805 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5806 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5807 (__nldbl_syslog, __nldbl_vsyslog):
5808 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5809 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5811 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5814 2018-12-05 Zack Weinberg <zackw@panix.com>
5815 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5818 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5819 Moved here from debug/vsprintf_chk.c.
5820 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5821 and completion logic for the strfile to match exactly what
5822 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5823 _IO_str_init_static_internal instead of maxlen-1.
5824 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5825 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5826 __vsprintf_internal.
5828 * debug/vsprintf_chk.c (__vsprintf_chk)
5829 * debug/sprintf_chk.c (__sprintf_chk):
5830 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5831 'flags' argument is positive, and slen as maxlen. No need to lock
5832 the FILE and/or construct a temporary FILE. Minimize and normalize
5833 header inclusions and variable names. Do not libc_hidden_def anything.
5835 * debug/asprintf_chk.c (__asprintf_chk)
5836 * debug/dprintf_chk.c (__dprintf_chk)
5837 * debug/fprintf_chk.c (__fprintf_chk)
5838 * debug/fwprintf_chk.c (__fwprintf_chk)
5839 * debug/printf_chk.c (__printf_chk)
5840 * debug/snprintf_chk.c (__snprintf_chk)
5841 * debug/swprintf_chk.c (__swprintf_chk)
5842 * debug/vasprintf_chk.c (__vasprintf_chk)
5843 * debug/vdprintf_chk.c (__vdprintf_chk)
5844 * debug/vfprintf_chk.c (__vfprintf_chk)
5845 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5846 * debug/vprintf_chk.c (__vprintf_chk)
5847 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5848 * debug/vswprintf_chk.c (__vswprintf_chk)
5849 * debug/vwprintf_chk.c (__vwprintf_chk)
5850 * debug/wprintf_chk.c (__wprintf_chk):
5851 Directly call the corresponding vxxprintf_internal function, passing
5852 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5853 the FILE and/or construct a temporary FILE. Minimize and normalize
5854 header inclusions and variable names. Do not libc_hidden_def anything.
5856 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5857 __obstack_vprintf_internal.
5858 (__obstack_vprintf_chk): Convert into a wrapper that calls
5859 __obstack_vprintf_internal (these two functions already had the
5860 same code) and move to new file...
5861 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5863 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5864 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5865 * debug/Makefile (routines): Add vobprintf_chk.
5867 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5868 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5869 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5870 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5871 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5872 (__nldbl___obstack_vfprintf_chk):
5873 Directly call the corresponding vxxprintf_internal function,
5874 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5875 duplicate comparison of slen with 0 or maxlen from the corresponding
5876 non-__nldbl function.
5878 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5879 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5880 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5881 Remove libc_hidden_proto.
5883 * stdio-common/vfprintf-internal.c
5884 (__vfprintf_internal, __vfwprintf_internal):
5885 Do not check _IO_FLAGS2_FORTIFY.
5886 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5887 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5888 a comment explaining why it has the maxlen argument.
5889 (_IO_acquire_lock_clear_flags2_fct): Remove.
5890 (_IO_acquire_lock_clear_flags2): Remove.
5891 (_IO_release_lock): Remove conditional statement which will
5893 (_IO_acquire_lock): Remove variable which is now unused.
5894 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5895 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5897 * stdio-common/Makefile (tests): Add tst-bz11319 and
5898 tst-bz11319-fortify2.
5899 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5900 * stdio-common/tst-bz11319-fortify2.c: New file.
5901 * stdio-common/tst-bz11319.c: Likewise.
5903 2018-12-05 Zack Weinberg <zackw@panix.com>
5904 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5906 * misc/syslog.c: Include libioP.h, not iolibio.h.
5907 (__vsyslog_internal): New function with the former body of
5908 __vsyslog_chk; takes mode_flags argument same as
5909 __v*printf_internal. Call __vfprintf_internal directly.
5911 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5912 Remove libc_hidden_def.
5913 (__syslog, __syslog_chk): Use __vsyslog_internal.
5914 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5916 * include/sys/syslog.h: Add multiple inclusion guard.
5917 Add prototype for __vsyslog_internal.
5918 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5920 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5921 Use __vsyslog_internal.
5923 2018-12-05 Zack Weinberg <zackw@panix.com>
5924 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5926 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5927 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5928 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5930 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5931 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5933 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5934 Include wctype.h here if COMPILE_WPRINTF is defined.
5935 Define __vfprintf_internal or __vfwprintf_internal, depending
5937 Temporarily, on entry to this function, update mode_flags
5938 according to the environmental settings corresponding to
5939 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5940 Throughout, check mode_flags instead of __ldbl_is_dbl and
5941 _IO_FLAGS2_FORTIFY on the destination FILE.
5942 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5943 Include vfprintf-internal.c. Don't include wctype.h.
5944 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5945 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5947 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5948 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5950 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5952 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5953 and add mode_flags argument; use __vfprintf_internal.
5954 (__vdprintf): New function. Alias vdprintf to this.
5955 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5956 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5957 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5958 (__obstack_printf): Use __obstack_printf_internal.
5959 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5960 public aliases __vsnprintf and vsnprintf.
5961 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5963 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5964 public aliases _IO_vsprintf and vsprintf.
5965 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5966 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5967 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5968 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5969 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5971 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5972 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5973 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5974 * stdio-common/printf.c: Use __vfprintf_internal.
5976 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5977 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5978 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5980 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5981 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5982 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5983 __vfwprintf_internal.
5985 * libio/libio.h: Remove libc_hidden_proto and declaration for
5987 Remove declaration of _IO_vfwprintf.
5988 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5990 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5992 * include/stdio.h: Add prototype for __vasprintf.
5993 (__vsnprintf): Remove declaration, because there are no more
5995 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5996 declaration, because there are no more internal calls.
5998 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5999 __vsnprintf_internal, instead of _IO_vsnprintf.
6000 * argp/argp-help.c (__argp_error, __argp_failure): Use
6001 __vasprintf_internal, instead of _IO_vasprintf.
6002 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6003 redefine, because there are no more internal calls.
6005 2018-12-05 Zack Weinberg <zackw@panix.com>
6006 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6008 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6009 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6010 Include libio/strfile.h instead of libioP.h.
6011 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6012 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6013 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6014 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6015 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6016 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6017 necessary. Do not set __no_long_double. Normalize variable names.
6018 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6019 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6020 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6021 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6022 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6023 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6024 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6025 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6026 Do not set __no_long_double. Normalize variable names.
6028 2018-12-05 Zack Weinberg <zackw@panix.com>
6029 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6031 * stdio-common/isoc99_scanf.c
6032 * stdio-common/isoc99_fscanf.c
6033 * stdio-common/isoc99_sscanf.c
6034 * stdio-common/isoc99_vscanf.c
6035 * stdio-common/isoc99_vfscanf.c
6036 * stdio-common/isoc99_vsscanf.c
6037 * wcsmbs/isoc99_wscanf.c
6038 * wcsmbs/isoc99_fwscanf.c
6039 * wcsmbs/isoc99_swscanf.c
6040 * wcsmbs/isoc99_vwscanf.c
6041 * wcsmbs/isoc99_vfwscanf.c
6042 * wcsmbs/isoc99_vswscanf.c:
6043 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6044 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6045 No need to lock and unlock the FILE passed to that function.
6047 * stdio-common/vfscanf-internal.c
6048 (__vfscanf_internal, __vfwscanf_internal):
6049 Don't look at _IO_FLAGS2_SCANF_STD.
6050 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6051 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6052 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6054 2018-12-05 Zack Weinberg <zackw@panix.com>
6055 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6057 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6058 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6059 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6060 * libio/strfile.h: Add multiple inclusion guard.
6061 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6063 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6064 consistency with the other version of this file.
6065 (ldbl_compat_symbol): New macro.
6066 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6069 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6070 Define __vfscanf_internal or __vfwscanf_internal, depending on
6071 COMPILE_WSCANF; don't define any other public symbols.
6072 Remove errval and code to set errp.
6073 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6074 as the mode_flags argument.
6075 (encode_error, conv_error, input_error): Don't set errval.
6076 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6077 Include vfscanf-internal.c.
6078 * stdio-common/vfscanf.c: New file defining the public entry
6079 point vfscanf, which calls __vfscanf_internal.
6080 * stdio-common/vfwscanf.c: New file defining the public entry
6081 point vfwscanf, which calls __vfwscanf_internal.
6083 * stdio-common/iovfscanf.c: New file.
6084 * stdio-common/iovfwscanf.c: Likewise.
6086 * stdio-common/Makefile (routines): Add vfscanf-internal,
6087 vfwscanf-internal, iovfscanf, iovfwscanf.
6088 * stdio-common/Versions: Mention GLIBC_2.29, so that
6089 it can be used in SHLIB_COMPAT expressions.
6090 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6091 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6092 Call __vfscanf_internal, instead of _IO_vfscanf.
6093 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6095 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6098 * libio/iovsscanf.c: Clean up includes, when possible. Use
6099 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6100 __vfscanf_internal or __vfwscanf_internal directly.
6101 * libio/iovswscanf.c: Likewise.
6102 * libio/swscanf.c: Likewise.
6103 * libio/vscanf.c: Likewise.
6104 * libio/vwscanf.c: Likewise.
6105 * libio/wscanf.c: Likewise.
6106 * stdio-common/isoc99_fscanf.c: Likewise.
6107 * stdio-common/isoc99_scanf.c: Likewise.
6108 * stdio-common/isoc99_sscanf.c: Likewise.
6109 * stdio-common/isoc99_vfscanf.c: Likewise.
6110 * stdio-common/isoc99_vscanf.c: Likewise.
6111 * stdio-common/isoc99_vsscanf.c: Likewise.
6112 * stdio-common/scanf.c: Likewise.
6113 * stdio-common/sscanf.c: Likewise.
6114 * wcsmbs/isoc99_fwscanf.c: Likewise.
6115 * wcsmbs/isoc99_swscanf.c: Likewise.
6116 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6117 * wcsmbs/isoc99_vswscanf.c: Likewise.
6118 * wcsmbs/isoc99_vwscanf.c: Likewise.
6119 * wcsmbs/isoc99_wscanf.c: Likewise.
6121 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6124 (__tz_compute): Replace time_t with __time64_t.
6125 (__tz_convert): Replace time_t* with __time64_t.
6126 (__offtime): Replace time_t* with __time64_t.
6128 (__gmtime_r): Adjust call to __tz_convert.
6131 (__localtime_r): Likewise.
6132 (localtime): Likewise.
6133 * time/offtime.c: Replace time_t with __time64_t.
6134 * time/tzset.c: Likewise.
6136 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6138 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6139 dynamic linker unless [$(run-built-tests) = yes].
6141 2018-12-03 DJ Delorie <dj@delorie.com>
6143 * support/test-container.c (check_for_unshare_hints): New.
6144 (main): Call it if unshare fails. Add support for "su" scriptlet
6147 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6149 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6150 'START' to indicate that start text should be output.
6151 (gen_test): Likewise.
6152 (main): Generate 'START' for first symbol or '--' line, or at end
6153 of input if not previously generated.
6155 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6158 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6159 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6160 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6161 ALWAYS_USE_VSYSCALL.
6163 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6166 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6169 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6172 * locale/programs/localedef.c: Declare boolean hard_links default true.
6173 (options): Add --no-hard-links option.
6174 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6175 * locale/programs/localedef.h: Declare prototype for hard_links.
6176 * locale/programs/locfile.c (write_locale_data): Don't use hard
6177 links if hard_links is false.
6179 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6181 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6183 (__cache_sysconf): Likewise.
6184 (init_cacheinfo): Likewise.
6185 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6186 populate COMMON_CPUID_INDEX_80000007 and
6187 COMMON_CPUID_INDEX_80000008.
6188 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6189 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6190 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6191 (init_cpu_features): Use _Static_assert on
6192 index_arch_Fast_Unaligned_Load.
6193 __get_cpuid_registers and __get_arch_feature. Updated for
6194 cpu_features_basic. Set stepping in cpu_features.
6195 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6196 (FEATURE_INDEX_2): New.
6197 (FEATURE_INDEX_MAX): Changed to enum.
6198 (COMMON_CPUID_INDEX_D_ECX_1): New.
6199 (COMMON_CPUID_INDEX_80000007): Likewise.
6200 (COMMON_CPUID_INDEX_80000008): Likewise.
6201 (cpuid_registers): Likewise.
6202 (cpu_features_basic): Likewise.
6203 (CPU_FEATURE_USABLE): Likewise.
6204 (bit_arch_XXX_Usable): Likewise.
6205 (cpu_features): Use cpuid_registers and cpu_features_basic.
6206 (bit_arch_XXX): Reweritten.
6207 (bit_cpu_XXX): Likewise.
6208 (index_cpu_XXX): Likewise.
6209 (reg_XXX): Likewise.
6210 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6212 (CHECK_CPU_FEATURE): New.
6213 (CHECK_CPU_FEATURE_USABLE): Likewise.
6214 (cpu_kinds): Likewise.
6215 (do_test): Print vendor, family, model and stepping. Check
6216 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6217 (TEST_FUNCTION): Removed.
6218 Include <support/test-driver.c> instead of
6219 "../../test-skeleton.c".
6220 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6221 Check POPCNT instead of POPCOUNT.
6222 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6224 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6226 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6227 there is no element in `consts'.
6229 2018-12-01 Florian Weimer <fweimer@redhat.com>
6231 * support/support_capture_subprocess.c
6232 (support_capture_subprocess): Check that pipe descriptors have
6233 expected values. Close original pipe descriptors in subprocess.
6235 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6238 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6239 attr with __pthread_default_barrierattr.
6240 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6241 attr with __pthread_default_condattr.
6242 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6243 attr with __pthread_default_mutexattr.
6244 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6245 attr with __pthread_default_rwlockattr.
6247 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6249 * manual/tunables.texi (POSIX Thread Tunables): New node.
6250 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6251 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6252 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6253 __pthread_tunables_init.
6254 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6255 (max_adaptive_count): Define.
6256 * nptl/pthread_mutex_conf.c: New file.
6257 * nptl/pthread_mutex_conf.h: New file.
6258 * sysdeps/generic/adaptive_spin_count.h: New file.
6259 * sysdeps/nptl/dl-tunables.list: New file.
6260 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6261 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6262 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6265 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6268 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6269 * stdlib/on_exit.c (__on_exit): Likewise.
6270 * stdlib/Makefile (tests): Add tst-bz20544.
6271 * stdlib/tst-bz20544.c: New test.
6273 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6276 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6277 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6280 2018-11-30 Florian Weimer <fweimer@redhat.com>
6282 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6283 Extend error logging.
6284 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6287 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6289 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6290 __sigismember instead of sigismember.
6291 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6292 cancel_handler): New definitions.
6293 (do_system): Use posix_spawn instead of fork and execl and remove
6295 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6296 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6297 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6298 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6299 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6300 * sysdeps/unix/sysv/linux/system.c: Likewise.
6304 * NEWS: Add new semantic for atfork with popen and system.
6305 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6308 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6311 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6312 modification order when accessing reloc_result->addr.
6313 * include/link.h (reloc_result): Add field init.
6314 * nptl/Makefile (tests): Add tst-audit-threads.
6315 (modules-names): Add tst-audit-threads-mod1 and
6316 tst-audit-threads-mod2.
6317 Add rules to build tst-audit-threads.
6318 * nptl/tst-audit-threads-mod1.c: New file.
6319 * nptl/tst-audit-threads-mod2.c: Likewise.
6320 * nptl/tst-audit-threads.c: Likewise.
6321 * nptl/tst-audit-threads.h: Likewise.
6323 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6325 * scripts/gen-as-const.py: New file.
6326 * scripts/gen-as-const.awk: Remove.
6327 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6329 ($(objpfx)test-as-const-%.c): Likewise.
6331 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6333 * elf/dl-exception.c: Include <_itoa.h>.
6335 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6337 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6338 returned by __f_setlk.
6340 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6341 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6343 * elf/Makefile (tests-internal): Add tst-create_format1.
6344 * elf/dl-exception.c (_dl_exception_create_format): Support
6346 * elf/tst-create_format1.c: New file.
6348 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6350 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6351 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6353 * argp/argp-help.c (__argp_failure): Likewise.
6355 2018-11-29 Mao Han <han_mao@c-sky.com>
6357 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6358 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6359 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6360 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6361 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6362 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6363 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6364 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6365 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6366 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6367 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6368 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6369 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6370 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6371 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6372 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6373 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6374 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6375 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6376 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6377 (R_CKCORE_TLS_TPOFF32): New defines.
6379 2018-11-29 Florian Weimer <fweimer@redhat.com>
6381 * posix/Makefile (before-compile): Remove testcases.h and
6383 (generated): Add testcases.h and ptestcases.h.
6384 (testcases.h, ptestcases.h): Move to $(objpfx).
6385 (runtests.o): Add dependency on testcases.h.
6386 (runptests.o): Add dependency on ptestcases.h.
6387 * posix/testcases.h, posix/ptestcases.h: Remove files.
6388 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6389 not touch posix/testcases.h and posix/ptestcases.h.
6391 2018-11-28 Florian Weimer <fweimer@redhat.com>
6393 support: Add signal support to support_capture_subprocess_check.
6394 * support/capture_subprocess.h (support_capture_subprocess_check):
6395 Adjust comment and rename parameter.
6396 * support/support_capture_subprocess_check.c
6397 (print_actual_status): New function.
6398 (support_capture_subprocess_check): Support negative
6399 status_or_signal. Call print_actual_status.
6400 * support/tst-support_capture_subprocess.c (do_test): Call
6401 support_capture_subprocess_check.
6402 * libio/tst-vtables-common.c (termination_status)
6403 (init_termination_status): Remove.
6404 (check_for_termination): Adjust support_capture_subprocess_check
6406 (do_test): Remove call to init_termination_status.
6408 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6410 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6411 source directory instead of a copy.
6412 (CommandList.create_copy_dir): Remove.
6414 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6416 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6418 2018-11-28 Florian Weimer <fweimer@redhat.com>
6420 * support/support.h (support_quote_string): Do not use str
6423 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6425 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6426 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6428 2018-11-27 Florian Weimer <fweimer@redhat.com>
6430 * support/support.h (support_quote_string): Declare.
6431 * support/support_quote_string.c: New file.
6432 * support/tst-support_quote_string.c: Likewise.
6433 * support/Makefile (libsupport-routines): Add
6434 support_quote_string.
6435 (tests): Add tst-support_quote_string.
6437 2018-11-27 Florian Weimer <fweimer@redhat.com>
6441 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6442 descriptor leak in case of ENODEV error.
6444 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6447 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6448 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6451 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6453 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6454 Error for unknown lines.
6456 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6458 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6459 Touch additional files.
6461 2018-11-26 Florian Weimer <fweimer@redhat.com>
6464 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6467 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6470 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6471 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6472 SHARED. Include sysdep.h.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6474 ALWAYS_USE_VSYSCALL.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6476 ALWAYS_USE_VSYSCALL.
6478 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6481 * nptl/Makefile (tests-static): Add tst-cond11-static.
6483 * nptl/tst-cond11-static.c: New File.
6484 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6485 tst-affinity-static.
6487 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6489 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6490 (USE_VSYSCALL): Likewise.
6491 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6492 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6494 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6499 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6503 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6506 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6508 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6509 (tst-cet-legacy-1a-ARGS): New.
6510 ($(objpfx)tst-cet-legacy-1a): New target.
6511 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6513 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6515 * conform/conformtest.py (CompileSubTest.__init__): Set
6516 self.run_early to False.
6517 (ExecuteSubTest.__init__): Likewise.
6518 (HeaderTests.run): Try running all non-optional, non-XFAILed
6519 compilation tests in a single execution of the compiler.
6521 * conform/conformtest.py (CompileSubTest): New class.
6522 (ExecuteSubTest): Likewise.
6523 (ElementTest.run): Rename to gen_subtests. Append tests to
6524 self.subtests instead of running them.
6525 (ConstantTest.run): Likewise.
6526 (SymbolTest.run): Likewise.
6527 (TypeTest.run): Likewise.
6528 (TagTest.run): Likewise.
6529 (FunctionTest.run): Likewise.
6530 (VariableTest.run): Likewise.
6531 (MacroFunctionTest.run): Likewise.
6532 (MacroStrTest.run): Likewise.
6533 (HeaderTests.handle_test_line): Generate subtests for tests.
6534 (HeaderTests.run): Run subtests for tests.
6536 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6538 * math/Versions (GLIBC_2.29): Add pow.
6539 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6541 * math/w_pow.c: New file.
6542 * sysdeps/i386/fpu/w_pow.c: New file.
6543 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6545 and add necessary aliases.
6546 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6547 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6548 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6549 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6550 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6551 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6552 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6553 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6554 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6555 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6556 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6557 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6558 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6559 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6560 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6565 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6566 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6567 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6568 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6569 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6570 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6571 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6575 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6576 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6578 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6580 * math/Versions (GLIBC_2.29): Add log2.
6581 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6583 * math/w_log2.c: New file.
6584 * sysdeps/i386/fpu/w_log2.c: New file.
6585 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6586 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6587 and add necessary aliases.
6588 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6589 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6590 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6591 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6592 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6593 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6594 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6595 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6596 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6597 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6598 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6599 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6600 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6601 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6602 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6607 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6608 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6609 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6610 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6611 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6612 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6615 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6617 * math/Versions (GLIBC_2.29): Add log.
6618 * math/w_log_compat.c (__log_compat): Change to versioned compat
6620 * math/w_log.c: New file.
6621 * sysdeps/i386/fpu/w_log.c: New file.
6622 * sysdeps/ia64/fpu/e_log.S: Update.
6623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6624 and add necessary aliases.
6625 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6626 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6627 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6628 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6629 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6630 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6631 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6632 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6633 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6634 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6635 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6636 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6637 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6638 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6639 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6644 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6645 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6646 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6648 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6649 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6650 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6651 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6653 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6654 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6655 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6656 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6658 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6660 * math/Versions (GLIBC_2.29): Add exp and exp2.
6661 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6662 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6663 * math/w_exp_compat.c (__exp_compat): Likewise.
6664 * math/w_exp.c: New file.
6665 * math/w_exp2.c: New file.
6666 * sysdeps/i386/fpu/w_exp.c: New file.
6667 * sysdeps/i386/fpu/w_exp2.c: New file.
6668 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6669 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6670 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6671 and add necessary aliases.
6672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6673 and add necessary aliases.
6674 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6675 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6676 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6677 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6678 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6679 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6680 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6681 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6682 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6683 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6684 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6685 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6686 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6687 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6688 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6689 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6690 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6695 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6696 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6697 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6698 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6699 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6700 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6701 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6702 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6703 (__ieee754_exp): Rename to __exp.
6704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6705 (__ieee754_exp): Rename to __exp.
6706 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6707 (__ieee754_exp): Rename to __exp.
6708 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6710 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6712 2018-11-20 DJ Delorie <dj@redhat.com>
6714 * malloc/malloc.c (tcache_entry): Add key field.
6715 (tcache_put): Set it.
6716 (tcache_get): Likewise.
6717 (_int_free): Check for double free in tcache.
6718 * malloc/tst-tcfree1.c: New.
6719 * malloc/tst-tcfree2.c: New.
6720 * malloc/Makefile: Run the new tests.
6721 * manual/probes.texi: Document memory_tcache_double_free probe.
6723 * dlfcn/dlerror.c (check_free): Prevent double frees.
6725 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6727 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6729 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6731 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6732 in tests. Use names for format arguments.
6733 (ConstantTest.run): Likewise.
6734 (SymbolTest.run): Likewise.
6735 (TypeTest.run): Likewise.
6736 (TagTest.run): Likewise.
6737 (FunctionTest.run): Likewise.
6738 (VariableTest.run): Likewise.
6739 (MacroFunctionTest.run): Likewise.
6740 (MacroStrTest.run): Likewise.
6741 (HeaderTests.__init__): Set self.num_tests.
6742 (HeaderTests.handle_test_line): Set test.num. Increment
6745 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6747 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6748 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6751 2018-11-19 Mao Han <han_mao@c-sky.com>
6753 * scripts/config.guess: Update to version 2018-08-29.
6754 * scripts/config.sub: Update to version 2018-08-29.
6756 2018-11-19 Florian Weimer <fweimer@redhat.com>
6758 support: Print timestamps in timeout handler.
6759 * support/support_test_main.c (print_timestamp): New function.
6760 (signal_handler): Use it to print the termination time and the
6761 time of the last write to standard output.
6763 2018-11-16 Zack Weinberg <zackw@panix.com>
6764 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6766 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6767 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6769 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6770 and add flags argument. Check flags instead of __ldbl_is_dbl when
6771 deciding whether to set is_long_double.
6772 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6773 passing zero for flags argument.
6774 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6777 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6778 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6779 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6780 variable names. Remove libc_hidden_def/libc_hidden_proto from
6781 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6782 longer called from within the library.
6783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6784 for __nldbl___vstrfmon_l, declare it explicitly.
6786 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6788 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6790 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6792 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6793 F_SETLK64, F_SETLKW64, respectively.
6794 * sysdeps/mach/hurd/f_setlk.c: New file.
6795 * sysdeps/mach/hurd/f_setlk.h: New file.
6796 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6798 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6799 (__libc_fcntl): Move non-flock operations to...
6800 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6801 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6803 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6805 mktime: DEBUG_MKTIME cleanup
6806 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6807 And it’s no longer needed now that glibc and Gnulib both have
6808 their own testing mechanisms for mktime.
6809 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6811 mktime: fix non-EOVERFLOW errno handling
6813 mktime was not properly reporting failures when the underlying
6814 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6815 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6816 The problem could happen on non-glibc platforms, with Gnulib.
6817 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6818 (tm_diff): ... this simpler function, which does not change errno.
6819 All callers changed to deal with errno themselves.
6820 (ranged_convert, __mktime_internal): Return failure immediately if
6821 the underlying function reports any failure other than EOVERFLOW.
6822 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6825 mktime: fix bug with Y2038 DST transition
6827 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6828 mishandle a DST transition that jumps over the Y2038 boundary.
6829 No such DST transitions are known so this is only a theoretical
6830 bug, but we might as well do things right.
6832 mktime: make more room for overflow
6834 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6835 This is so that we can add tm_diff results to a previous guess,
6836 which will be useful in a later patch.
6838 mktime: simplify offset guess
6840 * time/mktime.c (__mktime_internal): Omit excess precision.
6842 mktime: new test for mktime failure
6844 Based on a test suggested by Albert Aribaud in:
6845 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6846 * time/Makefile (tests): Add bug-mktime4.
6847 * time/bug-mktime4.c: New file.
6849 mktime: fix EOVERFLOW bug
6851 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6852 Include libc-config.h, not config.h, for __set_errno.
6853 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6855 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6857 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6858 __attribute_copy__ to copy attributes from name. Drop static qualifier
6859 to avoid warnings about leaf attribute not having effect on static
6862 2018-11-13 Florian Weimer <fweimer@redhat.com>
6864 * malloc/malloc.c (fastbin_push_entry): New function.
6865 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6866 (REMOVE_FB): Remove macro.
6867 (_int_malloc): Use fastbin_pop_entry and reindent.
6868 (_int_free): Use fastbin_push_entry.
6869 (malloc_consolidate): Use atomic_exchange_acquire.
6871 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6873 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6874 alias attribute, not with strong_alias.
6876 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6877 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6878 with additional parameter thread.
6879 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6880 in terms of __hidden_ver2.
6881 (hidden_tls_def): New macro.
6882 (libc_hidden_tls_def): Likewise.
6883 (rtld_hidden_tls_def): Likewise.
6884 (libm_hidden_tls_def): Likewise.
6885 (libmvec_hidden_tls_def): Likewise.
6886 (libresolv_hidden_tls_def): Likewise.
6887 (librt_hidden_tls_def): Likewise.
6888 (libdl_hidden_tls_def): Likewise.
6889 (libnss_files_hidden_tls_def): Likewise.
6890 (libnsl_hidden_tls_def): Likewise.
6891 (libnss_nisplus_hidden_tls_def): Likewise.
6892 (libutil_hidden_tls_def): Likewise.
6893 (libutil_hidden_tls_def): Likweise.
6894 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6895 libc_hidden_tls_def.
6896 (__sim_disabled_exceptions_thread): Likewise.
6897 (__sim_round_mode_thread): Likewise.
6899 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6900 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6901 copy attributes from name.
6903 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6905 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6906 Use __attribute_copy__ to copy attributes from name.
6908 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6909 with __hidden_ver1 call.
6910 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6911 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6912 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6913 (__cosf): Do not declare here.
6914 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6915 (__sincosf): Do not declare here.
6916 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6917 (__sinf): Do not declare here.
6919 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6920 (__BIG_ENDIAN): Likewise.
6921 (__BYTE_ORDER): Likewise.
6922 (strong_alias): Likewise.
6923 (_strong_alias): Likewise.
6925 2018-11-12 Florian Weimer <fweimer@redhat.com>
6927 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6928 function. Move after the definition of in_smallbin_range. Do not
6929 use __builtin_expect for paths that lead to a noreturn function.
6930 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6931 because it is unclear whether this is in fact an unlikely
6933 (_int_malloc, _int_free): Adjust.
6934 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6936 * malloc/arena.c (heap_trim): Likewise.
6938 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6940 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6941 it, free it if needed.
6942 (reauthenticate): Test and use ccwdir.
6943 (child_init_port): In non-resetids case, test and use ccwdir.
6944 (child_chdir): New nested function to set ccwdir.
6945 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6946 * hurd/hurd/port.h (_hurd_port_move): New function.
6947 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6948 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6949 * hurd/Versions (_hurd_port_move): Export function.
6950 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6952 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6953 of dtablesize for allocating dtable_cloexec.
6955 2018-11-09 Martin Sebor <msebor@redhat.com>
6957 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6958 it's already defined.
6959 (_strong_alias): Use __attribute_copy__.
6960 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6961 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6962 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6963 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6964 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6965 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6966 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6967 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6968 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6969 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6970 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6971 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6972 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6973 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6974 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6975 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6976 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6977 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6978 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6980 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6982 * misc/tst-efgcvt.c: Include support/check.h and
6983 support/test-driver.c. Do not include test-skeleton.c.
6984 (error_count): Remove.
6985 (output_error): Replace increments to error_count with calls to
6986 support_record_failure.
6987 (output_r_error): Likewise.
6988 (special): Likewise.
6989 (do_test): Unconditionally return zero.
6990 (TEST_FUNCTION): Remove.
6992 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6994 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6996 ($(linknamespace-header-tests)): Likewise.
6998 * conform/conformtest.py: New file.
6999 * conform/conformtest.pl: Remove.
7000 * conform/GlibcConform.pm: Likewise.
7001 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7002 (KEYWORDS_C99): Likewise.
7003 (KEYWORDS): Likewise.
7004 * conform/Makefile ($(conformtest-header-tests)): Use
7005 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7006 option. Use --header instead of --headers.
7007 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7009 * conform/data/spawn.h-data: Likewise.
7010 * conform/data/fcntl.h-data (openat): Add space after function
7012 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7013 (wcscasecmp_l): Likewise.
7014 * conform/data/termios.h-data (c_cc): Add space after element
7017 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7019 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7020 instead of manually comparing and reporting mismatching strings.
7021 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7022 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7024 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7026 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7027 __ASSUME_SOCKETCALL.
7028 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7029 (__ASSUME_SOCKETCALL): Remove.
7030 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7031 (__ASSUME_SOCKETCALL): Likewise.
7032 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7033 (__ASSUME_SOCKETCALL): Likewise.
7034 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7035 (__ASSUME_SOCKETCALL): Likewise.
7036 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7037 (__ASSUME_SOCKETCALL): Likewise.
7038 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7039 (__ASSUME_SOCKETCALL): Likewise.
7040 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7041 (__ASSUME_SOCKETCALL): Likewise.
7043 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7046 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7047 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7048 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7049 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7050 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7053 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7056 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7058 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7061 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7062 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7063 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7064 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7066 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7068 * support/support_test_compare_string.c
7069 (support_test_compare_string): Fix printf format.
7071 2018-11-07 Florian Weimer <fweimer@redhat.com>
7073 Implement TEST_COMPARE_STRING.
7074 * support/check.h (TEST_COMPARE_STRING): Define.
7075 (support_test_compare_string): Declare.
7076 * support/Makefile (libsupport-routines): Add
7077 support_test_compare_string.
7078 (tests): Add tst-test_compare_string.
7079 * support/support_test_compare_string.c: New file.
7080 * support/tst-test_compare_string.c: Likewise.
7082 2018-11-07 Andreas Schwab <schwab@suse.de>
7085 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7086 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7089 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7092 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7093 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7094 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7095 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7098 2018-11-06 Florian Weimer <fweimer@redhat.com>
7101 * posix/Makefile (routines): Add spawn_faction_addchdir.
7102 (tests): Add tst-spawn-chdir.
7103 * posix/Versions (GLIBC_2.29): Add
7104 posix_spawn_file_actions_addchdir_np.
7105 * posix/spawn_faction_addchdir.c: New file.
7106 * posix/spawn_faction_destroy.c
7107 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7108 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7109 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7111 * posix/tst-spawn-chdir.c: New file.
7112 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7113 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7114 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7115 posix_spawn_file_actions_addchdir_np.
7116 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7118 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7120 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7121 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7123 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7125 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7127 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7129 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7131 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7133 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7134 (GLIBC_2.29): Likewise.
7135 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7136 (GLIBC_2.29): Likewise.
7137 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7138 (GLIBC_2.29): Likewise.
7139 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7140 (GLIBC_2.29): Likewise.
7141 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7144 (GLIBC_2.29): Likewise.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7146 (GLIBC_2.29): Likewise.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7148 (GLIBC_2.29): Likewise.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7150 (GLIBC_2.29): Likewise.
7151 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7153 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7155 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7157 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7158 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7160 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7162 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7167 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7169 * misc/Makefile (tests): Add tst-ldbl-error.
7170 * misc/tst-ldbl-error.c: New file.
7172 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7174 * misc/Makefile (tests): Add tst-ldbl-warn.
7175 * misc/tst-ldbl-warn.c: New file.
7177 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7179 * argp/Makefile (tests): Add tst-ldbl-argp.
7180 * argp/tst-ldbl-argp.c: New file.
7182 2018-11-05 Arjun Shankar <arjun@redhat.com>
7184 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7185 __gconv_path_elem and call __gconv_get_path unconditionally.
7187 2018-11-05 Andreas Schwab <schwab@suse.de>
7190 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7191 creating the first helper thread failed.
7193 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7195 * sysdeps/mach/hurd/msync.c: New file.
7197 2018-11-02 Florian Weimer <fweimer@redhat.com>
7199 * support/shell-container.c (copy_func): Call
7200 support_copy_file_range instead of copy_file_range to support
7201 cross-device copies.
7203 2018-11-02 Florian Weimer <fweimer@redhat.com>
7205 * support/test-container.c: Include <libc-pointer-arith.h> for
7208 2018-11-01 Zong Li <zong@andestech.com>
7210 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7211 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7212 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7213 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7215 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7216 variable to avoid overlap arguments.
7218 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7220 * posix/bug-regex22.c (main): Use puts with distinct error
7221 messages for unexpected success of re_compile_pattern, not printf
7222 with NULL argument to %s.
7224 * stdio-common/bug22.c: Include <libc-diag.h>.
7225 (do_test): Disable -Wformat-overflow= warnings around fprintf
7226 calls outputting more than INT_MAX characters.
7227 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7228 around printf call with NULL %s argument.
7231 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7232 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7234 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7235 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7236 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7237 (__ASSUME_SENDTO_SYSCALL): Likewise.
7238 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7239 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7241 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7242 (__ASSUME_CONNECT_SYSCALL): Likewise.
7243 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7244 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7245 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7247 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7249 [__LINUX_KERNEL_VERSION >= 0x040400]
7250 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7251 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7254 (setsockopt): Likewise.
7256 2018-11-01 Fredrik Noring <noring@nocrew.org>
7258 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7259 with the ISA override.
7261 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7263 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7266 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7268 * manual/errno.texi (EIEIO): Document how translators should
7269 translate the error message.
7270 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7271 printing trailing whitespaces refused by git.
7272 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7273 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7274 * hurd/Makefile (user-interfaces): Add pci.
7276 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7278 * conform/linknamespace.py: New file.
7279 * conform/linknamespace.pl: Remove file.
7280 * conform/Makefile ($(linknamespace-header-tests)): Use
7281 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7284 2018-10-30 Florian Weimer <fweimer@redhat.com>
7286 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7289 2018-10-30 Florian Weimer <fweimer@redhat.com>
7291 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7293 2018-10-30 Florian Weimer <fweimer@redhat.com>
7295 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7296 support_blob_repeat.
7298 2018-10-30 Florian Weimer <fweimer@redhat.com>
7300 Avoid spurious test failures in stdlib/test-bz22786.
7301 * support/Makefile (libsupport-routines): Add blob_repeat.
7302 (tests): Add tst-support_blob_repeat.
7303 * support/blob_repeat.h: New file.
7304 * support/blob_repeat.c: Likewise.
7305 * support/tst-support_blob_repeat.c: Likewise.
7306 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7307 support_blob_repeat_allocate.
7309 2018-10-30 Andreas Schwab <schwab@suse.de>
7312 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7313 Don't use tail call.
7314 * elf/tst-unwind-main.c: New file.
7315 * elf/Makefile (tests): Add tst-unwind-main.
7316 (CFLAGS-tst-unwind-main.c): Define.
7318 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7321 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7323 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7325 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7327 * conform/glibcconform.py: Do not import shutil.
7328 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7331 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7332 critic_missing for versions before 3.4.
7333 * configure: Regenerated.
7334 * manual/install.texi (Tools for Compilation): Document
7335 requirement for Python to build glibc.
7336 * INSTALL: Regenerated.
7337 * Rules [PYTHON]: Make code unconditional.
7338 * benchtests/Makefile [PYTHON]: Likewise.
7339 * conform/Makefile [PYTHON]: Likewise.
7340 * manual/Makefile [PYTHON]: Likewise.
7341 * math/Makefile [PYTHON]: Likewise.
7343 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7345 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7346 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7347 answer to interrupt_operation, return EIEIO instead of EINTR.
7348 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7349 _hurd_intr_rpc_msg_about_to global point to start of controlled
7350 assembly snippet. Make it check canceled flag.
7351 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7352 the _hurd_intr_rpc_msg_about_to point.
7353 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7354 issue, remove cancel flag check.
7356 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7358 * scripts/build-many-glibcs.py: Remove compatibility for missing
7359 os.cpu_count and re.fullmatch.
7361 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7364 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7365 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7366 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7368 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7370 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7373 2018-10-25 Florian Weimer <fweimer@redhat.com>
7377 XFAIL siginfo_t si_band conform test on sparc64.
7378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7379 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7380 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7381 (conformtest-xfail-conds): Add sparc64-linux.
7382 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7384 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7386 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7388 * elf/elf.h (NT_MIPS_DSP): New macro.
7389 (NT_MIPS_FP_MODE): Likewise.
7391 2018-10-25 Zong Li <zong@andestech.com>
7393 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7394 name by adding the file extension (.so).
7396 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7398 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7399 (test-xfail-ISO11/threads.h/linknamespace,
7400 test-xfail-ISO11/threads.h/conform): Add.
7402 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7404 * math/gen-libm-test.py: Import os.
7405 (ALL_FLOATS_MANUAL): New constant.
7406 (ALL_FLOATS_SUFFIX): Likewise.
7407 (Ulps.all_functions): New function.
7408 (real_all_ulps): Likewise.
7409 (generate_err_table_sub): Likewise.
7410 (generate_err_table): Likewise.
7411 (main): Handle -s and -m options.
7412 * manual/libm-err-tab.pl: Remove.
7413 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7414 instead of libm-err-tab.pl.
7415 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7417 * manual/install.texi (Tools for Compilation): Document
7418 requirement for Python to build manual.
7419 * INSTALL: Regenerated.
7421 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7423 * bits/time64.h: New file.
7424 * include/time.h: Replace internal_time_t with __time64_t.
7425 * posix/bits/types (__time64_t): Add.
7426 * stdlib/Makefile: Add bits/time64.h to includes.
7427 * time/tzfile.c: Replace internal_time_t with __time64_t.
7429 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7431 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7432 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7433 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7434 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7435 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7437 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7438 * posix/spawn_faction_addclose.c
7439 (__posix_spawn_file_actions_addclose): Add hidden definition.
7440 * posix/spawn_faction_adddup2.c
7441 (__posix_spawn_file_actions_adddup2): Likewise.
7442 * posix/spawn_faction_destroy.c
7443 (__posix_spawn_file_actions_destroy): Likewise.
7444 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7446 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7447 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7448 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7450 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7451 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7454 2018-10-24 Andreas Schwab <schwab@suse.de>
7457 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7459 * elf/cache.c (print_cache): Likewise.
7461 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7463 * bits/timesize.h: New file.
7464 * stdlib/Makefile (headers): Add bits/timesize.h.
7465 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7466 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7467 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7468 (__SEM_PAD_AFTER_TIME): Likewise.
7469 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7470 (__SHM_PAD_AFTER_TIME): Likewise.
7471 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7472 (__MSQ_PAD_BEFORE_TIME): Likewise.
7473 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7474 (__SEM_PAD_BEFORE_TIME): Likewise.
7475 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7476 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7477 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7478 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7479 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7480 (__MSQ_PAD_BEFORE_TIME): Likewise.
7481 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7482 (__SEM_PAD_BEFORE_TIME): Likewise.
7483 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7484 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7485 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7486 (__MSQ_PAD_BEFORE_TIME): Likewise.
7487 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7488 (__SEM_PAD_BEFORE_TIME): Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7490 (__SHM_PAD_BEFORE_TIME): Likewise.
7491 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7492 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7493 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7495 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7497 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7498 USE_RDTSCP is defined.
7499 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7500 USE_RDTSCP is defined.
7502 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7504 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7508 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7509 independently of other flags.
7511 2018-10-23 Florian Weimer <fweimer@redhat.com>
7513 * time/tst-mktime2.c (N_STRINGS): Remove.
7514 (set_timezone): New function.
7515 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7516 (mktime_test1): Report localtime failure and check errno value.
7518 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7519 (do_test): Remove alarm call. Use set_timezone and array_length.
7521 2018-10-23 Andreas Schwab <schwab@suse.de>
7523 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7524 (__start_context): Use END instead of PSEUDO_END.
7526 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7531 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7535 * wcsmbs/c32rtomb.c: New file.
7536 * wcsmbs/mbrtoc32.c: Likewise.
7537 * wcsmbs/tst-c32-state.c: Likewise.
7538 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7539 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7540 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7541 (tests): Add tst-c32-state.
7542 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7545 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7547 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7548 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7550 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7553 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7554 pair and return 0 in that case, and use saved character to
7555 interpret following character.
7556 * wcsmbs/tst-c16-surrogate.c: New file.
7557 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7558 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7559 Depend on $(gen-locales)
7561 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7564 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7565 (struct siginfo_t): Use correct type for si_band.
7567 2018-10-19 Florian Weimer <fweimer@redhat.com>
7570 * resource/bits/types/struct_rusage.h (struct rusage): Update
7571 comment on struct. Remove extraneous field comment.
7573 2018-10-18 David S. Miller <davem@davemloft.net>
7575 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7576 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7577 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7578 sysdep_routines in subdir elf.
7579 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7580 version for __vdso_clock_gettime.
7581 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7583 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7584 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7586 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7588 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7590 * sysdeps/i386/init-arch.h: Removed.
7591 * sysdeps/i386/i586/init-arch.h: Likewise.
7592 * sysdeps/i386/i686/init-arch.h: Likewise.
7593 * sysdeps/i386/i686/hp-timing.h: Likewise.
7594 * sysdeps/x86_64/hp-timing.h: Likewise.
7595 * sysdeps/i386/isa.h: New file.
7596 * sysdeps/i386/i586/isa.h: Likewise.
7597 * sysdeps/i386/i686/isa.h: Likewise.
7598 * sysdeps/x86_64/isa.h: Likewise.
7599 * sysdeps/x86/hp-timing.h: New file.
7600 * sysdeps/x86/init-arch.h: Include <isa.h>.
7602 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7604 * math/libm-test-pow.inc (pow_test_data): Do not allow
7605 divide-by-zero exception for pow(+/- 0, -Inf).
7607 2018-10-17 Zack Weinberg <zackw@panix.com>
7609 * manual/job.texi (Job Control is Optional): Remove node, as
7610 job control has not been optional in quite some time.
7611 (Job Control): Mention briefly that systems older than
7612 POSIX.1-2001 might not support job control.
7613 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7614 defined on systems conforming to POSIX.1-2001.
7616 2018-10-17 Arjun Shankar <arjun@redhat.com>
7619 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7621 * (__gconv_read_conf): Mark function static.
7622 * (once): New static variable.
7623 * (__gconv_load_conf): New function.
7624 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7625 * iconv/gconv_db.c (once): Remove static variable.
7626 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7628 * (__gconv_find_transform): Likewise.
7629 * iconv/tst-iconv-mt.c: New test.
7630 * iconv/Makefile: Add tst-iconv_mt.
7632 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7636 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7637 (shmatt_t): Define as __syscall_ulong_t.
7638 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7639 and [__SHM_PAD_AFTER_TIME].
7640 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7641 Define shm_segsz and associated padding based on
7642 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7643 Use __syscall_ulong_t instead of unsigned long int.
7644 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7646 [__USE_MISC] (struct shm_info): Likewise.
7647 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7648 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7649 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7650 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7652 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7653 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7654 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7655 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7656 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7657 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7661 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7662 (SHMLBA): Remove macro.
7663 (__getpagesize): Remove function declaration.
7664 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7666 (SHMLBA): Remove macro.
7667 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7669 (SHMLBA): Remove macro.
7670 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7672 (SHMLBA): Remove macro.
7673 (__getpagesize): Remove function declaration.
7674 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7676 (SHMLBA): Remove macro.
7677 (__getshmlba): Remove function declaration.
7678 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7679 (SHMLBA): Remove macro.
7680 (__getpagesize): Remove function declaration.
7681 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7682 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7683 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7684 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7685 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7686 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7687 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7689 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7692 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7695 * nptl/tst-mutex10.c: New File.
7696 * nptl/Makefile (tests): Add tst-mutex10.
7697 (tst-mutex10-ENV): New variable.
7698 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7699 Ensure that elision path is used if elision is available.
7700 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7702 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7704 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7705 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7706 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7707 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7709 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7710 (__pthread_mutex_cond_lock_adjust): Likewise.
7711 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7713 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7714 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7715 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7716 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7718 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7719 Use atomic_load_relaxed and atomic_store_relaxed.
7720 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7721 Use atomic_store_relaxed.
7723 2018-10-17 Andreas Schwab <schwab@suse.de>
7725 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7726 * crypt/badsalttest.c (TIMEOUT): Likewise.
7727 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7728 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7729 * io/test-lfs.c (TIMEOUT): Likewise.
7730 * libio/tst-atime.c (TIMEOUT): Likewise.
7731 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7732 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7733 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7734 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7735 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7736 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7737 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7738 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7739 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7740 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7741 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7742 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7743 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7744 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7745 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7746 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7747 * nptl/tst-once2.c (TIMEOUT): Likewise.
7748 * nptl/tst-once3.c (TIMEOUT): Likewise.
7749 * nptl/tst-once4.c (TIMEOUT): Likewise.
7750 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7751 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7752 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7753 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7754 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7755 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7756 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7757 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7758 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7759 * posix/tst-chmod.c (TIMEOUT): Likewise.
7760 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7761 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7762 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7763 * posix/tst-regex2.c (TIMEOUT): Likewise.
7764 * posix/tst-waitid.c (TIMEOUT): Likewise.
7765 * rt/tst-aio.c (TIMEOUT): Likewise.
7766 * rt/tst-aio10.c (TIMEOUT): Likewise.
7767 * rt/tst-aio4.c (TIMEOUT): Likewise.
7768 * rt/tst-aio5.c (TIMEOUT): Likewise.
7769 * rt/tst-aio6.c (TIMEOUT): Likewise.
7770 * rt/tst-aio64.c (TIMEOUT): Likewise.
7771 * rt/tst-aio7.c (TIMEOUT): Likewise.
7772 * rt/tst-aio9.c (TIMEOUT): Likewise.
7773 * rt/tst-clock.c (TIMEOUT): Likewise.
7774 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7775 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7776 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7777 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7778 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7779 * rt/tst-timer4.c (TIMEOUT): Likewise.
7780 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7781 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7782 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7783 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7784 * time/tst-ftime.c (TIMEOUT): Likewise.
7785 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7787 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7789 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7790 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7793 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7797 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7798 instead of <bits/wordsize.h>.
7799 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7800 and [__SEM_PAD_AFTER_TIME].
7801 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7802 __syscall_ulong_t instead of unsigned long int.
7803 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7804 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7805 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7808 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7809 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7810 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7813 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7815 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7817 regex: simplify by using intprops.h
7819 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7820 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7821 intprops.h defines them.
7823 regex: __builtin_expect → __glibc_unlikely
7825 This refactoring was prompted by a problem when the regex code is
7826 used as part of Gnulib and when the builder’s compiler does not grok
7827 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7828 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7829 Although this refactoring does not fix the problem directly,
7830 we might as well have Gawk use the now-preferred glibc style for when
7831 __builtin_expect is unavailable.
7832 * posix/regex_internal.h (BE): Remove.
7833 All uses replaced by __glibc_unlikely or __glibc_likely.
7835 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7839 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7840 instead of <bits/wordsize.h>.
7841 (msgqnum_t): Define as __syscall_ulong_t.
7842 (msglen_t): Likewise.
7843 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7844 and [__MSQ_PAD_AFTER_TIME].
7845 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7846 __syscall_ulong_t instead of unsigned long int.
7847 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7848 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7849 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7850 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7852 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7853 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7854 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7855 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7857 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7859 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7861 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7862 (struct shmid_ds): Condition padding after time fields on
7864 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7865 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7866 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7868 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7869 (struct semid_ds): Condition padding after time fields on
7871 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7872 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7873 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7874 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7876 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7877 (struct msqid_ds): Condition padding after time fields on
7879 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7880 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7881 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7882 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7884 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7886 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7888 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7890 * libio/tst-readline.c (TIMEOUT): Define.
7892 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7894 mktime fix for Gnulib + coreutils
7896 This fix affects only Gnulib. Problem discovered when
7897 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7899 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7900 Do not define since it is not used. Defining an unused static
7901 function prompts a warning from GCC when Coreutils is configured
7902 with --enable-gcc-warnings.
7904 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7906 * benchtests/scripts/compare_bench.py (main): set float type on
7909 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7912 * localedata/locales/kl_GL (mon): Update, the relative case.
7913 (alt_mon): Add, fill with month names in the nominative case.
7914 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7915 (d_fmt): Set to "%b %d %Y".
7917 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7919 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7920 <bits/mman-linux.h>.
7921 (PROT_READ): Don't define here.
7922 (PROT_WRITE): Likewise.
7923 (PROT_EXEC): Likewise.
7924 (PROT_NONE): Likewise.
7925 (PROT_GROWSDOWN): Likewise.
7926 (PROT_GROWSUP): Likewise.
7927 (MAP_SHARED): Likewise.
7928 (MAP_PRIVATE): Likewise.
7929 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7930 [__USE_MISC] (MAP_FILE): Likewise.
7931 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7932 [__USE_MISC] (MAP_ANON): Likewise.
7933 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7934 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7935 (MCL_CURRENT): Likewise.
7936 (MCL_FUTURE): Likewise.
7937 (MCL_ONFAULT): Likewise.
7938 [__USE_MISC] (MADV_NORMAL): Likewise.
7939 [__USE_MISC] (MADV_RANDOM): Likewise.
7940 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7941 [__USE_MISC] (MADV_WILLNEED): Likewise.
7942 [__USE_MISC] (MADV_DONTNEED): Likewise.
7943 [__USE_MISC] (MADV_FREE): Likewise.
7944 [__USE_MISC] (MADV_REMOVE): Likewise.
7945 [__USE_MISC] (MADV_DONTFORK): Likewise.
7946 [__USE_MISC] (MADV_DOFORK): Likewise.
7947 [__USE_MISC] (MADV_HWPOISON): Likewise.
7948 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7949 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7950 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7951 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7952 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7953 (__MAP_ANONYMOUS): New macro.
7954 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7955 <bits/mman-linux.h> inclusion.
7956 (MAP_FIXED): Likewise.
7957 (MS_SYNC): Likewise.
7958 (MS_ASYNC): Likewise.
7959 (MS_INVALIDATE): Likewise.
7960 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7961 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7962 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7963 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7964 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7965 [__USE_MISC] (MADV_DODUMP): Likewise.
7966 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7967 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7970 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7972 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7973 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7974 Add test-nldbl-redirect.
7975 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7976 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7977 $(objpfx)libnldbl_nonshared.a.
7979 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7981 * support/support.h (support_objdir_elf_ldso): New variable.
7982 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7983 * support/Makefile (CFLAGS-support_paths.c): Add definition
7984 for OBJDIR_ELF_LDSO_PATH.
7985 * support/test-container.c (main): Search for the ld.so
7986 which is also used by the testsuite.
7988 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7991 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7992 should be "sap" rather than "sab".
7993 (day): Fix spelling of Sunday, should be "sapaat" rather than
7996 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7998 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8000 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8003 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8004 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8005 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8007 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8009 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8011 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8013 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8015 (CFLAGS-elision-unlock.c): Likewise.
8016 (CFLAGS-elision-timed.c): Likewise.
8017 (CFLAGS-elision-trylock.c): Likewise.
8018 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8020 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8023 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8024 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8025 new fd_to_filename interface.
8026 * libio/freopen64.c (freopen64): Likewise.
8027 * libio/tst-memstream.h: New file.
8028 * libio/tst-memstream4.c: Likewise.
8029 * libio/tst-wmemstream4.c: Likewise.
8030 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8031 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8032 and remove internal dynamic allocation.
8034 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8037 (MREMAP_MAYMOVE): Do not define here.
8038 [__USE_GNU] (MREMAP_FIXED): Likewise.
8039 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8040 (MREMAP_MAYMOVE): Define here instead.
8041 [__USE_GNU] (MREMAP_FIXED): Likewise.
8042 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8043 (MREMAP_MAYMOVE): Remove.
8044 [__USE_GNU] (MREMAP_FIXED): Likewise.
8046 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8048 * math/fromfp.h: Do not include <math_private.h>.
8049 * math/s_cacosh_template.c: Likewise.
8050 * math/s_casin_template.c: Likewise.
8051 * math/s_casinh_template.c: Likewise.
8052 * math/s_ccos_template.c: Likewise.
8053 * math/s_cproj_template.c: Likewise.
8054 * math/s_fdim_template.c: Likewise.
8055 * math/s_fmaxmag_template.c: Likewise.
8056 * math/s_fminmag_template.c: Likewise.
8057 * math/s_iseqsig_template.c: Likewise.
8058 * math/s_ldexp_template.c: Likewise.
8059 * math/s_nextdown_template.c: Likewise.
8060 * math/w_log1p_template.c: Likewise.
8061 * math/w_scalbln_template.c: Likewise.
8062 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8063 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8064 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8065 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8066 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8067 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8068 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8069 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8070 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8071 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8072 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8073 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8074 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8075 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8076 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8077 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8078 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8083 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8084 * sysdeps/ieee754/k_standardf.c: Likewise.
8085 * sysdeps/ieee754/k_standardl.c: Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8087 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8088 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8090 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8092 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8094 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8095 * sysdeps/ieee754/s_signgam.c: Likewise.
8096 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8097 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8098 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8099 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8100 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8101 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8102 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8103 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8104 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8105 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8106 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8107 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8108 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8109 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8110 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8111 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8112 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8113 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8114 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8115 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8116 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8117 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8118 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8119 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8120 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8121 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8122 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8123 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8124 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8125 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8126 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8127 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8128 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8129 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8130 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8131 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8132 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8134 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8136 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8139 * sysdeps/i386/dl-cet.c: Removed.
8140 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8142 (_dl_runtime_profile_shstk): Likewise.
8143 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8144 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8146 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8149 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8150 do_test_with_invalid_iov): New tests.
8151 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8152 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8153 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8155 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8156 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8157 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8159 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8161 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8162 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8163 (MATH_REDIRECT_BINARY_ARGS): New macro.
8164 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8165 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8166 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8168 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8170 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8171 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8181 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8182 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8187 * sysdeps/generic/math_private_calls.h
8188 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8189 Do not declare and define as an inline function.
8190 * math/divtc3.c (__divtc3): Use copysign functions instead of
8191 __copysign variants.
8192 * math/multc3.c (__multc3): Likewise.
8193 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8194 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8195 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8196 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8198 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8199 (__ieee754_yn): Likewise.
8200 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8201 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8202 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8203 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8204 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8206 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8207 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8213 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8214 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8216 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8217 (__ieee754_ynf): Likewise.
8218 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8219 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8220 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8221 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8223 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8224 (__ieee754_ynl): Likewise.
8225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8226 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8227 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8230 (__ieee754_ynl): Likewise.
8231 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8234 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8236 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8238 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8239 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8240 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8241 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8242 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8244 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8245 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8246 using MATH_REDIRECT.
8247 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8249 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8252 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8253 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8260 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8261 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8263 (round): Redirect to __round.
8264 (__roundl): Call round instead of __round.
8265 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8267 [_ARCH_PWR5X] (__roundf): Likewise.
8268 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8269 functions instead of __round variants.
8270 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8275 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8277 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8280 (__ieee754_expl): Call roundl instead of __roundl.
8282 2018-09-27 Andreas Schwab <schwab@suse.de>
8285 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8286 (do_test): Make st1 static.
8288 2018-09-26 Andreas Schwab <schwab@suse.de>
8291 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8292 * elf/Makefile (tests): Add tst-unwind-ctor.
8293 (modules-names): Add tst-unwind-ctor-lib.
8294 ($(objpfx)tst-unwind-ctor): Depend on
8295 $(objpfx)tst-unwind-ctor-lib.so.
8297 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8299 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8300 file. Most contents moved from ....
8301 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8302 and include <bits/mman-map-flags-generic.h>.
8303 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8304 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8305 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8306 <bits/mman-map-flags-generic.h>.
8307 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8308 macros defined in <bits/mman-map-flags-generic.h>.
8309 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8310 <bits/mman-map-flags-generic.h>.
8311 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8312 defined in <bits/mman-map-flags-generic.h>.
8314 2018-09-26 Andreas Schwab <schwab@suse.de>
8316 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8319 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8320 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8321 Fangrui Song <maskray@google.com>
8324 * config.make.in (have-textrel_ifunc): New define.
8325 * configure.ac: Add check if linker supports textrel relocation with
8327 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8329 (CFLAGS-tst-ifunc-textrel.c): New rule.
8330 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8331 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8332 * elf/tst-ifunc-textrel.c: New file.
8334 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8336 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8337 <bits/procfs-prregset.h>.
8338 (prgregset_t): Define using __prgregset_t.
8339 (prfpregset_t): Define using __prfpregset_t.
8340 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8341 (sysdep_headers): Add bits/procfs-prregset.h.
8342 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8343 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8344 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8345 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8347 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8348 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8349 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8351 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8352 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8353 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8354 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8355 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8356 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8357 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8358 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8359 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8360 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8361 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8362 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8363 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8364 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8365 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8366 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8367 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8368 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8369 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8370 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8371 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8372 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8373 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8374 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8376 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8377 AArch64 version. Include <bits/procfs.h>.
8378 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8379 (sysdep_headers): Add bits/procfs.h.
8380 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8381 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8382 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8383 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8384 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8385 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8386 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8387 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8388 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8389 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8390 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8391 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8392 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8393 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8394 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8395 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8396 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8398 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8400 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8403 2018-09-25 Arjun Shankar <arjun@redhat.com>
8405 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8406 (__gconv_max_path_elem_len): Likewise.
8407 (__gconv_nmodules): Likewise.
8408 (__gconv_get_path): Likewise.
8409 (path_elem): Move to ...
8410 * iconv/gconv_conf.c: ... here.
8411 (__gconv_get_path): Mark function static.
8412 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8413 * iconv/gconv_open.c: ... here.
8415 2018-09-24 Andreas Schwab <schwab@suse.de>
8417 * scripts/haveversions.awk: New file.
8418 * Makerules ($(common-objpfx)Versions.def)
8419 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8420 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8422 * Makeconfig ($(common-objpfx)Versions.def)
8423 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8424 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8426 ($(common-objpfx)Versions.mk): New rule. Include it.
8427 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8428 Emit error if build-obsolete-nsl = yes.
8429 * manual/install.texi (Configuring and compiling): Describe
8430 --enable-obsolete-nsl as unavaiable after version 2.28.
8431 * INSTALL: Regenerate.
8433 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8435 * NEWS: Add note about new TLE support on powerpc64le.
8436 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8437 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8439 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8440 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8441 * sysdeps/powerpc/powerpc32/sysdep.h,
8442 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8443 ABORT_TRANSACTION): Remove macros.
8444 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8445 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8446 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8448 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8449 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8451 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8453 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8456 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8457 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8458 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8459 which is the same as in it_IT.
8460 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8461 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8463 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8465 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8466 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8467 using MATH_REDIRECT.
8468 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8470 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8472 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8474 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8475 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8480 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8481 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8482 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8483 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8484 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8485 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8486 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8488 (ceil): Redirect to __ceil.
8489 (floor): Redirect to __floor.
8490 (trunc): Redirect to __trunc.
8491 (__truncl): Call trunc instead of __trunc.
8492 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8494 [_ARCH_PWR5X] (__truncf): Likewise.
8495 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8496 trunc functions instead of __trunc variants.
8497 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8499 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8501 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8503 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8506 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8507 [__i586__ || __pentium__].
8508 [__i486__]: Handle explicitly.
8509 (HAS_CPUID): Define to 1 if above macros are undefined.
8510 (HAS_I586): Likewise.
8511 (HAS_I686): Likewise.
8513 2018-09-20 Florian Weimer <fweimer@redhat.com>
8515 * misc/tst-gethostid.c: New file.
8516 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8517 (tst-gethostid): Link with -ldl.
8519 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8521 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8522 value from gethostbyname_r.
8524 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8526 * stdlib/tst-setcontext9.c (f1): Rename to...
8528 (f1b): New function implementing lower half of f1 in alternate stack.
8530 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8532 Fix mktime localtime offset confusion
8534 * include/time.h (__mktime_internal): The localtime offset is now
8535 of type long int instead of time_t. This is the longstanding type
8536 in glibc, and it is more than enough to represent difference
8537 between localtime and gmtime even if it is 32 bits and time_t is
8538 64. Changing it now will let us avoid an unnecessary change when
8539 time_t is widened to 64 bits on 32-bit platforms.
8540 * time/mktime-internal.h (mktime_offset_t): Now long int.
8542 Merge mktime, timegm from upstream Gnulib
8543 [BZ #23603][BZ #16346]
8544 This fixes some obscure problems with integer overflow.
8545 Although it looks scary, it is almost all a byte-for-byte copy
8546 from Gnulib, and the Gnulib code has been tested reasonably well.
8547 * include/intprops.h: New file, copied from Gnulib.
8548 * include/verify.h, time/mktime-internal.h:
8549 New tiny files, simplified from Gnulib.
8550 * time/mktime.c: Copy from Gnulib. This has the following changes:
8551 Do not include config.h if DEBUG_MKTIME is nonzero.
8552 Include stdbool.h, intprops.h, verify.h.
8553 Include string.h only if needed.
8554 Include stdlib.h on MS-Windows.
8555 Include mktime-internal.h.
8556 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8557 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8558 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8559 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8560 simplify later conditionals; default the others to zero. Use
8561 these conditionals to express only the code needed on the current
8562 platform. In uses of these conditionals, explicitly spell out how
8563 _LIBC affects things, so it’s easier to review from a glibc
8565 (WRAPV): Remove; no longer needed now that we have
8566 systematic overflow checking.
8567 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8568 compartmentalize tzset issues. Move system-dependent tzsettish
8569 code here from mktime.
8570 (verify): Remove; now done by verify.h. All uses changed.
8571 (long_int): Use a more-conservative definition, to avoid
8573 (SHR): Remove, replacing with ...
8574 (shr): New function, which means we needn’t worry about side
8575 effects in args, and conversion analysis is simpler.
8576 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8577 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8578 (time_t_avg, time_t_add_ok): Remove.
8579 (mktime_min, mktime_max): New constants.
8580 (leapyear, isdst_differ): Use bool for booleans.
8581 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8582 Use long_int, not time_t, for mktime differences.
8583 (long_int_avg): New function, replacing time_t_avg.
8584 INT_ADD_WRAPV replaces time_t_add_ok.
8585 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8587 (convert_time): New function.
8588 (ranged_convert): Use it.
8589 (__mktime_internal): Last arg now points to mktime_offset_t, not
8590 time_t. All uses changed. This is a no-op on glibc, where
8591 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8592 offset guess. Directly check for integer overflow instead of
8593 using a heuristic that works only 99.9...% of the time.
8594 Access *OFFSET only once, to avoid an unlikely race if the
8595 compiler delays a load and if this cascades into a signed integer
8597 (mktime): Move tzsettish code to my_tzset, and move
8598 localtime_offset to within mktime so that it doesn’t
8599 need a separate ifdef.
8600 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8601 instead of localtime.
8602 * time/timegm.c: Copy from Gnulib. This has the following changes:
8603 Include mktime-internal.h.
8604 [!_LIBC]: Include config.h and time.h. Do not include
8605 timegm.h or time_r.h. Make __mktime_internal a macro,
8606 and include mktime-internal.h to get its declaration.
8607 (timegm): Temporary is now mktime_offset_t, not time_t.
8608 This affects only Gnulib.
8610 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8613 * string/test-strstr.c (pr23637): New function.
8614 (test_main): Add tests with longer needles.
8615 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8616 * string/strstr.c (AVAILABLE): Likewise.
8618 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8620 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8622 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8624 * NEWS: Mention pow improvements.
8625 * math/Makefile (type-double-routines): Add e_pow_log_data.
8626 * sysdeps/generic/math_private.h (__exp1): Remove.
8627 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8628 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8629 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8631 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8632 (exp_inline): Remove.
8633 (__ieee754_exp): Only single double input is handled.
8634 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8635 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8636 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8637 (__pow_log_data): Define.
8638 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8639 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8640 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8641 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8643 (CFLAGS-e_pow-fma4.c): Likewise.
8645 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8647 Simplify tzfile fstat failure code
8649 * time/tzfile.c (__tzfile_read): Simplify slightly.
8651 Fix tzfile low-memory assertion failure
8653 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8654 when registering time zone abbreviations.
8656 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8658 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8659 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8660 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8661 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8662 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8663 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8664 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8665 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8666 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8670 (__ceill): Call ceil instead of __ceil.
8671 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8673 (__floorl): Call floor instead of __floor.
8675 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8677 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8678 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8679 using MATH_REDIRECT.
8680 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8682 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8685 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8686 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8689 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8694 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8695 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8698 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8699 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8700 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8702 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8703 functions instead of __ceil variants.
8704 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8705 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8709 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8712 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8713 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8716 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8718 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8719 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8720 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8721 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8722 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8723 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8724 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8725 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8726 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8727 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8728 (ILL_BADIADDR): Remove constant.
8729 (TRAP_BRANCH): Likewise.
8730 (TRAP_HWBKPT): Likewise.
8732 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8735 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8736 Remove [_MIPS_SIM = _ABIN32] conditional case.
8737 (struct elf_prpsinfo): Likewise.
8740 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8741 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8742 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8744 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8745 elf_prpsinfo): Likewise.
8746 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8747 elf_prpsinfo): Likewise.
8748 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8751 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8752 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8753 using MATH_REDIRECT.
8754 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8756 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8757 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8758 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8759 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8762 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8763 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8766 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8767 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8768 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8769 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8770 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8771 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8772 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8773 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8774 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8779 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8780 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8781 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8782 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8784 * math/e_scalbf.c (invalid_fn): Likewise.
8785 * math/e_scalbl.c (invalid_fn): Likewise.
8786 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8788 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8790 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8791 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8796 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8798 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8799 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8801 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8802 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8804 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8805 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8806 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8807 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8808 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8809 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8810 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8811 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8812 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8813 && !NO_MATH_REDIRECT] (floor): Likewise.
8814 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8816 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8819 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8820 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8823 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8828 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8829 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8832 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8833 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8834 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8836 [_ARCH_PWR5X] (__floorf): Likewise.
8837 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8839 [__SSE4_1__] (__floorf): Likewise.
8840 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8841 instead of __floor variants.
8842 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8843 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8844 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8845 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8846 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8847 * math/w_tgamma_compat.c (__tgamma): Likewise.
8848 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8849 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8850 * math/w_tgammal_compat.c (__tgammal): Likewise.
8851 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8854 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8855 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8856 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8857 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8859 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8860 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8862 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8868 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8871 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8872 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8873 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8875 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8877 * elf/Makefile (modules-names-tests): New variable.
8879 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8881 * NEWS: Mention log2 improvements.
8882 * math/Makefile (type-double-routines): Add e_log2_data.
8883 * sysdeps/i386/fpu/e_log2_data.c: New file.
8884 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8885 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8886 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8887 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8888 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8889 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8891 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8893 * NEWS: Mention log improvement.
8894 * math/Makefile (type-double-routines): Add e_log_data.
8895 * sysdeps/i386/fpu/e_log_data.c: New file.
8896 * sysdeps/ia64/fpu/e_log_data.c: New file.
8897 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8898 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8899 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8900 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8901 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8902 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8904 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8905 Xuepeng Guo <xuepeng.guo@intel.com>
8908 * sysdeps/i386/start.S: Include <sysdep.h>
8909 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8910 enabled. Add cfi_undefined (eip).
8912 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8914 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8916 (EXTRACT_WORDS64): Likewise.
8917 (INSERT_WORDS64): Likewise.
8918 (GET_FLOAT_WORD): Likewise.
8919 (SET_FLOAT_WORD): Likewise.
8921 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8923 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8924 build, but not for second build if --full-gcc. Use
8925 --enable-languages=all for second build if --full-gcc.
8926 (get_parser): Add --full-gcc option.
8927 (main): Update call to Context.
8929 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8932 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8933 Single Quotation Mark).
8934 (thousands_sep): Likewise.
8935 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8936 * localedata/locales/it_IT (thousands_sep): Use ".".
8937 (grouping): Use "3;3".
8939 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8941 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8942 x86_64 and i686 configs using --enable-obsolete-rpc
8943 --enable-obsolete-nsl.
8945 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8947 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8949 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8951 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8952 Increment size of new_argv by one.
8954 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8957 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8958 * localedata/locales/ar_IN (d_fmt): Likewise.
8959 * localedata/locales/bhb_IN (d_fmt): Likewise.
8960 * localedata/locales/bho_IN (d_fmt): Likewise.
8961 * localedata/locales/bn_BD (d_fmt): Likewise.
8962 * localedata/locales/bn_IN (d_fmt): Likewise.
8963 * localedata/locales/doi_IN (d_fmt): Likewise.
8964 * localedata/locales/gu_IN (d_fmt): Likewise.
8965 * localedata/locales/hi_IN (d_fmt): Likewise.
8966 * localedata/locales/hne_IN (d_fmt): Likewise.
8967 * localedata/locales/kn_IN (d_fmt): Likewise.
8968 * localedata/locales/mag_IN (d_fmt): Likewise.
8969 * localedata/locales/mai_IN (d_fmt): Likewise.
8970 * localedata/locales/mjw_IN (d_fmt): Likewise.
8971 * localedata/locales/ml_IN (d_fmt): Likewise.
8972 * localedata/locales/mni_IN (d_fmt): Likewise.
8973 * localedata/locales/mr_IN (d_fmt): Likewise.
8974 * localedata/locales/pa_IN (d_fmt): Likewise.
8975 * localedata/locales/raj_IN (d_fmt): Likewise.
8976 * localedata/locales/sat_IN (d_fmt): Likewise.
8977 * localedata/locales/sd_IN (d_fmt): Likewise.
8978 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8979 * localedata/locales/ta_IN (d_fmt): Likewise.
8980 * localedata/locales/ta_LK (d_fmt): Likewise.
8981 * localedata/locales/tcy_IN (d_fmt): Likewise.
8982 * localedata/locales/ur_IN (d_fmt): Likewise.
8984 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8985 * localedata/locales/ks_IN (d_fmt): Likewise.
8986 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8988 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8989 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8990 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8991 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8993 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8995 * NEWS: Mention exp and exp2 improvements.
8996 * math/Makefile (libm-support): Remove t_exp.
8997 (type-double-routines): Add math_err and e_exp_data.
8998 * sysdeps/aarch64/libm-test-ulps: Update.
8999 * sysdeps/arm/libm-test-ulps: Update.
9000 * sysdeps/i386/fpu/e_exp_data.c: New file.
9001 * sysdeps/i386/fpu/math_err.c: New file.
9002 * sysdeps/i386/fpu/t_exp.c: Remove.
9003 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9004 * sysdeps/ia64/fpu/math_err.c: New file.
9005 * sysdeps/ia64/fpu/t_exp.c: Remove.
9006 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9007 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9008 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9010 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9011 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9012 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9013 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9014 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9015 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9016 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9017 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9018 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9019 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9023 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9025 * sysdeps/alpha/fpu/math_private.h: Remove.
9027 * sysdeps/generic/math_private.h
9028 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9029 Move this inline function ....
9030 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9031 * include/math.h [!_ISOMAC]: To here....
9033 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9035 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9037 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9038 * include/fenv.h [!_ISOMAC]: ... to here.
9039 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9040 (feraiseexcept): Likewise.
9041 * math/fromfp.h: Do not include <fenv_private.h>.
9042 * math/s_cexp_template.c: Likewise.
9043 * math/s_csin_template.c: Likewise.
9044 * math/s_csinh_template.c: Likewise.
9045 * math/s_ctan_template.c: Likewise.
9046 * math/s_ctanh_template.c: Likewise.
9047 * math/s_iseqsig_template.c: Likewise.
9048 * math/w_acos_compat.c: Likewise.
9049 * math/w_acosf_compat.c: Likewise.
9050 * math/w_acosl_compat.c: Likewise.
9051 * math/w_asin_compat.c: Likewise.
9052 * math/w_asinf_compat.c: Likewise.
9053 * math/w_asinl_compat.c: Likewise.
9054 * math/w_j0_compat.c: Likewise.
9055 * math/w_j0f_compat.c: Likewise.
9056 * math/w_j0l_compat.c: Likewise.
9057 * math/w_j1_compat.c: Likewise.
9058 * math/w_j1f_compat.c: Likewise.
9059 * math/w_j1l_compat.c: Likewise.
9060 * math/w_jn_compat.c: Likewise.
9061 * math/w_jnf_compat.c: Likewise.
9062 * math/w_log10_compat.c: Likewise.
9063 * math/w_log10f_compat.c: Likewise.
9064 * math/w_log10l_compat.c: Likewise.
9065 * math/w_log2_compat.c: Likewise.
9066 * math/w_log2f_compat.c: Likewise.
9067 * math/w_log2l_compat.c: Likewise.
9068 * math/w_log_compat.c: Likewise.
9069 * math/w_logf_compat.c: Likewise.
9070 * math/w_logl_compat.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9076 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9077 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9078 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9079 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9080 * sysdeps/ieee754/k_standardl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9098 * math/w_ilogb_template.c: Include <fenv.h> instead of
9100 * math/w_llogb_template.c: Likewise.
9101 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9104 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9106 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9107 * math/fromfp.h: Include <fenv_private.h>.
9108 * math/math-narrow.h: Likewise.
9109 * math/s_cexp_template.c: Likewise.
9110 * math/s_csin_template.c: Likewise.
9111 * math/s_csinh_template.c: Likewise.
9112 * math/s_ctan_template.c: Likewise.
9113 * math/s_ctanh_template.c: Likewise.
9114 * math/s_iseqsig_template.c: Likewise.
9115 * math/w_acos_compat.c: Likewise.
9116 * math/w_acosf_compat.c: Likewise.
9117 * math/w_acosl_compat.c: Likewise.
9118 * math/w_asin_compat.c: Likewise.
9119 * math/w_asinf_compat.c: Likewise.
9120 * math/w_asinl_compat.c: Likewise.
9121 * math/w_ilogb_template.c: Likewise.
9122 * math/w_j0_compat.c: Likewise.
9123 * math/w_j0f_compat.c: Likewise.
9124 * math/w_j0l_compat.c: Likewise.
9125 * math/w_j1_compat.c: Likewise.
9126 * math/w_j1f_compat.c: Likewise.
9127 * math/w_j1l_compat.c: Likewise.
9128 * math/w_jn_compat.c: Likewise.
9129 * math/w_jnf_compat.c: Likewise.
9130 * math/w_llogb_template.c: Likewise.
9131 * math/w_log10_compat.c: Likewise.
9132 * math/w_log10f_compat.c: Likewise.
9133 * math/w_log10l_compat.c: Likewise.
9134 * math/w_log2_compat.c: Likewise.
9135 * math/w_log2f_compat.c: Likewise.
9136 * math/w_log2l_compat.c: Likewise.
9137 * math/w_log_compat.c: Likewise.
9138 * math/w_logf_compat.c: Likewise.
9139 * math/w_logl_compat.c: Likewise.
9140 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9141 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9142 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9143 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9168 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9169 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9170 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9171 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9172 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9173 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9174 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9175 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9176 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9177 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9178 * sysdeps/ieee754/k_standardl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9204 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9215 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9216 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9217 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9218 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9219 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9220 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9221 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9222 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9223 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9224 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9225 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9226 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9227 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9228 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9229 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9230 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9231 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9232 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9233 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9234 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9235 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9236 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9237 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9238 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9239 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9240 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9241 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9242 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9243 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9244 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9245 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9246 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9247 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9248 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9249 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9251 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9254 * include/stdio.h (__libc_fatal): Mention newline in comment.
9255 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9256 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9258 * nss/nsswitch.c (__nss_next2): Likewise.
9259 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9260 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9261 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9262 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9263 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9264 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9265 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9266 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9267 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9268 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9269 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9270 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9271 (__netlink_assert_response): Likewise.
9273 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9275 * conform/glibcconform.py: New file.
9276 * conform/list-header-symbols.py: Likewise.
9277 * conform/list-header-symbols.pl: Remove.
9278 * conform/Makefile (tests-special): Only add linknamespace tests
9280 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9282 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9285 * support/Makefile (libsupport-routines): Add
9286 support_copy_file_range and xcopy_file_range.
9287 * support/support.h: Include <sys/types.h>.
9288 (support_copy_file_range): New prototype.
9289 * support/support_copy_file_range.c: New file. Copied and
9290 modified from io/copy_file_range-compat.c.
9291 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9292 instead of copy_file_range.
9293 * support/xcopy_file_range.c: New file.
9294 * support/xunistd.h (xcopy_file_range): New prototype.
9296 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9298 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9299 xpthread_create and xpthread_join.
9301 2018-08-30 Florian Weimer <fweimer@redhat.com>
9303 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9305 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9307 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9310 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9312 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9313 and minus_oflow as non-finite.
9315 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9317 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9318 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9319 moved to fenv_private.h except for ...
9320 (TOINT_INTRINSICS): Kept in math_private.h.
9321 (roundtoint): Likewise.
9322 (converttoint): Likewise.
9323 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9324 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9325 * sysdeps/arm/math_private.h: Remove.
9326 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9328 * sysdeps/generic/math_private.h: ... this file. Include
9329 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9330 Include <fenv_private.h>. Remove functions and macros moved to
9332 * sysdeps/i386/fpu/math_private.h: Remove.
9333 * sysdeps/mips/math_private.h: Move to ....
9334 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9335 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9336 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9337 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9338 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9339 * sysdeps/powerpc/fpu/math_private.h: Do not include
9341 * sysdeps/riscv/rvf/math_private.h: Move to ....
9342 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9343 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9345 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9346 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9347 * sysdeps/sparc/fpu/math_private.h: Remove.
9348 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9349 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9350 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9352 * sysdeps/x86_64/fpu/math_private.h: Do not include
9353 <sysdeps/i386/fpu/fenv_private.h>.
9355 2018-08-28 Florian Weimer <fweimer@redhat.com>
9358 * posix/tst-regcomp-truncated.c: New file.
9359 * posix/Makefile (tests): Add it.
9360 (tst-regcomp-truncated.out): Depend on generated locales.
9362 2018-08-28 Florian Weimer <fweimer@redhat.com>
9364 * support/test-container.c (main): Treat unshare failure with
9365 EPERM as an unsupported test.
9367 2018-08-28 Florian Weimer <fweimer@redhat.com>
9370 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9371 * nscd/netgroupcache.c
9372 (addgetnetgrentX): Add tofreep parameter. Do not free
9373 heap-allocated buffer.
9374 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9375 (addgetnetgrentX_ignore): New function.
9376 (addgetnetgrent): Call it.
9377 (readdgetnetgrent): Likewise.
9379 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9381 * string/memmem.c: Use memcmp for first match.
9383 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9386 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9388 2018-08-27 DJ Delorie <dj@redhat.com>
9390 * support/Makefile (others): Don't list programs explicitly as a
9391 dependency of "others".
9393 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9395 * sysdeps/generic/math-tests-trap-force.h: New file.
9396 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9397 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9398 * sysdeps/powerpc/math-tests.h: Remove file.
9399 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9401 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9402 Torvald Riegel <triegel@redhat.com>
9405 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9406 Update r to include the set wake-request flag if waiters are
9407 remaining after spinning.
9409 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9413 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9416 regex: fix uninitialized memory access
9417 I introduced this bug into gnulib in commit
9418 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9419 eventually it was merged into glibc. The bug was found by
9420 project-repo <bugs@feusi.co> and reported here:
9421 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9422 Diagnosis and draft fix reported by Assaf Gordon here:
9423 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9424 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9425 * posix/regex_internal.c (build_wcs_upper_buffer):
9426 Fix bug when mbrtowc returns 0.
9428 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9430 * po/be.po: Update translation.
9432 2018-08-24 DJ Delorie <dj@delorie.com>
9434 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9437 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9440 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9441 create temporary files in source tree.
9443 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9445 * sysdeps/generic/math-tests-trap.h: New file.
9446 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9447 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9448 * sysdeps/aarch64/math-tests.h: Remove file.
9449 * sysdeps/arm/math-tests.h: Likewise.
9450 * sysdeps/riscv/math-tests.h: Likewise.
9451 * sysdeps/aarch64/math-tests-trap.h: New file.
9452 * sysdeps/arm/math-tests-trap.h: Likewise.
9453 * sysdeps/riscv/math-tests-trap.h: Likewise.
9455 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9457 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9458 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9459 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9460 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9461 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9462 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9466 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9467 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9468 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9469 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9470 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9471 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9472 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9473 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9474 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9476 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9478 * sysdeps/generic/math-tests-exceptions.h: New file.
9479 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9480 (EXCEPTION_TESTS_float): Do not define here.
9481 (EXCEPTION_TESTS_double): Likewise.
9482 (EXCEPTION_TESTS_long_double): Likewise.
9483 (EXCEPTION_TESTS_float128): Likewise.
9484 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9486 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9487 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9488 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9489 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9490 * sysdeps/mips/math-tests.h: Likewise.
9491 * sysdeps/nios2/math-tests.h: Likewise.
9492 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9493 (EXCEPTION_TESTS_float): Do not define here.
9494 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9495 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9496 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9498 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9500 * NEWS: Move optimized sinf entry to 2.29.
9502 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9504 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9506 2018-08-22 DJ Delorie <dj@redhat.com>
9508 * Makefile (testroot.pristine): New rules to initialize the
9509 test-in-container "testroot".
9510 * Makerules (all-testsuite): Add tests-container.
9511 * Rules (tests-expected): Add tests-container.
9512 (binaries-all-tests): Likewise.
9513 (tests-container): New, run these tests in the testroot container.
9514 * support/Makefile (others): Add *-container, support_paths.c,
9515 xmkdirp, and links-dso-program.
9516 * support/links-dso-program-c.c: New.
9517 * support/links-dso-program.cc: New.
9518 * support/test-container.c: New.
9519 * support/shell-container.c: New.
9520 * support/echo-container.c: New.
9521 * support/true-container.c: New.
9522 * support/xmkdirp.c: New.
9523 * support/xsymlink.c: New.
9524 * support/support_paths.c: New.
9525 * support/support.h: Add support paths prototypes.
9526 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9528 * nss/tst-nss-test3.c: Convert to test-in-container.
9529 * nss/tst-nss-test3.root/: New.
9531 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9533 regex: port Gnulib code to z/OS POSIX environment
9534 Problem reported by Arnold Robbins in:
9535 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9536 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9539 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9541 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9542 (ROUNDING_TESTS_double): Remove.
9543 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9544 (ROUNDING_TESTS_double): Remove.
9545 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9546 (ROUNDING_TESTS_double): Remove.
9547 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9548 (ROUNDING_TESTS_float): Remove.
9549 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9550 (ROUNDING_TESTS_float): Remove.
9551 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9552 (ROUNDING_TESTS_float): Remove.
9553 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9555 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9556 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9558 * sysdeps/generic/math-tests-rounding.h: New file.
9559 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9560 (ROUNDING_TESTS_float): Do not define here.
9561 (ROUNDING_TESTS_double): Likewise.
9562 (ROUNDING_TESTS_long_double): Likewise.
9563 (ROUNDING_TESTS_float128): Likewise.
9564 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9565 (ROUNDING_TESTS_double): Undefine before defining.
9566 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9567 (ROUNDING_TESTS_double): Undefine before defining.
9568 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9569 (ROUNDING_TESTS_double): Undefine before defining.
9570 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9571 (ROUNDING_TESTS_float): Undefine before defining.
9572 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9573 (ROUNDING_TESTS_float): Undefine before defining.
9574 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9575 (ROUNDING_TESTS_float): Undefine before defining.
9576 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9577 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9579 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9580 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9581 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9582 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9583 (ROUNDING_TESTS_float): Do not define here.
9584 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9585 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9586 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9587 (ROUNDING_TESTS_float): Likewise.
9588 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9589 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9590 * sysdeps/mips/math-tests.h [__mips_soft_float]
9591 (ROUNDING_TESTS_float): Likewise.
9592 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9593 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9594 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9595 (ROUNDING_TESTS_double): Likewise.
9596 (ROUNDING_TESTS_long_double): Likewise.
9598 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9600 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9601 (PF_XDP): New macro.
9602 (AF_XDP): New macro.
9603 (SOL_XDP): New macro.
9605 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9607 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9608 (TCP_INQ): Likewise.
9609 (TCP_CM_INQ): Likewise.
9610 (TCP_REPAIR_ON): Likewise.
9611 (TCP_REPAIR_OFF): Likewise.
9612 (TCP_REPAIR_OFF_NO_WP): Likewise.
9613 (struct tcp_zerocopy_receive): New type.
9615 2018-08-21 Florian Weimer <fweimer@redhat.com>
9617 * support/support.h (support_descriptor_supports_holes): Declare.
9618 * support/Makefile (libsupport-routines): Add
9619 support_descriptor_supports_holes.
9620 * support/support_descriptor_supports_holes.c: New file.
9621 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9622 and stop testing if holes are not supported.
9623 * io/test-lfs.c (do_prepare): Likewise.
9624 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9626 * timezone/tst-tzset.c (create_tz_file): Likewise.
9627 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9629 (do_prepare): Set it.
9630 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9632 2018-08-21 Florian Weimer <fweimer@redhat.com>
9635 * Makeconfig (+cflags): Do not sort (and deduplicate).
9637 2018-08-21 Florian Weimer <fweimer@redhat.com>
9639 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9640 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9642 2018-08-20 Florian Weimer <fweimer@redhat.com>
9644 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9645 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9647 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9649 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9650 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9651 and ssi_arch members.
9653 * elf/elf.c (NT_VMCOREDD): New macro.
9654 (AT_MINSIGSTKSZ): Likewise.
9656 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9659 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9660 s_cosf-ppc64 and s_cosf-power8.
9661 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9662 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9663 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9664 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9671 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9672 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9674 2018-08-17 Florian Weimer <fweimer@redhat.com>
9676 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9678 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9680 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9682 2018-08-16 Florian Weimer <fweimer@redhat.com>
9684 * configure.ac: Add --with-nonshared-cflags option.
9685 * config.make.in (extra-nonshared-cflags): Set variable.
9686 * Makeconfig (CFLAGS-.oS): Use it.
9687 * manual/install.texi (Configuring and compiling): Document
9688 --with-nonshared-cflags.
9689 * configure: Regenerate.
9690 * INSTALL: Likewise.
9692 2018-08-16 Florian Weimer <fweimer@redhat.com>
9694 * Makeconfig (ASFLAGS): Always append required assembler flags.
9696 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9698 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9699 (malloc_consolidate): Likewise.
9701 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9703 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9705 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9707 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9710 * benchtests/bench-strlen.c: Print performance numbers in json.
9712 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9714 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9715 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9716 only for little endian.
9717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9718 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9719 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9720 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9721 Add check for little endian.
9722 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9723 (__strcmp_power9): Add check for little endian.
9724 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9725 Add check for little endian.
9726 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9727 (__strncmp_power9): Add check for little endian.
9728 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9729 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9730 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9731 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9732 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9734 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9736 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9737 [!STRLEN](STRLEN): Set to __strlen.
9738 * sysdeps/aarch64/multiarch/strlen.c: New file.
9739 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9740 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9741 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9742 (__libc_ifunc_impl_list): Add strlen.
9743 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9744 strlen_generic and strlen_asimd.
9746 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9748 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9749 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9750 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9752 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9754 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9756 2018-08-14 Florian Weimer <fweimer@redhat.com>
9759 * include/stdio.h (__vfxprintf): Declare.
9760 * stdio-common/fxprintf.c (__vfxprintf): New function.
9761 (__fxprintf): Call it.
9762 * misc/err.c (convert_and_print): Remove function.
9763 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9764 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9765 * misc/Makefile (tests): Add tst-warn-wide.
9766 * misc/tst-warn-wide.c: New file.
9768 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9769 Szabolcs Nagy <szabolcs.nagy@arm.com>
9771 * NEWS: Mention sinf, cosf, sincosf.
9772 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9773 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9774 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9775 constants rather than including generic sincosf.h.
9776 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9777 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9778 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9779 (reduced_cos): Remove.
9780 (sinf_poly): New function.
9781 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9783 2018-08-14 Florian Weimer <fweimer@redhat.com>
9787 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9788 processing, bail out if no room, and close the stream before
9790 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9791 (tst-nss-files-alias-leak): Link with libdl.
9792 (tst-nss-files-alias-leak.out): Depend on nss_files.
9794 * nss/tst-nss-files-alias-leak.c: New file.
9796 2018-08-14 Florian Weimer <fweimer@redhat.com>
9798 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9799 server_user, stat_user.
9801 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9803 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9805 (io_pgetevents): New syscall.
9808 * manual/install.texi (Configuring and compiling): Do not list
9809 tools used for testing pretty printers here.
9810 (Tools for Compilation): List Python, PExpect and GDB here.
9811 Update descriptions of uses of Perl and Python.
9812 * INSTALL: Regenerate.
9814 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9817 2018-08-13 Florian Weimer <fweimer@redhat.com>
9819 * misc/error.c (error): Add missing va_end call.
9820 (error_at_line): Likewise.
9822 2018-08-13 Florian Weimer <fweimer@redhat.com>
9824 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9826 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9828 * benchtests/scripts/benchout.schema.json (properties): Add
9831 * benchtests/bench-skeleton.c (main): Add duration and
9832 iterations attributes.
9834 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9836 regex: Gnulib unibyte RRI uses bytes not chars
9837 Adjust the non-glibc code to agree with what Gawk needs for
9838 rational range interpretation (RRI) for regular expression ranges.
9839 In unibyte locales, Gawk wants ranges to use the underlying byte
9840 rather than the character code point. This change does not affect
9842 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9843 In unibyte locales, use the byte value rather than
9844 running it through btowc.
9846 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9848 * sysdeps/generic/math-tests-snan.h: New file.
9849 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9850 (SNAN_TESTS_float): Do not define here.
9851 (SNAN_TESTS_double): Likewise.
9852 (SNAN_TESTS_long_double): Likewise.
9853 (SNAN_TESTS_float128): Likewise.
9854 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9855 * sysdeps/i386/fpu/math-tests.h: Remove file.
9856 * sysdeps/ia64/math-tests-snan.h: New file.
9857 * sysdeps/ia64/math-tests.h: Remove file.
9858 * sysdeps/x86/math-tests.h: Likewise.
9859 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9861 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9862 Szabolcs Nagy <szabolcs.nagy@arm.com>
9864 * math/Makefile: Add s_sincosf_data.c.
9865 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9866 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9867 (sincosf_poly): Likewise.
9868 (reduce_small): Likewise.
9869 (reduce_large): Likewise.
9870 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9871 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9872 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9873 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9875 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9876 Szabolcs Nagy <szabolcs.nagy@arm.com>
9878 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9879 (converttoint): Use lround.
9880 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9881 document the semantics when TOINT_INTRINSICS is set.
9882 (converttoint): Likewise.
9883 (TOINT_RINT): Remove.
9884 (TOINT_SHIFT): Remove.
9885 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9888 2018-08-10 Florian Weimer <fweimer@redhat.com>
9891 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9893 (__old_getdents64): Use getdents64. Convert entries without
9895 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9896 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9897 tst-readdir64-compat.
9899 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9901 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9904 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9906 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9907 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9908 code to s390x-mcount.h and #include it.
9909 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9910 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9913 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9915 * stdlib/Versions: Remove __fentry__.
9916 * sysdeps/i386/Versions: Add __fentry__.
9917 * sysdeps/x86_64/Versions: Add __fentry__.
9919 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9921 * sysdeps/s390/Makefile: Register the new tests.
9922 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9923 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9924 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9925 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9926 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9927 * sysdeps/s390/tst-dl-runtime.c: New file.
9929 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9931 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9934 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9936 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9939 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9941 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9944 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9946 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9949 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9951 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9952 Use symbolic offsets for stack variables.
9954 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9956 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9957 Use symbolic offsets for stack variables.
9959 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9961 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9962 Use symbolic offsets for stack variables.
9964 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9966 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9967 Use symbolic offsets for stack variables.
9969 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9971 * math/gen-libm-test.py: New file.
9972 * math/gen-libm-test.pl: Remove.
9973 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9974 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9976 ($(libm-test-c-noauto-obj)): Likewise.
9977 ($(libm-test-c-auto-obj)): Likewise.
9978 ($(libm-test-c-narrow-obj)): Likewise.
9979 (regen-ulps): Likewise.
9980 * math/README.libm-test: Update references to gen-libm-test.pl.
9981 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9982 referencing gen-libm-test.pl.
9983 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9984 * math/libm-test-support.c: Likewise.
9985 * math/libm-test-support.h: Likewise.
9986 * sysdeps/generic/libm-test-ulps: Likewise.
9988 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9990 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9993 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9995 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9996 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9998 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10000 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10002 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10003 __pthread_setspecific): Add hidden proto.
10004 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10005 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10007 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10009 * benchtests/bench-string.h (buf1_size, buf2_size): New
10011 (init_sizes): New function.
10012 (test_init): Use it.
10013 (alloc_buf, exit_error): New functions.
10014 (alloc_bufs): Use ALLOC_BUF.
10015 (realloc_bufs): Remove.
10016 * benchtests/bench-memcmp.c (do_test): Adjust.
10017 * benchtests/bench-memset-large.c (do_test): Likewise.
10018 * benchtests/bench-memset-walk.c (do_test): Likewise.
10019 * benchtests/bench-memset.c (do_test): Likewise.
10020 * benchtests/bench-strncmp.c (do_test): Likewise.
10022 2018-08-06 Andreas Schwab <schwab@suse.de>
10024 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10025 of CONST_THREAD_AREA.
10027 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10029 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10030 (STATE_SAVE_MASK): Likewise.
10031 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10032 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10033 (STATE_SAVE_MASK): Likewise.
10034 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10035 instead of <cpu-features.h>.
10037 2018-08-03 DJ Delorie <dj@redhat.com>
10039 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10040 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10042 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10044 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10046 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10047 after TEST_* calls.
10048 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10049 * math/libm-test-logb.inc (logb_test_data): Likewise.
10051 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10053 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10054 * string/strstr.c (AVAILABLE): Likewise.
10056 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10058 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10060 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10061 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10062 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10064 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10066 * po/be.po: Update translation.
10068 * po/be.po: Update translation.
10070 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10072 * sysdeps/x86/cpu-features-offsets.sym
10073 (rtld_global_ro_offsetof): Removed.
10074 (CPU_FEATURES_SIZE): Likewise.
10075 (CPUID_OFFSET): Likewise.
10076 (CPUID_SIZE): Likewise.
10077 (CPUID_EAX_OFFSET): Likewise.
10078 (CPUID_EBX_OFFSET): Likewise.
10079 (CPUID_ECX_OFFSET): Likewise.
10080 (CPUID_EDX_OFFSET): Likewise.
10081 (FAMILY_OFFSET): Likewise.
10082 (MODEL_OFFSET): Likewise.
10083 (FEATURE_OFFSET): Likewise.
10084 (FEATURE_SIZ): Likewise.
10085 (COMMON_CPUID_INDEX_1): Likewise.
10086 (COMMON_CPUID_INDEX_7): Likewise.
10087 (FEATURE_INDEX_1): Likewise.
10088 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10090 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10092 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10093 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10094 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10095 (install-locales): Depend on install-locale-archive.
10096 (install-locale-archive): Define.
10097 (install-locale-files): Define.
10098 (build-one-locale): Define macro.
10099 * manual/install.texi (Running make install): Document.
10100 * manual/INSTALL: Regenerate.
10102 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10104 * benchtests/scripts/compare_strings.py: Import traceback.
10105 (parse_file): Pretty-print error.
10107 * NEWS: Mention the change.
10108 * elf/dl-tunables.list: Rename tune namespace to cpu.
10109 * sysdeps/powerpc/dl-tunables.list: Likewise.
10110 * sysdeps/x86/dl-tunables.list: Likewise.
10111 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10113 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10114 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10115 * manual/README.tunables: Likewise.
10116 * manual/tunables.texi: Likewise.
10117 * sysdeps/powerpc/cpu-features.c: Likewise.
10118 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10119 (init_cpu_features): Likewise.
10120 * sysdeps/x86/cpu-features.c: Likewise.
10121 * sysdeps/x86/cpu-features.h: Likewise.
10122 * sysdeps/x86/cpu-tunables.c: Likewise.
10123 * sysdeps/x86_64/Makefile: Likewise.
10124 * sysdeps/x86/dl-cet.c: Likewise.
10126 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10129 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10130 [__mips_hard_float].
10131 (FE_UNDERFLOW): Likewise.
10132 (FE_OVERFLOW): Likewise.
10133 (FE_DIVBYZERO): Likewise.
10134 (FE_INVALID): Likewise.
10135 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10136 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10137 (FE_UPWARD): Likewise.
10138 (FE_DOWNWARD): Likewise.
10139 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10140 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10141 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10142 [__mips_hard_float].
10143 (FP_ROUNDMODE): Likewise.
10144 (FP_RND_NEAREST): Likewise.
10145 (FP_RND_ZERO): Likewise.
10146 (FP_RND_PINF): Likewise.
10147 (FP_RND_MINF): Likewise.
10148 (FP_EX_INVALID): Likewise.
10149 (FP_EX_OVERFLOW): Likewise.
10150 (FP_EX_UNDERFLOW): Likewise.
10151 (FP_EX_DIVZERO): Likewise.
10152 (FP_EX_INEXACT): Likewise.
10153 (FP_INIT_ROUNDMODE): Likewise.
10154 * sysdeps/mips/nofpu/fesetenv.c: New file.
10155 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10157 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10159 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10160 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10161 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10162 conditional on [FE_UPWARD].
10164 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10166 regex: fix memory leak in Gnulib
10167 Problem and fix reported by Assaf Gordon in:
10168 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10169 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10170 range_ends members too, as they are defined in 'struct
10171 re_charset_t' even if not _LIBC. This affects only Gnulib.
10173 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10175 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10177 (get_common_indices): This.
10178 (init_cpu_features): Updated.
10180 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10182 * sysdeps/generic/math-tests-snan-payload.h: New file.
10183 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10184 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10185 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10186 * sysdeps/generic/math-tests.h: Include
10187 <math-tests-snan-payload.h>.
10188 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10189 * sysdeps/hppa/math-tests.h: Remove file.
10190 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10191 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10192 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10195 * sysdeps/generic/math-tests-snan-cast.h: New file.
10196 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10197 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10198 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10199 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10201 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10203 * version.h (RELEASE): Set to "development".
10204 (VERSION): Set to "2.28.9000".
10205 * NEWS (2.29): New section.
10207 * version.h (RELEASE): Set to "stable".
10208 (VERSION): Set to "2.28".
10209 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10210 * NEWS: Add the list of bugs fixed in 2.28.
10212 * po/ca.po: Update to latest version.
10213 * po/cs.po: Likewise
10214 * po/da.po: Likewise
10215 * po/el.po: Likewise
10216 * po/eo.po: Likewise
10217 * po/es.po: Likewise
10218 * po/fi.po: Likewise
10219 * po/fr.po: Likewise
10220 * po/gl.po: Likewise
10221 * po/hu.po: Likewise
10222 * po/ia.po: Likewise
10223 * po/id.po: Likewise
10224 * po/it.po: Likewise
10225 * po/ja.po: Likewise
10226 * po/ko.po: Likewise
10227 * po/lt.po: Likewise
10228 * po/nb.po: Likewise
10229 * po/nl.po: Likewise
10230 * po/pt_BR.po: Likewise
10231 * po/ru.po: Likewise
10232 * po/rw.po: Likewise
10233 * po/sk.po: Likewise
10234 * po/sl.po: Likewise
10235 * po/tr.po: Likewise
10236 * po/zh_CN.po: Likewise
10237 * po/zh_TW.po: Likewise
10239 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10241 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10243 (init): ... before initializing libpthread.
10245 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10246 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10247 (__mach_setup_tls): ... new function.
10248 (mach_setup_tls): New alias.
10249 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10250 __mach_setup_thread.
10251 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10252 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10253 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10254 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10256 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10258 * manual/install.texi: Update versions.
10259 * INSTALL: Regenerate.
10261 * manual/contrib.texi (Contributors): Update contributions.
10263 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10265 * po/be.po: Update translations.
10267 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10269 * sysdeps/sh/libm-test-ulps: Update.
10271 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10273 * po/bg.po: Update translations.
10274 * po/de.po: Likewise.
10275 * po/hr.po: Likewise.
10276 * po/pt_BR.po: Likewise.
10277 * po/sv.po: Likewise.
10278 * po/vi.po: Likewise.
10280 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10283 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10284 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10285 (CFLAGS-tst-cet-property-1.o): New.
10286 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10287 ($(objpfx)tst-cet-property-2): Likewise.
10288 ($(objpfx)tst-cet-property-2.out): Likewise.
10289 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10290 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10291 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10292 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10293 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10295 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10298 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10300 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10302 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10303 __sbrk): Do not set attribute_hidden.
10304 * sysdeps/mach/hurd/not-errno.h: New file.
10305 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10306 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10308 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10310 * po/uk.po: Update translations.
10311 * po/cs.po: Likewise.
10312 * po/pl.po: Likewise.
10314 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10316 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10317 parse beyond the note end.
10319 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10321 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10322 kernel does not support OFD locks.
10323 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10325 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10327 * sysdeps/mach/hurd/Versions (libc): Make __access and
10328 __access_noerrno external so they can override the ld symbols.
10329 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10330 __writev, __open64, __access_noerrno extern so they can be overrided.
10331 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10332 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10334 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10336 * po/libc.pot: Regenerate.
10338 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10340 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10342 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10345 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10347 (init_cpu_features): Call get_extended_indices for both Intel
10349 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10350 Remove "for AMD" comment.
10352 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10355 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10356 COMMON_CPUID_INDEX_80000001.
10358 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10360 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10361 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10363 2018-07-26 Florian Weimer <fweimer@redhat.com>
10365 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10366 aliases for symbols not in the implementation namespace.
10368 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10371 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10372 lowercase in LATIN script.
10373 * localedata/Makefile (test-input): Add en_US.UTF-8.
10374 * localedata/en_US.UTF-8.in: New file.
10375 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10376 and restore old tests.
10377 * posix/tst-regexloc.c (do_test): Add back range expression test.
10379 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10381 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10383 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10385 * nptl/threads.h: Move to ...
10386 * sysdeps/nptl/threads.h: ... here.
10387 * sysdeps/hurd/stdc-predef.h: New file.
10389 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10391 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10392 tst-cet-setcontext-1 if CET is enabled.
10393 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10394 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10396 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10398 * include/threads.h: Move to ...
10399 * sysdeps/nptl/threads.h: ... here.
10400 * sysdeps/htl/threads.h: New file.
10401 * conform/Makefile (linknamespace-libs-ISO11): Use
10402 static-thread-library instead of linking libpthread.
10403 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10405 2018-07-25 Florian Weimer <fweimer@redhat.com>
10407 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10408 nanoseconds into seconds.
10409 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10410 (do_test): Likewise.
10411 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10412 (do_test): Likewise. Avoid nanosecond overflow and spurious
10413 timeouts due to system load.
10414 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10415 (child_wait): Increment it.
10416 (do_test): Wait as long as necessary until all expected threads
10419 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10420 H.J. Lu <hongjiu.lu@intel.com>
10422 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10424 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10425 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10426 (__push___start_context): New.
10427 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10429 (__getcontext): Record the current shadow stack base. Save the
10430 caller's shadow stack pointer and base.
10431 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10432 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10433 (__push___start_context): New prototype.
10434 (__makecontext): Call __push___start_context to allocate a new
10435 shadow stack, push __start_context onto the new stack as well
10436 as the new shadow stack.
10437 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10439 (__setcontext): Restore the target shadow stack.
10440 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10442 (__swapcontext): Record the current shadow stack base. Save
10443 the caller's shadow stack pointer and base. Restore the target
10445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10446 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10447 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10449 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10451 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10452 tst-setcontext8 and tst-setcontext9.
10453 * stdlib/tst-setcontext6.c: New file.
10454 * stdlib/tst-setcontext7.c: Likewise.
10455 * stdlib/tst-setcontext8.c: Likewise.
10456 * stdlib/tst-setcontext9.c: Likewise.
10458 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10460 * stdlib/Makefile ((tests): Add tst-setcontext5.
10461 * stdlib/tst-setcontext5.c: New file.
10463 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10465 * stdlib/Makefile (tests): Add tst-setcontext4.
10466 * stdlib/tst-setcontext4.c: New file.
10468 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10470 * stdlib/Makefile (tests): Add tst-swapcontext1.
10471 * stdlib/tst-swapcontext1.c: New test.
10473 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10475 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10476 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10477 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10478 and tst-cet-legacy-4c.
10479 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10480 and tst-cet-legacy-mod-4.
10481 (CFLAGS-tst-cet-legacy-2.c): New.
10482 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10483 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10484 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10485 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10486 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10487 ($(objpfx)tst-cet-legacy-1): Likewise.
10488 ($(objpfx)tst-cet-legacy-2): Likewise.
10489 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10490 ($(objpfx)tst-cet-legacy-2a): Likewise.
10491 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10492 ($(objpfx)tst-cet-legacy-4): Likewise.
10493 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10494 ($(objpfx)tst-cet-legacy-4a): Likewise.
10495 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10496 (tst-cet-legacy-4a-ENV): Likewise.
10497 ($(objpfx)tst-cet-legacy-4b): Likewise.
10498 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10499 (tst-cet-legacy-4b-ENV): Likewise.
10500 ($(objpfx)tst-cet-legacy-4c): Likewise.
10501 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10502 (tst-cet-legacy-4c-ENV): Likewise.
10503 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10504 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10505 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10506 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10507 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10508 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10509 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10510 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10511 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10512 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10513 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10515 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10517 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10518 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10520 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10521 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10524 2018-07-25 Andreas Schwab <schwab@suse.de>
10527 * locale/weightwc.h (findidx): Handle the case where usrc is a
10528 prefix of cp but one character too short.
10530 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10532 * NEWS: Add ISO C threads addition.
10534 2018-07-24 Florian Weimer <fweimer@redhat.com>
10536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10537 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10538 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10541 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10543 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10544 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10545 <sys/prctl.h> and <asm/prctl.h>.
10546 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10547 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10549 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10550 ARCH_CET_LEGACY_BITMAP.
10551 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10552 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10553 * sysdeps/x86/libc-start.c: Include <startup.h>.
10555 2018-07-24 Florian Weimer <fweimer@redhat.com>
10557 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10558 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10560 2018-07-24 Rical Jasan <rj@2c3t.io>
10561 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10562 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10565 * manual/debug.texi: Update adjacent chapter name.
10566 * manual/probes.texi: Likewise.
10567 * manual/threads.texi (ISO C Threads): New section.
10568 (POSIX Threads): Convert to a section.
10570 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10571 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10574 * nptl/Makefile (tests): Add new test files.
10575 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10576 * nptl/tst-cnd-basic.c: Likewise.
10577 * nptl/tst-cnd-broadcast.c: Likewise.
10578 * nptl/tst-cnd-timedwait.c: Likewise.
10579 * nptl/tst-mtx-basic.c: Likewise.
10580 * nptl/tst-mtx-recursive.c: Likewise.
10581 * nptl/tst-mtx-timedlock.c: Likewise.
10582 * nptl/tst-mtx-trylock.c: Likewise.
10583 * nptl/tst-thrd-basic.c: Likewise.
10584 * nptl/tst-thrd-detach.c: Likewise.
10585 * nptl/tst-thrd-sleep.c: Likewise.
10586 * nptl/tst-tss-basic.c: Likewise.
10588 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10591 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10592 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10594 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10595 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10602 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10603 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10605 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10621 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10622 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10623 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10624 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10625 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10627 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10629 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10630 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10636 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10645 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10655 * conform/data/threads.h-data (thread_local): New macro.
10656 (TSS_DTOR_ITERATIONS): Likewise.
10658 (tss_dtor_t): Likewise.
10659 (tss_create): New function.
10660 (tss_get): Likewise.
10661 (tss_set): Likewise.
10662 (tss_delete): Likewise.
10663 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10664 tss_get, and tss_set objects.
10665 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10666 * nptl/tss_create.c: New file.
10667 * nptl/tss_delete.c: Likewise.
10668 * nptl/tss_get.c: Likewise.
10669 * nptl/tss_set.c: Likewise.
10670 * sysdeps/nptl/threads.h (thread_local): New define.
10671 (TSS_DTOR_ITERATIONS): Likewise.
10672 (tss_t): New typedef.
10673 (tss_dtor_t): Likewise.
10674 (tss_create): New prototype.
10675 (tss_get): Likewise.
10676 (tss_set): Likewise.
10677 (tss_delete): Likewise.
10680 * conform/data/threads.h-data (cnd_t): New type.
10681 (cnd_init): New function.
10682 (cnd_signal): Likewise.
10683 (cnd_broadcast): Likewise.
10684 (cnd_wait): Likewise.
10685 (cnd_timedwait): Likewise.
10686 (cnd_destroy): Likewise.
10687 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10688 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10690 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10691 * nptl/cnd_broadcast.c: New file.
10692 * nptl/cnd_destroy.c: Likewise.
10693 * nptl/cnd_init.c: Likewise.
10694 * nptl/cnd_signal.c: Likewise.
10695 * nptl/cnd_timedwait.c: Likewise.
10696 * nptl/cnd_wait.c: Likewise.
10697 * sysdeps/nptl/threads.h (cnd_t): New type.
10698 (cnd_init): New prototype.
10699 (cnd_signa): Likewise.
10700 (cnd_broadcast): Likewise.
10701 (cnd_wait): Likewise.
10702 (cnd_timedwait): Likewise.
10703 (cnd_destroy): Likewise.
10706 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10707 (once_flag): New type.
10708 (call_once): New function.
10709 * nptl/Makefile (libpthread-routines): Add call_once object.
10710 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10711 * nptl/call_once.c: New file.
10712 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10713 (once_flag): New type.
10714 (call_once): New prototype.
10717 * conform/data/threads.h-data (mtx_plain): New constant.
10718 (mtx_recursive): Likewise.
10719 (mtx_timed): Likewise.
10721 (mtx_init): New function.
10722 (mtx_lock): Likewise.
10723 (mtx_timedlock): Likewise.
10724 (mtx_trylock): Likewise.
10725 (mtx_unlock): Likewise.
10726 (mtx_destroy): Likewise.
10727 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10728 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10729 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10730 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10731 * nptl/mtx_destroy.c: New file.
10732 * nptl/mtx_init.c: Likewise.
10733 * nptl/mtx_lock.c: Likewise.
10734 * nptl/mtx_timedlock.c: Likewise.
10735 * nptl/mtx_trylock.c: Likewise.
10736 * nptl/mtx_unlock.c: Likewise.
10737 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10738 (mtx_recursive): Likewise.
10739 (mtx_timed): Likewise.
10741 (mtx_init): New prototype.
10742 (mtx_lock): Likewise.
10743 (mtx_timedlock): Likewise.
10744 (mtx_trylock): Likewise.
10745 (mtx_unlock): Likewise.
10746 (mtx_destroy): Likewise.
10749 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10750 (linknamespace-libs-ISO11): Add libpthread.a.
10751 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10753 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10754 * nptl/Makefile (headers): Add threads.h.
10755 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10756 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10758 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10759 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10760 thrd_join, thrd_sleep, and thrd_yield symbols.
10761 * nptl/descr.h (struct pthread): Add c11 field.
10762 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10763 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10764 routine with expected function prototype.
10765 (__pthread_create_2_1): Add C11 threads check based on attribute
10767 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10768 * nptl/thrd_create.c: New file.
10769 * nptl/thrd_current.c: Likewise.
10770 * nptl/thrd_detach.c: Likewise.
10771 * nptl/thrd_equal.c: Likewise.
10772 * nptl/thrd_exit.c: Likewise.
10773 * nptl/thrd_join.c: Likewise.
10774 * nptl/thrd_priv.h: Likewise.
10775 * nptl/thrd_sleep.c: Likewise.
10776 * nptl/thrd_yield.c: Likewise.
10777 * include/threads.h: Likewise.
10779 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10781 * bits/indirect-return.h: New file.
10782 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10783 * sysdeps/x86/bits/indirect-return.h: Likewise.
10784 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10785 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10786 (swapcontext): Add __INDIRECT_RETURN.
10787 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10788 (prepare_test_buffer): Use it.
10790 2018-07-24 Andreas Schwab <schwab@suse.de>
10793 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10794 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10796 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10798 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10799 Redefine if shadow stack is enabled.
10800 (SYSCALL_ERROR_LABEL): Likewise.
10801 (__vfork): Pop shadow stack and jump back to to caller directly
10802 when shadow stack is in use.
10803 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10804 Redefine if shadow stack is enabled.
10805 (SYSCALL_ERROR_LABEL): Likewise.
10806 (__vfork): Pop shadow stack and jump back to to caller directly
10807 when shadow stack is in use.
10809 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10811 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10814 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10817 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10819 * scripts/build-many-glibcs.py (Context.checkout): Default
10820 binutils version to 2.31 branch.
10822 2018-07-20 Zong Li <zong@andestech.com>
10824 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10825 URL of gcc's tarball.
10827 2018-07-20 Florian Weimer <fweimer@redhat.com>
10830 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10831 not compare an extra byte after the end of the weights.
10833 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10835 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10837 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10839 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10840 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10841 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10842 list of libraries whose stack executability is expected.
10843 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10844 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10846 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10847 libc.so libpthread.so.
10849 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10851 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10853 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10855 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10857 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10859 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10861 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10862 library to improve command line parsing.
10863 (__main__): make schema file as optional parameter (--schema),
10864 defaulting to benchtests/scripts/benchout.schema.json.
10865 (main): move out of the parsing stuff to __main_ and leave it
10866 only as caller of main comparison functions.
10868 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10870 * NEWS: Add a note for Intel CET status.
10871 * manual/install.texi: Likewise.
10872 * INSTALL: Regenerated.
10874 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10877 * localedata/locales/oc_FR (mon): Rename to...
10878 (alt_mon): This, then update October (typo fix).
10879 (mon): New content (genitive case, month names preceded by
10883 * localedata/locales/oc_FR (abday): Update all items.
10884 (day): Update Wednesday and Saturday (typo fixes).
10885 (abmon): Update all items, except May.
10886 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10887 (LC_IDENTIFICATION): Bump the revision number and date.
10888 Keep the "category" entries in alphabetic order.
10889 (LC_ADDRESS): Remove no longer needed comment.
10890 (LC_COLLATE): Use “copy "ca_ES"”.
10891 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10894 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10896 * grp/tst_fgetgrent.c: Include <unistd.h>.
10897 (main): Use mkstemp instead of tmpnam.
10898 * io/test-utime.c (main): Likewise.
10899 * posix/annexc.c (macrofile): Change to modifiable array.
10900 (main): Remove macrofile here.
10901 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10903 (check_header): Do not remove macrofile here.
10904 * posix/bug-getopt1.c: Include <stdlib.h>.
10905 (do_test): Use mkstemp instead of tmpnam.
10906 * posix/bug-getopt2.c: Include <stdlib.h>.
10907 (do_test): Use mkstemp instead of tmpnam.
10908 * posix/bug-getopt3.c: Include <stdlib.h>.
10909 (do_test): Use mkstemp instead of tmpnam.
10910 * posix/bug-getopt4.c: Include <stdlib.h>.
10911 (do_test): Use mkstemp instead of tmpnam.
10912 * posix/bug-getopt5.c: Include <stdlib.h>.
10913 (do_test): Use mkstemp instead of tmpnam.
10914 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10915 (main): Use mkstemp instead of tmpnam.
10916 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10917 (main): Use mkstemp instead of tmpnam.
10918 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10919 (main): use mkstemp instead of tmpnam.
10920 * stdlib/isomac.c (macrofile): Change to modifiable array.
10921 (main): Remove macrofile here.
10922 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10924 (check_header): Do not remove macrofile here.
10926 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10928 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10929 glibc.tune.x86_shstk.
10931 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10933 * NEWS: Mention --enable-cet.
10934 * manual/install.texi: Document --enable-cet.
10935 * INSTALL: Regenerated.
10937 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10939 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10940 Add _CET_NOTRACK before indirect jump to jump table.
10942 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10944 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10945 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10948 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10950 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10951 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10954 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10956 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10957 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10960 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10963 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10966 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10968 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10969 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10971 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10973 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10975 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10976 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10979 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10981 * sysdeps/i386/i686/multiarch/memset-sse2.S
10982 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10985 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10987 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10988 indirect jump to jump table.
10990 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10993 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10995 (MEMCPY): Likewise.
10997 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11000 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11002 (MEMCPY): Likewise.
11004 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11006 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11007 _CET_NOTRACK before indirect jump to jump table.
11009 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11011 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11012 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11017 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11018 indirect jump to jump table.
11020 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11023 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11024 (LOCALES): Likewise.
11025 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11026 * localedata/locales/sah_RU: New file.
11027 * localedata/sah_RU.UTF-8.in: New file.
11029 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11031 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11033 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11034 _CET_ENDBR to indirect jump targets and adjust jump destination
11036 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11038 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11039 _CET_ENDBR to indirect jump targets and adjust jump destination
11041 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11043 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11044 _CET_ENDBR to indirect jump targets and adjust jump destination
11047 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11049 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11052 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11054 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11056 (_dl_tlsdesc_undefweak): Likewise.
11057 (_dl_tlsdesc_dynamic): Likewise.
11058 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11059 (_dl_tlsdesc_resolve_rel): Likewise.
11060 (_dl_tlsdesc_resolve_rela): Likewise.
11061 (_dl_tlsdesc_resolve_hold): Likewise.
11062 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11063 (_dl_tlsdesc_undefweak): Likewise.
11064 (_dl_tlsdesc_dynamic): Likewise.
11065 (_dl_tlsdesc_resolve_rela): Likewise.
11066 (_dl_tlsdesc_resolve_hold): Likewise.
11068 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11070 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11072 * sysdeps/x86_64/crti.S (_init): Likewise.
11075 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11078 * localedata/locales/os_RU (mon): Rename to...
11080 (mon): Import from CLDR (genitive case).
11082 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11084 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11085 cet-tunables.h> when CET is enabled.
11087 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11090 * configure.ac: Add --enable-cet.
11091 * configure: Regenerated.
11092 * elf/Makefille (all-built-dso): Add a comment.
11093 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11094 Include <dl-prop.h>.
11095 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11097 * elf/dl-open.c: Include <dl-prop.h>.
11098 (dl_open_worker): Call _dl_open_check.
11099 * elf/rtld.c: Include <dl-prop.h>.
11100 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11102 * sysdeps/generic/dl-prop.h: New file.
11103 * sysdeps/i386/dl-cet.c: Likewise.
11104 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11105 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11106 * sysdeps/x86/cet-tunables.h: Likewise.
11107 * sysdeps/x86/check-cet.awk: Likewise.
11108 * sysdeps/x86/configure: Likewise.
11109 * sysdeps/x86/configure.ac: Likewise.
11110 * sysdeps/x86/dl-cet.c: Likewise.
11111 * sysdeps/x86/dl-procruntime.c: Likewise.
11112 * sysdeps/x86/dl-prop.h: Likewise.
11113 * sysdeps/x86/libc-start.h: Likewise.
11114 * sysdeps/x86/link_map.h: Likewise.
11115 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11117 (_dl_runtime_profile): Likewise.
11118 (_dl_runtime_resolve_shstk): New.
11119 (_dl_runtime_profile_shstk): Likewise.
11120 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11122 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11123 (CFLAGS-.os): Likewise.
11124 (CFLAGS-.op): Likewise.
11125 (CFLAGS-.oS): Likewise.
11126 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11128 (tests-special): Add $(objpfx)check-cet.out.
11129 (cet-built-dso): New.
11130 (+$(cet-built-dso:=.note)): Likewise.
11131 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11132 ($(objpfx)check-cet.out): New.
11133 (generated): Add check-cet.out.
11134 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11136 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11137 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11138 (init_cpu_features): Call get_cet_status to check CET status
11139 and update dl_x86_feature_1 with CET status. Call
11140 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11141 (set_x86_shstk). Disable and lock CET in libc.a.
11142 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11143 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11144 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11145 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11146 (_CET_ENDBR): Define if not defined.
11147 (ENTRY): Add _CET_ENDBR.
11148 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11150 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11152 (_dl_runtime_profile): Likewise.
11154 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11157 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11158 restore r2 on longjmp.
11159 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11161 Added rules to build test tst-setjmp-bug21895-static.
11162 Added module setjmp-bug21895 and rules to build a shared object from it.
11163 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11164 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11166 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11168 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11169 * benchtests/bench-strstr.c: Likewise.
11170 * string/memmem.c (FASTSEARCH): Define.
11171 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11172 Add support for FASTSEARCH.
11173 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11174 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11175 (FASTSEARCH): Define.
11176 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11177 * string/test-strstr.c: Likewise.
11179 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11182 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11184 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11185 H.J. Lu <hongjiu.lu@intel.com>
11187 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11188 (__longjmp): Restore shadow stack pointer if shadow stack is
11189 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11190 isn't defined for __longjmp_cancel.
11191 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11192 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11193 and SHADOW_STACK_POINTER_OFFSET is defined.
11194 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11195 (setjmp): Save shadow stack pointer if shadow stack is enabled
11196 and SHADOW_STACK_POINTER_OFFSET is defined.
11197 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11198 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11199 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11200 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11202 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11203 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11204 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11205 Remove jmp_buf-ssp.sym.
11206 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11208 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11209 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11210 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11212 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11213 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11214 (__longjmp): Restore shadow stack pointer if shadow stack is
11215 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11216 isn't defined for __longjmp_cancel.
11217 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11218 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11219 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11221 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11224 * nptl/pthread_create.c: Include <tls-setup.h>.
11225 (__pthread_create_2_1): Call tls_setup_tcbhead.
11226 * sysdeps/generic/tls-setup.h: New file.
11227 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11228 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11229 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11231 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11233 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11234 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11235 (X86_FEATURE_1_SHSTK): Likewise.
11236 (CET_ENABLED): Likewise.
11237 (IBT_ENABLED): Likewise.
11238 (SHSTK_ENABLED): Likewise.
11240 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11243 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11244 (LOCALES): Likewise.
11245 * localedata/dsb_DE.UTF-8.in: New file.
11246 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11248 2018-07-12 Florian Weimer <fweimer@redhat.com>
11250 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11251 __mprotect, not mprotect.
11253 2018-07-11 Florian Weimer <fweimer@redhat.com>
11255 * io/Makefile (headers): Add bits/statx.h.
11257 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11259 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11260 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11262 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11263 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11266 2018-07-10 Florian Weimer <fweimer@redhat.com>
11268 * io/Makefile (routines): Add statx.
11269 (tests-internal): Add tst-statx.
11270 * io/Versions (GLIBC_2.28): Export statx.
11271 * io/bits/statx.h: New file.
11272 * io/sys/stat.h [__USE_GNU]: Include it.
11273 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11274 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11276 * io/statx.c: New file.
11277 * io/statx_generic.: Likewise.
11278 * io/tst-statx.: Likewise.
11279 * include/bits/statx.h: Likewise.
11280 * sysdeps/unix/sysv/linux/kernel-features.h
11281 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11282 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11283 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11284 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11287 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11288 * sysdeps/unix/sysv/linux/statx.c: New file.
11289 * manual/filesys.texi: Note that statx is undocumented.
11290 * sysdeps/**/libc*.abilist: Update.
11292 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11294 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11295 a kernel issue which lead to test failure in some cases.
11297 2018-07-10 Florian Weimer <fweimer@redhat.com>
11300 * posix/regexec.c (check_node_accept_bytes): When comparing
11301 weights, do not compare an extra byte after the end of the
11304 2018-07-10 Florian Weimer <fweimer@redhat.com>
11306 * libio/readline.c: Fix copyright year.
11307 * libio/tst-readline.c Likewise.
11308 * nss/tst-nss-files-hosts-getent.c: Likewise.
11310 2018-07-06 Florian Weimer <fweimer@redhat.com>
11313 * nss/nss_files/files-XXX.c (internal_getent): Use
11314 __libc_readline_unlocked. Seek back to the start of the line if
11315 parsing failes with ERANGE.
11316 (get_contents_ret, get_contents): Remove.
11317 * nss/tst-nss-files-hosts-getent.c: New file.
11318 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11319 (tst-nss-files-hosts-getent): Link with -ldl.
11321 2018-07-06 Florian Weimer <fweimer@redhat.com>
11323 * include/stdio.h (__libc_readline_unlocked): Declare.
11324 (__ftello64, __fseeko64): Declare aliases.
11325 * libio/readline.c: New file.
11326 * libio/tst-readline.c: Likewise.
11327 (routines): Add readline.
11328 (tests-internal): Add tst-readlime.
11329 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11330 __libc_readline_unlocked.
11331 * libio/fseeko.c (__fseeko): Rename from fseeko.
11332 (fseeko): Add alias.
11333 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11334 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11335 (fseeko64): Add alias.
11336 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11337 * libio/ftello64.c (__ftello64): Rename from ftello64.
11338 (ftello64): Add alias.
11340 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11342 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11345 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11347 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11348 Use dl_hwcap without masking.
11349 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11350 Remove HWCAP_CPUID.
11352 2018-07-06 Florian Weimer <fweimer@redhat.com>
11354 * conform/conformtest.pl (checknamespace): Escape literal braces
11355 in regular expressions.
11357 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11359 * sysdeps/x86/cpu-features.c (get_common_indeces):
11360 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11361 * sysdeps/x86/cpu-features.c (init_cpu_features):
11362 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11364 2018-07-05 Florian Weimer <fweimer@redhat.com>
11366 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11368 (CFLAGS-elf-init.oS): Likewise.
11370 2018-07-05 Florian Weimer <fweimer@redhat.com>
11371 Carlos O'Donell <carlos@redhat.com>
11373 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11374 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11375 with stack protector enabled because there is no risk of infinite
11378 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11382 * libc-abis (ABSOLUTE): New ABI.
11383 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11384 * NEWS: Mention the new ABI.
11386 2018-07-05 Florian Weimer <fweimer@redhat.com>
11389 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11390 (RENAME_WHITEOUT): Define.
11391 [__USE_GNU] (renameat2): Declare.
11392 * stdio-common/Makefile (routines): Add renameat2.
11393 (tests): Add tst-renameat2.
11394 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11395 * stdio-common/renameat2.c: New file.
11396 * stdio-common/tst-renameat2.c: Likewise.
11397 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11398 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11400 * sysdeps/unix/sysv/linux/kernel-features.h
11401 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11402 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11403 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11405 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11406 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11407 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11408 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11409 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11410 * include/stdio.h (__renameat): Add alias for renameat.
11411 * stdio-common/renameat.c (__renameat): Rename from renameat.
11412 Add hidden definition and alias.
11413 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11414 * sysdeps/mach/hurd/renameat.c: Likewise.
11415 * sysdeps/**/libc*.abilist: Add renameat2.
11417 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11419 * posix/bug-regex33.c: Fix build after regex sync.
11421 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11424 * localedata/tst-langinfo-setlocale.c: New file.
11425 * localedata/tst-langinfo-setlocale-static.c: New file.
11426 * localedata/tst-langinfo-newlocale.c: New file.
11427 * localedata/tst-langinfo-newlocale-static.c: New file.
11428 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11429 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11430 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11431 (tests-static): Remove tst-langinfo-static. Add
11432 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11433 (tests-special): Remove $(objpfx)tst-langinfo.out,
11434 $(objpfx)tst-langinfo-static.out. Add
11435 $(objpfx)tst-langinfo-setlocale.out,
11436 $(objpfx)tst-langinfo-newlocale.out,
11437 $(objpfx)tst-langinfo-setlocale-static.out,
11438 $(objpfx)tst-langinfo-newlocale-static.out.
11439 ($(objpfx)tst-langinfo.out): Remove.
11440 ($(objpfx)tst-langinfo-static.out): Remove.
11441 ($(objpfx)tst-langinfo-newlocale.out): New target.
11442 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11443 (test-xfail-tst-langinfo-newlocale-static): Add.
11444 ($(objpfx)tst-langinfo-setlocale.out): New target.
11445 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11446 * localedata/tst-langinfo.c: Call test_locale.
11447 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11450 2018-07-04 Florian Weimer <fweimer@redhat.com>
11452 testrun.sh: Implement --tool=strace, --tool=valgrind
11453 * Makefile (testrun-script): Define variable.
11454 (testrun.sh): Use variable.
11455 * manual/install.texi (Tools for Compilation): make 4.0 or later
11457 * configure.ac: Check for make 4.0 or later.
11458 * INSTALL: Regenerate.
11459 * configure: Likewise.
11461 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11467 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11468 * posix/PCRE.tests: Remove invalid test.
11469 * posix/bug-regex28.c: Fix expected values for used syntax.
11470 * posix/bug-regex37.c: New file.
11471 * posix/bug-regex38.c: Likewise.
11472 * posix/regcomp.c: Sync with gnulib.
11473 * posix/regex.c: Likewise.
11474 * posix/regex.h: Likewise.
11475 * posix/regex_internal.c: Likewise.
11476 * posix/regex_internal.h: Likewise.
11477 * posix/regexec.c: Likewise.
11479 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11482 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11483 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11484 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11485 * localedata/unicode-gen/PropList.txt: likewise.
11486 * localedata/unicode-gen/UnicodeData.txt: likewise.
11487 * localedata/charmaps/UTF-8: Regenerate.
11488 * localedata/locales/i18n_ctype: likewise.
11489 * localedata/locales/tr_TR: likewise.
11490 * localedata/locales/translit_circle: likewise.
11491 * localedata/locales/translit_cjk_compat: likewise.
11492 * localedata/locales/translit_combining: likewise.
11493 * localedata/locales/translit_compat: likewise.
11494 * localedata/locales/translit_font: likewise.
11495 * localedata/locales/translit_fraction: likewise.
11497 2018-07-03 Florian Weimer <fweimer@redhat.com>
11500 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11501 * stdio-common/tst-printf.sh: Adjust expected output.
11502 * LICENSES: Update.
11504 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11506 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11509 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11511 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11512 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11513 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11514 * stdio-common/tst-printfsz-islongdouble.c: New file.
11515 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11517 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11518 [subdir == stdio-common] (tests-internal): Add
11519 test-printf-size-ieee128, and test-printf-size-ibm128.
11520 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11521 (CFLAGS-test-printf-size-ibm128.c): New variables.
11522 [subdir == stdio-common] (tests-special): Add
11523 $(objpfx)test-printf-size-ieee128.out and
11524 $(objpfx)test-printf-size-ibm128.out.
11525 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11526 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11527 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11528 __printf_sizeieee128.
11529 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11531 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11533 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11536 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11538 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11539 (exp2f_inline): Likewise.
11540 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11541 (__math_uflowf): Likewise.
11542 (__math_may_uflowf): Likewise.
11543 (__math_divzerof): Likewise.
11544 (__math_invalidf): Likewise.
11545 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11546 (__math_oflowf): Likewise.
11547 (__math_uflowf): Likewise.
11548 (__math_may_uflowf): Likewise.
11549 (__math_divzerof): Likewise.
11550 (__math_invalidf): Likewise.
11552 2018-06-29 DJ Delorie <dj@redhat.com>
11553 Carlos O'Donell <carlos@redhat.com>
11556 * include/libc-symbols.h: Comment the freeres framework.
11557 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11558 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11559 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11560 * dlfcn/dlerror.c: Include libc-symbols.h
11561 (__dlerror_main_freeres): New function.
11562 * dlfcn/dlfreeres.c: New file.
11563 * dlfcn/sdlfreeres.c: New file.
11564 * include/dlfcn.h: Declare __dlerror_main_freeres.
11565 * malloc/set-freeres.c: Declare __libdl_freeres, and
11566 __libpthread_freeres.
11567 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11568 the releavant libraries are loaded.
11569 * malloc/thread-freeres.c: Add comments.
11570 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11571 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11572 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11573 (__free_stacks): Rename to...
11574 (free_stacks): ...this. Mark static.
11575 (queue_stack): Call free_stacks.
11576 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11577 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11578 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11579 ptr_freeres element from struct.
11580 (pthread_functions): Remove .ptr_freeres from struct initializer.
11581 [SHARED] (nptl_freeres): Remove.
11582 * nptl/nptlfreeres.c: New file.
11584 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11585 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11587 (__free_stacks): Rename to...
11588 (__nptl_stacks_freeres): ...this.
11589 (__shm_directory_freeres): Declare.
11590 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11591 (__nptl_unwind_freeres): ...this.
11592 * resolv/res-close.c: Add comment.
11593 * resolv/resolv_conf.c: Include libc-symbols.h.
11594 * string/strerror_l.c: Include libc-symbols.h.
11595 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11596 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11597 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11598 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11600 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11602 * stdlib/tst-strfmon_l.c: Add tests for long double.
11604 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11607 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11608 * localedata/locales/dsb_DE: New file.
11610 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11613 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11615 (alt_mon): New entry, import from CLDR (nominative case).
11617 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11620 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11622 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11624 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11625 Use vector registers.
11627 * sysdeps/aarch64/multiarch/memmove_falkor.S
11628 (__memcpy_falkor): Use vector registers.
11630 2018-06-29 Martin Sebor <msebor@redhat.com>
11632 * manual/stdio.texi (Customizing Printf): Mention interaction
11633 with GCC built-ins.
11635 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11638 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11639 `st_value' is 0 if `st_shndx' is SHN_ABS.
11640 * elf/tst-absolute-zero.c: New file.
11641 * elf/tst-absolute-zero-lib.c: New file.
11642 * elf/tst-absolute-zero-lib.lds: New file.
11643 * elf/Makefile (tests): Add `tst-absolute-zero'.
11644 (modules-names): Add `tst-absolute-zero-lib'.
11645 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11646 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11647 ($(objpfx)tst-absolute-zero: New dependency.
11649 2018-06-29 Zack Weinberg <zackw@panix.com>
11651 * configure.ac: New command-line option --disable-crypt.
11652 Force --disable-nss-crypt when --disable-crypt is given, with a
11653 warning if it was explicitly enabled.
11654 * configure: Regenerate.
11655 * config.make.in: New boolean substitution variable $(build-crypt).
11656 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11657 when $(build-crypt).
11658 * manual/install.texi: Document --disable-crypt.
11659 * INSTALL: Regenerate.
11661 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11662 which is never set.
11663 * conform/Makefile: Only include libcrypt.a in
11664 linknamespace-libs-xsi and linknamespace-libs-XPG4
11665 when $(build-crypt).
11666 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11667 USE_CRYPT to 1 when $(build-crypt).
11668 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11669 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11670 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11672 2018-06-29 Zack Weinberg <zackw@panix.com>
11674 * crypt/crypt.h, posix/unistd.h: Update comments and
11675 prototypes for crypt and crypt_r.
11677 * manual/crypt.texi (Cryptographic Functions): New initial
11679 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11680 (Unpredictable Bytes): Improve initial exposition. Clarify error
11681 behavior of getentropy and getrandom.
11682 * manual/examples/genpass.c: Generate a salt using getentropy
11683 instead of the current time. Use hash $5$ (SHA-2-256).
11684 * manual/examples/testpass.c: Demonstrate validation against
11685 hashes generated with three different one-way functions.
11687 * manual/intro.texi: crypt.texi does not need an overview
11690 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11691 * manual/terminal.texi: Consistently refer to "passphrases"
11692 * instead of "passwords", and to the "user database" instead
11693 * of the "password database".
11694 * manual/users.texi: Similarly. Add notes about how actual
11695 passphrase hashes are now stored in the shadow database.
11696 Remove 20-year-old junk todo note.
11698 2018-06-29 Zack Weinberg <zackw@panix.com>
11700 * manual/crypt.texi: Use a normal top-level @node declaration.
11701 Move most of the introductory text to the 'crypt' section.
11702 Move the example programs below the @deftypefun for 'crypt_r'.
11703 Move the 'getpass' section...
11704 * manual/terminal.texi: ...here.
11706 2018-06-29 Zack Weinberg <zackw@panix.com>
11707 Florian Weimer <fweimer@redhat.com>
11709 * posix/unistd.h: Do not declare encrypt.
11710 (_XOPEN_CRYPT): Remove macro definition.
11711 (crypt): Declare only for _USE_MISC.
11712 * stdlib/stdlib.h: Do not declare setkey.
11713 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11714 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11716 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11717 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11718 into compat symbols. Don't define initial_perm if it's not
11720 * crypt/cert.c: Link explicitly with the expected versions for
11721 setkey and encrypt. If they are not available at all, mark
11722 the test as unsupported.
11724 * sunrpc/des_crypt.c: Unconditionally block linkage with
11725 cbc_crypt and ecb_crypt for new binaries.
11726 * sunrpc/des_soft.c: Unconditionally block linkage with
11727 des_setparity for new binaries.
11729 * manual/crypt.texi: Remove the entire "DES Encryption"
11730 section. Also remove the paragraph talking about FIPS 140-2
11731 from the introduction.
11732 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11733 of libgcrypt for "real" encryption, not DES.
11734 * manual/conf.texi (Constants for Sysconf): Mention that
11735 _XOPEN_CRYPT is no longer impelemented.
11737 * conform/data/unistd.h-data: Remove crypt function declaration.
11739 2018-06-29 Florian Weimer <fweimer@redhat.com>
11742 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11743 (disallow_malloc_check): Remove variable.
11744 (__malloc_check_init): Adjust.
11745 (malloc_set_state): Update comment.
11746 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11749 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11752 * localedata/locales/ast_ES (mon): Rename to...
11754 (mon): Import from CLDR (genitive case).
11756 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11757 Jakub Sitnicki <jkbs@redhat.com>
11760 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11761 on NLM_F_DUMP_INTR.
11763 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11765 * manual/llio.texi: Remove spurious space.
11767 2018-06-28 Florian Weimer <fweimer@redhat.com>
11770 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11773 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11775 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11776 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11777 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11778 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11779 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11780 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11781 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11783 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11786 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11787 Copy and null-terminate entries that are not terminated, in
11788 addition to empty ones.
11790 2018-06-27 Florian Weimer <fweimer@redhat.com>
11793 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11794 (extend_alloca_account): Remove.
11795 * manual/stdio.texi (Variable Arguments Output): Update comment.
11797 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11799 * nptl/sockperf.c: Remove file.
11801 2018-06-27 Florian Weimer <fweimer@redhat.com>
11804 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11805 scratch_buffer instead of extend_alloca.
11807 2018-06-27 Florian Weimer <fweimer@redhat.com>
11810 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11811 scratch_buffer instead of extend_alloca. Update comments.
11813 2018-06-27 Florian Weimer <fweimer@redhat.com>
11816 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11817 instead of extend_alloca.
11819 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11822 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11823 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11825 * scripts/test-installation.pl: Put temporary files in build
11826 directory, not /tmp.
11827 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11828 (CFLAGS-bug4.c): Likewise.
11829 (CFLAGS-bug5.c): Likewise.
11830 (CFLAGS-test-fseek.c): Likewise.
11831 (CFLAGS-test-popen.c): Likewise.
11832 (CFLAGS-test_rdwr.c): Likewise.
11833 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11835 * stdio-common/bug4.c (main): Likewise.
11836 * stdio-common/bug5.c (main): Likewise.
11837 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11838 * stdio-common/test-popen.c (do_test): Likewise.
11839 * stdio-common/test_rdwr.c (main): Likewise.
11841 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11843 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11844 (sem_open): Set sem.newsem.pad to zero for valgrind.
11846 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11849 * NEWS: Mention fcntl64 addition.
11850 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11851 * login/utmp_file.c: Likewise.
11852 * sysdeps/posix/fdopendir.c: Likewise.
11853 * sysdeps/posix/opendir.c: Likewise.
11854 * sysdeps/unix/pt-fcntl.c: Likewise.
11855 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11856 __fcntl64_nocancel_adjusted): New prototype.
11857 (__fcntl_nocancel_adjusted): Remove prototype.
11858 * io/Makefile (routines): Add fcntl64.
11859 (CFLAGS-fcntl64.c): New rule.
11860 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11861 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11862 * io/fcntl.h (fcntl64): Add prototype and redirect if
11863 __USE_FILE_OFFSET64 is defined.
11864 * io/fcntl64.c: New file.
11865 * manual/llio.text: Add a note for which commands fcntl acts a
11866 cancellation point.
11867 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11868 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11869 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11871 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11872 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11874 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11875 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11876 to __fcntl64_nocancel.
11877 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11878 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11879 to __fcntl64_nocancel.
11880 * sysdeps/generic/not-cancel.h: Likewise.
11881 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11882 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11883 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11884 (fcntl64): New symbol.
11885 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11886 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11887 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11890 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11891 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11894 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11896 fcntl64): Likewise.
11897 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11898 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11899 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11900 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11901 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11902 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11903 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11904 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11905 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11910 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11911 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11912 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11914 2018-06-26 Florian Weimer <fweimer@redhat.com>
11916 Run thread shutdown functions in an explicit order.
11917 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11919 (__libc_thread_freeres): Call thread shutdown functions
11921 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11922 * include/string.h (__strerror_thread_freeres): Declare.
11923 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11924 arena_thread_freeres. No longer static. Remove thread shutdown
11926 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11928 * resolv/res-close.c (__res_thread_freeres): Renamed from
11929 res_thread_freeres. No longer static. Remove thread shutdown
11931 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11932 * resolv/resolv_conf.c (freeres): Remove incorrect section
11933 attribute and use libc_freeres_fn.
11934 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11935 strerror_thread_freeres. No longer static. Remove thread
11936 shutdown hook registration.
11937 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11938 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11939 shutdown hook registration.
11940 * Makerules (shlib.lds): Do not provide section boundary symbols
11941 for __libc_thread_subfreeres.
11942 * manual/memory.texi (Basic Allocation): Update comment.
11944 2018-06-26 Florian Weimer <fweimer@redhat.com>
11946 Remove always-defined _RPC_THREAD_SAFE_ macro.
11947 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11948 Do not define _RPC_THREAD_SAFE_.
11949 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11951 * sunrpc/clnt_perr.c: Likewise.
11952 * sunrpc/clnt_raw.c: Likewise.
11953 * sunrpc/clnt_simp.c: Likewise.
11954 * sunrpc/key_call.c: Likewise.
11955 * sunrpc/rpc_common.c: Likewise.
11956 * sunrpc/rpc_main.c: Likewise.
11957 * sunrpc/rpc_thread.c: Likewise.
11958 * sunrpc/svc.c: Likewise.
11959 * sunrpc/svc_raw.c: Likewise.
11960 * sunrpc/svc_simple.c: Likewise.
11961 * sumrpc/svcauth_des.c: Likewise.
11963 2018-06-26 Florian Weimer <fweimer@redhat.com>
11965 * libio/Makefile (tests-internal): Add tst-vtables,
11966 tst-vtables-interposed.
11967 * libio/tst-vtables.c: New file.
11968 * libio/tst-vtables-common.c: Likewise.
11969 * libio/tst-vtables-interposed.c: Likewise.
11971 2018-06-26 Florian Weimer <fweimer@redhat.com>
11973 * support/support_test_main.c (support_test_main): Only call
11974 setvbuf if not disables.
11975 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11976 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11978 2018-06-26 Florian Weimer <fweimer@redhat.com>
11981 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11983 2018-06-25 Florian Weimer <fweimer@redhat.com>
11986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11987 Use struct scratch_buffer instead of extend_alloca.
11989 2018-06-25 Florian Weimer <fweimer@redhat.com>
11992 * nss/getent.c (initgroups_keys): Use dynarray instead of
11995 2018-06-25 Florian Weimer <fweimer@redhat.com>
11998 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11999 Use struct scratch_buffer instead of extend_alloca.
12001 2018-06-25 Florian Weimer <fweimer@redhat.com>
12004 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12005 back to malloc directly, without stack allocations.
12007 2018-06-25 Florian Weimer <fweimer@redhat.com>
12010 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12013 2018-06-25 Florian Weimer <fweimer@redhat.com>
12016 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12018 * nscd/hstcache.c (addhstbyX): Likewise.
12019 * nscd/pwdcache.c (addpwbyX): Likewise.
12020 * nscd/servicescache.c (addservbyX): Likewise.
12022 2018-06-25 Florian Weimer <fweimer@redhat.com>
12025 * nscd/connections.c (read_cmdline): New function.
12026 (restart): Use it. Update comment.
12028 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12031 * localedata/locales/csb_PL (mon): Rename to...
12033 (abmon): Rename to...
12034 (ab_alt_mon): This.
12035 (mon): Add with proper genitive forms, copy from Wikipedia.
12038 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12041 * localedata/locales/csb_PL (mon): Fix typos:
12042 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12043 (yesstr): Add, value is "jo".
12044 (nostr): Add, value is "nié".
12046 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12048 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12049 all log1p and significand functions on m680x0.
12050 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12051 of s_significand.c..
12052 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12053 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12054 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12055 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12056 s_log1p.c and include it..
12058 2018-06-21 Vincent Chen <vincentc@andestech.com>
12060 * elf/elf.h (R_NDS32_NONE): New define.
12061 (R_NDS32_32_RELA): Likewise.
12062 (R_NDS32_COPY): Likewise.
12063 (R_NDS32_GLOB_DAT): Likewise.
12064 (R_NDS32_JUMP_SLOT): Likewise.
12065 (R_NDS32_RELATIVE): Likewise.
12066 (R_NDS32_TLS_TPOFF): Likewise.
12067 (R_NDS32_TLS_DESC): Likewise.
12069 2018-06-21 Mark Wielaard <mark@klomp.org>
12071 * elf/elf.h (R_BPF_MAP_FD): Removed.
12072 (R_BPF_64_64, R_BPF_64_32): New.
12074 2018-06-21 Florian Weimer <fweimer@redhat.com>
12077 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12078 Renamed from libc_feholdsetround_ctx.
12079 (default_libc_feresetround_ctx): Renamed from
12080 libc_feresetround_ctx.
12081 (default_libc_feholdsetround_noex_ctx): Renamed from
12082 libc_feholdsetround_noex_ctx.
12083 (default_libc_feresetround_noex_ctx): Renamed from
12084 libc_feresetround_noex_ctx.
12085 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12086 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12087 forwardning to the old implementations under the new names.
12088 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12089 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12090 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12091 (libc_feresetround_ctx): Forward to default implements for i386
12092 and MATH_SET_BOTH_ROUNDING_MODES.
12093 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12094 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12096 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12098 * string/tst-cmp.c: Include <libc-diag.h>.
12099 (strncmp_max): Disable -Wstringop-overflow= around call to
12101 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12104 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12105 (main): Disable -Wunused-value around call to strpbrk.
12106 * string/bug-strspn1.c: Include <libc-diag.h>.
12107 (main): Disable -Wunused-value around call to strspn.
12109 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12110 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12112 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12113 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12115 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12117 * math/Makefile (libm-calls): Move s_significandF to...
12118 (gen-libm-calls): ... here.
12119 * math/s_significand_template.c: New file.
12120 * math/s_significand.c: Removed.
12121 * math/s_significandf.c: Removed.
12122 * math/s_significandl.c: Removed.
12123 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12124 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12126 * math/e_exp2_template.c (declare_mgen_finite_alias,
12127 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12128 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12129 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12131 2018-06-20 Florian Weimer <fweimer@redhat.com>
12133 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12135 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12138 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12139 floating-point number to strtod functions rather than possibly
12140 negating result of those functions.
12141 * stdio-common/tst-scanf-round.c: New file.
12142 * stdio-common/Makefile (tests): Add tst-scanf-round.
12143 ($(objpfx)tst-scanf-round): Depend on $(libm).
12145 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12147 * sysdeps/mach/hurd/localplt.data: Move to...
12148 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12149 R_386_GLOB_DAT like on Linux i386.
12151 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12153 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12154 (SHM_STAT_ANY): New macro.
12155 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12156 (SHM_STAT_ANY): Likewise.
12157 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12158 (SHM_STAT_ANY): Likewise.
12159 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12160 (SHM_STAT_ANY): Likewise.
12161 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12162 (SHM_STAT_ANY): Likewise.
12163 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12164 (SHM_STAT_ANY): Likewise.
12165 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12166 (SHM_STAT_ANY): Likewise.
12167 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12168 (SHM_STAT_ANY): Likewise.
12169 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12170 (SHM_STAT_ANY): Likewise.
12171 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12172 (SHM_STAT_ANY): Likewise.
12173 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12174 (SHM_STAT_ANY): Likewise.
12175 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12176 (SHM_STAT_ANY): Likewise.
12178 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12179 (SEM_STAT_ANY): New macro.
12180 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12181 (SEM_STAT_ANY): Likewise.
12182 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12183 (SEM_STAT_ANY): Likewise.
12184 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12185 (SEM_STAT_ANY): Likewise.
12186 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12187 (SEM_STAT_ANY): Likewise.
12188 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12189 (SEM_STAT_ANY): Likewise.
12190 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12191 (SEM_STAT_ANY): Likewise.
12192 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12193 (SEM_STAT_ANY): Likewise.
12194 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12195 (SEM_STAT_ANY): Likewise.
12196 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12197 (SEM_STAT_ANY): Likewise.
12199 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12200 (MSG_STAT_ANY): New macro.
12201 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12202 (MSG_STAT_ANY): Likewise.
12203 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12204 (MSG_STAT_ANY): Likewise.
12205 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12206 (MSG_STAT_ANY): Likewise.
12207 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12208 (MSG_STAT_ANY): Likewise.
12209 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12210 (MSG_STAT_ANY): Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12212 (MSG_STAT_ANY): Likewise.
12213 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12214 (MSG_STAT_ANY): Likewise.
12215 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12216 (MSG_STAT_ANY): Likewise.
12217 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12218 (MSG_STAT_ANY): Likewise.
12220 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12221 (MAP_TYPE): Change value to 0x2b.
12223 2018-06-18 Florian Weimer <fweimer@redhat.com>
12226 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12227 socket with SOCK_CLOEXEC.
12229 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12232 * sysdeps/powerpc/powerpc64/le/Makefile
12233 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12234 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12235 (gnulib-tests): Also add $(f128-loader-link) for
12236 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12238 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12240 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12241 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12243 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12244 (sendfile64): New strong alias.
12245 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12246 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12247 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12248 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12250 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12251 ___pthread_get_cleanup_stack.
12252 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12253 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12254 * mach/shortcut.awk: Make syscall stubs include
12255 <mach-shortcuts-hidden.h> and add hidden definition.
12256 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12257 (__mach_msg): Add hidden prototype.
12258 * mach/msg.c: Include <mach.h>.
12259 (__mach_msg): Add hidden definition.
12260 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12261 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12262 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12263 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12264 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12265 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12266 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12267 prototype and definition.
12268 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12269 hidden target for _hurd_self_sigstate.
12271 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12274 * stdlib/tst-strtod-nan-sign-main.c: New file.
12275 * stdlib/tst-strtod-nan-sign.c: Likewise.
12276 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12277 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12278 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12279 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12280 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12282 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12288 2018-06-14 Florian Weimer <fweimer@redhat.com>
12291 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12292 that the result stays within the ISO-8859-1 range.
12293 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12294 characters are defined in IBM273.
12296 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12298 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12299 __mach_task_self): Remove attribute_hidden.
12301 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12303 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12304 ignore -Wrestrict for one test.
12306 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12307 Szabolcs Nagy <szabolcs.nagy@arm.com>
12309 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12311 2018-06-14 Florian Weimer <fweimer@redhat.com>
12313 * scripts/update-abilist.sh: Accept empty list of files to patch.
12315 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12317 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12318 test-xfail-check-abi-libmachuser): Add.
12319 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12320 __libc_read and __libc_write to __read and __write.
12321 * sysdeps/hurd/include/hurd/port.h: New file.
12322 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12323 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12324 __thread_switch, __evc_wait): Move declarations to...
12325 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12327 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12328 use PLT to call _hurd_self_sigstate.
12330 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12333 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12334 MAX_EXP as overflowing.
12335 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12337 (round_str): Output also whether result overflows in each rounding
12339 * stdlib/tst-strtod-round-data: Add more tests.
12340 * stdlib/tst-strtod-round-data.h: Regenerated.
12341 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12342 (TEST): Handle extra arguments for overflow flags.
12343 (struct test_overflow): New type.
12344 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12345 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12346 (test_in_one_mode): Take argument with overflow information.
12347 (do_test): Update calls to test_in_one_mode.
12349 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12351 * elf/dl-load (_dl_dst_substitute): Correct comment.
12352 (_dl_dst_count): Likewise.
12354 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12355 lll_futex_timed_wait.
12357 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12360 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12362 * math/test-nan-const.c: New file.
12363 * math/Makefile (tests): Add test-nan-const.
12364 (CFLAGS-test-nan-const.c): New variable.
12366 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12368 * benchtests/scripts/compare_strings.py (process_results): Add
12369 funcs argument. Compare only functions which are selected.
12370 (main): Check if base function is among selected functions.
12371 Pass selected functions to process_results.
12372 (__main__): Add -f/--functions argument.
12374 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12375 Hongbo Zhang <hongbo.zhang@linaro.org>
12377 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12378 __memcpy_falkor for phecda core.
12379 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12380 __memmove_falkor for phecda core.
12381 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12382 __memset_falkor for phecda core.
12383 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12385 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12386 macro to identify phecda core.
12388 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12389 Andreas Schwab <schwab@suse.de>
12390 Dmitry V. Levin <ldv@altlinux.org>
12391 Florian Weimer <fweimer@redhat.com>
12398 * elf/dl-dst.h: Remove DL_DST_COUNT.
12399 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12400 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12401 (is_dst): Comment. Support ELF gABI.
12402 (_dl_dst_count): Comment. Simplify and count DSTs.
12403 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12404 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12407 2018-06-12 Zack Weinberg <zackw@panix.com>
12409 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12410 * sysdeps/unix/sysv/linux/dl-sysdep.c
12411 Include not-cancel.h. Use __close_nocancel instead of __close,
12412 __open64_nocancel instead of __open, __read_nocancel instead of
12413 __libc_read, and __write_nocancel instead of __libc_write.
12415 * csu/check_fds.c (check_one_fd)
12416 * sysdeps/posix/fdopendir.c (__fdopendir)
12417 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12418 instead of __fcntl and/or __libc_fcntl.
12420 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12421 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12422 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12423 Use __open64_nocancel instead of __open_nocancel.
12425 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12426 hidden_proto declarations to the end and issue them if either
12427 IS_IN(libc) or IS_IN(rtld).
12428 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12429 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12430 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12431 read_nocancel, waitpid_nocancel, write_nocancel.
12433 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12434 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12435 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12437 * nptl/pt-fcntl.c: New file.
12438 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12439 (libpthread-routines): Add pt-fcntl.
12440 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12441 (__libc_fcntl): Remove attribute_hidden.
12442 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12443 __fcntl_nocancel_adjusted, not fcntl_common.
12444 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12445 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12446 to fcntl_nocancel.c.
12447 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12450 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12452 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12453 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12454 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12455 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12456 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12457 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12458 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12459 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12460 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12461 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12462 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12463 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12464 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12465 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12466 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12467 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12468 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12469 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12470 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12471 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12473 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12474 libpthread-routines.
12475 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12478 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12479 __libc_read, and __write instead of __libc_write. Define
12480 __open64 in addition to __open.
12482 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12486 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12487 to _private_tm[3] and add __glibc_reserved2.
12488 Add _Static_assert of offset of __private_ss == 0x30.
12489 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12490 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12492 2018-06-12 Florian Weimer <fweimer@redhat.com>
12494 x86: Make strncmp usable from rtld.
12495 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12496 __strncmp_ia32 if in libc (and not in rtld).
12497 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12498 strncmp if not in libc (and not to __strncmp_sse2).
12500 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12503 * localedata/locales/gd_GB (mon): Rename to...
12505 (mon): Import from CLDR (genitive case).
12506 * localedata/locales/hsb_DE (mon): Rename to...
12508 (mon): Import from CLDR (genitive case).
12509 * localedata/locales/wa_BE (mon): Rename to...
12511 (mon): Add, fill with the proper genitive forms, but CLDR data
12512 is incomplete; completed according to the comments in this file.
12513 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12515 * localedata/locales/wa_BE (country_name): Reword
12516 "Beljike" -> "Beldjike".
12518 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12521 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12522 cases of non-finite arguments.
12523 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12525 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12528 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12530 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12533 * include/unistd.h (__execvpex): New prototype.
12534 * posix/Makefile (tests): Add tst-spawn4.
12535 (tests-internal): Add tst-spawn4-compat.
12536 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12537 * posix/tst-spawn4-compat.c: New file.
12538 * posix/tst-spawn4.c: Likewise.
12539 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12540 binaries as shell scripts.
12541 * sysdeps/posix/spawni.c (__spawni): Likewise.
12543 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12546 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12547 ($(all-built-dso:=.dynsym): New target.
12548 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12549 ($(objpfx)check-initfini.out): New target.
12550 (generated): Add check-initfini.out.
12551 * scripts/check-initfini.awk: New file.
12552 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12554 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12556 * sysdeps/arm/crti.S (_init): Mark as hidden.
12558 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12560 * sysdeps/i386/crti.S (_init): Mark as hidden.
12562 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12564 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12566 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12568 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12570 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12572 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12574 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12576 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12578 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12580 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12582 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12584 * sysdeps/sh/crti.S (_init): Mark as hidden.
12586 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12588 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12591 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12593 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12594 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12595 and TF redirection to KFtype and KF only when the default
12596 long double type is not the IEEE 128-bit floating point type.
12598 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12600 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12602 (HWCAP_USCAT): Likewise.
12603 (HWCAP_ILRCPC): Likewise.
12604 (HWCAP_FLAGM): Likewise.
12605 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12607 (_dl_aarch64_cap_flags): Add new flag names.
12609 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12610 (MAP_FIXED_NOREPLACE): New macro.
12611 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12612 (MAP_FIXED_NOREPLACE): Likewise.
12613 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12614 (MAP_FIXED_NOREPLACE): Likewise.
12615 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12616 (MAP_FIXED_NOREPLACE): Likewise.
12617 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12618 (MAP_FIXED_NOREPLACE): Likewise.
12619 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12620 (MAP_FIXED_NOREPLACE): Likewise.
12621 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12622 (MAP_FIXED_NOREPLACE): Likewise.
12623 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12624 (MAP_FIXED_NOREPLACE): Likewise.
12625 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12626 (MAP_FIXED_NOREPLACE): Likewise.
12627 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12628 (MAP_FIXED_NOREPLACE): Likewise.
12629 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12630 (MAP_FIXED_NOREPLACE): Likewise.
12631 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12632 (MAP_FIXED_NOREPLACE): Likewise.
12633 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12634 (MAP_FIXED_NOREPLACE): Likewise.
12635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12636 (MAP_FIXED_NOREPLACE): Likewise.
12637 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12638 (MAP_FIXED_NOREPLACE): Likewise.
12640 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12643 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12645 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12648 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12650 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12652 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12654 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12656 * benchtests/scripts/compare_string.py: (process_results) Catch
12657 exception in non-existent base_func and catch exception in
12658 non-existent attribute.
12659 (parse_file) Catch exception if input file does not exist.
12661 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12663 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12664 options to avoid diff calculation and omit header, respectively.
12665 (main): process --no-diff and --no-header
12667 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12668 H.J. Lu <hongjiu.lu@intel.com>
12670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12671 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12674 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12675 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12676 and __wcsncmp_sse2.
12677 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12678 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12679 AVX unaligned load is fast and vzeroupper is preferred.
12680 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12681 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12682 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12683 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12684 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12685 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12686 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12687 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12688 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12689 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12692 2018-06-01 Florian Weimer <fweimer@redhat.com>
12694 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12695 configuring with --disable-multi-arch, building with
12696 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12699 2018-06-01 Florian Weimer <fweimer@redhat.com>
12701 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12702 results from building with “-march=x86-64 -mtune=generic
12703 -mfpmath=sse” and running on a Haswell-era CPU.
12705 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12708 * soft-fp/sqrttf2.c: Remove file.
12709 * soft-fp/sqrtdf2.c: Move to ....
12710 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12712 (__sqrtdf2): Make conditional on
12713 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12715 * soft-fp/sqrtsf2.c: Move to ....
12716 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12718 (__sqrtsf2): Make conditional on
12719 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12721 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12722 (gcc-double-routines): Remove sqrtdf2.
12723 (gcc-quad-routines): Remove sqrttf2.
12724 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12725 Do not filter out sqrtsf2 and sqrtdf2.
12726 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12727 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12729 2018-06-01 Florian Weimer <fweimer@redhat.com>
12731 * sysdeps/generic/libcidn.abilist: Remove file.
12733 2018-06-01 Florian Weimer <fweimer@redhat.com>
12736 * libio/strfile.h (struct _IO_str_fields): Rename members to
12737 discourage their use and add comment.
12738 (_IO_STR_DYNAMIC): Remove unused macro.
12739 * libio/strops.c (_IO_str_init_static_internal): Do not use
12740 callback pointers. Call malloc and free.
12741 (_IO_str_overflow): Do not use callback pointers. Call malloc
12743 (enlarge_userbuf): Likewise.
12744 (_IO_str_finish): Call free.
12745 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12746 _allocate_buffer_unused.
12747 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12749 (enlarge_userbuf): Likewise.
12750 (_IO_wstr_finish): Call free.
12751 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12752 _allocate_buffer_unused, _free_buffer_unused.
12753 * libio/memstream.c (__open_memstream): Likewise.
12754 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12755 * libio/wmemstream.c (open_wmemstream): Likewise.
12757 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12759 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12762 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12764 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12765 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12766 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12768 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12770 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12772 2018-05-29 Florian Weimer <fweimer@redhat.com>
12774 * support/Makefile (libsupport-routines): Add
12775 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12776 xpthread_barrierattr_setpshared.
12777 * support/xpthread_barrierattr_destroy.c: New file.
12778 * support/xpthread_barrierattr_init.c: Likewise.
12779 * support/xpthread_barrierattr_setpshared.c: Likewise.
12781 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12784 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12785 _r_debug and update DT_DEBUG for debugger.
12787 2018-05-29 Florian Weimer <fweimer@redhat.com>
12789 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12790 (tst-strtod5i.out): Likewise.
12792 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12794 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12795 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12796 (sparc64-quad-routines): New variable. Moved from ....
12797 [$(subdir) = soft-fp] (sysdep_routines): Add
12798 $(sparc64-quad-routines). Moved from ....
12799 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12800 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12801 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12803 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12804 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12805 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12806 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12807 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12808 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12809 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12810 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12811 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12812 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12813 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12814 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12815 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12816 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12817 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12818 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12819 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12820 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12821 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12822 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12823 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12824 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12825 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12826 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12827 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12828 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12829 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12830 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12831 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12832 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12833 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12834 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12836 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12837 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12838 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12840 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12841 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12842 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12843 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12844 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12845 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12846 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12847 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12848 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12849 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12850 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12851 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12852 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12853 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12854 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12855 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12856 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12857 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12858 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12859 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12860 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12862 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12863 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12864 (sparc32-quad-routines): New variable. Moved from ....
12865 [$(subdir) = soft-fp] (sysdep_routines): Add
12866 $(sparc32-quad-routines). Moved from ....
12867 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12868 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12870 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12871 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12872 * sysdeps/sparc/sparc32/q_add.c: ... here.
12873 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12874 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12875 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12876 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12877 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12878 * sysdeps/sparc/sparc32/q_div.c: ... here.
12879 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12880 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12881 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12882 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12883 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12884 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12885 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12886 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12887 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12888 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12889 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12890 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12891 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12892 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12893 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12894 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12895 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12896 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12897 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12898 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12899 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12900 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12901 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12902 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12903 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12904 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12905 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12906 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12907 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12908 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12909 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12910 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12911 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12912 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12913 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12914 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12915 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12916 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12917 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12918 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12919 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12920 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12921 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12922 * sysdeps/sparc/sparc32/q_util.c: ... here.
12923 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12924 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12925 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12926 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12928 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12929 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12931 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12932 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12933 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12934 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12936 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12942 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12943 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12945 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12948 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12951 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12953 * sysdeps/sh/Implies: Remove sh/soft-fp.
12954 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12955 * sysdeps/sh/sfp-machine.h: ... here.
12957 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12959 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12960 (__mempcpy_erms): Skip zero length.
12961 (__memmove_erms): Likewise.
12962 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12963 (__memset_erms): Likewise.
12965 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12967 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12968 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12969 Add functions moved from ....
12970 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12971 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12972 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12974 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12975 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12976 * sysdeps/alpha/e_sqrtl.c: ... here.
12977 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12978 * sysdeps/alpha/local-soft-fp.h: ... here.
12979 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12980 * sysdeps/alpha/ots_add.c: ... here.
12981 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12982 * sysdeps/alpha/ots_cmp.c: ... here.
12983 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12984 * sysdeps/alpha/ots_cmpe.c: ... here.
12985 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12986 * sysdeps/alpha/ots_cvtqux.c: ... here.
12987 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12988 * sysdeps/alpha/ots_cvtqx.c: ... here.
12989 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12990 * sysdeps/alpha/ots_cvttx.c: ... here.
12991 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12992 * sysdeps/alpha/ots_cvtxq.c: ... here.
12993 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12994 * sysdeps/alpha/ots_cvtxt.c: ... here.
12995 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12996 * sysdeps/alpha/ots_div.c: ... here.
12997 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12998 * sysdeps/alpha/ots_mul.c: ... here.
12999 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13000 * sysdeps/alpha/ots_nintxq.c: ... here.
13001 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13002 * sysdeps/alpha/ots_sub.c: ... here.
13003 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13004 * sysdeps/alpha/sfp-machine.h: ... here.
13006 2018-05-23 Florian Weimer <fweimer@redhat.com>
13014 Switch to extern IDNA implementation (libidn2).
13015 * libidn: Remove subdirectory.
13016 * LICENSES: Do not mention licensing conditions for the removed
13018 * config.h.in (HAVE_LIBIDN): Remove.
13019 * include/dlfcn.h (__libc_dlopen): Update comment.
13020 * include/idna.h: Remove file.
13021 * inet/Makefile (routines): Add idna.
13022 (tests-static, tests-internal): Add tst-idna_name_classify.
13023 (LOCALES): Generate locales for tests.
13024 (tst-idna_name_classify.out): Depend on generated locales.
13025 * inet/idna_name_classify.c: New file.
13026 * inet/tst-idna_name_classify.c: Likewise.
13027 * inet/net-internal.h (__idna_to_dns_encoding)
13028 (__idna_from_dns_encoding): Declare.
13029 * inet/net-internal.h (enum idna_name_classification): Define.
13030 (__idna_name_classify): Declare.
13031 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13032 __idna_from_dns_encoding.
13033 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13034 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13035 name as a fallback in case of encoding errors.
13036 (getnameinfo): Use DEPRECATED_NI_IDN.
13037 * inet/idna.c: New file.
13038 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13039 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13040 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13041 (modules-names): Add tst-no-libidn2.
13042 (extra-test-objs): Add tst-no-libidn2.os.
13043 (LDFLAGS-tst-no-libidn2.so): Set soname.
13044 (LOCALES): Set, and generate locales.
13045 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13046 (tst-resolv-ai_idn-latin1): Likewise.
13047 (tst-resolv-ai_idn-nolibidn2): Likewise.
13048 (tst-resolv-ai_idn.out): Depend on locales.
13049 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13050 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13052 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13053 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13054 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13055 * resolv/tst-resolv-ai_idn.c: New file.
13056 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13057 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13058 * resolv/tst-no-libidn2.c: Likewise.
13059 * support/support_format_addrinfo.c (format_ai_flags): Do not
13060 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13061 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13062 (gaih_inet): Call __idna_to_dns_encoding and
13063 __idna_from_dns_encoding, and use the original (punycode) name if
13064 __idna_from_dns_encoding fails due to an encoding error.
13065 (getaddrinfo): Use DEPRECATED_AI_IDN.
13066 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13067 * sysdeps/unix/inet/configure: Remove file.
13068 * sysdeps/unix/inet/configure.ac: Likewise.
13070 2018-05-23 Florian Weimer <fweimer@redhat.com>
13072 Implement allocate_once.
13073 * include/allocate_once.h: New file.
13074 * misc/allocate_once.c: Likewise.
13075 * misc/tst-allocate_once.c: Likewise.
13076 * misc/Makefile (routines): Add allocate_once.
13077 (tests-internal): Add tst-allocate_once.
13078 (generated): Add tst-allocate_once.mtrace,
13079 tst-allocate_once-mem.out.
13080 (tests-special): Add tst-allocate_once-mem.out.
13081 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13082 (tst-allocate_once-mem.out): Call mtrace.
13083 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13085 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13088 * string/test-memcpy.c (do_test1): New function.
13089 (test_main): Call it.
13091 2018-05-23 Andreas Schwab <schwab@suse.de>
13095 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13096 (L(preloop_large)): Save initial destination pointer in %r11 and
13097 use it instead of %rax after the loop.
13098 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13100 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13102 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13103 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13104 -I../soft-fp. Moved from ....
13105 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13106 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13107 * sysdeps/aarch64/e_sqrtl.c: ... here.
13108 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13109 * sysdeps/aarch64/sfp-machine.h: ... here.
13111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13112 -Wmaybe-uninitialized around access to fq[0].
13113 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13117 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13118 aliases for non-libc case of versioned symbols.
13119 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13120 (llseek): Define as compat symbol if
13121 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13123 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13124 Make into a compat symbol, disabled for minimum symbol version
13125 GLIBC_2.28 and later.
13126 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13128 2018-05-22 Florian Weimer <fweimer@redhat.com>
13130 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13131 not add -mpreferred-stack-boundary=4.
13132 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13133 (stack-align-test-flags): Likewise.
13134 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13136 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13137 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13138 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13139 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13140 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13141 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13142 (CFLAGS-tst-align2.c): Likewise.
13144 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13146 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13147 (index_arch_Prefer_FSRM): Likewise.
13148 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13149 Also check Prefer_FSRM.
13150 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13151 Also return OPTIMIZE (erms) for Prefer_FSRM.
13153 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13155 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13156 (index_cpu_FSRM): Likewise.
13157 (reg_FSRM): Likewise.
13159 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13161 * math/gen-tgmath-tests.py: Import sys.
13162 (Tests.__init__): Initialize macros_seen.
13163 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13164 if requested to do so for this macro.
13165 (Tests.add_all_tests): Take argument for macro for which to
13167 (Tests.check_macro_list): New function.
13168 (main): Handle check-list argument and argument specifying macro
13169 for which to generate tests.
13170 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13171 [PYTHON] (tgmath3-macro-tests): Likewise.
13172 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13173 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13174 not test-tgmath3.c.
13175 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13176 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13178 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13179 [PYTHON] ($(foreach
13180 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13182 [PYTHON] (tests-special): Add
13183 $(objpfx)test-tgmath3-macro-list.out.
13184 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13186 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13187 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13191 * time/tzset.c (SECSPERDAY): Cast to time_t.
13192 * time/tst-y2039.c: New file.
13193 * time/Makefile (tests): Add tst-y2039.
13195 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13197 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13198 (PREFETCH_ONE_SET): Remove duplicate line.
13200 2018-05-17 Florian Weimer <fweimer@redhat.com>
13202 * sysdeps/generic/math-type-macros-double.h: Include
13203 <math-nan-payload-double.h> after <libm-alias-double.h>.
13204 * sysdeps/generic/math-type-macros-float.h: Include
13205 <math-nan-payload-float.h> after <libm-alias-float.h>.
13206 * sysdeps/generic/math-type-macros-float128.h: Include
13207 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13208 * sysdeps/generic/math-type-macros-ldouble.h: Include
13209 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13211 2018-05-17 Andreas Schwab <schwab@suse.de>
13213 * resolv/res_send.c (__res_context_send): Don't set errno when
13214 returing error after malloc failure.
13216 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13218 * nptl/allocatestack.c (allocate_stack): Remove the
13219 !__ASSUME_PRIVATE_FUTEX paths.
13220 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13221 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13223 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13224 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13225 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13226 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13227 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13228 !__ASSUME_PRIVATE_FUTEX path.
13229 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13230 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13231 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13232 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13233 !__ASSUME_PRIVATE_FUTEX macros.
13234 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13237 * sysdeps/unix/sysv/linux/kernel-features.h
13238 (__ASSUME_PRIVATE_FUTEX): Removed.
13240 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13242 * math/Makefile (libm-narrow-fns): Add div.
13243 (libm-test-funcs-narrow): Likewise.
13244 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13245 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13246 * math/gen-auto-libm-tests.c (test_functions): Add div.
13247 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13248 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13249 (NARROW_DIV_TRIVIAL): Likewise.
13250 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13252 (__ddivl): Likewise.
13253 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13255 (CFLAGS-nldbl-ddiv.c): New variable.
13256 (CFLAGS-nldbl-fdiv.c): Likewise.
13257 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13259 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13261 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13262 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13263 * math/auto-libm-test-in: Add tests of div.
13264 * math/auto-libm-test-out-narrow-div: New generated file.
13265 * math/libm-test-narrow-div.inc: New file.
13266 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13267 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13268 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13269 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13270 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13271 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13280 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13281 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13282 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13283 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13285 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13311 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13314 * nscd/nscd-client.h (sendfileall): Remove prototype.
13315 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13316 (handle_request): Use writeall instead of sendfileall.
13317 * nscd/aicache.c (addhstaiX): Likewise.
13318 * nscd/grpcache.c (cache_addgr): Likewise.
13319 * nscd/hstcache.c (cache_addhst): Likewise.
13320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13321 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13322 * nscd/pwdcache.c (cache_addpw): Likewise.
13323 * nscd/servicescache.c (cache_addserv): Likewise.
13324 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13325 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13326 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13329 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13331 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13332 Include <string/strncat.c>.
13333 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13335 (__GI___strncat): New hidden alias.
13337 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13339 * sysdeps/mips/mips32/libm-test-ulps: Update.
13340 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13342 2018-05-16 Florian Weimer <fweimer@redhat.com>
13344 * support/Makefile (libsupport-routines): Add support_quote_blob,
13345 support_test_compare_blob.
13346 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13347 * support/check.h (TEST_COMPARE_BLOB): Define.
13348 (support_test_compare_blob): Declare.
13349 * support/support.h (support_quote_blob): Declare.
13350 * support/support_quote_blob.c: New file.
13351 * support/support_test_compare_blob.c: Likewise.
13352 * support/tst-support_quote_blob.c: Likewise.
13353 * support/tst-test_compare_blob.c: Likewise.
13355 2018-05-16 Florian Weimer <fweimer@redhat.com>
13357 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13358 of <strtod_nan_double.h>.
13359 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13360 instead of SET_MANTISSA.
13361 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13362 of include <strtod_nan_float.h>.
13363 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13364 instead of <strtod_nan_ldouble.h>.
13365 * stdlib/strtod_nan_double.h: Move to ...
13366 * sysdeps/generic/math-nan-payload-double.h: ... here.
13367 (FLOAT): Remove definition.
13368 (SET_MANTISSA): Rename to ...
13369 (SET_NAN_PAYLOAD): ... this.
13370 * stdlib/strtod_nan_float.h: Move to ...
13371 * sysdeps/generic/math-nan-payload-float.h: ... here.
13372 (FLOAT): Remove definition.
13373 (SET_MANTISSA): Rename to ...
13374 (SET_NAN_PAYLOAD): ... this.
13375 * sysdeps/generic/math-type-macros-double.h: Include
13376 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13377 instead of <math-svid-compat.h>.
13378 * sysdeps/generic/math-type-macros-float.h: Include
13379 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13380 instead of <math-svid-compat.h>.
13381 * sysdeps/generic/math-type-macros-float128.h: Include
13382 <math-nan-payload-float128.h>.
13383 * sysdeps/generic/math-type-macros-ldouble.h: Include
13384 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13385 instead of <math-svid-compat.h>.
13386 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13387 check for definition.
13388 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13389 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13390 Include <ieee754_float128.h>.
13391 (FLOAT): Remove definition.
13392 (SET_MANTISSA): Rename to ...
13393 (SET_NAN_PAYLOAD): ... this.
13394 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13395 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13396 Do not include <float128_private.h>.
13397 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13399 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13400 (FLOAT): Remove definition.
13401 (SET_MANTISSA): Rename to ...
13402 (SET_NAN_PAYLOAD): ... this.
13403 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13404 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13405 (FLOAT): Remove definition.
13406 (SET_MANTISSA): Rename to ...
13407 (SET_NAN_PAYLOAD): ... this.
13408 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13409 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13410 (FLOAT): Remove definition.
13411 (SET_MANTISSA): Rename to ...
13412 (SET_NAN_PAYLOAD): ... this.
13413 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13414 of "../stdlib/strtod_nan_double.h".
13415 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13416 of "../stdlib/strtod_nan_float.h".
13417 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13418 instead of "../stdlib/strtod_nan_ldouble.h".
13419 * manual/arith.texi (Parsing of Floats): Adjust comment.
13421 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13423 * math/Makefile (libm-narrow-fns): Add mul.
13424 (libm-test-funcs-narrow): Likewise.
13425 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13426 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13427 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13428 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13429 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13430 (NARROW_MUL_TRIVIAL): Likewise.
13431 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13432 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13434 (__dmull): Likewise.
13435 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13437 (CFLAGS-nldbl-dmul.c): New variable.
13438 (CFLAGS-nldbl-fmul.c): Likewise.
13439 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13441 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13443 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13444 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13445 * math/auto-libm-test-in: Add tests of mul.
13446 * math/auto-libm-test-out-narrow-mul: New generated file.
13447 * math/libm-test-narrow-mul.inc: New file.
13448 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13451 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13452 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13453 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13461 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13462 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13463 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13464 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13465 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13467 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13493 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13495 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13496 with *%eax in call.
13498 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13500 * sysdeps/i386/ldsodefs.h: Removed.
13501 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13502 * sysdeps/x86/ldsodefs.h: This.
13503 (La_i86_regs): New.
13504 (La_i86_retval): Likewise.
13505 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13506 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13508 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13510 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13513 2018-05-13 Alan Modra <amodra@gmail.com>
13515 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13516 R_PARISC_TLS_DTPOFF32 reloc addend.
13518 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13520 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13521 * math/math.h: Restrict the prototype definition for the functions
13522 issignaling(_Float128) and iszero(_Float128); and template
13523 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13524 __HAVE_FLOAT128_UNLIKE_LDBL.
13525 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13526 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13527 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13528 __f128() constants; define the type _Float128 as long double;
13529 and reuse long double in __CFLOAT128.
13531 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13533 * sysdeps/generic/math_private.h: Do not include
13535 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13537 * math/fromfp.h: Include <math-barriers.h>.
13538 * math/math-narrow.h: Likewise.
13539 * math/s_nextafter.c: Likewise.
13540 * math/s_nexttowardf.c: Likewise.
13541 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13542 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13543 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13544 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13545 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13546 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13547 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13560 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13561 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13562 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13563 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13564 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13565 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13566 * sysdeps/ieee754/k_standardl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13583 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13587 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13588 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13590 2018-05-11 Florian Weimer <fweimer@redhat.com>
13592 Use 64-bit epoch values in the time zone file parser.
13593 * include/time.h (internal_time_t): Define.
13594 (__tzfile_compute): Use it.
13595 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13597 (transitions): Switch to internal_time_t.
13598 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13600 (__tzfile_compute): Use internal_time_t for timer argument. Check
13601 for truncation before calling __offtime.
13603 2018-05-11 Florian Weimer <fweimer@redhat.com>
13606 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13607 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13609 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13610 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13611 export without --enable-obsolete-rpc.
13612 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13613 symbol. This should not have been exported, ever.
13615 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13618 * localedata/locales/gd_GB (abmon): Fix typo in May:
13619 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13621 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13623 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13624 Use multiple registers to copy data in loop tail.
13626 * sysdeps/aarch64/multiarch/memmove_falkor.S
13627 (__memmove_falkor): Use multiple registers to move data in
13630 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13632 * math/math-underflow.h: New file.
13633 * sysdeps/generic/math_private.h: Do not include <float.h>.
13634 (fabs_tg): Remove macro. Moved to math-underflow.h.
13635 (min_of_type_f): Likewise.
13636 (min_of_type_): Likewise.
13637 (min_of_type_l): Likewise.
13638 (min_of_type_f128): Likewise.
13639 (min_of_type): Likewise.
13640 (math_check_force_underflow): Likewise.
13641 (math_check_force_underflow_nonneg): Likewise.
13642 (math_check_force_underflow_complex): Likewise.
13643 * math/e_exp2_template.c: Include <math-underflow.h>.
13644 * math/k_casinh_template.c: Likewise.
13645 * math/s_catan_template.c: Likewise.
13646 * math/s_catanh_template.c: Likewise.
13647 * math/s_ccosh_template.c: Likewise.
13648 * math/s_cexp_template.c: Likewise.
13649 * math/s_clog10_template.c: Likewise.
13650 * math/s_clog_template.c: Likewise.
13651 * math/s_csin_template.c: Likewise.
13652 * math/s_csinh_template.c: Likewise.
13653 * math/s_csqrt_template.c: Likewise.
13654 * math/s_ctan_template.c: Likewise.
13655 * math/s_ctanh_template.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13674 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13676 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13679 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13680 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13681 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13682 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13683 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13684 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13685 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13686 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13687 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13726 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13733 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13734 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13736 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13741 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13743 * sysdeps/generic/math-barriers.h: New file.
13744 * sysdeps/generic/math_private.h [!math_opt_barrier]
13745 (math_opt_barrier): Move to math-barriers.h.
13746 [!math_opt_barrier] (math_force_eval): Likewise.
13747 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13748 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13750 (math_force_eval): Likewise.
13751 * sysdeps/alpha/fpu/math-barriers.h: New file.
13752 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13754 (math_force_eval): Likewise.
13755 * sysdeps/x86/fpu/math-barriers.h: New file.
13756 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13758 (math_force_eval): Likewise.
13759 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13760 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13761 multiple-include guard for rename.
13762 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13763 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13765 (math_force_eval): Likewise.
13767 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13771 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13773 * stdlib/Makefile (test-bz22786): New test.
13774 * stdlib/test-bz22786.c: New test.
13776 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13778 * include/math-narrow-eval.h: New file. Contents moved from ....
13779 * sysdeps/generic/math_private.h: ... here.
13780 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13781 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13782 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13783 * stdlib/strtod_l.c: Likewise.
13784 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13785 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13786 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13797 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13798 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13799 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13800 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13801 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13802 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13803 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13804 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13805 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13806 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13807 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13808 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13809 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13810 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13811 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13814 2018-05-08 Andreas Schwab <schwab@suse.de>
13816 * sysdeps/nptl/internaltypes.h: Fix comment.
13818 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13820 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13821 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13824 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13826 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13827 of I into loop header.
13828 * benchtests/bench-memmove-walk.c
13829 (test_main): Likewise.
13831 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13834 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13835 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13837 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13840 * elf/dl-load.c (open_verify): Fix stack overflow.
13841 * elf/Makefile (tst-big-note): New test.
13842 * elf/tst-big-note-lib.S: New.
13843 * elf/tst-big-note.c: New.
13845 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13847 * scripts/abilist.awk: Ignore absolute symbols.
13848 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13849 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13850 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13851 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13852 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13853 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13854 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13855 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13856 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13857 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13858 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13859 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13860 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13868 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13869 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13941 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13955 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13983 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14004 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14094 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14095 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14096 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14097 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14098 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14099 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14100 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14109 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14111 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14120 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14122 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14126 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14127 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14148 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14162 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14201 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14204 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14205 Use atomic_load_acquire to load __tid.
14207 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14209 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14210 Restore the pointer into %rdx, after syscall and use %rdx,
14211 instead of %rsi, to restore context.
14213 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14215 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14216 Pop the pointer into %rdx after syscall and use %rdx, instead
14217 of %rsi, to restore context.
14219 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14221 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14222 handlers after setjmp.
14223 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14225 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14226 <libc-pointer-arith.h>.
14227 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14228 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14229 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14230 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14231 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14232 * sysdeps/x86/__longjmp_cancel.S: New file.
14233 * sysdeps/x86/longjmp.c: Likewise.
14234 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14236 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14238 * NEWS: Add ustat.h deprecation entry.
14239 * bits/ustat.h: Remove file.
14240 * misc/sys/ustat.h: Likewise.
14241 * misc/ustat.h: Likewise.
14242 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14243 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14244 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14245 compatibility mode.
14246 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14247 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14248 generic Linux implementation.
14250 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14252 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14253 * math/w_expl_compat.c: Likewise.
14254 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14256 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14258 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14260 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14262 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14263 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14264 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14266 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14269 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14270 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14273 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14275 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14277 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14278 * math/w_asin_template.c: Likewise.
14279 * math/w_atanh_template.c: Likewise.
14281 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14283 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14284 to powerpc/powerpc64/be for big-endian.
14285 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14288 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14289 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14290 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14291 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14292 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14293 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14294 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14295 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14296 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14297 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14298 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14299 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14300 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14301 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14302 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14303 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14304 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14305 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14306 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14307 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14308 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14309 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14310 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14311 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14312 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14313 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14314 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14315 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14316 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14317 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14318 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14319 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14321 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14322 adjusted to imply powerpc64 and older processors on powerpc64/be.
14323 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14324 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14325 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14326 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14327 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14328 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14329 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14330 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14331 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14332 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14333 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14334 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14335 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14336 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14337 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14338 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14339 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14340 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14341 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14342 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14343 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14344 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14345 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14346 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14347 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14348 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14349 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14350 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14351 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14352 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14353 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14355 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14356 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14357 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14358 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14360 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14361 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14362 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14363 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14365 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14366 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14367 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14368 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14369 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14370 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14371 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14372 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14373 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14374 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14375 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14377 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14378 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14379 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14380 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14381 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14382 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14383 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14384 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14385 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14386 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14387 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14389 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14390 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14391 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14392 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14393 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14394 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14395 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14396 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14397 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14398 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14399 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14400 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14402 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14403 and adjusted to imply olders processors.
14404 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14405 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14406 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14407 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14408 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14409 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14410 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14411 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14412 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14413 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14414 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14419 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14433 powerpc64 and adjusted.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14439 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14441 * sysdeps/tile: Remove.
14442 * sysdeps/unix/sysv/linux/tile: Likewise.
14443 * README (tilegx-*-linux-gnu): Remove from list of supported
14445 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14446 contribution of support for generic Linux kernel syscall
14448 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14449 tilegx configurations.
14450 (Config.install_linux_headers): Do not handle tile.
14451 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14453 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14454 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14455 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14456 conditional undefine and redefine.
14457 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14459 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14460 conditional undefine and redefine.
14462 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14464 * signal/tst-sigaction.c: New file to test BZ #23069.
14465 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14467 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14470 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14471 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14472 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14473 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14475 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14477 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14478 _DIRENT_MATCHES_DIRENT64 is not defined.
14479 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14480 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14482 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14483 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14485 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14487 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14488 version to GCC 8 branch.
14490 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14492 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14493 (check_no_hidden): Use type of original function when declaring
14496 * sysdeps/unix/sysv/linux/sys/ptrace.h
14497 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14498 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14499 (struct __ptrace_seccomp_metadata): New type.
14500 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14501 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14502 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14503 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14504 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14505 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14506 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14507 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14509 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14510 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14511 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14512 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14513 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14514 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14515 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14517 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14519 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14521 * dirent/versionsort.c (versionsort): Likewise.
14522 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14523 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14524 * dirent/versionsort64.c (versionsort64): Likewise.
14525 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14526 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14527 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14528 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14529 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14530 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14531 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14532 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14533 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14534 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14537 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14538 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14540 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14542 * elf/elf.h (NT_PPC_PKEY): New macro.
14544 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14547 * localedata/locales/hr_HR: fix thousands_sep and
14550 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14552 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14553 (XTABS): Define to TAB3.
14555 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14557 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14559 * dirent/scandir-tail-common.c: New file.
14560 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14561 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14562 * dirent/scandir.c: Use scandir-tail-common.c.
14563 * dirent/scandirat.c: Likewise.
14564 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14565 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14566 if _DIRENT_MATCHES_DIRENT64 is defined.
14567 * dirent/scandirat64.c (scandirat64): Likewise.
14568 * include/dirent.h (__scandir_tail): Only define iff
14569 _DIRENT_MATCHES_DIRENT64 is not defined.
14570 (__scandir64_tail): Define regardless.
14571 (__scandirat, scandirat64): Remove libc_hidden_proto.
14572 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14573 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14576 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14577 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14578 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14580 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14582 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14584 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14586 (_dl_aarch64_cap_flags): Add asimdfhm.
14588 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14590 * sysdeps/nios2/libm-test-ulps: Update.
14592 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14594 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14595 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14597 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14599 (_DIRENT_MATCHES_DIRENT64): Undef
14600 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14601 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14602 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14603 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14604 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14605 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14606 use getdents64 syscalls as base.
14607 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14608 symbol if required.
14609 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14610 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14611 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14612 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14613 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14614 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14615 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14616 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14618 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14619 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14621 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14623 * scripts/test_printers_common.py (init_test): Disable lock elision.
14625 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14627 * math/test-tgmath.c (count_double, count_float,
14628 count_ldouble, count_cdouble, count_cfloat,
14629 count_cldouble): Use volatile int.
14631 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14633 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14634 (conformtest-xfail-conds): Add i386-gnu.
14635 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14637 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14638 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14639 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14640 msqid_ds.msg_lrpid): Likewise.
14641 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14643 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14644 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14645 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14646 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14648 (struct statvfs64): Likewise.
14649 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14651 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14652 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14653 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14654 instead of wait_queue.
14655 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14656 instead of vm_area_struct.
14657 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14658 struct sched_param definition to it.
14659 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14660 * bits/types/struct_sched_param.h: New file.
14661 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14662 <bits/types/struct_sched_param.h> instead of <sched.h>.
14663 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14664 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14665 generic version but include <bits/pthreadtypes.h> to make struct
14666 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14667 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14669 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14670 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14671 [__USE_XOPEN] (OFDEL): New macro.
14672 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14673 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14674 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14676 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14677 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14678 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14680 * sysdeps/i386/sys/ucontext.h: Likewise.
14681 * sysdeps/m68k/sys/ucontext.h: Likewise.
14682 * sysdeps/mips/sys/ucontext.h: Likewise.
14683 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14684 * sysdeps/mach/hurd/i386/Makefile
14685 (test-xfail-POSIX/fcntl.h/conform): Add.
14686 (test-xfail-POSIX/signal.h/conform): Add.
14687 (test-xfail-POSIX/semaphore.h/conform): Add.
14688 (test-xfail-POSIX/regex.h/conform): Add.
14689 (test-xfail-POSIX/aio.h/conform): Add.
14690 (test-xfail-POSIX/mqueue.h/conform): Add.
14691 (test-xfail-POSIX/sys/types.h/conform): Add.
14692 (test-xfail-UNIX98/fcntl.h/conform): Add.
14693 (test-xfail-UNIX98/netdb.h/conform): Add.
14694 (test-xfail-UNIX98/signal.h/conform): Add.
14695 (test-xfail-UNIX98/semaphore.h/conform): Add.
14696 (test-xfail-UNIX98/regex.h/conform): Add.
14697 (test-xfail-UNIX98/aio.h/conform): Add.
14698 (test-xfail-UNIX98/ftw.h/conform): Add.
14699 (test-xfail-UNIX98/mqueue.h/conform): Add.
14700 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14701 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14702 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14703 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14704 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14705 (test-xfail-UNIX98/sys/types.h/conform): Add.
14706 (test-xfail-UNIX98/stdlib.h/conform): Add.
14707 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14708 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14709 (test-xfail-POSIX2008/netdb.h/conform): Add.
14710 (test-xfail-POSIX2008/signal.h/conform): Add.
14711 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14712 (test-xfail-POSIX2008/regex.h/conform): Add.
14713 (test-xfail-POSIX2008/aio.h/conform): Add.
14714 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14715 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14716 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14717 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14718 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14719 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14720 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14721 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14722 (test-xfail-XOPEN2K/signal.h/conform): Add.
14723 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14724 (test-xfail-XOPEN2K/regex.h/conform): Add.
14725 (test-xfail-XOPEN2K/aio.h/conform): Add.
14726 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14727 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14728 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14729 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14730 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14731 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14732 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14733 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14734 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14735 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14736 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14737 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14738 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14739 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14740 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14741 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14742 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14743 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14744 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14745 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14746 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14747 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14748 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14749 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14750 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14751 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14752 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14754 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14755 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14757 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14759 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14760 --enable-obsolete for powerpc-linux-gnuspe.
14762 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14764 * conform/data/sys/un.h-data: Allow sun_ prefix.
14765 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14767 * sysdeps/mach/include/mach.h: Likewise.
14768 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14769 * sysdeps/mach/include/mach_error.h: Likewise.
14771 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14773 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14774 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14775 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14776 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14778 2018-04-16 Andreas Schwab <schwab@suse.de>
14781 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14783 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14785 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14786 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14788 2018-04-12 DJ Delorie <dj@redhat.com>
14790 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14793 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14795 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14796 (struct kernel_sigaction): Use the same definition on 31bit as is used
14799 2018-04-09 Florian Weimer <fweimer@redhat.com>
14802 * resolv/res_send.c (send_dg): Use designated initializers instead
14803 of assignment to zero-initialize other fields of struct mmsghdr.
14805 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14807 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14808 __READDIR_ALIAS): Undefine after usage.
14809 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14810 __READDIR_R_ALIAS): Likewise.
14811 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14812 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14813 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14814 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14815 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14816 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14817 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14818 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14819 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14820 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14821 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14822 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14823 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14824 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14825 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14826 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14827 * sysdeps/unix/sysv/linux/readdir.c: New file.
14828 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14829 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14830 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14832 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14834 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14836 * manual/charset.texi (Converting a Character): Fix typo.
14838 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14842 * sysdeps/arm/libm-test-ulps: Update.
14844 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14845 as base implementation.
14846 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14847 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14851 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14852 remove unrequired definitions and update comments.
14853 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14854 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14855 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14856 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14857 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14858 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14859 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14860 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14861 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14862 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14863 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14864 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14865 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14866 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14867 and RESET_SA_RESTORER hooks.
14869 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14871 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14873 2018-04-05 Florian Weimer <fweimer@redhat.com>
14875 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14876 integer overflow, memory leak on error, and indeterminate errno
14877 value. Add a null wide character to terminate the result string.
14878 * manual/charset.texi (Converting a Character): Mention embedded
14879 null bytes in the mbrtowc input string. Explain what happens in
14880 the -2 result case. Do not claim that mbrtowc is simple or
14881 obvious to use. Adjust the description of the code example. Use
14882 @code, not @var, for concrete variables.
14884 2018-04-05 Florian Weimer <fweimer@redhat.com>
14886 * manual/examples/mbstouwcs.c: New file.
14887 * manual/charset.texi (Converting a Character): Include it.
14889 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14891 * include/dirent.h (dirfd): Add hidden proto.
14892 * dirent/dirfd.c (dirfd): Add hidden def.
14893 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14894 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14896 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14898 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14899 sin, cos and sincos to 1 ULP.
14901 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14904 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14906 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14907 * elf/tst-absolute-sym.c: New file.
14908 * elf/tst-absolute-sym-lib.c: New file.
14909 * elf/tst-absolute-sym-lib.lds: New file.
14910 * elf/Makefile (tests): Add `tst-absolute-sym'.
14911 (modules-names): Add `tst-absolute-sym-lib'.
14912 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14913 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14914 ($(objpfx)tst-absolute-sym): New dependency.
14917 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14919 (SYMBOL_ADDRESS): New macro.
14920 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14921 SYMBOL_ADDRESS for symbol address calculation.
14922 * elf/dl-runtime.c (_dl_fixup): Likewise.
14923 (_dl_profile_fixup): Likewise.
14924 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14925 * elf/rtld.c (dl_main): Likewise.
14926 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14927 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14928 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14929 (elf_machine_rela): Likewise.
14930 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14931 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14933 (elf_machine_rela): Likewise.
14934 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14935 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14936 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14937 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14939 (elf_machine_reloc): Likewise.
14940 (elf_machine_got_rel): Likewise.
14941 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14942 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14943 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14947 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14948 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14950 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14952 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14957 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14960 2018-04-04 Zack Weinberg <zackw@panix.com>
14962 * sysdeps/generic/internal-signals.h: Include signal.h,
14963 sigsetops.h, and stdbool.h.
14964 (__libc_signal_block_all): Actually block all signals.
14965 (__libc_signal_block_app): Likewise.
14966 (__libc_signal_restore_set): Actually restore the signal mask.
14968 2018-04-04 Florian Weimer <fweimer@redhat.com>
14970 inet: Actually build and run tst-deadline.
14971 * inet/Makefile (tests-internal): Add tst-deadline and do not
14972 overwrite the variable.
14973 (tests-static-internal): Remove variable.
14975 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14978 * bits/uio-ext.h (RWF_APPEND): New.
14979 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14980 * manual/llio.texi: Document RWF_APPEND.
14981 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14982 (RWF_SUPPORTED): Add RWF_APPEND.
14984 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14987 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14988 check for internal nptl signals.
14989 * nptl/sigaction.c (__sigaction): Likewise.
14990 * signal/sigaddset.c (sigaddset): Likewise.
14991 * signal/sigdelset.c (sigdelset): Likewise.
14992 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14993 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14995 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14996 to filter out internal nptl signals.
14997 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14998 also check realtime signals using standard macros.
14999 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15000 __is_internal_signal, __libc_signal_block_all,
15001 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15002 * sysdeps/nptl/sigfillset.c: Remove file.
15003 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15004 Change return to bool.
15005 (__clear_internal_signals): Remove SIGTIMER clean since it is
15006 equal to SIGCANEL on Linux.
15007 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15008 signal set was constructed using standard functions.
15010 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15012 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15013 ifname is too long.
15014 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15015 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15016 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15018 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15019 * signal/sigaddset.c: Include <sigsetopts.h>.
15020 * signal/sigdelset.c: Likewise.
15022 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15026 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15027 logic as sin and cos.
15029 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15031 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15032 inputs. Return correct sign.
15033 (do_sincos): Remove small input check before do_sin, let do_sin set
15038 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15040 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15041 (do_cos_slow): Likewise.
15042 (do_sin_slow): Likewise.
15043 (reduce_and_compute): Likewise.
15048 (sloww1): Likewise.
15049 (sloww2): Likewise.
15051 (bslow1): Likewise.
15052 (bslow2): Likewise.
15053 (cslow2): Likewise.
15055 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15057 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15058 (do_cos): Remove corp parameter and calculations.
15059 (do_sin): Likewise.
15060 (do_sincos): Remove cor variable.
15061 (__sin): Use do_sincos for huge inputs.
15063 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15064 (reduce_and_compute_sincos): Remove unused function.
15066 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15068 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15069 reduce_sincos, improve accuracy to 136 bits.
15070 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15071 (__sin): Use improved reduction and simplified do_sincos calculation.
15073 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15075 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15077 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15078 (do_sincos_2): Likewise.
15079 (__sin): Remove middle range reduction case.
15081 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15084 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15086 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15090 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15092 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15094 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15097 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15099 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15100 Remove definitions.
15101 (opendir_oflags): Use O_DIRECTORY regardless.
15102 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15103 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15105 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15107 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15108 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15110 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15111 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15112 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15113 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15114 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15115 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15117 * htl/Makefile: Bump licence to LGPL 2.1+.
15118 * htl/alloca_cutoff.c: Likewise.
15119 * htl/cthreads-compat.c: Likewise.
15120 * htl/lockfile.c: Likewise.
15121 * htl/pt-alloc.c: Likewise.
15122 * htl/pt-cancel.c: Likewise.
15123 * htl/pt-cleanup.c: Likewise.
15124 * htl/pt-create.c: Likewise.
15125 * htl/pt-dealloc.c: Likewise.
15126 * htl/pt-detach.c: Likewise.
15127 * htl/pt-exit.c: Likewise.
15128 * htl/pt-getattr.c: Likewise.
15129 * htl/pt-initialize.c: Likewise.
15130 * htl/pt-internal.h: Likewise.
15131 * htl/pt-join.c: Likewise.
15132 * htl/pt-self.c: Likewise.
15133 * htl/pt-setcancelstate.c: Likewise.
15134 * htl/pt-setcanceltype.c: Likewise.
15135 * htl/pt-sigmask.c: Likewise.
15136 * htl/pt-spin-inlines.c: Likewise.
15137 * htl/pt-testcancel.c: Likewise.
15138 * htl/pt-yield.c: Likewise.
15139 * htl/tests/test-1.c: Likewise.
15140 * htl/tests/test-10.c: Likewise.
15141 * htl/tests/test-11.c: Likewise.
15142 * htl/tests/test-12.c: Likewise.
15143 * htl/tests/test-13.c: Likewise.
15144 * htl/tests/test-14.c: Likewise.
15145 * htl/tests/test-15.c: Likewise.
15146 * htl/tests/test-16.c: Likewise.
15147 * htl/tests/test-17.c: Likewise.
15148 * htl/tests/test-2.c: Likewise.
15149 * htl/tests/test-3.c: Likewise.
15150 * htl/tests/test-4.c: Likewise.
15151 * htl/tests/test-5.c: Likewise.
15152 * htl/tests/test-6.c: Likewise.
15153 * htl/tests/test-7.c: Likewise.
15154 * htl/tests/test-8.c: Likewise.
15155 * htl/tests/test-9.c: Likewise.
15156 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15157 * sysdeps/htl/bits/cancelation.h: Likewise.
15158 * sysdeps/htl/bits/pthread-np.h: Likewise.
15159 * sysdeps/htl/bits/pthread.h: Likewise.
15160 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15161 * sysdeps/htl/bits/semaphore.h: Likewise.
15162 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15163 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15164 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15165 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15166 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15167 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15168 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15169 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15170 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15171 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15172 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15173 * sysdeps/htl/old_pt-atfork.c: Likewise.
15174 * sysdeps/htl/pt-atfork.c: Likewise.
15175 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15176 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15177 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15178 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15179 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15180 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15181 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15182 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15183 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15184 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15185 * sysdeps/htl/pt-attr-init.c: Likewise.
15186 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15187 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15188 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15189 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15190 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15191 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15192 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15193 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15194 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15195 * sysdeps/htl/pt-attr.c: Likewise.
15196 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15197 * sysdeps/htl/pt-barrier-init.c: Likewise.
15198 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15199 * sysdeps/htl/pt-barrier.c: Likewise.
15200 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15201 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15202 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15203 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15204 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15205 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15206 * sysdeps/htl/pt-cond-init.c: Likewise.
15207 * sysdeps/htl/pt-cond-signal.c: Likewise.
15208 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15209 * sysdeps/htl/pt-cond-wait.c: Likewise.
15210 * sysdeps/htl/pt-cond.c: Likewise.
15211 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15212 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15213 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15214 * sysdeps/htl/pt-condattr-init.c: Likewise.
15215 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15216 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15217 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15218 * sysdeps/htl/pt-equal.c: Likewise.
15219 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15220 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15221 * sysdeps/htl/pt-getschedparam.c: Likewise.
15222 * sysdeps/htl/pt-getspecific.c: Likewise.
15223 * sysdeps/htl/pt-init-specific.c: Likewise.
15224 * sysdeps/htl/pt-key-create.c: Likewise.
15225 * sysdeps/htl/pt-key-delete.c: Likewise.
15226 * sysdeps/htl/pt-key.h: Likewise.
15227 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15228 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15229 * sysdeps/htl/pt-mutex-init.c: Likewise.
15230 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15231 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15232 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15233 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15234 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15235 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15236 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15237 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15238 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15239 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15240 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15241 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15242 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15243 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15244 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15245 * sysdeps/htl/pt-mutexattr.c: Likewise.
15246 * sysdeps/htl/pt-once.c: Likewise.
15247 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15248 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15249 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15250 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15251 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15252 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15253 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15254 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15255 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15256 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15257 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15258 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15259 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15260 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15261 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15262 * sysdeps/htl/pt-setschedparam.c: Likewise.
15263 * sysdeps/htl/pt-setschedprio.c: Likewise.
15264 * sysdeps/htl/pt-setspecific.c: Likewise.
15265 * sysdeps/htl/pt-spin.c: Likewise.
15266 * sysdeps/htl/pt-startup.c: Likewise.
15267 * sysdeps/htl/pthread.h: Likewise.
15268 * sysdeps/htl/sem-close.c: Likewise.
15269 * sysdeps/htl/sem-destroy.c: Likewise.
15270 * sysdeps/htl/sem-getvalue.c: Likewise.
15271 * sysdeps/htl/sem-init.c: Likewise.
15272 * sysdeps/htl/sem-open.c: Likewise.
15273 * sysdeps/htl/sem-post.c: Likewise.
15274 * sysdeps/htl/sem-timedwait.c: Likewise.
15275 * sysdeps/htl/sem-trywait.c: Likewise.
15276 * sysdeps/htl/sem-unlink.c: Likewise.
15277 * sysdeps/htl/sem-wait.c: Likewise.
15278 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15279 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15280 * sysdeps/mach/htl/pt-block.c: Likewise.
15281 * sysdeps/mach/htl/pt-spin.c: Likewise.
15282 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15283 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15284 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15285 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15286 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15287 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15288 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15289 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15290 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15291 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15292 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15293 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15294 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15295 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15296 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15297 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15298 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15299 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15300 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15301 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15302 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15303 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15304 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15305 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15306 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15307 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15308 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15309 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15310 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15311 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15312 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15313 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15314 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15315 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15316 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15317 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15318 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15319 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15320 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15321 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15322 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15323 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15324 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15326 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15327 * README: Remove the mention of out-of-tree patches needed for
15330 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15331 (UTIME_NOW, UTIME_OMIT): Define macros.
15333 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15334 instead of pthread_detach.
15335 (__cthread_fork): Call __pthread_create instead of pthread_create.
15336 (__cthread_keycreate): Call __pthread_key_create instead of
15337 pthread_key_create.
15338 (__cthread_getspecific): Call __pthread_getspecific instead of
15339 pthread_getspecific.
15340 (__cthread_setspecific): Call __pthread_setspecific instead of
15341 pthread_setspecific.
15342 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15343 __pthread_mutex_unlock instead of pthread_mutex_lock and
15344 pthread_mutex_unlock.
15345 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15346 ___pthread_get_cleanup_stack.
15347 (__pthread_get_cleanup_stack): New strong alias.
15348 * htl/pt-create.c: Include <pthreadP.h>.
15349 (entry_point): Call __pthread_exit instead of pthread_exit.
15350 (pthread_create): Rename to __pthread_create.
15351 (pthread_create): New strong alias.
15352 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15353 (pthread_detach): New strong alias.
15354 (__pthread_detach): Call __pthread_cond_broadcast instead of
15355 pthread_cond_broadcast.
15356 * htl/pt-exit.c: Include <pthreadP.h>.
15357 (__pthread_exit): Call __pthread_setcancelstate and
15358 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15359 __pthread_get_cleanup_stack.
15360 * htl/pt-testcancel.c: Include <pthreadP.h>.
15361 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15362 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15363 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15364 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15365 pthread_attr_getstacksize.
15366 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15367 Rename to __pthread_attr_getstackaddr.
15368 (pthread_attr_getstackaddr): New strong alias.
15369 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15370 Rename to __pthread_attr_getstacksize.
15371 (pthread_attr_getstacksize): New strong alias.
15372 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15373 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15374 (pthread_attr_setstack): New strong alias.
15375 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15376 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15377 pthread_attr_getstacksize, pthread_attr_setstacksize and
15378 pthread_attr_setstackaddr.
15379 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15380 Rename to __pthread_attr_setstackaddr.
15381 (pthread_attr_setstackaddr): New strong alias.
15382 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15383 Rename to __pthread_attr_setstacksize.
15384 (pthread_attr_setstacksize): New strong alias.
15385 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15386 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15388 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15389 (__pthread_key_create): New hidden def.
15390 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15391 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15392 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15393 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15394 __pthread_setspecific, __pthread_setcancelstate,
15395 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15396 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15397 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15399 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15400 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15401 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15402 (pthread_attr_setstackaddr): New strong alias.
15403 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15404 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15405 (pthread_attr_setstacksize): New strong alias.
15406 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15407 (call_exit): Call __pthread_exit instead of pthread_exit.
15408 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15409 (_pthread_mutex_init): New hidden definition.
15410 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15411 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15412 instead of pthread_attr_init and pthread_attr_setstack.
15414 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15415 __vm_deallocate instead of vm_allocate and vm_deallocate.
15416 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15418 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15420 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15422 * hurd/siginfo.c: Include <libioP.h>.
15423 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15424 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15426 * mach/devstream.c: Include <libioP.h>.
15427 (dealloc_ref): Call __mach_port_deallocate instead of
15428 mach_port_deallocate.
15429 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15430 Call __mach_port_deallocate instead of mach_port_deallocate.
15431 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15433 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15435 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15436 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15437 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15439 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15441 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15442 instead of sysconf.
15443 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15444 __clock_gettime instead of clock_gettime.
15445 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15446 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15447 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15448 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15449 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15451 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15452 __clock_gettime and __nanosleep instead of clock_gettime and
15454 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15455 __hurd_catch_signal.
15456 (hurd_catch_signal): New strong alias.
15457 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15458 __hurd_catch_signal instead of hurd_catch_signal.
15459 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15460 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15461 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15462 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15463 (_hurd_thread_sigstate): Add hidden def.
15464 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15466 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15467 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15468 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15469 __hurd_file_name_path_lookup.
15470 (hurd_file_name_path_lookup): New strong alias.
15471 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15472 hurd_file_name_path_lookup.
15473 * mach/errstring.c (mach_error_type): Add hidden def.
15474 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15475 * mach/mutex-init.c (__mutex_init): Add hidden def.
15476 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15477 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15478 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15479 * sysdeps/mach/hurd/getcwd.c
15480 (_hurd_canonicalize_directory_name_internal): Rename to
15481 __hurd_canonicalize_directory_name_internal.
15482 (_hurd_canonicalize_directory_name_internal): New strong alias.
15483 (__canonicalize_directory_name_internal, __getcwd): Call
15484 __hurd_canonicalize_directory_name_internal instead of
15485 _hurd_canonicalize_directory_name_internal.
15486 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15487 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15489 * sysdeps/hurd/include/hurd.h: New file.
15490 * sysdeps/hurd/include/hurd/fd.h: New file.
15491 * sysdeps/hurd/include/hurd/signal.h: New file.
15492 * sysdeps/mach/include/lock-intern.h: New file.
15493 * sysdeps/mach/include/mach.h: New file.
15494 * sysdeps/mach/include/mach/mig_support.h: New file.
15495 * sysdeps/mach/include/mach_error.h: New file.
15496 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15498 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15499 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15500 _HEADER_H_HIDDEN_DEF macro.
15501 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15502 _hurd_fd_error_signal): Add hidden prototype.
15503 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15505 * libio/iolibio.h (_IO_puts): New hidden prototype.
15506 * libio/ioputs.c (_IO_puts): New hidden def.
15507 * sysdeps/mach/hurd/localplt.data: New file.
15509 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15510 Amos Jeffries <squid3@treenet.co.nz>
15511 David Michael <fedora.dm0@gmail.com>
15512 Marco Gerards <marco@gnu.org>
15513 Marcus Brinkmann <marcus@gnu.org>
15514 Neal H. Walfield <neal@gnu.org>
15515 Pino Toscano <toscano.pino@tiscali.it>
15516 Richard Braun <rbraun@sceen.net>
15517 Roland McGrath <roland@gnu.org>
15518 Samuel Thibault <samuel.thibault@ens-lyon.org>
15519 Thomas DiModica <ricinwich@yahoo.com>
15520 Thomas Schwinge <tschwinge@gnu.org>
15522 * htl: New directory.
15523 * sysdeps/htl: New directory.
15524 * sysdeps/hurd/htl: New directory.
15525 * sysdeps/i386/htl: New directory.
15526 * sysdeps/mach/htl: New directory.
15527 * sysdeps/mach/hurd/htl: New directory.
15528 * sysdeps/mach/hurd/i386/htl: New directory.
15529 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15530 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15531 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15533 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15535 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15536 signals in thread created for runing timers.
15538 2018-04-01 Florian Weimer <fweimer@redhat.com>
15540 * support/support_format_addrinfo.c (support_format_addrinfo):
15541 Include unknown error number in formatted result.
15543 2018-03-29 Florian Weimer <fweimer@redhat.com>
15545 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15548 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15550 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15551 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15552 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15553 (__ASSUME_CLONE_BACKWARDS): Define.
15555 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15558 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15559 early when linux sentinel value is set.
15561 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15563 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15565 2018-03-27 Andreas Schwab <schwab@suse.de>
15568 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15569 allocation of private copy of nsaddr_list fails.
15571 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15574 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15575 * sysdeps/unix/sysv/linux/umount.c: ... here.
15576 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15577 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15578 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15579 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15581 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15582 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15584 2018-03-26 Andreas Schwab <schwab@suse.de>
15586 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15587 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15588 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15589 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15590 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15591 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15592 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15593 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15594 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15595 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15596 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15597 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15598 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15599 (R_RISCV_NUM): Define.
15601 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15603 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15604 TLS declaration of errno.
15605 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15607 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15608 (ARCH_SETUP_TLS): Likewise.
15609 * sysdeps/mach/hurd/libc-start.h: New file copied from
15610 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15611 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15612 instead of __libc_setup_tls.
15613 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15614 __libc_setup_tls before initializing libpthread and running _hurd_init
15615 which starts the signal thread.
15616 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15618 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15620 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15623 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15624 after it is defined.
15626 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15627 Max Horn <max@quendi.de>
15631 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15633 * string/test-memmove.c (do_test2): New testcase.
15635 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15637 * sysdeps/generic/frame.h: Remove file.
15638 * sysdeps/arm/frame.h: Likewise.
15639 * sysdeps/hppa/frame.h: Likewise.
15640 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15642 (GET_FRAME): Likewise.
15643 (GET_STACK): Likewise.
15644 (CALL_SIGHANDLER): Likewise.
15645 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15647 (GET_FRAME): Likewise.
15648 (GET_STACK): Likewise.
15649 (CALL_SIGHANDLER): Likewise.
15650 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15651 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15652 (GET_FRAME): Likewise.
15653 (GET_STACK): Likewise.
15654 (CALL_SIGHANDLER): Likewise.
15655 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15656 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15657 (GET_FRAME): Likewise.
15658 (GET_STACK): Likewise.
15659 (ADVANCE_STACK_FRAME): Likewise.
15660 (CALL_SIGHANDLER): Likewise.
15661 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15662 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15663 (GET_FRAME): Likewise.
15664 (GET_STACK): Likewise.
15665 (CALL_SIGHANDLER): Likewise.
15666 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15667 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15668 (GET_FRAME): Likewise.
15669 (GET_STACK): Likewise.
15670 (CALL_SIGHANDLER): Likewise.
15671 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15672 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15673 (GET_FRAME): Likewise.
15674 (GET_STACK): Likewise.
15675 (CALL_SIGHANDLER): Likewise.
15676 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15677 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15678 (GET_FRAME): Likewise.
15679 (GET_STACK): Likewise.
15680 (CALL_SIGHANDLER): Likewise.
15681 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15682 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15683 (GET_FRAME): Likewise.
15684 (GET_STACK): Likewise.
15685 (CALL_SIGHANDLER): Likewise.
15686 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15687 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15688 (GET_FRAME): Likewise.
15689 (GET_STACK): Likewise.
15690 (CALL_SIGHANDLER): Likewise.
15691 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15692 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15693 (GET_FRAME): Likewise.
15694 (GET_STACK): Likewise.
15695 (CALL_SIGHANDLER): Likewise.
15696 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15697 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15698 (GET_FRAME): Likewise.
15699 (GET_STACK): Likewise.
15700 (CALL_SIGHANDLER): Likewise.
15701 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15702 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15703 (GET_FRAME): Likewise.
15704 (GET_STACK): Likewise.
15705 (CALL_SIGHANDLER): Likewise.
15706 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15707 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15708 (FIRST_FRAME_POINTER): Likewise.
15709 (ADVANCE_STACK_FRAME): Likewise.
15710 (GET_STACK): Likewise.
15711 (GET_FRAME): Likewise.
15712 (CALL_SIGHANDLER): Likewise.
15713 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15714 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15715 (ADVANCE_STACK_FRAME): Likewise.
15716 (GET_STACK): Likewise.
15717 (GET_FRAME): Likewise.
15718 (CALL_SIGHANDLER): Likewise.
15719 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15720 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15721 (GET_FRAME): Likewise.
15722 (GET_STACK): Likewise.
15723 (CALL_SIGHANDLER): Likewise.
15724 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15725 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15726 (GET_FRAME): Likewise.
15727 (GET_STACK): Likewise.
15728 (CALL_SIGHANDLER): Likewise.
15730 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15732 * sysdeps/x86_64/backtrace.c: Move to ....
15733 * debug/backtrace.c: ... here.
15734 * sysdeps/aarch64/backtrace.c: Remove file.
15735 * sysdeps/alpha/backtrace.c: Likewise.
15736 * sysdeps/hppa/backtrace.c: Likewise.
15737 * sysdeps/ia64/backtrace.c: Likewise.
15738 * sysdeps/mips/backtrace.c: Likewise.
15739 * sysdeps/nios2/backtrace.c: Likewise.
15740 * sysdeps/riscv/backtrace.c: Likewise.
15741 * sysdeps/sh/backtrace.c: Likewise.
15742 * sysdeps/tile/backtrace.c: Likewise.
15744 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15747 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15750 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15753 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15754 possibly overflowing computations.
15756 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15758 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15759 values from Linux-specific section now that it is in the GNU section.
15760 * sysdeps/gnu/errlist.c: Regenerate.
15762 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15764 * math/Makefile (libm-narrow-fns): Add sub.
15765 (libm-test-funcs-narrow): Likewise.
15766 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15767 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15768 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15769 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15770 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15771 (NARROW_SUB_TRIVIAL): Likewise.
15772 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15774 (__dsubl): Likewise.
15775 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15777 (CFLAGS-nldbl-dsub.c): New variable.
15778 (CFLAGS-nldbl-fsub.c): Likewise.
15779 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15781 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15783 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15784 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15785 * math/auto-libm-test-in: Add tests of sub.
15786 * math/auto-libm-test-out-narrow-sub: New generated file.
15787 * math/libm-test-narrow-sub.inc: New file.
15788 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15791 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15792 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15793 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15802 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15803 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15804 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15805 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15807 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15808 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15809 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15810 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15811 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15812 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15813 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15814 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15815 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15816 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15817 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15818 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15819 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15824 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15825 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15830 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15832 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15833 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15835 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15838 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15840 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15842 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15844 2018-03-18 Richard Braun <rbraun@sceen.net>
15846 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15849 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15851 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15852 (__libc_cleanup_fct): Define function.
15853 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15854 __libc_cleanup_end): Rewrite implementation using
15855 __attribute__ ((__cleanup__)).
15856 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15857 * hurd/Makefile (routines): Add hurdlock.
15858 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15860 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15861 * hurd/hurdpid.c: Include <lowlevellock.h>
15862 (_S_msg_proc_newids): Use lll_wait to synchronize.
15863 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15864 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15865 * mach/Makefile (lock-headers): Remove machine-lock.h.
15866 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15868 (__spin_lock_t): New type.
15869 (__SPIN_LOCK_INITIALIZER): New macro.
15870 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15871 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15872 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15873 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15874 (__mutex_init): Initialize with lll.
15875 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15876 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15878 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15879 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15880 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15881 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15882 (__setpgid): Use lll for synchronization.
15883 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15884 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15885 instead of <cthreads.h>.
15886 (_IO_lock_inexpensive): New macro
15887 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15888 (__libc_lock_self0): New declaration.
15889 (__libc_lock_owner_self): New macro.
15890 (__libc_key_t): Remove type.
15891 (_LIBC_LOCK_INITIALIZER): New macro.
15892 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15893 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15894 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15895 __libc_lock_define_initialized_recursive,
15896 __rtld_lock_define_initialized_recursive,
15897 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15898 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15899 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15900 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15901 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15902 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15903 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15905 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15906 * hurd/hurdlock.c: New file.
15907 * hurd/hurdlock.h: New file.
15908 * mach/lowlevellock.h: New file
15910 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15912 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15913 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15914 when opening a symlink with O_NOFOLLOW.
15915 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15916 path when flags contains O_NOFOLLOW.
15917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15918 if flags contains O_DIRECTORY and the result is a directory.
15919 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15920 oneself when the pointer given in D is nul (as set by ext2fs).
15921 * sysdeps/mach/hurd/mlockall.c: New file.
15922 * sysdeps/mach/hurd/munlockall.c: New file.
15924 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15926 * hurd/hurdsig.c: Include <pthread.h>.
15927 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15928 get the signal thread stack layout.
15929 * hurd/Makefile (headers): Remove threadvar.h.
15930 (inline-headers): Remove threadvar.h.
15931 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15932 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15933 __hurd_threadvar_max, __hurd_errno_location.
15934 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15935 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15936 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15937 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15938 unless TLS is not initialized yet, in which case we do not need a
15939 critical section yet anyway.
15940 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15942 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15944 (__hurd_threadvar_index): Remove enum.
15945 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15946 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15948 (__hurd_reply_port0): New variable declaration.
15949 (__hurd_local_reply_port): New macro.
15950 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15951 (interrupted_reply_port_location): Add thread_t parameter. Use it
15952 with THREAD_TCB to access thread-local variables.
15953 (_hurdsig_abort_rpcs): Pass ss->thread to
15954 interrupted_reply_port_location.
15955 (_hurd_internal_post_signal): Likewise.
15956 (_hurdsig_init): Use presence of cthread_fork instead of
15957 __hurd_threadvar_stack_mask to start signal thread by hand.
15958 Remove signal thread threadvar initialization.
15959 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15960 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15961 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15963 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15965 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15966 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15967 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15968 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15969 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15970 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15971 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15973 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15974 <hurd/threadvar.h>.
15975 [IS_IN(rtld)] (rtld_errno): New variable.
15976 [IS_IN(rtld)] (__errno_location): New weak function.
15977 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15978 * sysdeps/mach/hurd/errno.c: Remove file.
15979 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15980 (__fork): Remove THREADVAR_SPACE macro and its use.
15981 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15983 (init): Do not initialize threadvar.
15984 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15986 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15987 __hurd_local_reply_port instead of threadvar.
15988 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15989 _hurd_sigstate fields.
15990 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15991 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15992 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15993 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15994 instead of threadvar.
15995 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15996 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15997 (use_threadvar, global_reply_port): Remove variables.
15998 (__hurd_reply_port0): New variable.
15999 (__mig_get_reply_port): Use __hurd_local_reply_port and
16000 __hurd_reply_port0 instead of threadvar.
16001 (__mig_dealloc_reply_port): Likewise.
16002 (__mig_init): Do not initialize threadvar.
16003 * sysdeps/mach/hurd/profil.c: Fix comment.
16004 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16005 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16006 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16007 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16008 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16009 __cthread_setspecific.
16010 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16011 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16012 __cthread_t instead of cthread_fork, cthread_detach,
16013 pthread_getattr_np, pthread_attr_getstack.
16014 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16015 __cthread_keycreate.
16016 (cthread_getspecific): Rename to __cthread_getspecific.
16017 (cthread_setspecific): Rename to __cthread_setspecific.
16018 (__libc_getspecific): Use __cthread_getspecific instead of
16019 cthread_getspecific.
16020 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16021 __cthread_keycreate instead of cthread_keycreate.
16022 (__libc_setspecific): Use __cthread_setspecific instead of
16023 cthread_setspecific.
16024 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16027 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16028 testing whether it is defined.
16030 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16032 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16034 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16035 * sysdeps/mach/i386/thread_state.h
16036 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16038 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16040 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16042 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16043 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16045 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16047 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16048 descriptor instead of creating a new one.
16049 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16051 * mach/setup-thread.c: Include <ldsodefs.h>.
16052 (__mach_setup_thread): Call _dl_allocate_tls, pass
16053 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16054 MACHINE_THREAD_STATE_FLAVOR, before getting
16055 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16056 MACHINE_THREAD_STATE_FLAVOR with the result.
16057 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16058 MACHINE_THREAD_STATE_FIX_NEW.
16059 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16060 too. Add original thread parameter.
16062 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16064 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16065 Remove inline function.
16067 * sysdeps/i386/fpu/libm-test-ulps: Update.
16068 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16070 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16072 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16075 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16077 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16078 (__sincos_code): Remove define and undefine.
16079 [__FAST_MATH__] (__sincos): Remove inline function.
16080 [__FAST_MATH__] (__sincosf): Remove inline function.
16081 [__FAST_MATH__] (__sincosl): Remove inline function.
16082 (__atan2l): Remove inline functions.
16083 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16084 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16086 (floor): Remove inline function.
16088 [__FAST_MATH__] (__ldexp_code): Remove macro.
16089 [__FAST_MATH__] (ldexp): Remove inline function.
16090 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16091 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16092 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16093 [__USE_ISOC99] (__lrint_code): Remove macro.
16094 [__USE_ISOC99] (__llrint_code): Likewise.
16095 [__USE_ISOC99] (lrintf): Remove inline function.
16096 [__USE_ISOC99] (lrint): Likewise.
16097 [__USE_ISOC99] (lrintl): Likewise.
16098 [__USE_ISOC99] (llrint): Likewise.
16099 [__USE_ISOC99] (llrintf): Likewise.
16100 [__USE_ISOC99] (llrintl): Likewise.
16102 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16104 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16105 (__ieee754_sqrtf): Remove.
16106 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16107 (__ieee754_sqrtf): Remove.
16108 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16109 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16110 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16111 (__ieee754_sqrtf): Remove.
16112 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16113 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16116 (__ieee754_sqrt): Remove.
16117 (__ieee754_sqrtf): Remove.
16118 (__ieee754_sqrtl): Remove.
16119 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16120 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16121 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16122 (__ieee754_sqrtf): Remove.
16123 (__ieee754_sqrtl): Remove.
16125 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16127 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16128 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16129 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16130 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16131 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16132 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16133 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16134 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16136 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16137 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16138 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16139 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16140 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16141 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16142 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16143 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16144 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16145 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16146 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16147 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16148 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16149 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16150 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16151 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16152 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16153 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16154 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16160 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16161 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16163 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16165 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16166 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16167 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16168 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16169 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16170 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16171 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16172 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16173 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16174 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16175 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16177 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16179 * include/math.h (sqrt): Declare with asm redirect.
16182 (sqrtf128): Likewise.
16183 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16184 nonlib and libnldbl with -fmath-errno.
16185 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16186 * math/w_sqrt_template.c: Likewise.
16187 * math/w_sqrtf_compat.c: Likewise.
16188 * math/w_sqrtl_compat.c: Likewise.
16189 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16190 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16191 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16194 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16196 * benchtests/Makefile: Define _ISOMAC.
16197 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16198 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16199 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16200 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16201 * benchtests/bench-timing.h: Define attribute_hidden.
16203 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16205 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16208 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16211 * localedata/locales/cs_CZ (mon): Rename to...
16213 (mon): Import from CLDR (genitive case).
16215 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16218 * localedata/locales/el_CY (abmon): Rename to...
16219 (ab_alt_mon): This.
16220 (abmon): Import from CLDR (abbreviated genitive case).
16221 * localedata/locales/el_GR (abmon): Rename to...
16222 (ab_alt_mon): This.
16223 (abmon): Import from CLDR (abbreviated genitive case).
16225 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16228 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16230 2018-03-15 Robert Buj <robert.buj@gmail.com>
16233 * localedata/locales/ca_ES (abmon): Rename to...
16234 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16235 (mon): Rename to...
16237 (abmon): Import from CLDR (genitive case, month names preceded by
16240 (abday): Synchronize with CLDR.
16241 (d_t_fmt): Likewise.
16245 (LC_TIME): Improve indentation.
16246 (LC_TELEPHONE): Likewise.
16247 (LC_NAME): Likewise.
16248 (LC_ADDRESS): Likewise.
16250 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16252 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16253 (lrintf): Remove definitions used only with old GCC.
16254 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16255 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16256 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16257 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16258 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16259 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16260 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16261 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16262 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16263 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16264 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16265 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16266 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16267 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16268 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16269 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16270 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16271 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16272 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16273 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16274 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16275 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16276 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16277 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16278 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16279 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16280 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16281 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16283 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16285 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16286 instruction to unbreak builds with binutils 2.26 and older.
16288 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16290 * sysdeps/aarch64/strncmp.S (count): New macro.
16291 (strncmp): Store misaligned length in SRC1 in COUNT.
16292 (mutual_align): Adjust.
16293 (misaligned8): Load dword at a time when it is safe.
16295 2018-03-12 Zack Weinberg <zackw@panix.com>
16299 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16300 if the _IO_EOF_SEEN bit is already set; update commentary.
16301 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16302 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16304 * support/support_openpty.c, support/tty.h: New files.
16305 * support/Makefile (libsupport-routines): Add support_openpty.
16307 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16309 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16310 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16312 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16314 * po/pt_BR.po: Update translations.
16316 2018-03-12 David Michael <fedora.dm0@gmail.com>
16318 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16319 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16320 get a port to the startup server.
16322 2018-03-11 Zack Weinberg <zackw@panix.com>
16324 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16325 before nldbl-compat.h.
16327 2018-03-10 Zack Weinberg <zackw@panix.com>
16329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16330 math.h or math_private.h.
16332 * sysdeps/alpha/fpu/s_isnan.c
16333 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16334 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16335 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16336 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16337 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16338 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16339 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16340 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16341 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16344 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16347 Include math_private.h.
16349 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16350 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16351 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16352 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16353 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16354 * sysdeps/powerpc/power7/fpu/s_logb.c:
16355 Include math.h and math_private.h.
16357 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16358 uses of $at in .set noat / .set at.
16360 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16362 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16363 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16364 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16365 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16368 2018-03-09 Florian Weimer <fweimer@redhat.com>
16370 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16373 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16376 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16377 Add nop before __startcontext, add explaining comments.
16379 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16382 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16384 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16385 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16386 Do not build hardware transactional code for __SPE__.
16387 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16388 (__lll_trylock_elision): Likewise.
16389 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16390 (__lll_unlock_elision): Likewise.
16392 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16393 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16394 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16395 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16396 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16397 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16398 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16399 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16400 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16401 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16402 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16403 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16404 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16405 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16406 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16407 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16408 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16409 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16410 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16411 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16412 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16413 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16414 (__ASSUME_CLONE_BACKWARDS): Define.
16415 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16416 __clone2 if __NR_clone2 is defined.
16417 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16418 (__ASSUME_CLONE_BACKWARDS): Likewise.
16419 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16420 (__ASSUME_CLONE_BACKWARDS): Likewise.
16421 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16422 (__ASSUME_CLONE2): Likewise.
16423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16424 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16425 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16426 variants and the define architecture can use.
16427 (__ASSUME_CLONE_DEFAULT): Define as default.
16428 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16429 (__ASSUME_CLONE_BACKWARDS): Likewise.
16430 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16431 (__ASSUME_CLONE_BACKWARDS): Likewise.
16432 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16433 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16435 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16437 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16439 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16442 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16443 (do_test_limit): Likewise.
16445 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16446 for every implementation.
16447 (do_test): Likewise.
16449 * benchtests/bench-strncmp.c: Convert output to json.
16451 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16453 * io/futimens.c: Add missing start-of-file descriptive comment.
16454 * io/utime.c: Likewise.
16455 * misc/futimesat.c: Likewise.
16456 * misc/utimes.c: Likewise.
16457 * sysdeps/mach/hurd/futimesat.c: Likewise.
16458 * sysdeps/mach/hurd/utimes.c: Likewise.
16459 * sysdeps/posix/utime.c: Likewise.
16460 * sysdeps/posix/utimes.c: Likewise.
16461 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16462 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16463 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16464 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16466 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16468 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16470 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16471 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16472 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16473 (__futimens): Move implementation to...
16474 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16475 utime_tvalue_from_tspec): ... new helper functions.
16476 (hurd_futimens): New function.
16477 * sysdeps/mach/hurd/futimesat.c: New file.
16478 * sysdeps/mach/hurd/utimensat.c: New file.
16480 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16482 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16483 UTIME_OMIT): New macros.
16484 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16485 before reverting to converting time spec to time value and calling
16487 * sysdeps/mach/hurd/utime-helper.c: New file.
16488 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16489 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16490 reverting to utime_tvalue_from_tval and __file_utimes.
16491 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16492 (__lutimes): Just call hurd_futimens after lookup.
16493 * sysdeps/mach/hurd/utimes.c: Likewise.
16495 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16497 * bits/sigaction.h: Add include guard.
16498 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16499 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16500 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16501 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16502 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16503 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16504 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16505 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16506 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16508 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16510 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16511 -Wmaybe-uninitialized for -Os.
16512 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16515 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16517 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16518 __INO_T_MATCHES_INO64_T is defined.
16519 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16520 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16522 * dirent/alphasort64.c: Likewise.
16523 * dirent/scandir.c: Likewise.
16524 * dirent/scandir64-tail.c: Likewise.
16525 * dirent/scandir64.c: Likewise.
16526 * dirent/scandirat.c: Likewise.
16527 * dirent/scandirat64.c: Likewise.
16528 * dirent/versionsort.c: Likewise.
16529 * dirent/versionsort64.c: Likewise.
16530 * include/dirent.h: Likewise.
16532 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16533 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16534 for socketpair endpoint.
16535 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16536 WRITE_BUFFER_SIZE as buffer size for sending socket.
16537 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16538 issue on system where send is implemented with sendto syscall.
16539 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16540 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16541 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16542 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16545 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16546 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16547 sa_restorer for vDSO case.
16548 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16550 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16552 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16553 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16554 * hurd/hurd/ioctl.h: Include <mach/port.h>
16555 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16556 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16557 <mach/mach_types.h> and <mach/message.h>.
16558 (headers): Move mach/param.h to bits/mach/param.h.
16559 * sysdeps/mach/i386/mach/param.h: Move file to ...
16560 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16561 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16563 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16564 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16565 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16566 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16567 trivial, for C++ conformity.
16568 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16569 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16570 Process mig output through $(migheadersed).
16571 * hurd/Makefile (migheadersed): Define variable.
16572 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16573 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16575 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16576 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16577 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16578 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16579 <bits/types/sigset_t.h>.
16580 [!defined __USE_GNU]: Do not #error out.
16581 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16582 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16583 Include <stddef.h> and <bits/types/sigset_t.h>
16584 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16585 instead of sighandler_t.
16586 * stdlib/errno.h (error_t): Move definition to...
16587 * bits/types/error_t.h: ... new header.
16588 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16589 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16590 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16591 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16592 * hurd/hurd.h: Include <bits/types/error_t.h>
16593 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16594 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16595 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16596 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16597 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16598 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16599 * sysdeps/mach/hurd/futimens.c: New file.
16601 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16604 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16605 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16606 * nscd/gai.c (__nss_hosts_database): Readd definition.
16607 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16608 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16609 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16611 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16613 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16614 (ifunc_one): Likewise.
16616 2018-03-01 DJ Delorie <dj@delorie.com>
16619 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16622 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16624 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16625 `match_pid' parameter.
16626 (td_ta_thr_iter): Update accordingly.
16628 2018-03-01 Florian Weimer <fweimer@redhat.com>
16630 * nptl/Makefile (install-lib-ldscripts): Remove.
16631 (install): Remove rule.
16632 ($(inst_libdir)/libpthread.so): Likewise.
16634 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16637 * localedata/locales/an_ES: update month and day names,
16638 improve d_fmt, improve postal_fmt, add country_post,
16641 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16643 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16644 Ukrainian instead of Bulgarian.
16646 2018-03-01 Florian Weimer <fweimer@redhat.com>
16648 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16651 2018-03-01 Florian Weimer <fweimer@redhat.com>
16653 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16654 * nptl/Makefile (routines): Add pthread_atfork.
16655 (static-only-routines): Set to pthread_atfork.
16656 (libpthread-routines): Remove pthread_atfork.
16657 (libpthread-static-only-routines): Remove.
16658 (install): Update comment.
16659 (libpthread.so): Do not install libpthread_nonshared.a.
16660 (tests): Do not link with libpthread_nonshared.a.
16661 (generated): Remove libpthread_nonshared.a.
16662 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16663 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16664 with libpthread_nonshared.a.
16666 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16669 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16670 (libc_feholdexcept_setroundf128): New macro.
16671 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16674 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16676 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16677 * include/inttypes.h: New file.
16679 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16681 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16682 -Os in two more places.
16684 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16686 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16687 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16688 be sorted correctly at the moment because of a bug.
16690 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16692 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16693 treat ñ as a primary different character, sync the collation
16694 for Spanish with CLDR.
16695 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16696 * localedata/Makefile: Add new test files.
16697 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16698 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16700 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16701 * localedata/am_ET.UTF-8.in: New test file.
16702 * localedata/az_AZ.UTF-8.in: Likewise.
16703 * localedata/be_BY.UTF-8.in: Likewise.
16704 * localedata/ber_DZ.UTF-8.in: Likewise.
16705 * localedata/ber_MA.UTF-8.in: Likewise.
16706 * localedata/bg_BG.UTF-8.in: Likewise.
16707 * localedata/br_FR.UTF-8.in: Likewise.
16708 * localedata/cmn_TW.UTF-8.in: Likewise.
16709 * localedata/crh_UA.UTF-8.in: Likewise.
16710 * localedata/csb_PL.UTF-8.in: Likewise.
16711 * localedata/cv_RU.UTF-8.in: Likewise.
16712 * localedata/cy_GB.UTF-8.in: Likewise.
16713 * localedata/dz_BT.UTF-8.in: Likewise.
16714 * localedata/eo.UTF-8.in: Likewise.
16715 * localedata/es_ES.UTF-8.in: Likewise.
16716 * localedata/fa_IR.UTF-8.in: Likewise.
16717 * localedata/fi_FI.UTF-8.in: Likewise.
16718 * localedata/fil_PH.UTF-8.in: Likewise.
16719 * localedata/fur_IT.UTF-8.in: Likewise.
16720 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16721 * localedata/ha_NG.UTF-8.in: Likewise.
16722 * localedata/ig_NG.UTF-8.in: Likewise.
16723 * localedata/ik_CA.UTF-8.in: Likewise.
16724 * localedata/kk_KZ.UTF-8.in: Likewise.
16725 * localedata/ku_TR.UTF-8.in: Likewise.
16726 * localedata/ky_KG.UTF-8.in: Likewise.
16727 * localedata/ln_CD.UTF-8.in: Likewise.
16728 * localedata/mi_NZ.UTF-8.in: Likewise.
16729 * localedata/ml_IN.UTF-8.in: Likewise.
16730 * localedata/mn_MN.UTF-8.in: Likewise.
16731 * localedata/mr_IN.UTF-8.in: Likewise.
16732 * localedata/mt_MT.UTF-8.in: Likewise.
16733 * localedata/nb_NO.UTF-8.in: Likewise.
16734 * localedata/om_KE.UTF-8.in: Likewise.
16735 * localedata/os_RU.UTF-8.in: Likewise.
16736 * localedata/ps_AF.UTF-8.in: Likewise.
16737 * localedata/ro_RO.UTF-8.in: Likewise.
16738 * localedata/ru_RU.UTF-8.in: Likewise.
16739 * localedata/sc_IT.UTF-8.in: Likewise.
16740 * localedata/se_NO.UTF-8.in: Likewise.
16741 * localedata/sq_AL.UTF-8.in: Likewise.
16742 * localedata/sv_SE.UTF-8.in: Likewise.
16743 * localedata/szl_PL.UTF-8.in: Likewise.
16744 * localedata/tg_TJ.UTF-8.in: Likewise.
16745 * localedata/tk_TM.UTF-8.in: Likewise.
16746 * localedata/tt_RU.UTF-8.in: Likewise.
16747 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16748 * localedata/ug_CN.UTF-8.in: Likewise.
16749 * localedata/uz_UZ.UTF-8.in: Likewise.
16750 * localedata/vi_VN.UTF-8.in: Likewise.
16751 * localedata/yi_US.UTF-8.in: Likewise.
16752 * localedata/yo_NG.UTF-8.in: Likewise.
16753 * localedata/zh_CN.UTF-8.in: Likewise.
16754 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16755 file and fix bugs in the collation.
16756 * localedata/locales/az_AZ: Likewise.
16757 * localedata/locales/be_BY: Likewise.
16758 * localedata/locales/ber_DZ: Likewise.
16759 * localedata/locales/ber_MA: Likewise.
16760 * localedata/locales/bg_BG: Likewise.
16761 * localedata/locales/br_FR: Likewise.
16762 * localedata/locales/br_FR@euro: Likewise.
16763 * localedata/locales/ca_ES: Likewise.
16764 * localedata/locales/cns11643_stroke: Likewise.
16765 * localedata/locales/crh_UA: Likewise.
16766 * localedata/locales/cs_CZ: Likewise.
16767 * localedata/locales/csb_PL: Likewise.
16768 * localedata/locales/cv_RU: Likewise.
16769 * localedata/locales/cy_GB: Likewise.
16770 * localedata/locales/da_DK: Likewise.
16771 * localedata/locales/dz_BT: Likewise.
16772 * localedata/locales/en_CA: Likewise.
16773 * localedata/locales/eo: Likewise.
16774 * localedata/locales/es_CU: Likewise.
16775 * localedata/locales/es_EC: Likewise.
16776 * localedata/locales/es_ES: Likewise.
16777 * localedata/locales/es_US: Likewise.
16778 * localedata/locales/et_EE: Likewise.
16779 * localedata/locales/fa_IR: Likewise.
16780 * localedata/locales/fi_FI: Likewise.
16781 * localedata/locales/fil_PH: Likewise.
16782 * localedata/locales/fur_IT: Likewise.
16783 * localedata/locales/gez_ER@abegede: Likewise.
16784 * localedata/locales/ha_NG: Likewise.
16785 * localedata/locales/hr_HR: Likewise.
16786 * localedata/locales/hsb_DE: Likewise.
16787 * localedata/locales/hu_HU: Likewise.
16788 * localedata/locales/ig_NG: Likewise.
16789 * localedata/locales/ik_CA: Likewise.
16790 * localedata/locales/is_IS: Likewise.
16791 * localedata/locales/iso14651_t1_pinyin: Likewise.
16792 * localedata/locales/kk_KZ: Likewise.
16793 * localedata/locales/ku_TR: Likewise.
16794 * localedata/locales/ky_KG: Likewise.
16795 * localedata/locales/ln_CD: Likewise.
16796 * localedata/locales/lt_LT: Likewise.
16797 * localedata/locales/lv_LV: Likewise.
16798 * localedata/locales/mi_NZ: Likewise.
16799 * localedata/locales/ml_IN: Likewise.
16800 * localedata/locales/mn_MN: Likewise.
16801 * localedata/locales/mr_IN: Likewise.
16802 * localedata/locales/mt_MT: Likewise.
16803 * localedata/locales/nb_NO: Likewise.
16804 * localedata/locales/om_KE: Likewise.
16805 * localedata/locales/os_RU: Likewise.
16806 * localedata/locales/pl_PL: Likewise.
16807 * localedata/locales/ps_AF: Likewise.
16808 * localedata/locales/ro_RO: Likewise.
16809 * localedata/locales/ru_RU: Likewise.
16810 * localedata/locales/ru_UA: Likewise.
16811 * localedata/locales/sc_IT: Likewise.
16812 * localedata/locales/se_NO: Likewise.
16813 * localedata/locales/si_LK: Likewise.
16814 * localedata/locales/sq_AL: Likewise.
16815 * localedata/locales/sv_FI: Likewise.
16816 * localedata/locales/sv_FI@euro: Likewise.
16817 * localedata/locales/sv_SE: Likewise.
16818 * localedata/locales/szl_PL: Likewise.
16819 * localedata/locales/tg_TJ: Likewise.
16820 * localedata/locales/ti_ER: Likewise.
16821 * localedata/locales/tk_TM: Likewise.
16822 * localedata/locales/tl_PH: Likewise.
16823 * localedata/locales/tr_TR: Likewise.
16824 * localedata/locales/tt_RU: Likewise.
16825 * localedata/locales/tt_RU@iqtelif: Likewise.
16826 * localedata/locales/ug_CN: Likewise.
16827 * localedata/locales/uk_UA: Likewise.
16828 * localedata/locales/uz_UZ: Likewise.
16829 * localedata/locales/uz_UZ@cyrillic: Likewise.
16830 * localedata/locales/vi_VN: Likewise.
16831 * localedata/locales/yi_US: Likewise.
16832 * localedata/locales/yo_NG: Likewise.
16834 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16836 * gen-locales.mk: Make test files which contain @ modifiers in their
16838 * localedata/gen-locale.sh: Likewise.
16840 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16842 * posix/tst-fnmatch.input: Fix results for range expressions
16844 * posix/tst-regexloc.c: Do not use a range expression for
16845 de_DE.ISO-8859-1 locale.
16847 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16849 * posix/bug-regex5.c: Fix test case because with the new
16850 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16851 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16854 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16856 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16857 downloaded from ISO, the collation order of @-. and space has changed.
16858 Therefore, this test file needed to be adapted.
16859 * localedata/fr_CA.UTF-8.in: Likewise.
16860 * localedata/fr_FR.UTF-8.in: Likewise.
16861 * localedata/uk_UA.UTF-8.in: Likewise.
16863 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16865 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16866 order of ȥ in the new iso14651_t1_common file.
16867 * localedata/pl_PL.UTF-8.in: Likewise.
16869 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16871 * localedata/locales/iso14651_t1_common: Add sections for various
16872 scripts to the iso14651_t1_common file.
16874 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16876 * localedata/locales/iso14651_t1_common: Use the code point of a
16877 character in the fourth collation level instead of IGNORE for all
16878 entries which have IGNORE on all 4 levels.
16880 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16882 * localedata/locales/iso14651_t1_common: Add some convenient collation
16883 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16884 rules similar to those in CLDR.
16886 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16888 * localedata/locales/iso14651_t1_common: The new version of this
16889 file downloaded from ISO contained several syntax errors which
16890 are fixed by this patch.
16892 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16894 * localedata/locales/iso14651_t1_common: replace all <U.....>
16895 with <U000.....> because glibc understands only 4 digit or 8 digit
16897 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16899 * localedata/locales/iso14651_t1_common: Necessary changes
16900 to make the file downloaded from ISO usable by glibc.
16902 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16905 * localedata/locales/iso14651_t1_common: Update file to
16906 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16908 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16910 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16911 of <nptl/pthreadP.h>
16912 (thread_attr_compare): Move function to...
16913 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16914 * sysdeps/nptl/timer_routines.h: ... new header.
16915 * sysdeps/mach/hurd/gai_misc.h: New file.
16917 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16919 * string/strcoll_l.c: Include <libc-diag.h>.
16920 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16921 declarations of seq1 and seq2.
16924 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16925 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16927 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16932 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16933 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16934 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16935 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16936 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16938 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16941 macros used in __ptrace_request.
16943 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16946 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16948 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16949 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16950 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16953 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16956 * ctype/ctype.c (tolower): Use libc_hidden_def.
16957 (toupper): Likewise.
16958 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16959 [!_ISOMAC] (toupper): Likewise.
16961 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16963 * localedata/Makefile: Remove --quiet argument when
16966 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16969 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16971 * localedata/locales/pt_PT (LC_TIME): likewise
16973 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16976 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16977 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16978 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16980 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16984 * nptl/Makefile (routines): Remove unregister-atfork.
16985 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16986 (fork_handler_alloc): Remove function.
16987 (fork_handlers, fork_handler_init): New variables.
16988 (__fork_lock): Rename to atfork_lock.
16989 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16990 to use a dynamic array to add/remove atfork handlers.
16991 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16992 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16993 Remove declaration.
16994 (fork_handler): Remove next, refcntr, and need_signal member.
16995 (__run_fork_handler_type): New enum.
16996 (__run_fork_handlers): New prototype.
16997 * nptl/register-atfork.c: Remove file.
16998 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17000 * sysdeps/nptl/nptl-signals.h: Move to ...
17001 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17003 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17004 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17005 unnecessary check for SIGTIMER.
17006 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17007 remove unnecessary removal of SIGTIMER.
17008 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17009 include-signals.h rename.
17010 * nptl/pthreadP.h: Likewise.
17011 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17012 __is_internal_signal instead of __nptl_is_internal_signal.
17014 2018-02-22 Andrew Waterman <andrew@sifive.com>
17017 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17018 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17019 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17020 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17022 2018-02-22 DJ Delorie <dj@delorie.com>
17024 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17026 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17028 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17029 do_misaligned, not misaligned8.
17031 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17033 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17034 Add memcpy_thunderx2.
17035 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17037 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17038 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17039 and IS_THUNDERX2PA checks.
17040 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17041 Use macro to set name appropriately.
17042 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17043 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17044 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17046 (IS_THUNDERX2): New macro.
17048 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17050 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17052 2018-02-21 Zack Weinberg <zackw@panix.com>
17054 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17055 Define here, unconditionally.
17056 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17057 * libio/libioP.h: Remove #if 0 blocks.
17058 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17059 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17060 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17062 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17063 Assume weak_alias is always defined.
17065 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17066 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17067 Remove #if 0 and #ifdef TODO blocks.
17068 Assume text_set_element is always defined.
17070 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17071 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17072 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17074 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17075 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17076 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17077 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17078 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17079 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17080 Reformat bit flags for _flags field to make occupancy clearer.
17082 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17083 Keep definitions consistent with those in libio/libio.h.
17085 * libio/libio.h (_IO_file_flags): Remove macro.
17086 All uses changed to _flags.
17088 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17089 (__HAVE_COLUMN, _IO_BE): Don't define.
17090 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17091 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17092 * libio/libioP.h (EOF): Don't define.
17093 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17094 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17095 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17096 testing _IO_UNIFIED_JUMPTABLES.
17098 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17099 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17100 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17101 (_IO_size_t): Delete; all uses changed to size_t.
17102 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17103 (_IO_off_t): Delete; all uses changed to off_t.
17104 (_IO_off64_t): Delete; all uses changed to off64_t.
17105 (_IO_pid_t): Delete; all uses changed to pid_t.
17106 (_IO_uid_t): Delete; all uses changed to uid_t.
17107 (_IO_wint_t): Delete; all uses changed to wint_t.
17108 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17109 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17110 (_IO_cookie_io_functions_t): Delete; all uses changed to
17111 cookie_io_functions_t.
17112 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17113 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17114 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17115 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17117 * libio/iofopncook.c: Remove unnecessary forward declarations.
17118 * libio/iolibio.h: Correct outdated commentary.
17119 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17120 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17121 Remove unnecessary casts.
17122 * stdio-common/getline.c: Use _IO_getdelim directly.
17123 Don't redefine ssize_t.
17124 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17125 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17126 Remove outdated comments.
17127 * stdio-common/vfscanf.c: Don't redefine va_list.
17129 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17130 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17131 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17132 which are always true, and __cplusplus, which is always false.
17134 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17138 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17139 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17140 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17141 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17143 [!_ISOMAC] (putc_unlocked): Likewise.
17144 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17145 define inline if [__USE_EXTERN_INLINES].
17146 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17151 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17152 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17153 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17154 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17155 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17157 * time/tzfile.c (__tzfile_read): Likewise.
17159 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17162 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17164 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17166 * io/fcntl.h: Fix a typo in a comment.
17168 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17171 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17172 define _DEFAULT_SOURCE.
17173 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17175 2018-02-21 Florian Weimer <fweimer@redhat.com>
17178 * elf/cache.c (save_cache): Call fsync on temporary file before
17180 (save_aux_cache): Call fdatasync on temporary file before renaming
17183 2018-02-21 Florian Weimer <fweimer@redhat.com>
17186 * include/caller.h: Remove file.
17187 * elf/dl-caller.c: Likewise.
17188 * elf/Makefile (dl-routines): Remove dl-caller.
17189 (shared-only-routines): Do not add dl-caller.
17190 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17192 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17194 (dl_open_worker): Do not call __check_caller.
17195 (_dl_open): Do not set caller_dl_open member.
17196 * elf/rtld.c (_rtld_global_ro): Do not initialize
17197 _dl_check_caller member.
17198 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17199 _dl_check_caller member.
17200 (_dl_check_caller): Remove declaration.
17201 * sysdeps/unix/sysv/linux/dl-execstack.c
17202 (_dl_make_stack_executable): Do not call __check_caller.
17204 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17206 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17207 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17209 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17211 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17214 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17217 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17218 of 199606L, 200112L, and 200809L.
17219 (_XOPEN_SOURCE): Document special values of 600 and 700.
17220 (_ISOC11_SOURCE): Document macro.
17221 (_ATFILE_SOURCE): Likewise.
17222 (_FORTIFY_SOURCE): Likewise.
17224 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17228 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17229 and define as weak alias of __ferror_unlocked. Use
17231 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17233 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17234 function if [__USE_EXTERN_INLINES].
17235 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17238 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17241 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17243 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17246 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17247 the GLIBC_2.1 version.
17249 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17252 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17253 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17254 intl/tst-gettext-de.po from po/de.po by removing the
17255 POT-Creation-Date line.
17256 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17258 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17261 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17263 * mach/Makefile (headers): Add mach/param.h.
17264 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17265 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17266 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17267 (__ptsname_r): Move implementation to...
17268 (__ptsname_internal): ... new function. Add filling the STP
17271 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17273 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17276 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17278 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17281 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17283 * nptl/Makefile (tst-mutex8-ENV): Delete.
17284 * nptl/tst-mutex8.c (check_type):
17285 Add runtime check if mutex will be elided.
17287 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17291 * manual/install.texi (Configuring and compiling): Describe
17292 passing CC and CFLAGS on configure command line, not as
17293 environment variables. Use @code markup on those variables.
17294 Specify what options go in CC and what go in CFLAGS. Note the
17295 requirement to compile with optimization.
17296 * INSTALL: Regenerated.
17299 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17300 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17301 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17302 __sigprocmask instead of sigprocmask.
17303 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17305 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17306 __sigsetjmp and sigprocmask.
17309 * include/argz.h (argz_next): Use libc_hidden_proto.
17310 (__argz_next): Likewise.
17311 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17312 (argz_next): Use libc_hidden_weak.
17315 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17317 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17321 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17323 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17327 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17328 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17329 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17330 (__feof_unlocked): New declaration, and inline function if
17331 [__USE_EXTERN_INLINES].
17332 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17333 instead of feof_unlocked.
17334 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17335 * nss/nsswitch.c (nss_parse_file): Likewise.
17336 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17338 * time/getdate.c (__getdate_r): Likewise.
17339 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17340 Define as macro to call __feof_unlocked.
17342 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17344 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17346 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17348 * math/Makefile: Remove mpexp.c and mplog.c
17349 * sysdeps/i386/fpu/mpexp.c: Delete file.
17350 * sysdeps/i386/fpu/mplog.c: Likewise.
17351 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17352 * sysdeps/ia64/fpu/mplog.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17354 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17355 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17356 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17357 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17358 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17359 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17360 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17361 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17362 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17363 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17364 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17365 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17366 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17367 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17368 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17370 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17372 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17374 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17376 * sysdeps/sh/libm-test-ulps: Update.
17378 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17380 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17383 2018-02-12 Zack Weinberg <zackw@panix.com>
17386 * posix/sys/types.h: Don't include sys/sysmacros.h.
17387 * misc/sys/sysmacros.h: Remove the conditional deprecation
17388 warnings for the macros defined by this header.
17390 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17392 * manual/probes.texi: Remove slowexp probes.
17393 * math/Makefile: Remove slowexp.
17394 * sysdeps/generic/math_private.h (__slowexp): Remove.
17395 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17396 document error bounds.
17397 * sysdeps/i386/fpu/slowexp.c: Remove.
17398 * sysdeps/ia64/fpu/slowexp.c: Remove.
17399 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17400 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17401 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17402 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17403 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17404 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17406 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17407 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17408 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17411 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17414 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17415 * benchtests/pow-inputs: Update comment for slow path cases.
17416 * manual/probes.texi (slowpow_p10): Delete removed probe.
17417 (slowpow_p10): Likewise.
17418 * math/Makefile: Remove halfulp.c and slowpow.c.
17419 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17420 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17421 (__halfulp): Remove.
17422 (__slowpow): Remove.
17423 * sysdeps/i386/fpu/halfulp.c: Delete file.
17424 * sysdeps/i386/fpu/slowpow.c: Likewise.
17425 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17426 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17428 improve comments and add error analysis.
17429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17430 (power1): Remove function:
17431 (log1): Remove error argument, add error analysis.
17432 (my_log2): Remove function.
17433 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17434 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17435 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17436 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17437 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17438 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17439 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17440 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17441 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17442 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17443 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17444 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17445 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17446 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17448 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17450 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17451 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17453 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17456 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17457 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17458 and PTRACE_SETHBPREGS.
17460 2018-02-10 Zack Weinberg <zackw@panix.com>
17463 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17465 * malloc/tst-malloc-stats-cancellation.c: New test case.
17466 * malloc/Makefile: Add new test case.
17468 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17470 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17472 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17474 * math/Makefile (libm-narrow-fns): Add add.
17475 (libm-test-funcs-narrow): Likewise.
17476 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17477 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17478 * math/gen-auto-libm-tests.c (test_functions): Add add.
17479 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17480 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17481 (NARROW_ADD_TRIVIAL): Likewise.
17482 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17484 (__daddl): Likewise.
17485 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17487 (CFLAGS-nldbl-dadd.c): New variable.
17488 (CFLAGS-nldbl-fadd.c): Likewise.
17489 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17491 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17493 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17494 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17495 * math/auto-libm-test-in: Add tests of add.
17496 * math/auto-libm-test-out-narrow-add: New generated file.
17497 * math/libm-test-narrow-add.inc: New file.
17498 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17499 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17501 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17502 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17503 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17512 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17513 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17514 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17515 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17517 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17520 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17521 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17545 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17546 (f128-pairs): New variable.
17547 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17548 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17550 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17551 Also make tests add $(f128-loader-link) to gnulib-tests.
17553 2018-02-09 DJ Delorie <dj@redhat.com>
17556 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17557 64-bit ELF type for 64-bit ELF objects.
17559 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17561 * math/libm-test-driver.c (snan_tests_arg): New variable.
17562 * math/libm-test-support.h (snan_tests_arg): New declaration.
17563 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17565 * math/Makefile (test-type-pairs): New variable.
17566 (test-type-pairs-f64xf128-yes): Likewise.
17567 (tests): Add test-narrow-macros.
17568 (libm-test-funcs-narrow): New variable.
17569 (libm-test-c-narrow): Likewise.
17570 (generated): Add $(libm-test-c-narrow).
17571 (libm-tests-base-narrow): New variable.
17572 (libm-tests-narrow): Likewise.
17573 (libm-tests): Add $(libm-tests-narrow).
17574 (libm-tests-for-type): Handle $(libm-tests-narrow).
17575 (libm-test-c-narrow-obj): New variable.
17576 ($(libm-test-c-narrow-obj)): New rule.
17577 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17578 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17579 $(o-iterator) to set dependencies and CFLAGS.
17580 * math/gen-auto-libm-tests.c: Document use for narrowing
17582 (output_for_one_input_case): Take argument NARROW.
17583 (generate_output): Likewise. Update call to
17584 output_for_one_input_case.
17585 (main): Take --narrow option. Update call to generate_output.
17586 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17587 (apply_lit): Update call to _apply_lit.
17588 (apply_arglit): New function.
17589 (parse_args): Handle "a" arguments.
17590 (parse_auto_input): Handle format names using ":".
17591 * math/README.libm-test: Document "a" parameter type.
17592 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17593 (ARG_TYPE_TRUE_MIN): Likewise.
17594 (ARG_TYPE_MAX): Likwise.
17595 (ARG_MIN_EXP): Likewise.
17596 (ARG_MAX_EXP): Likewise.
17597 (ARG_MANT_DIG): Likewise.
17598 (TEST_COND_arg_ibm128): Likewise.
17599 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17600 (TEST_COND_arg_fmt): New macro.
17601 (init_max_error): Update prototype.
17602 * math/libm-test-support.c (test_ibm128): New variable.
17603 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17604 instead of using [TEST_COND_ibm128] conditional.
17605 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17606 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17607 [TEST_NARROW] (TEST_MSG): New definition.
17608 (arg_plus_zero): New macro.
17609 (arg_minus_zero): Likewise.
17610 (arg_plus_infty): Likewise.
17611 (arg_minus_infty): Likewise.
17612 (arg_qnan_value_pl): Likewise.
17613 (arg_qnan_value): Likewise.
17614 (arg_snan_value_pl): Likewise.
17615 (arg_snan_value): Likewise.
17616 (arg_max_value): Likewise.
17617 (arg_min_value): Likewise.
17618 (arg_min_subnorm_value): Likewise.
17619 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17620 (RUN_TEST_LOOP_aa_f): New macro.
17621 (TEST_SUFF): New macro.
17622 (TEST_SUFF_STR): Likewise.
17623 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17624 (TEST_COND_any_ibm128): New macro.
17625 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17626 this_func. Update call to init_max_error.
17627 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17628 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17629 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17630 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17631 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17632 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17633 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17634 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17635 * math/test-math-vector.h (TEST_NARROW): Likewise.
17636 * math/test-arg-double.h: New file.
17637 * math/test-arg-float128.h: Likewise.
17638 * math/test-arg-float32x.h: Likewise.
17639 * math/test-arg-float64.h: Likewise.
17640 * math/test-arg-float64x.h: Likewise.
17641 * math/test-arg-ldouble.h: Likewise.
17642 * math/test-math-narrow.h: Likewise.
17643 * math/test-narrow-macros.c: Likewise.
17644 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17645 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17646 test-narrow-macros-ldbl-64.
17647 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17649 * math/bits/mathcalls-narrow.h: New file.
17650 * include/bits/mathcalls-narrow.h: Likewise.
17651 * math/math-narrow.h: Likewise.
17652 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17653 (__MATHCALL_NARROW_ARGS_2): Likewise.
17654 (__MATHCALL_NARROW_ARGS_3): Likewise.
17655 (__MATHCALL_NARROW_NORMAL): Likewise.
17656 (__MATHCALL_NARROW_REDIR): Likewise.
17657 (__MATHCALL_NARROW): Likewise.
17658 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17659 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17661 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17662 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17663 (libm-narrow-fns): New variable.
17664 (libm-narrow-types-basic): Likewise.
17665 (libm-narrow-types-ldouble-yes): Likewise.
17666 (libm-narrow-types-float128-yes): Likewise.
17667 (libm-narrow-types-float128-alias-yes): Likewise.
17668 (libm-narrow-types): Likewise.
17669 (libm-routines): Add narrowing functions.
17670 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17671 (libc_feholdexcept_setroundf128): New macro.
17672 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17673 * sysdeps/ieee754/float128/float128_private.h: Include
17674 <math/math-narrow.h>.
17675 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17676 Undefine and redefine.
17677 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17678 (libm_alias_float_ldouble): Undefine and redefine.
17679 (libm_alias_double_ldouble): Likewise.
17681 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17683 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17685 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17688 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17690 * manual/creature.texi: Convert references to gcc.info to gcc.
17691 * manual/stdio.texi: Likewise.
17692 * manual/string.texi: Likewise.
17694 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17697 * posix/bits/types.h (__int_least8_t): New typedef.
17698 (__uint_least8_t): Likewise.
17699 (__int_least16_t): Likewise.
17700 (__uint_least16_t): Likewise.
17701 (__int_least32_t): Likewise.
17702 (__uint_least32_t): Likewise.
17703 (__int_least64_t): Likewise.
17704 (__uint_least64_t): Likewise.
17705 * sysdeps/generic/stdint.h (int_least8_t): Define using
17707 (int_least16_t): Define using __int_least16_t.
17708 (int_least32_t): Define using __int_least32_t.
17709 (int_least64_t): Define using __int_least64_t.
17710 (uint_least8_t): Define using __uint_least8_t.
17711 (uint_least16_t): Define using __uint_least16_t.
17712 (uint_least32_t): Define using __uint_least32_t.
17713 (uint_least64_t): Define using __uint_least64_t.
17714 * wcsmbs/uchar.h: Include <bits/types.h>.
17715 (char16_t): Define using __uint_least16_t conditional only on
17717 (char32_t): Define using __uint_least32_t conditional only on
17719 * wcsmbs/test-char-types.c: New file.
17720 * wcsmbs/Makefile (tests): Add test-char-types.
17722 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17725 2018-02-07 Zack Weinberg <zackw@panix.com>
17727 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17728 Delete all contents except for definitions of _G_HAVE_MMAP and
17729 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17730 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17731 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17734 * libio/libio.h: Don't include bits/_G_config.h here.
17735 Include stddef.h with __need_wchar_t defined. Include
17736 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17737 Define _IO_iconv_t here, directly.
17738 Don't define _IO_HAVE_ST_BLKSIZE.
17739 * libio/libioP.h: Include _G_config.h here. Move include of
17740 shlib-compat.h up with rest of includes. Simplify conditionals
17741 controlling definition of _IO_JUMPS_OFFSET.
17743 * csu/init.c: Remove always-true #if around entire file.
17744 Don't include stdio.h. Set _IO_stdin_used to hardwired
17745 constant 0x20001, and update commentary.
17746 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17747 Replace all uses of _G_va_list with __gnuc_va_list.
17748 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17749 instead of #if _IO_HAVE_ST_BLKSIZE.
17750 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17751 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17754 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17755 multiple-include guard to match.
17756 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17758 Remove preprocessor conditionals that are always true and/or
17759 redundant to other preprocessor conditionals in the same nest.
17760 Include shlib-compat.h unconditionally.
17761 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17762 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17763 defined after including stdio.h.
17764 Use __BEGIN_DECLS/__END_DECLS.
17766 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17767 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17768 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17770 2018-02-07 Zack Weinberg <zackw@panix.com>
17772 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17773 New single-type headers split from _G_config.h.
17774 * libio/bits/types/cookie_io_functions_t.h
17775 * libio/bits/types/struct_FILE.h
17776 New single-type headers split from libio.h.
17778 * libio/Makefile: Install the above new headers. Don't install
17779 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17781 * libio/_G_config.h, libio/libio.h: Delete file.
17783 * libio/bits/libio.h: Remove improper-inclusion guard.
17784 Include stdio.h and don't repeat anything that it does.
17785 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17786 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17787 __io_read_fn as cookie_read_function_t,
17788 __io_write_fn as cookie_write_function_t,
17789 __io_seek_fn as cookie_seek_function_t,
17790 __io_close_fn as cookie_close_function_t,
17791 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17792 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17793 here, in the "compatibility defines" section. Remove an #if 0
17794 block. Use the "body" macros from bits/types/struct_FILE.h to
17795 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17796 and _IO_ferror_unlocked.
17797 Move prototypes of __uflow and __overflow...
17799 * libio/stdio.h: ...here. Don't include bits/libio.h.
17800 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17801 directly from stdarg.h. Include bits/types/__fpos_t.h,
17802 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17803 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17804 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17805 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17806 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17807 __ssize_t, not _IO_ssize_t. Unconditionally define
17808 BUFSIZ as 8192 and EOF as (-1).
17810 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17811 macros from bits/types/struct_FILE.h instead of _IO_* macros
17812 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17813 instead of _IO_ssize_t.
17814 * libio/bits/stdio2.h: Similarly.
17816 * libio/iolibio.h: Add multiple-include guard.
17817 Include bits/libio.h after stdio.h.
17818 * libio/libioP.h: Add multiple-include guard.
17819 Include stdio.h and bits/libio.h before iolibio.h.
17821 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17822 * include/bits/types/cookie_io_functions_t.h
17823 * include/bits/types/struct_FILE.h: New wrappers.
17825 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17826 Get definitions of _G_fpos_t and _G_fpos64_t from
17827 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17828 respectively. Remove improper-inclusion guards.
17830 * conform/data/stdio.h-data: Update expectations of va_list.
17831 * scripts/check-installed-headers.sh: Remove special case for
17832 libio.h and _G_config.h.
17834 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17838 * include/sys/sysmacros.h [!_ISOMAC]
17839 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17840 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17841 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17842 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17844 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17845 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17847 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17848 Undefine and redefine to add use __gnu_dev_ prefix.
17849 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17851 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17852 and define as hidden inline function.
17853 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17855 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17857 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17858 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17859 (gnu_dev_minor): Likewise.
17860 (gnu_dev_makedev): Likewise.
17861 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17863 * posix/wordexp.c (exec_comm_child): Likewise.
17864 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17865 instead of minor and __gnu_dev_major instead of major.
17866 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17867 __gnu_dev_major instead of major.
17868 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17869 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17870 instead of gnu_dev_minor.
17871 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17872 (SLAVE_P): Likewise.
17873 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17874 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17878 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17880 * locale/weightwc.h (findidx): Likewise.
17882 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17884 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17885 (slowlog_inexact): Likewise
17886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17887 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17889 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17892 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17893 missing second underscore to parameter name.
17895 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17901 * bits/byteswap.h: Update file comment. Do not include
17902 <bits/byteswap-16.h>.
17903 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17905 (__bswap_16): Define as inline function.
17906 (__bswap_constant_32): Reformat definition.
17907 (__bswap_32): Always define as inline function, not macro, using
17908 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17909 otherwise __bswap_constant_32.
17910 (__bswap_constant_64): Reformat definition. Do not use
17911 __extension__ here.
17912 (__bswap_64): Always define as inline function, not macro. Use
17913 __extension__ on function definition. Use __builtin_bswap64 if
17914 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17915 * string/test-endian-file-scope.c: New file.
17916 * string/test-endian-sign-conversion.c: Likewise.
17917 * string/Makefile (headers): Remove bits/byteswap-16.h.
17918 (tests): Add test-endian-file-scope and
17919 test-endian-sign-conversion.
17920 (CFLAGS-test-endian-sign-conversion.c): New variable.
17921 * bits/byteswap-16.h: Remove file.
17922 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17923 * sysdeps/ia64/bits/byteswap.h: Likewise.
17924 * sysdeps/m68k/bits/byteswap.h: Likewise.
17925 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17926 * sysdeps/s390/bits/byteswap.h: Likewise.
17927 * sysdeps/tile/bits/byteswap.h: Likewise.
17928 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17929 * sysdeps/x86/bits/byteswap.h: Likewise.
17932 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17933 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17934 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17935 199901L] (__restrict): Define to restrict.
17938 * string/testcopy.c: Include <support/support.h>. Do not include
17939 <malloc.h>. Use <support/test-driver.c>.
17940 (main): Rename to do_test. Make static. Use xmalloc instead of
17944 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17945 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17946 (SSIZE_MAX): Define to INT_MAX.
17947 * posix/test-ssize-max.c: New file.
17948 * posix/Makefile (tests): Add test-ssize-max.
17951 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17952 <support/support.h>. Do not include <malloc.h>.
17953 (query_auxv): Use xmalloc instead of malloc.
17956 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17957 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17960 2018-02-06 Florian Weimer <fweimer@redhat.com>
17963 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17964 Use scratch_buffer instead of extend_alloca.
17966 2018-02-06 Zack Weinberg <zackw@panix.com>
17968 * libio/stdio.h: Don't define getc or putc as macros.
17969 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17970 not _IO_getc and _IO_putc.
17972 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17973 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17975 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17977 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17978 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17980 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17983 * elf/elf.h (NT_PRFPREG): New macro.
17984 (NT_S390_VXRS_LOW): Likewise.
17985 (NT_S390_VXRS_HIGH): Likewise.
17986 (NT_S390_GS_CB): Likewise.
17987 (NT_S390_GS_BC): Likewise.
17988 (NT_S390_RI_CB): Likewise.
17990 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17991 (MAP_SYNC): New macro.
17992 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17994 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17995 (MAP_SYNC): Likewise.
17996 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17997 (MAP_SYNC): Likewise.
17998 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17999 (MAP_SYNC): Likewise.
18000 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18001 (MAP_SYNC): Likewise.
18002 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18003 (MAP_SYNC): Likewise.
18004 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18005 (MAP_SYNC): Likewise.
18006 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18008 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18011 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18012 (MAP_SHARED_VALIDATE): New macro.
18013 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18014 (MAP_SHARED_VALIDATE): Likewise.
18016 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18018 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18019 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18020 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18022 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18024 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18025 (DT_NUM): Updated to 35.
18027 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18029 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18030 __builtin_expect with __glibc_likely and __glibc_unlikely.
18031 (elf_machine_rela): Likewise.
18032 (elf_machine_lazy_rel): Likewise.
18034 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18037 __builtin_expect with __glibc_likely and __glibc_unlikely.
18038 (elf_machine_lazy_rel): Likewise.
18040 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18043 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18045 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18047 2018-02-05 Andreas Schwab <schwab@suse.de>
18050 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18053 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18055 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18056 not check against PTHREAD_STACK_MIN.
18058 2018-02-02 Sean McKean <smckean83@gmail.com>
18061 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18063 2018-02-02 Florian Weimer <fweimer@redhat.com>
18066 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18067 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18068 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18069 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18070 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18071 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18072 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18073 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18074 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18075 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18076 * misc/tst-preadvwritev2.c (do_test): Call it.
18077 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18079 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18081 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18083 * benchtests/bench-memcmp.c: Print json instead of plain text.
18085 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18088 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18090 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18092 (s390_sthyi): New syscall.
18094 * sysdeps/generic/ldbl-classify-compat.h: New file.
18095 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18096 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18097 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18098 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18099 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18100 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18102 <ldbl-classify-compat.h>.
18103 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18104 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18105 <ldbl-classify-compat.h>.
18106 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18107 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18108 <ldbl-classify-compat.h>.
18109 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18111 <ldbl-classify-compat.h>.
18112 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18114 <ldbl-classify-compat.h>.
18115 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18117 <ldbl-classify-compat.h>.
18118 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18119 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18120 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18121 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18122 * sysdeps/microblaze/math_private.h: Likewise.
18123 * sysdeps/nios2/math_private.h: Likewise.
18124 * sysdeps/sh/math_private.h: Likewise.
18126 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18127 * sysdeps/m68k/coldfire/math_private.h: ... here.
18128 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18129 * sysdeps/tile/math_private.h: Likewise.
18130 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18132 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18135 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18137 (libc_fetestexcept): Likewise.
18138 (libc_feupdateenv_test): Likewise.
18139 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18140 (libc_fetestexcept): Likewise.
18141 (libc_feupdateenv_test): Likewise.
18142 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18143 (libc_fetestexcept): Likewise.
18144 (libc_feupdateenv_test): Likewise.
18145 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18146 (libc_fetestexcept): Likewise.
18147 (libc_feupdateenv_test): Likewise.
18149 * sysdeps/generic/math_private.h
18150 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18151 New inline function.
18152 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18155 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18156 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18157 * sysdeps/generic/math_private.h
18158 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18160 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18162 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18164 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18166 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18168 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18170 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18171 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18172 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18173 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18174 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18175 (__fegetenv): Likewise.
18176 (fesetenv): Likewise.
18177 (__fesetenv): Likewise.
18178 (feupdateenv): Likewise.
18179 (__feupdateenv): Likewise.
18180 (fegetround): Likewise.
18181 (__fegetround): Likewise.
18182 (fesetround): Likewise.
18183 (__fesetround): Likewise.
18185 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18186 (feraiseexcept): New macro.
18187 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18188 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18190 (__feraiseexcept): Likewise.
18191 (feclearexcept): Likewise.
18192 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18193 (__feraiseexcept): Likewise.
18194 (feclearexcept): Likewise.
18195 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18196 (__feraiseexcept): Likewise.
18197 (feclearexcept): Likewise.
18198 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18199 (__feraiseexcept): Likewise.
18200 (feclearexcept): Likewise.
18201 (fetestexcept): Likewise.
18203 * sysdeps/m68k/coldfire/math-tests.h: New file.
18205 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18206 * sysdeps/m68k/bits/fenv.h: ... here.
18207 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18209 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18211 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18213 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18215 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18217 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18219 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18220 (__FE_UNDEFINED): New enum constant.
18221 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18223 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18225 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18227 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18228 to match generic bits/fenv.h.
18229 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18232 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18234 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18235 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18236 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18237 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18239 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18240 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18241 Joseph Myers <joseph@codesourcery.com>
18244 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18245 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18246 computation using c.
18247 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18248 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18249 computation using c.
18251 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18253 * version.h (RELEASE): Set to "development".
18254 (VERSION): Set to "2.27.9000".
18255 * NEWS (2.28): New section.
18257 * version.h (RELEASE): Set to "stable".
18258 (VERSION): Set to "2.27".
18259 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18261 * NEWS: Add the list of bugs fixed in 2.27.
18263 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18265 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18266 against PTHREAD_STACK_MIN.
18268 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18270 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18272 (Rafal Luzynski, Andreas Schwab): Update.
18274 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18277 * NEWS: List the languages which actually use the alternative
18278 months feature in this release. Also explain that "alt_mon" and
18279 "ab_alt_mon" are optional.
18281 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18284 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18286 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18288 * manual/install.texi (Tools for Compilation): Update the newest
18289 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18290 * INSTALL: Regenerated.
18292 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18294 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18295 instead of __builtin_expect.
18297 2018-01-30 Florian Weimer <fweimer@redhat.com>
18299 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18301 * nss/tst-nss-getpwent.c (do_test): Likewise.
18303 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18306 * localedata/locales/hr_HR (mon): Rename to...
18308 (mon): Import from CLDR (genitive case).
18309 (d_t_fmt): Update the comment.
18311 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18313 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18314 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18315 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18317 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18319 * mach/Versions: Fix version when __mach_host_self_ was added.
18320 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18321 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18322 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18323 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18324 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18325 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18326 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18327 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18328 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18329 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18330 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18331 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18332 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18333 || to respect codestyle.
18334 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18335 (do_test_bz20181): Rename accordingly.
18336 * malloc/malloc.c: Include <assert.h>.
18337 (assert): Do not define.
18338 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18339 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18340 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18341 * sysdeps/mach/hurd/hp-timing.h: New file.
18342 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18344 2018-01-29 Darius Rad <darius@bluespec.com>
18346 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18348 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18350 * sysdeps/init_array/crti.S (.section .init_array): Add
18351 PREINIT_FUNCTION when defined.
18352 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18353 * config.h.in: Regenerate.
18354 * manual/platform.texi: Add RISC-V documenation for
18355 __riscv_flush_icache.
18356 * sysdeps/riscv/__longjmp.S: New file.
18357 * sysdeps/riscv/backtrace.c: Likewise.
18358 * sysdeps/riscv/bits/endian.h: Likewise.
18359 * sysdeps/riscv/bits/setjmp.h: Likewise.
18360 * sysdeps/riscv/bits/wordsize.h: Likewise.
18361 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18362 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18363 * sysdeps/riscv/dl-trampoline.S: Likewise.
18364 * sysdeps/riscv/gccframe.h: Likewise.
18365 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18366 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18367 * sysdeps/riscv/machine-gmon.h: Likewise.
18368 * sysdeps/riscv/memusage.h: Likewise.
18369 * sysdeps/riscv/setjmp.S: Likewise.
18370 * sysdeps/riscv/sys/asm.h: Likewise.
18371 * sysdeps/riscv/tls-macros.h: Likewise.
18372 * sysdeps/riscv/dl-tls.h: New file.
18373 * sysdeps/riscv/libc-tls.c: Likewise.
18374 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18375 * sysdeps/riscv/nptl/tls.h: Likewise.
18376 * sysdeps/riscv/stackinfo.h: Likewise.
18377 * sysdeps/riscv/bits/fenv.h: New file.
18378 * sysdeps/riscv/e_sqrtl.c: Likewise.
18379 * sysdeps/riscv/fpu_control.h: Likewise.
18380 * sysdeps/riscv/math-tests.h: Likewise.
18381 * sysdeps/riscv/nofpu/Implies: Likewise.
18382 * sysdeps/riscv/sfp-machine.h: Likewise.
18383 * sysdeps/riscv/tininess.h: Likewise.
18384 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18385 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18386 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18387 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18388 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18389 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18390 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18391 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18392 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18393 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18394 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18395 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18396 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18397 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18398 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18399 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18400 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18401 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18402 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18403 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18404 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18405 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18406 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18407 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18408 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18409 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18410 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18411 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18412 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18413 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18414 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18415 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18416 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18417 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18418 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18419 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18420 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18421 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18422 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18423 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18424 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18425 * sysdeps/riscv/rvf/math_private.h: Likewise.
18426 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18427 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18428 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18429 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18430 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18431 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18432 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18433 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18434 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18435 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18436 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18437 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18438 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18439 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18440 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18441 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18442 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18443 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18444 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18445 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18446 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18447 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18448 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18449 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18450 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18451 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18452 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18453 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18454 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18455 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18456 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18457 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18458 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18459 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18460 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18461 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18462 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18463 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18464 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18465 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18466 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18467 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18468 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18469 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18470 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18471 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18472 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18473 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18474 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18475 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18476 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18477 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18478 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18479 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18480 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18481 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18482 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18483 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18484 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18485 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18486 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18494 * sysdeps/riscv/Implies: New file.
18495 * sysdeps/riscv/Makefile: Likewise.
18496 * sysdeps/riscv/configure: Likewise.
18497 * sysdeps/riscv/configure.ac: Likewise.
18498 * sysdeps/riscv/nptl/Makefile: Likewise.
18499 * sysdeps/riscv/preconfigure: Likewise.
18500 * sysdeps/riscv/rv64/Implies-after: Likewise.
18501 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18502 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18503 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18504 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18505 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18506 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18507 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18508 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18509 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18510 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18511 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18512 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18513 (Config): Likewise.
18515 2018-01-29 Florian Weimer <fweimer@redhat.com>
18518 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18519 libnsl_hidden_proto.
18520 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18521 libnsl_hidden_proto.
18522 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18523 * nis/Makefile (libnsl-routines): Add nss-default only for
18524 build-obsolete-nsl.
18525 * nis/nis_defaults.c (__nis_default_ttl): Add
18526 libnsl_hidden_nolink_def.
18527 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18529 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18530 * nis/ypclnt.c (yp_maplist): Likewise.
18532 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18535 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18537 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18539 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18540 clean -dxfq for git updates when replacing sources.
18542 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18543 --disable-libcilkrts unconditionally, not just for the final GCC
18546 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18549 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18552 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18555 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18558 * localedata/locales/be_BY (mon): Rename to...
18559 (alt_mon): This, then synchronize with CLDR (nominative case).
18560 (abmon): Rename to...
18561 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18562 (mon): Import from CLDR (genitive case).
18564 * localedata/locales/be_BY@latin (mon): Rename to...
18566 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18568 * localedata/locales/be_BY@latin (lang_name): Reworded to
18569 "biełaruskaja mova".
18571 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18574 * localedata/locales/el_CY (mon): Renamed to...
18576 (mon): Import from CLDR (genitive case).
18577 * localedata/locales/el_GR: Likewise.
18579 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18582 * localedata/locales/ru_RU (mon): Rename to...
18584 (abmon): Rename to...
18585 (ab_alt_mon): This.
18586 (mon): Import from CLDR (genitive case).
18587 (abmon): Copy from the old content except the 5th month which is
18588 now in the genitive case, even when abbreviated.
18589 * localedata/locales/ru_UA: Likewise.
18590 * time/tst-strptime.c (day_tests): Add an actual example of
18591 a difference between %b and %Ob in Russian.
18593 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18595 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18596 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18598 * resolv/res-close.c: Include <stdlib.h>.
18599 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18600 <sys/wait.h>, <time.h>, <sys/uio.h>.
18601 (NOT_CANCEL_H): Add inclusion guard.
18602 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18603 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18604 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18606 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18607 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18608 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18610 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18611 timer_ptr2id to cast struct timer_node * to void *.
18612 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18613 --disable-libcilkrts to gcc configure.
18614 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18615 and make them the default for now.
18616 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18617 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18618 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18619 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18620 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18622 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18623 __task_terminate would ever return successfully.
18624 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18626 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18627 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18628 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18629 critical section to make code simpler and avoid warning.
18630 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18631 critical section to make code simpler and avoid warning.
18632 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18633 const char * instead of char *.
18634 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18635 __hurd_file_name_split, hurd_file_name_split,
18636 __hurd_directory_name_split, hurd_directory_name_split,
18637 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18638 hurd_file_name_path_lookup): Make lookup function parameter take a
18639 const char *name instead of char *name.
18640 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18641 __hurd_directory_name_split): Likewise.
18642 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18643 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18644 * sysdeps/mach/hurd/check_native.c: New file.
18645 * sysdeps/mach/hurd/check_pf.c: New file.
18646 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18647 (__freeifaddrs): Define macro to freeifaddrs.
18648 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18649 * sysdeps/mach/libmachuser.abilist: New file.
18650 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18651 (do_test_bz20181): Rename accordingly.
18652 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18653 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18655 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18656 version only if __USE_EXTERN_INLINES is defined.
18657 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18658 __hurd_sockfail): Likewise.
18659 (_hurd_fd_get): Always declare functions, and provide inline versions
18660 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18661 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18662 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18663 _hurd_port_set): Always declare functions, and provide inline versions
18664 only if __USE_EXTERN_INLINES and _LIBC are defined and
18666 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18667 _hurd_critical_section_unlock): Likewise.
18668 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18669 * __hurd_threadvar_location): Likewise.
18670 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18671 _hurd_userlink_clear): Likewise.
18672 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18673 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18674 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18675 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18676 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18677 __spin_lock_locked): Likewise.
18678 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18679 __spin_lock_locked): Likewise.
18680 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18681 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18682 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18683 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18684 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18685 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18686 _POSIX_NO_TRUNC): Define to 0.
18687 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18688 check size against PTHREAD_STACK_MIN.
18689 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18690 IS_IN(libpthread)]: Include <sigsetops.h>.
18691 * mach/Makefile (user-interfaces): Add mach/gnumach.
18692 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18693 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18694 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18695 instead of invalid -1.
18696 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18697 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18698 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18701 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18703 * hurd/fcntl-internal.h: New file.
18705 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18707 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18709 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18711 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18714 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18715 Build only shared objects.
18717 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18719 * README: Update for hppa.
18721 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18723 * sysdeps/sparc/fpu/libm-test-ulps: Update
18724 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18726 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18730 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18733 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18734 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18735 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18736 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18739 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18742 * bits/types/__cancel_jmp_buf_tag.h: New file.
18743 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18744 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18745 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18746 * nptl/Makefile (headers): Add
18747 bits/types/__cancel_jmp_buf_tag.h.
18748 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18749 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18750 * sysdeps/nptl/pthread.h: Include
18751 <bits/types/__cancel_jmp_buf_tag.h>.
18752 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18754 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18756 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18759 * localedata/locales/uk_UA (mon): Renamed to...
18761 (alt_digits): "0" removed and then renamed to...
18763 (date_fmt): Definition changed not to use the alternative
18766 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18768 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18769 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18770 * elf/elf.h (EF_RISCV_RVC): New define.
18771 (EF_RISCV_FLOAT_ABI): Likewise.
18772 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18773 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18774 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18775 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18776 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18778 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18780 2018-01-25 Andreas Schwab <schwab@suse.de>
18782 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18784 * sysdeps/gnu/configure: Regenerate.
18785 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18786 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18788 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18789 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18790 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18791 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18792 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18794 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18796 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18797 URL, and run autoconf, make it the default for now.
18799 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18801 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18802 soft-float ColdFire configuration.
18804 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18805 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18806 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18808 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18811 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18813 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18815 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18818 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18819 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18820 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18823 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18826 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18827 Rename to __reserved and add comment.
18828 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18829 Rename to __reserved.
18831 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18833 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18834 i686-gnu configurations.
18835 (Context.run_builds): Include mig, gnumach and hurd in components
18837 (Context.checkout): Add mig, gnumach and hurd to components.
18838 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18840 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18841 (Config.build): Install gnumach headers, build mig and install
18842 hurd headers for 'gnu' OS.
18843 (Config.install_gnumach_headers): New function.
18844 (Config.install_hurd_headers): Likewise.
18845 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18846 when building for 'gnu' OS.
18848 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18850 * manual/tunables.texi (Hardware Capability Tunables): Fix
18853 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18855 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18856 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18857 (ALTMON_11, ALTMON_12): Improve documentation.
18858 * manual/time.texi (strftime): Likewise.
18860 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18863 * localedata/locales/pl_PL: Alternative month names added,
18864 primary month names are genitive now.
18865 * time/tst-strptime.c (day_tests): Actually use a genitive case
18866 of a month name in Polish language.
18868 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18871 * manual/locale.texi: Document ALTMON_1..12 constants for
18872 nl_langinfo. Specify when to use ALTMON instead of MON.
18873 * manual/time.texi (strftime, strptime): Document GNU extension
18874 permitting O modifier with %B and %b. Specify when to use
18877 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18880 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18881 names, define them as the same as abbreviated month names explicitly.
18882 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18883 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18884 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18885 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18886 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18887 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18888 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18889 _NL_WABALTMON_12): New enum constants.
18890 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18891 wab_alt_mon, and ab_alt_mon_defined members.
18892 (time_output): Output ab_alt_mon and wab_alt_mon members.
18893 (time_read): Read them, initialize them as copies of abmon and wabmon
18894 respectively if they are missing, initialize ab_alt_mon_defined.
18895 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18896 * locale/programs/locfile-kw.h: Regenerate.
18897 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18898 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18900 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18901 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18902 (__strftime_internal): Handle %Ob and %Oh formats.
18903 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18904 (__strptime_internal): Handle %Ob and %Oh formats.
18905 * time/tst-strptime.c (day_tests): Add more tests to parse different
18906 forms of month names including the new %Ob format specifier.
18908 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18911 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18912 define them as the same as primary full month names explicitly.
18913 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18914 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18915 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18916 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18917 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18918 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18919 _NL_WALTMON_12): New enum constants.
18920 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18921 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18923 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18924 walt_mon, and alt_mon_defined members.
18925 (time_output): Output alt_mon and walt_mon members.
18926 (time_read): Read them, initialize them as copies of mon and wmon
18927 respectively if they are missing, initialize alt_mon_defined.
18928 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18929 * locale/programs/locfile-kw.h: Regenerate.
18930 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18931 * localedata/tst-langinfo.c (map): Add tests for the new constants
18932 ALTMON_1 .. ALTMON_12.
18933 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18935 * time/strftime_l.c (f_altmonth): New macro.
18936 (__strftime_internal): Handle %OB format.
18937 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18938 (__strptime_internal): Handle %OB format.
18939 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18940 of month names including the new %OB format specifier.
18942 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18945 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18946 from ABORT_TRANSACTION.
18947 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18948 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18949 ABORT_TRANSACTION_IMPL): Likewise.
18950 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18951 Linux code, but remove the code that aborts transactions.
18953 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18955 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18957 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18959 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18960 in date: "2004-14-09" should be "2004-09-14".
18961 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18962 "2003-15-09" should be "2003-09-15".
18964 2018-01-18 Arjun Shankar <arjun@redhat.com>
18970 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18972 (_int_memalign): check for integer overflow before calling
18974 * malloc/tst-malloc-too-large.c: New test.
18975 * malloc/Makefile: Add tst-malloc-too-large.
18977 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18979 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18980 in date: "2017-24-07" should be "2017-07-24".
18981 * localedata/locales/mai_IN: Likewise.
18982 * localedata/locales/mai_NP: Likewise.
18984 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18986 * po/ru.po: Update translations.
18988 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18991 * sysdeps/hppa/backtrace.c: New file.
18993 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18996 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18997 align La_x86_64_retval to VEC_SIZE.
18999 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19001 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19002 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19004 2018-01-16 Florian Weimer <fweimer@redhat.com>
19006 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19007 Move tst-thread-exit-clobber ...
19008 [$(CXX)] (tests-unsupported): ... to here.
19010 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19012 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19013 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19014 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19015 (_dl_aarch64_cap_flags): Update.
19016 (_DL_HWCAP_COUNT): Update.
19018 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19020 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19021 (_DL_HWCAP_LAST): Remove.
19022 (_DL_HWCAP_COUNT): Move to ...
19023 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19024 (_DL_HWCAP_COUNT): ... here.
19026 2018-01-16 Florian Weimer <fweimer@redhat.com>
19028 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19029 mode with GNU extensions.
19031 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19033 * elf/elf.h (NT_ARM_SVE): Define.
19035 2018-01-15 Florian Weimer <fweimer@redhat.com>
19038 * nptl/tst-minstack-throw.cc: New file.
19039 * nptl/Makefile (tests): Add tst-minstack-throw.
19040 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19041 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19043 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19045 * scripts/build-many-glibcs.py (Context.checkout): Default
19046 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19049 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19052 * elf/elf.h (DF_1_STUB): Define.
19053 (DF_1_PIE): Define.
19055 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19059 Do not add 0.5 to integer or out-of-range arguments.
19061 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19063 * po/bg.po: Update translations.
19064 * po/cs.po: Likewise.
19065 * po/de.po: Likewise.
19066 * po/ko.po: Likewise.
19067 * po/pl.po: Likewise.
19068 * po/sv.po: Likewise.
19069 * po/uk.po: Likewise.
19070 * po/vi.po: Likewise.
19072 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19074 * aarch64/start.S (_start): Use __wrap_main.
19075 (__wrap_main): New local symbol.
19077 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19081 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19082 generic_getcwd if the path returned by getcwd syscall is not absolute.
19083 * io/tst-getcwd-abspath.c: New test.
19084 * io/Makefile (tests): Add tst-getcwd-abspath.
19086 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19088 * malloc/malloc.c (malloc_consolidate): Add size check.
19090 2018-01-12 Florian Weimer <fweimer@redhat.com>
19092 * support/write_message.c (write_message): Preserve errno.
19093 * support/check.c (print_failure): Likewise.
19094 * support/support_test_verify_impl.c (support_test_verify_impl):
19096 * support/support_test_compare_failure.c
19097 (support_test_compare_failure): Likewise.
19099 2018-01-12 Florian Weimer <fweimer@redhat.com>
19102 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19103 Prevent installation of libnsl.so.
19104 (libnsl-inhibit-o): Do not build (or install) static libraries.
19106 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19109 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19110 before the day number which may produce a double space.
19111 (date_fmt): Likewise.
19113 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19115 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19116 instead of fegetenv.
19118 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19121 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19122 comment to say exceptions are discarded.
19123 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19125 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19128 2018-01-11 Florian Weimer <fweimer@redhat.com>
19130 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19133 2018-01-11 Florian Weimer <fweimer@redhat.com>
19136 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19137 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19139 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19142 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19143 negative arguments in test for NaN or infinity argument.
19145 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19147 * po/libc.pot: Regenerate.
19149 2018-01-10 Florian Weimer <fweimer@redhat.com>
19152 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19153 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19155 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19157 * hurd/hurd/fd.h: Include <fcntl.h>
19158 (__hurd_at_flags): New function.
19159 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19160 with call to __hurd_at_flags.
19161 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19162 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19164 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19165 (__access_noerrno): Use __faccessat_common instead of access_common.
19166 (__access): Likewise.
19167 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19168 with a call to __faccessat.
19169 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19170 (__faccessat_common): ... this. Move implementation of __access into it when
19171 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19172 reauthenticate_cwdir_at helper to implement AT mechanism.
19173 (__faccessat_noerrno): New function, just calls __faccessat_common.
19174 (__faccessat): New function, just calls __faccessat_common.
19175 (faccessat): Define weak alias.
19177 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19180 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19181 (CFLAGS-s_fmaxmagl.c): New variable.
19182 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19186 long int for arguments of possibly overflowing addition or
19188 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19190 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19193 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19194 (CFLAGS-e_remainderl.c): New variable.
19197 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19199 (CFLAGS-s_cacoshl.c): Likewise.
19200 (CFLAGS-s_casinhl.c): Likewise.
19201 (CFLAGS-s_catanl.c): Likewise.
19202 (CFLAGS-s_catanhl.c): Likewise.
19203 (CFLAGS-s_cexpl.c): Likewise.
19204 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19205 (CFLAGS-s_csinhl.c): Likewise.
19206 (CFLAGS-s_clogl.c): Likewise.
19207 (CFLAGS-s_clog10l.c): Likewise.
19208 (CFLAGS-s_csinl.c): Likewise.
19209 (CFLAGS-s_csqrtl.c): Likewise.
19211 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19212 2017-01-09 Svante Signell <svante.signell@gmail.com>
19214 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19215 (_hurd_exec_paths): New function.
19216 * hurd/hurd.h (_hurd_exec): Deprecate function.
19217 (_hurd_exec_paths): Declare function.
19218 * hurd/Versions: Export _hurd_exec_paths.
19219 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19220 (__execve): Use __getcwd to build absolute path, and use
19221 _hurd_exec_paths instead of _hurd_exec.
19222 * sysdeps/mach/hurd/spawni.c: Likewise.
19223 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19226 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19228 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19229 test instead of failing in case of ENOENT returned by posix_openpt.
19231 2018-01-08 Florian Weimer <fweimer@redhat.com>
19233 resolv: Support binary labels in test framework.
19234 * support/resolv_test.c (struct to_be_freed): Remove.
19235 (struct compressed_name): New.
19236 (allocate_compressed_name, ascii_tolower)
19237 (compare_compressed_name): New functions.
19238 (struct resolv_response_builder): Update type of
19239 compression_offsets for use with tsearch. Rempve to_be_freed.
19240 (response_push_pointer_to_free): Remove function.
19241 (resolv_response_add_name): Rewrite using struct compressed_name
19242 and tsearch instead of hsearch_r.
19243 (response_builder_allocate): Remove initialization of
19244 compression_offsets.
19245 (response_builder_free): Update for removal of to_be_freed. Use
19246 tdestroy instead of hdestroy_r.
19247 * resolv/Makefile (tests): Add tst-resolv-binary.
19248 (tst-resolv-binary): Link with -lresolv -lpthread.
19250 2018-01-08 Florian Weimer <fweimer@redhat.com>
19252 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19253 time. Pass positive flag instead of negative flag to
19254 support_test_compare_failure.
19255 (support_test_compare_failure): Change negative parameter to
19257 * support/support_test_compare_failure.c (report)
19258 (support_test_compare_failure): Likewise.
19259 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19260 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19262 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19265 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19266 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19267 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19269 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19271 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19273 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19274 Add s_sincosf-sse2 and s_sincosf-fma.
19275 (CFLAGS-s_sincosf-fma.c): New.
19276 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19277 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19278 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19279 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19280 __sincosf is defined.
19282 2018-01-08 Florian Weimer <fweimer@redhat.com>
19284 * nptl/tst-thread-exit-clobber.cc: New file.
19285 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19287 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19288 (tests): Add tst-thread-exit-clobber.
19289 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19291 2018-01-08 Florian Weimer <fweimer@redhat.com>
19293 * support/check.h (support_static_assert): Define.
19294 (TEST_COMPARE): Use it.
19296 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19298 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19299 [!__RLIM_T_MATCHES_RLIM64_T]
19300 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19301 __getrlimit64. Add libc_hidden_weak.
19303 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19305 * elf/elf.h (R_RISCV_NONE): New define.
19306 (R_RISCV_32): Likewise.
19307 (R_RISCV_64): Likewise.
19308 (R_RISCV_RELATIVE): Likewise.
19309 (R_RISCV_COPY): Likewise.
19310 (R_RISCV_JUMP_SLOT): Likewise.
19311 (R_RISCV_TLS_DTPMOD32): Likewise.
19312 (R_RISCV_TLS_DTPMOD64): Likewise.
19313 (R_RISCV_TLS_DTPREL32): Likewise.
19314 (R_RISCV_TLS_DTPREL64): Likewise.
19315 (R_RISCV_TLS_TPREL32): Likewise.
19316 (R_RISCV_TLS_TPREL64): Likewise.
19317 * Makerules (make-link-multidir): Make directories before linking into
19319 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19321 (VDSO_HASH_LINUX_4_15): Likewise.
19322 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19323 in subdirectories of lib.
19324 * nptl/Makefile (/librt.so): Always depend on
19325 "$(shared-thread-library)".
19327 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19329 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19330 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19331 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19333 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19334 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19336 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19337 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19338 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19339 * sysdeps/gnu/glob-lstat-compat.c: New file.
19340 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19341 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19343 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19345 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19346 Reserve 16 chars to reloc_addr before calling _itoa_word.
19348 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19351 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19352 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19354 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19355 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19357 * resource/tst-getrlimit.c: Add copyright header.
19359 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19360 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19362 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19363 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19364 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19365 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19367 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19368 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19369 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19370 RLIM64_INFINITY): Fix values to match the kernel ones.
19371 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19372 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19373 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19374 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19375 getrlimit64@@GLIBC_2_27.
19376 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19378 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19379 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19380 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19381 setrlimit, getrlimit64 and setrlimit64.
19383 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19386 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19387 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19389 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19391 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19392 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19393 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19395 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19399 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19400 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19404 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19405 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19406 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19407 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19409 2018-01-04 Florian Weimer <fweimer@redhat.com>
19412 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19413 Align the stack before calling exit.
19414 * stdlib/tst-makecontext-align.c: New file.
19415 * stdlib/Makefile (tests): Add tst-makecontext-align.
19417 2018-01-04 Florian Weimer <fweimer@redhat.com>
19419 Add support for calling dlvsym from libc.so.
19420 * include/dlfcn.h (__libc_dlvsym): Declare.
19421 * elf/Makefile (tests-static-internal): Add
19422 tst-libc_dlvsym-static.
19423 (tests-internal): Add tst-libc_dlvsym.
19424 (modules-names): Add tst-libc_dlvsym-dso.
19425 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19426 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19427 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19428 object tst-libc_dlvsym-dso.so needs to be built before running
19430 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19431 * elf/Versions: Export __libc_dlvsym.
19432 * elf/dl-libc.c (struct do_dlvsym_args): New.
19433 (do_dlvsym, __libc_dlvsym): New functions.
19434 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19435 (_dl_open_hook2): New variable.
19436 (__libc_register_dl_open_hook): Set it.
19437 * elf/tst-libc_dlvsym-dso.c: New file.
19438 * elf/tst-libc_dlvsym-static.c: Likewise.
19439 * elf/tst-libc_dlvsym.c: Likewise.
19440 * elf/tst-libc_dlvsym.h: Likewise.
19442 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19444 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19445 include <sys/mount.h>.
19447 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19449 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19450 Add __NO_MATH_ERRNO__ check.
19452 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19454 * sysdeps/mips/mips32/libm-test-ulps: Update.
19455 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19457 2018-01-02 Florian Weimer <fweimer@redhat.com>
19459 * misc/tst-pselect.c: Add copyright header.
19461 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19463 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19465 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19467 (settrlimit): Rename into setrlimit.
19468 (__sttrlimit): Rename into __setrlimit.
19470 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19471 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19472 never defined in that case.
19474 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19476 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19478 * sysdeps/arm/libm-test-ulps: Update.
19480 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19481 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19483 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19485 * NEWS: Add cosf and sincosf to list of optimized functions.
19487 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19490 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19491 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19492 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19493 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19495 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19498 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19500 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19501 making a copy of it.
19503 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19505 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19506 trailing whitespace removed.
19507 * scripts/config.guess: Update to version 2018-01-01.
19508 * scripts/config.sub: Update to version 2018-01-01.
19509 * scripts/move-if-change: Update from gnulib.
19511 * NEWS: Update copyright dates.
19512 * catgets/gencat.c (print_version): Likewise.
19513 * csu/version.c (banner): Likewise.
19514 * debug/catchsegv.sh: Likewise.
19515 * debug/pcprofiledump.c (print_version): Likewise.
19516 * debug/xtrace.sh (do_version): Likewise.
19517 * elf/ldconfig.c (print_version): Likewise.
19518 * elf/ldd.bash.in: Likewise.
19519 * elf/pldd.c (print_version): Likewise.
19520 * elf/sotruss.sh: Likewise.
19521 * elf/sprof.c (print_version): Likewise.
19522 * iconv/iconv_prog.c (print_version): Likewise.
19523 * iconv/iconvconfig.c (print_version): Likewise.
19524 * locale/programs/locale.c (print_version): Likewise.
19525 * locale/programs/localedef.c (print_version): Likewise.
19526 * login/programs/pt_chown.c (print_version): Likewise.
19527 * malloc/memusage.sh (do_version): Likewise.
19528 * malloc/memusagestat.c (print_version): Likewise.
19529 * malloc/mtrace.pl: Likewise.
19530 * manual/libc.texinfo: Likewise.
19531 * nptl/version.c (banner): Likewise.
19532 * nscd/nscd.c (print_version): Likewise.
19533 * nss/getent.c (print_version): Likewise.
19534 * nss/makedb.c (print_version): Likewise.
19535 * posix/getconf.c (main): Likewise.
19536 * scripts/test-installation.pl: Likewise.
19537 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19539 * All files with FSF copyright notices: Update copyright dates
19540 using scripts/update-copyrights.
19541 * locale/programs/charmap-kw.h: Regenerated.
19542 * locale/programs/locfile-kw.h: Likewise.
19544 2017-12-31 Zack Weinberg <zackw@panix.com>
19546 * libio/bits/libio-ldbl.h: Correct check for improper
19547 inclusion. Add own multiple include guard.
19549 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19550 Dmitry V. Levin <ldv@altlinux.org>
19554 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19555 string token expansion. Check for NULL pointer or empty string possibly
19556 returned by expand_dynamic_string_token.
19557 (decompose_rpath): Check for empty path after dynamic string
19560 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19563 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19565 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19566 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19567 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19568 and PTRACE_SYSCALL.
19569 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19570 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19572 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19574 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19576 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19577 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19578 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19579 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19581 bits/ptrace-shared.h.
19582 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19583 <bits/ptrace-shared.h>.
19584 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19585 __ptrace_peeksiginfo_flags, ptrace): Remove.
19586 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19587 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19590 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19592 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19595 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19596 end of the loop. Improve comments.
19598 2017-12-29 Zack Weinberg <zackw@panix.com>
19601 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19602 might be set on success.
19604 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19607 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19608 is unchanged on success.
19610 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19612 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19614 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19615 expand_dynamic_string_token): Likewise.
19616 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19619 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19622 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19623 is set and name contains ':', and all code depending on these checks.
19625 2017-12-24 Zack Weinberg <zackw@panix.com>
19627 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19628 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19630 * libio/libio.h: Rename the original version of this file to
19631 libio/bits/libio.h. Error out if not included by stdio.h or the
19633 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19634 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19635 if not included by bits/libio.h or the stub _G_config.h.
19636 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19637 sysdeps/unix/sysv/linux/bits. Error out if not included by
19638 bits/libio.h or the stub _G_config.h.
19639 * libio/stdio.h: Include bits/libio.h, not libio.h.
19640 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19641 well as libio.h and _G_config.h.
19643 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19644 * libio/strfile.h, stdio-common/vfscanf.c
19645 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19646 Include stdio.h, not _G_config.h nor libio.h.
19647 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19648 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19650 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19652 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19655 * stdlib/getrandom.c (getrandom): Fix comment.
19656 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19658 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19661 * manual/arith.texi (strtoul): Fix a typo.
19664 * manual/arith.texi (finite): Fix the description of the return
19667 2017-12-22 Eric Blake <ebb9@byu.net>
19669 Avoid gcc warnings on cygwin
19670 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19671 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19672 Avoid unused variable.
19674 2017-12-22 Florian Weimer <fweimer@redhat.com>
19676 * io/Makefile (routines): Add copy_file_range.
19677 (tests): Add tst-copy_file_range.
19678 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19679 * io/Versions (GLIBC_2.27): Export copy_file_range.
19680 * io/copy_file_range-compat.c: New file.
19681 * io/copy_file_range.c: Likewise.
19682 * io/tst-copy_file_range-compat.c: Likewise.
19683 * io/tst-copy_file_range.c: Likewise.
19684 * manual/llio.texi (Copying File Data): New section.
19685 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19686 * support/Makefile (libsupport-routines): Add support-xfstat,
19687 xftruncate, xlseek.
19688 * support/support-xfstat.c: New file.
19689 * support/xftruncate.c: Likewise.
19690 * support/xlseek.c: Likewise.
19691 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19692 * sysdeps/unix/sysv/linux/**.abilist: Update.
19693 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19695 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19697 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19698 disable-multi-arch variant to aarch64-linux-gnu.
19700 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19702 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19703 trailing whitespace removed.
19704 * scripts/config.guess: Update to version 2017-12-17.
19705 * scripts/config.sub: Update to version 2017-11-23.
19706 * scripts/install-sh: Update to version 2017-09-23.17.
19707 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19709 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19711 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19712 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19713 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19714 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19715 * sysdeps/tile/crtn.S: Likewise.
19716 * sysdeps/tile/dl-start.S (_start): Likewise.
19717 * sysdeps/tile/dl-trampoline.S: Likewise.
19718 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19719 * sysdeps/tile/start.S (_start): Likewise.
19720 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19721 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19722 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19723 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19724 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19725 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19726 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19728 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19730 * sysdeps/tile/preconfigure: Remove tilegx folder.
19731 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19732 * sysdeps/tile/Implies: ... here.
19733 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19734 * sysdeps/tile/Makefile: ... here.
19735 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19736 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19737 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19738 * sysdeps/tile/bits/wordsize.h: ... here.
19739 * sysdeps/tile/tilegx/*: Move to ...
19740 * sysdeps/tile/*: ... here.
19741 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19742 * sysdeps/tile/tilegx32/Implies: ... here.
19743 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19744 * sysdeps/tile/tilegx64/Implies: ... here.
19745 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19747 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19748 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19749 * sysdeps/unix/sysv/linux/tile/*: ... here.
19750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19751 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19753 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19755 * README: Remove tilepro-*-linux-gnu from supported architecture.
19756 * scripts/build-many-glibcs.py: Likewise.
19757 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19758 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19759 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19760 elf_machine_matches_host, elf_machine_dynamic,
19761 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19762 howto, elf_machine_rela): Likewise.
19763 * sysdeps/tile/dl-start.S (_start): Likewise.
19764 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19765 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19766 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19767 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19768 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19769 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19771 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19772 * sysdeps/tile/preconfigure: Likewise.
19773 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19774 POINTER_CHK_GUARD): Likewise.
19775 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19776 * sysdeps/tile/start.S (_start): Likewise.
19777 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19779 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19780 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19782 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19783 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19784 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19786 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19787 * sysdeps/tile/tilepro/Implies: Remove file.
19788 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19789 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19790 * sysdeps/tile/tilepro/memchr.c: Likewise.
19791 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19792 * sysdeps/tile/tilepro/memset.c: Likewise.
19793 * sysdeps/tile/tilepro/memusage.h: Likewise.
19794 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19795 * sysdeps/tile/tilepro/strchr.c: Likewise.
19796 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19797 * sysdeps/tile/tilepro/strlen.c: Likewise.
19798 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19799 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19800 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19801 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19802 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19803 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19804 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19806 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19807 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19808 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19809 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19810 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19811 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19812 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19813 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19814 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19815 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19816 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19817 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19818 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19819 tilepro mention in comment.
19821 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19822 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19823 * nptl/pthread_join_common.c: New file: common function used on
19824 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19825 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19826 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19827 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19828 (cleanup): Move definition to pthread_join_common.c.
19829 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19830 Remove superflous checks.
19831 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19834 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19836 * sysdeps/aarch64/libm-test-ulps: Update.
19838 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19840 * sysdeps/aarch64/memset.S (MEMSET): Define.
19842 2017-12-20 Florian Weimer <fweimer@redhat.com>
19845 nptl: Provide full implementation of pthread_self in libc.so.
19846 * nptl/Makefile (routines): Add pthread_self.
19847 (libpthread-routines): Replace pthread_self with
19848 compat-pthread_self.
19849 * nptl/forward.c (pthread_self): Remove.
19850 * nptl/nptl-init.c (pthread_functions): Do not initialize
19852 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19853 * nptl/compat-pthread_self.c: New file.
19854 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19855 Remove ptr_pthread_self.
19857 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19859 * posix/regcomp.c: Fix spelling in comments.
19860 * posix/regex.h: Likewise.
19861 * posix/regex_internal.c: Likewise.
19862 * posix/regexec.c: Likewise.
19864 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19867 * math/Makefile [C++] (tests): Add test for iseqsig.
19868 * math/math.h [C++] (iseqsig): New implementation, which does
19869 not rely on __MATH_TG/__builtin_types_compatible_p.
19870 * math/test-math-iseqsig.cc: New file.
19871 * sysdeps/powerpc/powerpc64le/Makefile
19872 (CFLAGS-test-math-iseqsig.cc): New variable.
19874 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19876 * elf/dl-load.c (is_trusted_path): Remove.
19877 (fillin_rpath): Remove check_trusted argument and its use,
19878 all callers changed.
19880 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19883 * Makeconfig (link-pie-before-libc): Replace -pie with
19884 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19885 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19886 (tst-dlopen-aout-no-pie): New.
19887 (LDFLAGS-tst-prelink): Removed.
19888 (tst-prelink-no-pie): New.
19889 (LDFLAGS-tst-main1): Removed.
19890 (tst-main1-no-pie): New.
19891 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19892 (tst-gmon-no-pie): New.
19894 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19896 * manual/install.texi: Document that --enable-static-pie
19898 * INSTALL: Regenerated.
19900 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19903 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19906 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19910 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19914 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19916 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19917 <errno.h>. Include "eexp.tbl".
19918 (half): New constant.
19920 (__ieee754_exp): Rewrite.
19921 (__slowexp): Remove prototype.
19922 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19923 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19924 * sysdeps/i386/fpu/slowexp.c: Likewise.
19925 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19926 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19927 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19928 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19929 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19930 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19931 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19933 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19934 (CPPFLAGS-slowexp.c): Remove variable.
19935 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19936 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19937 (CFLAGS-slowexp-fma.c): Remove variable.
19938 (CFLAGS-slowexp-fma4.c): Likewise.
19939 (CFLAGS-slowexp-avx.c): Likewise.
19940 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19942 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19943 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19944 * math/Makefile (type-double-routines): Remove slowexp.
19945 * manual/probes.texi (slowexp_p6): Remove.
19946 (slowexp_p32): Likewise.
19948 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19950 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19953 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19955 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19959 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19961 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19962 <errno.h>. Include "eexp.tbl".
19963 (half): New constant.
19965 (__ieee754_exp): Rewrite.
19966 (__slowexp): Remove prototype.
19967 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19968 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19969 * sysdeps/i386/fpu/slowexp.c: Likewise.
19970 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19971 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19972 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19973 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19974 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19975 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19976 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19978 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19979 (CPPFLAGS-slowexp.c): Remove variable.
19980 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19981 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19982 (CFLAGS-slowexp-fma.c): Remove variable.
19983 (CFLAGS-slowexp-fma4.c): Likewise.
19984 (CFLAGS-slowexp-avx.c): Likewise.
19985 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19987 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19988 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19989 * math/Makefile (type-double-routines): Remove slowexp.
19990 * manual/probes.texi (slowexp_p6): Remove.
19991 (slowexp_p32): Likewise.
19993 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19994 James Clarke <jrtc27@jrtc27.com>
19997 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20000 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20003 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20006 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20009 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20010 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20011 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20012 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20015 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20018 * bits/types/__cancel_jmp_buf_tag.h: New file.
20019 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20020 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20021 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20022 * nptl/Makefile (headers): Add
20023 bits/types/__cancel_jmp_buf_tag.h.
20024 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20025 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20026 * sysdeps/nptl/pthread.h: Include
20027 <bits/types/__cancel_jmp_buf_tag.h>.
20028 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20030 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20032 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20034 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20035 --enable-static-pie variants to x86_64, x32 and i686.
20037 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20040 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20041 argument for attrubutes. All callers changed.
20042 (__inline_mathop1): Likewise. All callers changed.
20043 (__inline_mathop): Likewise. All callers changed.
20044 [__USE_MISC] (scalbn): Use __inline_forward instead of
20045 __inline_forward_c.
20046 [__USE_ISOC99] (scalbln): Likewise.
20047 [__USE_ISOC99] (nearbyint): Likewise.
20048 [__USE_ISOC99] (lrint): Likewise.
20049 [__USE_MISC] (scalbnf): Likewise.
20050 [__USE_ISOC99] (scalblnf): Likewise.
20051 [__USE_ISOC99] (nearbyintf): Likewise.
20052 [__USE_ISOC99] (lrintf): Likewise.
20053 [__USE_MISC] (scalbnl): Likewise.
20054 [__USE_ISOC99] (scalblnl): Likewise.
20055 [__USE_ISOC99] (nearbyintl): Likewise.
20056 [__USE_ISOC99] (lrintl): Likewise.
20057 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20058 __inline_mathop and __m81_defun changed.
20060 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20061 CPU or FPU for ARM hard-float configurations.
20063 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20065 * nptl/tst-attr3.c: Include <libc-diag.h>.
20066 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20068 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20070 * string/tester.c (test_strncat): Also disable -Warray-bounds
20071 warnings for two tests.
20073 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20076 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20077 $(cc-pie-default) == yes.
20078 * config.make.in (cc-pie-default): New.
20079 * configure.ac (libc_cv_pie_default): Renamed to ...
20080 (libc_cv_cc_pie_default): This.
20081 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20082 * configure: Regenerated.
20084 2017-12-18 Florian Weimer <fweimer@redhat.com>
20087 ld.so: Harden dl-libc/libdl hooks.
20088 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20089 (rtld_active): New function.
20090 * dlfcn/dladdr.c (__dladdr): Call it.
20091 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20092 * dlfcn/dlclose.c (__dlcose): Likewise.
20093 * dlfcn/dlerror.c (__dlerror): Likewise.
20094 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20095 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20096 * dlfcn/dlopen.c (__dlopen): Likewise.
20097 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20098 * dlfcn/dlsym.c (__dlsym): Likewise.
20099 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20100 * libio/vtables.c (_IO_vtable_check): Likewise.
20101 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20102 (__libc_dlclose): Likewise.
20103 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20106 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20109 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20110 buffers for readlink input and output.
20112 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20115 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20116 inhibit_stack_protector.
20119 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20120 inhibit_stack_protector.
20122 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20125 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20126 code and invocation.
20128 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20130 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20132 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20135 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20137 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20139 * sysdeps/s390/fpu/libm-test-ulps: Update.
20141 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20145 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20147 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20148 constants to s_sincosf.h file.
20149 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20150 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20152 * sysdeps/ieee754/flt-32/s_sincosf.h:
20155 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20158 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20161 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20164 * INSTALL: Regenerated.
20165 * Makeconfig (real-static-start-installed-name): New.
20166 (pic-default): Updated for --enable-static-pie.
20167 (pie-default): New for --enable-static-pie.
20168 (default-pie-ldflag): Likewise.
20169 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20170 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20171 Replace $(static-start-installed-name) with
20172 $(real-static-start-installed-name).
20173 (+prectorT): Updated for --enable-static-pie.
20174 (+postctorT): Likewise.
20175 (CFLAGS-.o): Add $(pie-default).
20176 (CFLAGS-.op): Likewise.
20177 * NEWS: Mention --enable-static-pie.
20178 * config.h.in (ENABLE_STATIC_PIE): New.
20179 * configure.ac (--enable-static-pie): New configure option.
20180 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20181 (have-static-pie): Likewise.
20182 Enable static PIE if linker supports --no-dynamic-linker.
20183 (ENABLE_STATIC_PIE): New AC_DEFINE.
20184 (enable-static-pie): New LIBC_CONFIG_VAR.
20185 * configure: Regenerated.
20186 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20187 gr$(start-installed-name) for --enable-static-pie.
20188 (extra-objs): Likewise.
20189 (install-lib): Likewise.
20190 (extra-objs): Add static-reloc.o and static-reloc.os
20191 ($(objpfx)$(start-installed-name)): Also depend on
20192 $(objpfx)static-reloc.o.
20193 ($(objpfx)r$(start-installed-name)): New.
20194 ($(objpfx)g$(start-installed-name)): Also depend on
20195 $(objpfx)static-reloc.os.
20196 ($(objpfx)gr$(start-installed-name)): New.
20197 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20199 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20201 * csu/static-reloc.c: New file.
20202 * elf/Makefile (routines): Add dl-reloc-static-pie.
20203 (elide-routines.os): Likewise.
20204 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20205 (tst-tls1-static-non-pie-no-pie): New.
20206 * elf/dl-reloc-static-pie.c: New file.
20207 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20208 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20209 STATIC_PIE_BOOTSTRAP.
20210 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20211 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20212 (tests-static): Likewise.
20213 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20214 (tst-gmon-static-no-pie): New.
20215 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20216 (CRT-tst-gmon-static-pie): Likewise.
20217 (tst-gmon-static-pie-ENV): Likewise.
20218 (tests-special): Likewise.
20219 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20220 (clean-tst-gmon-static-pie-data): Likewise.
20221 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20222 * gmon/tst-gmon-static-pie.c: New file.
20223 * manual/install.texi: Document --enable-static-pie.
20224 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20225 (_dl_get_dl_main_map): Likewise.
20226 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20227 * sysdeps/x86_64/configure.ac: Likewise.
20228 * sysdeps/i386/configure: Regenerated.
20229 * sysdeps/x86_64/configure: Likewise.
20230 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20231 (ASFLAGS-.op): Likewise.
20233 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20235 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20236 * posix/tst-mmap-offset.c (fname): Use /tmp.
20237 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20239 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20241 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20243 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20245 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20248 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20250 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20251 --with-float=hard for arm-linux-gnueabihf configurations.
20254 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20255 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20256 ($(mo-installed)): Use $(objpfx)%.mo.
20257 (realclean): Remove rule.
20259 * po/Makefile (linguas): Remove rule and dependencies.
20260 (linguas.mo): Likewise.
20261 (.PHONY): Do not depend on linguas and linguas.mo.
20262 (podir): Remove variable.
20263 (pofiles): Likewise.
20264 [$(pofiles)] (%.po): Remove rule.
20266 * sysdeps/sparc/sparc32/Makefile
20267 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20268 start-of-line whitespace in argument of echo.
20269 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20270 with whitespace. Generate __wrap_.udiv alias.
20271 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20272 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20273 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20274 * sysdeps/sparc/sparc32/urem.S: Likewise.
20276 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20278 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20279 for aligned inputs.
20281 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20283 * benchtests/bench-strcmp.c: Print output in JSON format.
20285 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20287 2017-12-14 Florian Weimer <fweimer@redhat.com>
20291 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20292 the expanded path string.
20294 2017-12-14 Florian Weimer <fweimer@redhat.com>
20298 * elf/dl-load.c (system_dirs): Update comment.
20299 (nsystem_dirs_len): Use array_length.
20300 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20302 2017-12-14 Florian Weimer <fweimer@redhat.com>
20304 Simplify compiling most of support/ outside of glibc.
20305 * support/check_addrinfo.c: Include <string.h>.
20306 * support/check_dns_packet.c: Likewise.
20307 * support/check_hostent.c: Likewise.
20308 * support/support_can_chroot.c: Include <support/xunistd.h>.
20309 * support/support_format_addrinfo.c: Include <stdlib.h>
20310 * support/support_format_dns_packet.c: Include <stdbool.h>.
20311 * support/support_format_hostent.c: Include <stdlib.h>.
20312 * support/support_format_netent.c: Likewise.
20313 * support/support_write_string.c: Include <support/xunistd.h>.
20314 * support/xdlfcn.c: Include <stddef.h>.
20316 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20318 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20320 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20321 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20324 (sysdeps_routines): Add memset-niagara7.
20325 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20329 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20330 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20331 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20332 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20333 Add niagara7 option.
20334 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20338 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20339 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20341 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20343 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20344 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20345 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20346 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20347 and __memmove_niagara7.
20348 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20349 Add niagara7 option.
20350 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20351 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20352 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20353 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20354 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20356 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20358 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20359 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20360 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20361 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20363 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20364 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20365 _dl_sparc_cap_flags array.
20366 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20368 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20370 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20371 time whenever possible.
20373 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20375 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20376 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20378 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20380 * soft-fp/fmadf4.c: Move to ....
20381 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20382 * soft-fp/fmasf4.c: Move to ....
20383 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20384 * soft-fp/fmatf4.c: Move to ....
20385 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20386 * sysdeps/ieee754/soft-fp/Makefile: New file.
20387 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20388 * sysdeps/arm/preconfigure: Regenerated.
20389 * sysdeps/arm/nofpu/Implies: New file.
20390 * sysdeps/arm/s_fma.c: Remove file.
20391 * sysdeps/arm/s_fmaf.c: Likewise.
20392 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20393 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20394 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20395 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20396 * sysdeps/microblaze/s_fma.c: Remove file.
20397 * sysdeps/microblaze/s_fmaf.c: Likewise.
20398 * sysdeps/mips/mips32/nofpu/Implies: New file.
20399 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20400 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20401 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20402 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20403 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20404 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20405 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20407 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20408 * sysdeps/nios2/s_fma.c: Remove file.
20409 * sysdeps/nios2/s_fmaf.c: Likewise.
20410 * sysdeps/sh/nofpu/Implies: New file.
20411 * sysdeps/sh/s_fma.c: Remove file.
20412 * sysdeps/sh/s_fmaf.c: Likewise.
20413 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20414 * sysdeps/tile/s_fma.c: Remove file.
20415 * sysdeps/tile/s_fmaf.c: Likewise.
20417 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20419 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20420 Add s_cosf-sse2 and s_cosf-fma.
20421 (CFLAGS-s_cosf-fma.c): New.
20422 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20423 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20426 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20428 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20430 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20432 * libio/Makefile (tests): Add tst-bz22415.
20433 (tst-bz22415-ENV): New rule.
20434 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20435 (tests-special): Add tst-bz22415-mem.out.
20436 ($(objpfx)tst-bz22415-mem.out): New rule.
20437 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20438 in case of a successful seek operation.
20439 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20440 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20441 buffer is required.
20442 * libio/tst-bz22415.c: New test.
20444 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20446 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20448 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20449 __IPC_64 to 0 to avoid IPC_64 being set.
20451 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20454 * math/bits/mathcalls.h (nextafter): Remove const.
20455 (nexttoward): Likewise.
20457 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20459 * configure.ac (--with-fp): Remove configure option.
20460 (with_fp_cond): New variable.
20461 (libc_cv_with_fp): New configure test. Use this variable instead
20463 * configure: Regenerated.
20464 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20465 * manual/install.texi (Configuring and compiling): Remove
20467 * INSTALL: Regenerated.
20468 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20469 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20470 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20471 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20472 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20473 use --without-fp to configure glibc.
20475 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20477 * manual/locale.texi (nl_langinfo): Fix a typo.
20479 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20482 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20484 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20486 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20487 (CFLAGS-argp-parse.c): Likewise.
20488 (CFLAGS-argp-fmtstream.c): Likewise.
20489 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20490 (CPPFLAGS-sha512-crypt.c): Likewise.
20491 (CPPFLAGS-md5-crypt.c): Likewise.
20492 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20493 (CFLAGS-stack_chk_fail_local.c): Likewise.
20494 (CFLAGS-backtrace.c): Likewise.
20495 (CFLAGS-sprintf_chk.c): Likewise.
20496 (CFLAGS-snprintf_chk.c): Likewise.
20497 (CFLAGS-vsprintf_chk.c): Likewise.
20498 (CFLAGS-vsnprintf_chk.c): Likewise.
20499 (CFLAGS-asprintf_chk.c): Likewise.
20500 (CFLAGS-vasprintf_chk.c): Likewise.
20501 (CFLAGS-obprintf_chk.c): Likewise.
20502 (CFLAGS-dprintf_chk.c): Likewise.
20503 (CFLAGS-vdprintf_chk.c): Likewise.
20504 (CFLAGS-printf_chk.c): Likewise.
20505 (CFLAGS-fprintf_chk.c): Likewise.
20506 (CFLAGS-vprintf_chk.c): Likewise.
20507 (CFLAGS-vfprintf_chk.c): Likewise.
20508 (CFLAGS-gets_chk.c): Likewise.
20509 (CFLAGS-fgets_chk.c): Likewise.
20510 (CFLAGS-fgets_u_chk.c): Likewise.
20511 (CFLAGS-fread_chk.c): Likewise.
20512 (CFLAGS-fread_u_chk.c): Likewise.
20513 (CFLAGS-swprintf_chk.c): Likewise.
20514 (CFLAGS-vswprintf_chk.c): Likewise.
20515 (CFLAGS-wprintf_chk.c): Likewise.
20516 (CFLAGS-fwprintf_chk.c): Likewise.
20517 (CFLAGS-vwprintf_chk.c): Likewise.
20518 (CFLAGS-vfwprintf_chk.c): Likewise.
20519 (CFLAGS-fgetws_chk.c): Likewise.
20520 (CFLAGS-fgetws_u_chk.c): Likewise.
20521 (CFLAGS-read_chk.c): Likewise.
20522 (CFLAGS-pread_chk.c): Likewise.
20523 (CFLAGS-pread64_chk.c): Likewise.
20524 (CFLAGS-recv_chk.c): Likewise.
20525 (CFLAGS-recvfrom_chk.c): Likewise.
20526 (CFLAGS-tst-longjmp_chk.c): Likewise.
20527 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20528 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20529 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20530 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20531 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20532 (CFLAGS-tst-chk1.c): Likewise.
20533 (CFLAGS-tst-chk2.c): Likewise.
20534 (CFLAGS-tst-chk3.c): Likewise.
20535 (CFLAGS-tst-chk4.cc): Likewise.
20536 (CFLAGS-tst-chk5.cc): Likewise.
20537 (CFLAGS-tst-chk6.cc): Likewise.
20538 (CFLAGS-tst-lfschk1.c): Likewise.
20539 (CFLAGS-tst-lfschk2.c): Likewise.
20540 (CFLAGS-tst-lfschk3.c): Likewise.
20541 (CFLAGS-tst-lfschk4.cc): Likewise.
20542 (CFLAGS-tst-lfschk5.cc): Likewise.
20543 (CFLAGS-tst-lfschk6.cc): Likewise.
20544 (CFLAGS-tst-ssp-1.c): Likewise.
20545 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20546 (CFLAGS-scandir64.c): Likewise.
20547 (CFLAGS-scandir-tail.c): Likewise.
20548 (CFLAGS-scandir64-tail.c): Likewise.
20549 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20550 (CFLAGS-dl-tunables.c): Likewise.
20551 (CFLAGS-dl-runtime.c): Likewise.
20552 (CFLAGS-dl-lookup.c): Likewise.
20553 (CFLAGS-dl-iterate-phdr.c): Likewise.
20554 (CFLAGS-vismain.c): Likewise.
20555 (CFLAGS-tst-linkall-static.c): Likewise.
20556 (CFLAGS-tst-linkall-static.c): Likewise.
20557 (CPPFLAGS-dl-load.c): Likewise.
20558 (CFLAGS-ldconfig.c): Likewise.
20559 (CFLAGS-dl-cache.c): Likewise.
20560 (CFLAGS-cache.c): Likewise.
20561 (CFLAGS-rtld.c): Likewise.
20562 (CFLAGS-multiload.c): Likewise.
20563 (CFLAGS-filtmod1.c): Likewise.
20564 (CFLAGS-tst-align.c): Likewise.
20565 (CFLAGS-tst-align2.c): Likewise.
20566 (CFLAGS-tst-alignmod.c): Likewise.
20567 (CFLAGS-tst-alignmod2.c): Likewise.
20568 (CPPFLAGS-tst-execstack.c): Likewise.
20569 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20570 (CFLAGS-tst-latepthreadmod.c): Likewise.
20571 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20572 (CFLAGS-getgrnam_r.c): Likewise.
20573 (CFLAGS-getgrent_r.c): Likewise.
20574 (CFLAGS-getgrent.c): Likewise.
20575 (CFLAGS-fgetgrent.c): Likewise.
20576 (CFLAGS-fgetgrent_r.c): Likewise.
20577 (CFLAGS-putgrent.c): Likewise.
20578 (CFLAGS-initgroups.c): Likewise.
20579 (CFLAGS-getgrgid.c): Likewise.
20580 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20581 (CFLAGS-getsgent.c): Likewise.
20582 (CFLAGS-fgetsgent.c): Likewise.
20583 (CFLAGS-fgetsgent_r.c): Likewise.
20584 (CFLAGS-putsgent.c): Likewise.
20585 (CFLAGS-getsgnam.c): Likewise.
20586 (CFLAGS-getsgnam_r.c): Likewise.
20587 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20588 (CFLAGS-iconv_charmap.c): Likewise.
20589 (CFLAGS-dummy-repertoire.c): Likewise.
20590 (CFLAGS-charmap.c): Likewise.
20591 (CFLAGS-linereader.c): Likewise.
20592 (CFLAGS-simple-hash.c): Likewise.
20593 (CFLAGS-gconv_conf.c): Likewise.
20594 (CFLAGS-iconvconfig.c): Likewise.
20595 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20596 (CFLAGS-gethstbyad.c): Likewise.
20597 (CFLAGS-gethstbynm_r.c): Likewise.
20598 (CFLAGS-gethstbynm.c): Likewise.
20599 (CFLAGS-gethstbynm2_r.c): Likewise.
20600 (CFLAGS-gethstbynm2.c): Likewise.
20601 (CFLAGS-gethstent_r.c): Likewise.
20602 (CFLAGS-gethstent.c): Likewise.
20603 (CFLAGS-rcmd.c): Likewise.
20604 (CFLAGS-getnetbynm_r.c): Likewise.
20605 (CFLAGS-getnetbynm.c): Likewise.
20606 (CFLAGS-getnetbyad_r.c): Likewise.
20607 (CFLAGS-getnetbyad.c): Likewise.
20608 (CFLAGS-getnetent_r.c): Likewise.
20609 (CFLAGS-getnetent.c): Likewise.
20610 (CFLAGS-getaliasent_r.c): Likewise.
20611 (CFLAGS-getaliasent.c): Likewise.
20612 (CFLAGS-getrpcent_r.c): Likewise.
20613 (CFLAGS-getrpcent.c): Likewise.
20614 (CFLAGS-getservent_r.c): Likewise.
20615 (CFLAGS-getservent.c): Likewise.
20616 (CFLAGS-getprtent_r.c): Likewise.
20617 (CFLAGS-getprtent.c): Likewise.
20618 (CFLAGS-either_ntoh.c): Likewise.
20619 (CFLAGS-either_hton.c): Likewise.
20620 (CFLAGS-getnetgrent.c): Likewise.
20621 (CFLAGS-getnetgrent_r.c): Likewise.
20622 (CFLAGS-tst-checks-posix.c): Likewise.
20623 (CFLAGS-tst-sockaddr.c): Likewise.
20624 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20625 (CFLAGS-tst-translit.c): Likewise.
20626 (CFLAGS-tst-gettext2.c): Likewise.
20627 (CFLAGS-tst-codeset.c): Likewise.
20628 (CFLAGS-tst-gettext3.c): Likewise.
20629 (CFLAGS-tst-gettext4.c): Likewise.
20630 (CFLAGS-tst-gettext5.c): Likewise.
20631 (CFLAGS-tst-gettext6.c): Likewise.
20632 * io/Makefile (CFLAGS-open.c): Likewise.
20633 (CFLAGS-open64.c): Likewise.
20634 (CFLAGS-creat.c): Likewise.
20635 (CFLAGS-creat64.c): Likewise.
20636 (CFLAGS-fcntl.c): Likewise.
20637 (CFLAGS-poll.c): Likewise.
20638 (CFLAGS-ppoll.c): Likewise.
20639 (CFLAGS-lockf.c): Likewise.
20640 (CFLAGS-statfs.c): Likewise.
20641 (CFLAGS-fstatfs.c): Likewise.
20642 (CFLAGS-statvfs.c): Likewise.
20643 (CFLAGS-fstatvfs.c): Likewise.
20644 (CFLAGS-fts.c): Likewise.
20645 (CFLAGS-fts64.c): Likewise.
20646 (CFLAGS-ftw.c): Likewise.
20647 (CFLAGS-ftw64.c): Likewise.
20648 (CFLAGS-lockf.c): Likewise.
20649 (CFLAGS-posix_fallocate.c): Likewise.
20650 (CFLAGS-posix_fallocate64.c): Likewise.
20651 (CFLAGS-fallocate.c): Likewise.
20652 (CFLAGS-fallocate64.c): Likewise.
20653 (CFLAGS-read.c): Likewise.
20654 (CFLAGS-write.c): Likewise.
20655 (CFLAGS-test-stat.c): Likewise.
20656 (CFLAGS-test-lfs.c): Likewise.
20657 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20658 (CFLAGS-fputc.c): Likewise.
20659 (CFLAGS-fputwc.c): Likewise.
20660 (CFLAGS-freopen64.c): Likewise.
20661 (CFLAGS-freopen.c): Likewise.
20662 (CFLAGS-fseek.c): Likewise.
20663 (CFLAGS-fseeko64.c): Likewise.
20664 (CFLAGS-fseeko.c): Likewise.
20665 (CFLAGS-ftello64.c): Likewise.
20666 (CFLAGS-ftello.c): Likewise.
20667 (CFLAGS-fwide.c): Likewise.
20668 (CFLAGS-genops.c): Likewise.
20669 (CFLAGS-getc.c): Likewise.
20670 (CFLAGS-getchar.c): Likewise.
20671 (CFLAGS-getwc.c): Likewise.
20672 (CFLAGS-getwchar.c): Likewise.
20673 (CFLAGS-iofclose.c): Likewise.
20674 (CFLAGS-iofflush.c): Likewise.
20675 (CFLAGS-iofgetpos64.c): Likewise.
20676 (CFLAGS-iofgetpos.c): Likewise.
20677 (CFLAGS-iofgets.c): Likewise.
20678 (CFLAGS-iofgetws.c): Likewise.
20679 (CFLAGS-iofputs.c): Likewise.
20680 (CFLAGS-iofputws.c): Likewise.
20681 (CFLAGS-iofread.c): Likewise.
20682 (CFLAGS-iofsetpos64.c): Likewise.
20683 (CFLAGS-iofsetpos.c): Likewise.
20684 (CFLAGS-ioftell.c): Likewise.
20685 (CFLAGS-iofwrite.c): Likewise.
20686 (CFLAGS-iogetdelim.c): Likewise.
20687 (CFLAGS-iogetline.c): Likewise.
20688 (CFLAGS-iogets.c): Likewise.
20689 (CFLAGS-iogetwline.c): Likewise.
20690 (CFLAGS-ioputs.c): Likewise.
20691 (CFLAGS-ioseekoff.c): Likewise.
20692 (CFLAGS-ioseekpos.c): Likewise.
20693 (CFLAGS-iosetbuffer.c): Likewise.
20694 (CFLAGS-iosetvbuf.c): Likewise.
20695 (CFLAGS-ioungetc.c): Likewise.
20696 (CFLAGS-ioungetwc.c): Likewise.
20697 (CFLAGS-oldfileops.c): Likewise.
20698 (CFLAGS-oldiofclose.c): Likewise.
20699 (CFLAGS-oldiofgetpos64.c): Likewise.
20700 (CFLAGS-oldiofgetpos.c): Likewise.
20701 (CFLAGS-oldiofsetpos64.c): Likewise.
20702 (CFLAGS-oldiofsetpos.c): Likewise.
20703 (CFLAGS-peekc.c): Likewise.
20704 (CFLAGS-putc.c): Likewise.
20705 (CFLAGS-putchar.c): Likewise.
20706 (CFLAGS-putwc.c): Likewise.
20707 (CFLAGS-putwchar.c): Likewise.
20708 (CFLAGS-rewind.c): Likewise.
20709 (CFLAGS-wfileops.c): Likewise.
20710 (CFLAGS-wgenops.c): Likewise.
20711 (CFLAGS-oldiofopen.c): Likewise.
20712 (CFLAGS-iofopen.c): Likewise.
20713 (CFLAGS-iofopen64.c): Likewise.
20714 (CFLAGS-oldtmpfile.c): Likewise.
20715 (CFLAGS-tst_putwc.c): Likewise.
20716 * locale/Makefile (CFLAGS-md5.c): Likewise.
20717 (CFLAGS-charmap.c): Likewise.
20718 (CFLAGS-locfile.c): Likewise.
20719 (CFLAGS-charmap-dir.c): Likewise.
20720 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20721 (CFLAGS-getpt.c): Likewise.
20722 (CFLAGS-pt_chown.c): Likewise.
20723 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20724 (CFLAGS-obstack.c): Likewise.
20725 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20726 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20727 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20728 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20729 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20730 (CFLAGS-test-tgmath.c): Likewise.
20731 (CFLAGS-test-tgmath2.c): Likewise.
20732 (CFLAGS-test-tgmath-ret.c): Likewise.
20733 (CFLAGS-test-powl.c): Likewise.
20734 (CFLAGS-test-snan.c): Likewise.
20735 (CFLAGS-test-signgam-finite.c): Likewise.
20736 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20737 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20738 (CFLAGS-test-signgam-uchar.c): Likewise.
20739 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20740 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20741 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20742 (CFLAGS-test-signgam-uint.c): Likewise.
20743 (CFLAGS-test-signgam-uint-init.c): Likewise.
20744 (CFLAGS-test-signgam-uint-static.c): Likewise.
20745 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20746 (CFLAGS-test-signgam-ullong.c): Likewise.
20747 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20748 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20749 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20750 (CFLAGS-test-math-cxx11.cc): Likewise.
20751 (CFLAGS-test-math-isinff.cc): Likewise.
20752 (CFLAGS-test-math-iszero.cc): Likewise.
20753 (CFLAGS-test-math-issignaling.cc): Likewise.
20754 (CFLAGS-test-math-iscanonical.cc): Likewise.
20755 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20756 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20757 (CFLAGS-test-flt-eval-method.c): Likewise.
20758 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20759 (CFLAGS-test-finite-macros.c): Likewise.
20760 * misc/Makefile (CFLAGS-select.c): Likewise.
20761 (CFLAGS-tsearch.c): Likewise.
20762 (CFLAGS-lsearch.c): Likewise.
20763 (CFLAGS-pselect.c): Likewise.
20764 (CFLAGS-readv.c): Likewise.
20765 (CFLAGS-writev.c): Likewise.
20766 (CFLAGS-preadv.c): Likewise.
20767 (CFLAGS-preadv64.c): Likewise.
20768 (CFLAGS-pwritev.c): Likewise.
20769 (CFLAGS-pwritev64.c): Likewise.
20770 (CFLAGS-preadv2.c): Likewise.
20771 (CFLAGS-preadv64v2.c): Likewise.
20772 (CFLAGS-pwritev2.c): Likewise.
20773 (CFLAGS-pwritev64v2.c): Likewise.
20774 (CFLAGS-usleep.c): Likewise.
20775 (CFLAGS-syslog.c): Likewise.
20776 (CFLAGS-error.c): Likewise.
20777 (CFLAGS-getpass.c): Likewise.
20778 (CFLAGS-mkstemp.c): Likewise.
20779 (CFLAGS-mkstemp64.c): Likewise.
20780 (CFLAGS-getsysstats.c): Likewise.
20781 (CFLAGS-getusershell.c): Likewise.
20782 (CFLAGS-err.c): Likewise.
20783 (CFLAGS-tst-tsearch.c): Likewise.
20784 (CFLAGS-msync.c): Likewise.
20785 (CFLAGS-fdatasync.c): Likewise.
20786 (CFLAGS-fsync.c): Likewise.
20787 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20788 (CFLAGS-unwind.c): Likewise.
20789 (CFLAGS-unwind-forcedunwind.c): Likewise.
20790 (CFLAGS-pthread_cancel.c): Likewise.
20791 (CFLAGS-pthread_setcancelstate.c): Likewise.
20792 (CFLAGS-pthread_setcanceltype.c): Likewise.
20793 (CFLAGS-cancellation.c): Likewise.
20794 (CFLAGS-libc-cancellation.c): Likewise.
20795 (CFLAGS-pthread_exit.c): Likewise.
20796 (CFLAGS-forward.c): Likewise.
20797 (CFLAGS-pthread_testcancel.c): Likewise.
20798 (CFLAGS-pthread_join.c): Likewise.
20799 (CFLAGS-pthread_timedjoin.c): Likewise.
20800 (CFLAGS-pthread_once.c): Likewise.
20801 (CFLAGS-pthread_cond_wait.c): Likewise.
20802 (CFLAGS-sem_wait.c): Likewise.
20803 (CFLAGS-sem_timedwait.c): Likewise.
20804 (CFLAGS-fcntl.c): Likewise.
20805 (CFLAGS-lockf.c): Likewise.
20806 (CFLAGS-pread.c): Likewise.
20807 (CFLAGS-pread64.c): Likewise.
20808 (CFLAGS-pwrite.c): Likewise.
20809 (CFLAGS-pwrite64.c): Likewise.
20810 (CFLAGS-wait.c): Likewise.
20811 (CFLAGS-waitpid.c): Likewise.
20812 (CFLAGS-sigwait.c): Likewise.
20813 (CFLAGS-msgrcv.c): Likewise.
20814 (CFLAGS-msgsnd.c): Likewise.
20815 (CFLAGS-tcdrain.c): Likewise.
20816 (CFLAGS-open.c): Likewise.
20817 (CFLAGS-open64.c): Likewise.
20818 (CFLAGS-pause.c): Likewise.
20819 (CFLAGS-recv.c): Likewise.
20820 (CFLAGS-send.c): Likewise.
20821 (CFLAGS-accept.c): Likewise.
20822 (CFLAGS-sendto.c): Likewise.
20823 (CFLAGS-connect.c): Likewise.
20824 (CFLAGS-recvfrom.c): Likewise.
20825 (CFLAGS-recvmsg.c): Likewise.
20826 (CFLAGS-sendmsg.c): Likewise.
20827 (CFLAGS-close.c): Likewise.
20828 (CFLAGS-read.c): Likewise.
20829 (CFLAGS-write.c): Likewise.
20830 (CFLAGS-nanosleep.c): Likewise.
20831 (CFLAGS-sigsuspend.c): Likewise.
20832 (CFLAGS-msync.c): Likewise.
20833 (CFLAGS-fdatasync.c): Likewise.
20834 (CFLAGS-fsync.c): Likewise.
20835 (CFLAGS-pt-system.c): Likewise.
20836 (CFLAGS-tst-cleanup2.c): Likewise.
20837 (CFLAGS-tst-cleanupx2.c): Likewise.
20838 (CFLAGS-flockfile.c): Likewise.
20839 (CFLAGS-ftrylockfile.c): Likewise.
20840 (CFLAGS-funlockfile.c): Likewise.
20841 (CFLAGS-tst-initializers1.c): Likewise.
20842 (CFLAGS-tst-initializers1-c89.c): Likewise.
20843 (CFLAGS-tst-initializers1-c99.c): Likewise.
20844 (CFLAGS-tst-initializers1-c11.c): Likewise.
20845 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20846 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20847 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20848 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20849 (CFLAGS-nscd_getgr_r.c): Likewise.
20850 (CFLAGS-nscd_gethst_r.c): Likewise.
20851 (CFLAGS-nscd_getai.c): Likewise.
20852 (CFLAGS-nscd_initgroups.c): Likewise.
20853 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20854 (CFLAGS-pause.c): Likewise.
20855 (CFLAGS-pread.c): Likewise.
20856 (CFLAGS-pread64.c): Likewise.
20857 (CFLAGS-pwrite.c): Likewise.
20858 (CFLAGS-pwrite64.c): Likewise.
20859 (CFLAGS-sleep.c): Likewise.
20860 (CFLAGS-wait.c): Likewise.
20861 (CFLAGS-waitid.c): Likewise.
20862 (CFLAGS-waitpid.c): Likewise.
20863 (CFLAGS-getopt.c): Likewise.
20864 (CFLAGS-wordexp.c): Likewise.
20865 (CFLAGS-sysconf.c): Likewise.
20866 (CFLAGS-pathconf.c): Likewise.
20867 (CFLAGS-fpathconf.c): Likewise.
20868 (CFLAGS-spawn.c): Likewise.
20869 (CFLAGS-spawnp.c): Likewise.
20870 (CFLAGS-spawni.c): Likewise.
20871 (CFLAGS-glob.c): Likewise.
20872 (CFLAGS-glob64.c): Likewise.
20873 (CFLAGS-getconf.c): Likewise.
20874 (CFLAGS-nanosleep.c): Likewise.
20875 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20876 (CFLAGS-getpwent.c): Likewise.
20877 (CFLAGS-getpw.c): Likewise.
20878 (CFLAGS-fgetpwent_r.c): Likewise.
20879 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20880 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20881 (CFLAGS-mq_timedreceive.c): Likewise.
20882 (CFLAGS-mq_timedsend.c): Likewise.
20883 (CFLAGS-clock_nanosleep.c): Likewise.
20884 (CFLAGS-librt-cancellation.c): Likewise.
20885 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20886 (CFLAGS-getspent.c): Likewise.
20887 (CFLAGS-fgetspent.c): Likewise.
20888 (CFLAGS-fgetspent_r.c): Likewise.
20889 (CFLAGS-putspent.c): Likewise.
20890 (CFLAGS-getspnam.c): Likewise.
20891 (CFLAGS-getspnam_r.c): Likewise.
20892 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20893 (CFLAGS-sigsuspend.c): Likewise.
20894 (CFLAGS-sigtimedwait.c): Likewise.
20895 (CFLAGS-sigwait.c): Likewise.
20896 (CFLAGS-sigwaitinfo.c): Likewise.
20897 (CFLAGS-sigreturn.c): Likewise.
20898 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20899 (CFLAGS-vfwprintf.c): Likewise.
20900 (CFLAGS-tmpfile.c): Likewise.
20901 (CFLAGS-tmpfile64.c): Likewise.
20902 (CFLAGS-tempname.c): Likewise.
20903 (CFLAGS-psignal.c): Likewise.
20904 (CFLAGS-vprintf.c): Likewise.
20905 (CFLAGS-cuserid.c): Likewise.
20906 (CFLAGS-errlist.c): Likewise.
20907 (CFLAGS-siglist.c): Likewise.
20908 (CFLAGS-scanf15.c): Likewise.
20909 (CFLAGS-scanf17.c): Likewise.
20910 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20911 (CFLAGS-msort.c): Likewise.
20912 (CFLAGS-qsort.c): Likewise.
20913 (CFLAGS-system.c): Likewise.
20914 (CFLAGS-fmtmsg.c): Likewise.
20915 (CFLAGS-strfmon.c): Likewise.
20916 (CFLAGS-strfmon_l.c): Likewise.
20917 (CFLAGS-strfromd.c): Likewise.
20918 (CFLAGS-strfromf.c): Likewise.
20919 (CFLAGS-strfroml.c): Likewise.
20920 (CFLAGS-tst-bsearch.c): Likewise.
20921 (CFLAGS-tst-qsort.c): Likewise.
20922 (CFLAGS-tst-makecontext2.c): Likewise.
20923 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20924 (CFLAGS-xnlm_prot.c): Likewise.
20925 (CFLAGS-xrstat.c): Likewise.
20926 (CFLAGS-xyppasswd.c): Likewise.
20927 (CFLAGS-xklm_prot.c): Likewise.
20928 (CFLAGS-xrex.c): Likewise.
20929 (CFLAGS-xsm_inter.c): Likewise.
20930 (CFLAGS-xmount.c): Likewise.
20931 (CFLAGS-xrusers.c): Likewise.
20932 (CFLAGS-xspray.c): Likewise.
20933 (CFLAGS-xnfs_prot.c): Likewise.
20934 (CFLAGS-xrquota.c): Likewise.
20935 (CFLAGS-xkey_prot.c): Likewise.
20936 (CFLAGS-auth_unix.c): Likewise.
20937 (CFLAGS-key_call.c): Likewise.
20938 (CFLAGS-pmap_rmt.c): Likewise.
20939 (CFLAGS-clnt_perr.c): Likewise.
20940 (CFLAGS-openchild.c): Likewise.
20941 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20942 (CFLAGS-msgsnd.c): Likewise.
20943 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20944 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20945 (CFLAGS-tzset.c): Likewise.
20946 (CFLAGS-getdate.c): Likewise.
20947 (CFLAGS-test_time.c): Likewise.
20948 (CPPFLAGS-tst-tzname.c): Likewise.
20949 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20950 (CFLAGS-zic.c): Likewise.
20951 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20952 (CFLAGS-wcswidth.c): Likewise.
20953 (CFLAGS-wcstol.c): Likewise.
20954 (CFLAGS-wcstoul.c): Likewise.
20955 (CFLAGS-wcstoll.c): Likewise.
20956 (CFLAGS-wcstoull.c): Likewise.
20957 (CFLAGS-wcstod.c): Likewise.
20958 (CFLAGS-wcstold.c): Likewise.
20959 (CFLAGS-wcstof128.c): Likewise.
20960 (CFLAGS-wcstof.c): Likewise.
20961 (CFLAGS-wcstol_l.c): Likewise.
20962 (CFLAGS-wcstoul_l.c): Likewise.
20963 (CFLAGS-wcstoll_l.c): Likewise.
20964 (CFLAGS-wcstoull_l.c): Likewise.
20965 (CFLAGS-wcstod_l.c): Likewise.
20966 (CFLAGS-wcstold_l.c): Likewise.
20967 (CFLAGS-wcstof128_l.c): Likewise.
20968 (CFLAGS-wcstof_l.c): Likewise.
20969 (CPPFLAGS-tst-wchar-h.c): Likewise.
20970 (CPPFLAGS-wcstold_l.c): Likewise.
20972 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20974 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20976 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20977 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20979 * manual/tunables.texi (Hardware Capability Tunables): Document
20980 glibc.tune.cached_memopt.
20981 * sysdeps/powerpc/cpu-features.c: New file.
20982 * sysdeps/powerpc/cpu-features.h: New file.
20983 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20984 _dl_powerpc_cpu_features.
20985 * sysdeps/powerpc/dl-tunables.list: New file.
20986 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20987 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20988 (INIT_ARCH): Initialize use_aligned_memopt.
20989 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20990 IS_IN(rtld))]: Restrict dl_platform_init availability and
20991 initialize CPU features used by tunables.
20992 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20993 Add memcpy-power8-cached.
20994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20995 __memcpy_power8_cached.
20996 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20997 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21000 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21002 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21003 (CFLAGS-noinl-tester.c): Likewise.
21004 (CFLAGS-tst-strlen.c): Likewise.
21005 (CFLAGS-stratcliff.c): Likewise.
21006 (CFLAGS-test-ffs.c): Likewise.
21007 (CFLAGS-tst-inlcall.c): Likewise.
21008 (CFLAGS-tst-xbzero-opt.c): Likewise.
21009 (CFLAGS-memcpy.c): Likewise.
21010 (CFLAGS-wordcopy.c): Likewise.
21012 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21014 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21015 Store r15 on stack and add cfi rule.
21016 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21019 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21022 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21025 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21027 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21028 Add s_sinf-sse2 and s_sinf-fma.
21029 (CFLAGS-s_sinf-fma.c): New.
21030 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21031 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21032 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21034 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21036 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21038 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21041 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21042 part of result to imaginary part of argument if it is zero and the
21043 real part of the argument is not finite.
21044 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21045 of result to real part of argument if it is zero and the imaginary
21046 part of the argument is not finite.
21048 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21051 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21052 and to the list of locales to be built for testing.
21053 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21054 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21055 and build the collation rules upon that.
21057 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21059 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21060 * manual/math.texi (Mathematics): Document support for _Float32.
21061 * math/Makefile (test-types): Add float32.
21062 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21063 * stdlib/Versions (GLIBC_2.27): Likewise.
21064 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21065 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21066 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21067 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21068 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21069 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21074 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21075 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21076 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21077 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21078 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21079 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21080 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21081 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21082 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21083 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21084 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21085 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21087 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21088 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21089 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21090 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21091 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21109 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21110 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21111 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21112 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21113 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21114 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21115 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21116 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21117 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21118 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21127 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21128 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21129 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21130 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21132 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21133 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21134 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21136 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21138 * stdlib/strtof.c: Include <bits/floatn.h>
21139 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21140 and later undefine as macro. Define as weak alias if
21142 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21143 and later undefine as macro. Define as weak alias if
21145 * stdlib/strtof_l.c: Include <bits/floatn.h>
21146 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21147 and later undefine as macro. Define as weak alias if
21149 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21150 and later undefine as macro. Define as weak alias if
21153 * stdlib/strfromf.c: Include <bits/floatn.h>.
21154 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21155 and later undefine as macro and define as weak alias.
21157 * math/test-float32.h: New file.
21159 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21160 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21161 (libm_alias_float_other_r): Create f32 alias.
21162 (libm_alias_float_r): Use semicolon before call to
21163 libm_alias_float_other_r.
21165 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21166 second argument to libm_alias_float_other.
21167 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21168 second argument to libm_alias_float_other.
21169 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21170 argument to libm_alias_float_other.
21173 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21174 real part of result for argument 0 + i * NaN.
21175 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21176 results for tests of 0 + i * NaN.
21178 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21180 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21182 2017-12-06 David S. Miller <davem@davemloft.net>
21184 * sysdeps/sparc/fpu/libm-test-ulps: Update
21185 exp_{downward,towardzero,upward} ulps.
21187 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21189 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21192 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21194 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21196 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21198 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21201 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21204 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21205 and to the list of locales to be built for testing.
21206 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21207 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21208 and build the collation rules upon that.
21210 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21212 * NEWS: Add sinf to list of optimized functions.
21214 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21216 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21217 (__HAVE_FLOAT32X): Likewise.
21218 * manual/math.texi (Mathematics): Document support for _Float64
21220 * math/Makefile (test-types): Add float64 and float32x.
21221 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21223 * stdlib/Versions (GLIBC_2.27): Likewise.
21224 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21225 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21226 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21227 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21228 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21229 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21230 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21231 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21232 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21233 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21234 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21235 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21236 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21237 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21238 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21239 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21240 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21241 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21242 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21243 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21244 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21245 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21247 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21248 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21249 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21250 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21251 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21268 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21269 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21270 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21271 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21272 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21273 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21274 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21275 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21276 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21277 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21286 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21287 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21288 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21289 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21290 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21291 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21292 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21293 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21295 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21297 * bits/floatn-common.h: Include <bits/long-double.h>.
21298 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21299 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21300 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21301 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21302 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21303 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21304 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21305 (__builtin_huge_valf64): Use __builtin_huge_vall.
21306 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21307 (__builtin_inff64): Use __builtin_infl.
21308 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21309 (__builtin_nanf64): Use __builtin_nanl.
21310 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21311 (__builtin_nansf64): Use __builtin_nansl.
21313 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21314 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21315 Carlos O'Donnell <carlos@redhat.com>
21317 * elf/dl-tunables.list: Add elision parameters.
21318 * manual/tunables.texi: Add entries about elision tunable.
21319 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21320 Add callback functions to dynamically enable/disable elision.
21321 Add multiple callbacks functions to set elision parameters.
21322 Deleted __libc_enable_secure check.
21323 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21324 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21325 * configure: Regenerated.
21326 * configure.ac: Option enable_lock_elision was deleted.
21327 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21328 * config.make.in: Remove references to enable_lock_elision.
21329 * manual/install.texi: Elision configure option was removed.
21330 * INSTALL: Regenerated to remove enable_lock_elision.
21332 Disable elision so it can verify error case for destroying a mutex.
21333 * sysdeps/powerpc/nptl/elide.h:
21334 Cleanup ENABLE_LOCK_ELISION check.
21335 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21336 * sysdeps/s390/configure: Regenerated.
21337 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21338 * nptl/tst-mutex8.c:
21339 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21340 * sysdeps/powerpc/powerpc32/sysdep.h:
21341 Deleted all ENABLE_LOCK_ELISION checks.
21342 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21343 * sysdeps/powerpc/sysdep.h: Likewise.
21344 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21345 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21346 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21347 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21348 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21349 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21350 enable-lock-elision.
21352 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21354 * stdlib/strtod.c: Include <bits/floatn.h>.
21355 (BUILD_DOUBLE): New macro.
21356 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21357 (strtof64): Define and later undefine as macro. Define as weak
21358 alias if [!USE_WIDE_CHAR].
21359 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21360 (wcstof64): Define and later undefine as macro. Define as weak
21361 alias if [USE_WIDE_CHAR].
21362 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21363 (strtof32x): Define and later undefine as macro. Define as weak
21364 alias if [!USE_WIDE_CHAR].
21365 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21366 (wcstof32x): Define and later undefine as macro. Define as weak
21367 alias if [USE_WIDE_CHAR].
21368 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21369 (BUILD_DOUBLE): New macro.
21370 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21371 (strtof64_l): Define and later undefine as macro. Define as weak
21372 alias if [!USE_WIDE_CHAR].
21373 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21374 (wcstof64_l): Define and later undefine as macro. Define as weak
21375 alias if [USE_WIDE_CHAR].
21376 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21377 (strtof32x_l): Define and later undefine as macro. Define as weak
21378 alias if [!USE_WIDE_CHAR].
21379 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21380 (wcstof32x_l): Define and later undefine as macro. Define as weak
21381 alias if [USE_WIDE_CHAR].
21383 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21385 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21386 (reduced): Use ones as double instead of integer.
21388 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21390 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21392 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21394 * stdlib/strfromd.c: Include <bits/floatn.h>.
21395 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21396 and later undefine as macro and define as weak alias.
21397 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21400 * math/test-float32x.h: New file.
21401 * math/test-float64.h: Likewise.
21403 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21404 (libm_alias_double_other_r_f64): New macro.
21405 (libm_alias_double_other_r_f32x): Likewise.
21406 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21407 libm_alias_double_other_r_f32x.
21408 (libm_alias_double_r): Use semicolon before call to
21409 libm_alias_double_other_r.
21410 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21412 (libm_alias_double_other_r_f64): New macro.
21413 (libm_alias_double_other_r_f32x): Likewise.
21414 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21415 libm_alias_double_other_r_f32x.
21417 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21419 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21421 (SINF_FUNC): Likewise. Replace floor with simple casts.
21423 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21426 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21427 and to the list of locales to be built for testing.
21428 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21429 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21430 and build the collation rules upon that.
21432 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21434 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21435 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21436 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21437 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21438 instead of __insn__xxx.
21439 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21440 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21441 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21442 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21443 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21444 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21446 2017-12-05 Florian Weimer <fweimer@redhat.com>
21448 Linux: Implement interfaces for memory protection keys
21449 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21451 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21452 * support/xunistd.h (xsysconf): Declare.
21453 * support/xraise.c: New file.
21454 * support/xsigaction.c: Likewise.
21455 * support/xsignal.c: Likewise.
21456 * support/xsysconf.c: Likewise.
21457 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21458 pkey_set, pkey_get, pkey_mprotect.
21459 [misc] (tests): Add tst-pkey.
21460 (tst-pkey): Link with -lpthread.
21461 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21462 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21463 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21464 (PKEY_DISABLE_WRITE): Define.
21465 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21467 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21468 (SEGV_PKUERR): Add.
21469 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21470 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21471 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21472 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21474 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21475 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21476 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21477 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21478 * sysdeps/unix/sysv/linux/**.abilist: Update.
21480 2017-12-05 Florian Weimer <fweimer@redhat.com>
21482 * support/tst-test_compare.c (subprocess): Use long long instead
21483 of long argument for consistent type width across 32-bit and
21484 64-bit architectures.
21485 (do_test): Adjust expected output.
21487 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21489 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21490 (cosf): Define using libm_alias_float.
21491 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21492 (fabsf): Define using libm_alias_float.
21493 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21494 (fmaf): Define using libm_alias_float.
21495 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21496 (rintf): Define using libm_alias_float.
21497 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21498 (sinf): Define using libm_alias_float.
21499 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21500 <libm-alias-float.h>.
21501 (modff): Define using libm_alias_float.
21502 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21503 <libm-alias-float.h>.
21504 (logbf): Define using libm_alias_float.
21505 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21506 <libm-alias-float.h>.
21507 (ceilf): Define using libm_alias_float.
21508 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21509 <libm-alias-float.h>.
21510 (copysignf): Define using libm_alias_float.
21511 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21512 <libm-alias-float.h>.
21513 (floorf): Define using libm_alias_float.
21514 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21515 <libm-alias-float.h>.
21516 (llrintf): Define using libm_alias_float.
21517 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21518 <libm-alias-float.h>.
21519 (llroundf): Define using libm_alias_float.
21520 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21521 <libm-alias-float.h>.
21522 (lrintf): Define using libm_alias_float.
21523 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21524 <libm-alias-float.h>.
21525 (lroundf): Define using libm_alias_float.
21526 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21527 <libm-alias-float.h>.
21528 (nearbyintf): Define using libm_alias_float.
21529 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21530 <libm-alias-float.h>.
21531 (rintf): Define using libm_alias_float.
21532 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21533 <libm-alias-float.h>.
21534 (roundf): Define using libm_alias_float.
21535 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21536 <libm-alias-float.h>.
21537 (truncf): Define using libm_alias_float.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21539 Include <libm-alias-float.h>.
21540 (ceilf): Define using libm_alias_float.
21541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21542 Include <libm-alias-float.h>.
21543 (copysignf): Define using libm_alias_float.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21545 Include <libm-alias-float.h>.
21546 (floorf): Define using libm_alias_float.
21547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21548 Include <libm-alias-float.h>.
21549 (llrintf): Define using libm_alias_float.
21550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21551 Include <libm-alias-float.h>.
21552 (llroundf): Define using libm_alias_float.
21553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21554 Include <libm-alias-float.h>.
21555 (logbf): Define using libm_alias_float.
21556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21557 Include <libm-alias-float.h>.
21558 (lrintf): Define using libm_alias_float.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21560 Include <libm-alias-float.h>.
21561 (lroundf): Define using libm_alias_float.
21562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21563 Include <libm-alias-float.h>.
21564 (modff): Define using libm_alias_float.
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21566 Include <libm-alias-float.h>.
21567 (roundf): Define using libm_alias_float.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21569 Include <libm-alias-float.h>.
21570 (truncf): Define using libm_alias_float.
21571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21572 <libm-alias-float.h>.
21573 (llrintf): Define using libm_alias_float.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21575 <libm-alias-float.h>.
21576 (llroundf): Define using libm_alias_float.
21577 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21578 <libm-alias-float.h>.
21579 (ceilf): Define using libm_alias_float.
21580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21581 <libm-alias-float.h>.
21582 (floorf): Define using libm_alias_float.
21583 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21584 <libm-alias-float.h>.
21585 (llroundf): Define using libm_alias_float.
21586 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21587 <libm-alias-float.h>.
21588 (lroundf): Define using libm_alias_float.
21589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21590 <libm-alias-float.h>.
21591 (roundf): Define using libm_alias_float.
21592 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21593 <libm-alias-float.h>.
21594 (truncf): Define using libm_alias_float.
21595 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21596 <libm-alias-float.h>.
21597 (copysignf): Define using libm_alias_float.
21598 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21599 <libm-alias-float.h>.
21600 (llrintf): Define using libm_alias_float.
21601 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21602 <libm-alias-float.h>.
21603 (llroundf): Define using libm_alias_float.
21604 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21605 <libm-alias-float.h>.
21606 (lrintf): Define using libm_alias_float.
21607 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21608 <libm-alias-float.h>.
21609 (lroundf): Define using libm_alias_float.
21610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21611 <libm-alias-float.h>.
21612 (ceilf): Define using libm_alias_float.
21613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21614 <libm-alias-float.h>.
21615 (copysignf): Define using libm_alias_float.
21616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21617 <libm-alias-float.h>.
21618 (cosf): Define using libm_alias_float.
21619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21620 <libm-alias-float.h>.
21621 (floorf): Define using libm_alias_float.
21622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21623 <libm-alias-float.h>.
21624 (llrintf): Define using libm_alias_float.
21625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21626 <libm-alias-float.h>.
21627 (llroundf): Define using libm_alias_float.
21628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21629 <libm-alias-float.h>.
21630 (logbf): Define using libm_alias_float.
21631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21632 <libm-alias-float.h>.
21633 (modff): Define using libm_alias_float.
21634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21635 <libm-alias-float.h>.
21636 (roundf): Define using libm_alias_float.
21637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21638 <libm-alias-float.h>.
21639 (sinf): Define using libm_alias_float.
21640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21641 <libm-alias-float.h>.
21642 (truncf): Define using libm_alias_float.
21643 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21644 <libm-alias-float.h>.
21645 (ceilf): Define using libm_alias_float.
21646 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21647 <libm-alias-float.h>.
21648 (copysignf): Define using libm_alias_float.
21649 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21650 <libm-alias-float.h>.
21651 (floorf): Define using libm_alias_float.
21652 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21653 <libm-alias-float.h>.
21654 (llrintf): Define using libm_alias_float.
21655 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21656 <libm-alias-float.h>.
21657 (llroundf): Define using libm_alias_float.
21658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21659 <libm-alias-float.h>.
21660 (nearbyintf): Define using libm_alias_float.
21661 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21662 <libm-alias-float.h>.
21663 (rintf): Define using libm_alias_float.
21664 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21665 <libm-alias-float.h>.
21666 (roundf): Define using libm_alias_float.
21667 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21668 <libm-alias-float.h>.
21669 (truncf): Define using libm_alias_float.
21670 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21671 <libm-alias-float.h>.
21672 (ceilf): Define using libm_alias_float.
21673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21674 <libm-alias-float.h>.
21675 (floorf): Define using libm_alias_float.
21676 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21677 <libm-alias-float.h>.
21678 (llroundf): Define using libm_alias_float.
21679 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21680 <libm-alias-float.h>.
21681 (roundf): Define using libm_alias_float.
21682 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21683 <libm-alias-float.h>.
21684 (truncf): Define using libm_alias_float.
21685 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21686 <libm-alias-float.h>.
21687 (copysignf): Define using libm_alias_float.
21688 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21689 <libm-alias-float.h>.
21690 (llrintf): Define using libm_alias_float.
21691 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21692 <libm-alias-float.h>.
21693 (llroundf): Define using libm_alias_float.
21694 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21695 <libm-alias-float.h>.
21696 (cosf): Define using libm_alias_float.
21697 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21698 <libm-alias-float.h>.
21699 (llrintf): Define using libm_alias_float.
21700 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21701 <libm-alias-float.h>.
21702 (llroundf): Define using libm_alias_float.
21703 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21704 <libm-alias-float.h>.
21705 (sinf): Define using libm_alias_float.
21707 2017-12-04 Florian Weimer <fweimer@redhat.com>
21709 * support/check.h (TEST_COMPARE): Define.
21710 (support_test_compare_failure): Declare.
21711 * support/Makefile (libsupport-routines): Add
21712 support_test_compare_failure.
21713 (tests): Add tst-test_compare.
21714 * support /support_test_compare_failure.c: New file.
21715 * support/tst-test_compare.c: Likewise.
21717 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21720 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21721 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21722 available, this rewrite of the collation rules does reproduce
21723 the test file in the same order.
21725 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21728 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21729 digraphs in the month and day names. Using single code points for
21730 digraphs is deprecated. While there are dedicated Unicode
21731 codepoints, for the digraphs, these are included for backwards
21732 compatibility and modern texts use a sequence of Basic Latin
21733 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21734 This makes the month and day names agree exactly with CLDR now,
21735 CLDR does not use the single code points for the digraphs either.
21737 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21739 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21741 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21743 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21746 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21748 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21749 Define only for libc.so.
21751 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21754 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21755 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21756 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21759 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21762 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21764 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21767 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21768 PREINIT_FUNCTION_WEAK is nonzero.
21769 (gmon_initializer): New function. Put procedure label for it in
21770 .init_array section.
21771 (_init): Don't call PREINIT_FUNCTION.
21772 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21773 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21774 value when map argument is null.
21776 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21777 depi instruction from PIC pc-relative sequence.
21778 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21779 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21780 (elf_machine_load_address): Likewise.
21781 (elf_machine_runtime_setup): Likewise.
21783 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21785 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21786 <libm-alias-double.h>.
21787 (logb): Define using libm_alias_double.
21788 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21789 <libm-alias-double.h>.
21790 (copysign): Define using libm_alias_double.
21791 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21792 <libm-alias-double.h>.
21793 (llrint): Define using libm_alias_double.
21794 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21795 <libm-alias-double.h>.
21796 (llround): Define using libm_alias_double.
21797 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21798 <libm-alias-double.h>.
21799 (lrint): Define using libm_alias_double.
21800 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21801 <libm-alias-double.h>.
21802 (lround): Define using libm_alias_double.
21803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21804 Include <libm-alias-double.h>.
21805 (copysign): Define using libm_alias_double.
21806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21807 Include <libm-alias-double.h>.
21808 (llrint): Define using libm_alias_double.
21809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21810 Include <libm-alias-double.h>.
21811 (llround): Define using libm_alias_double.
21812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21813 <libm-alias-double.h>.
21814 (logb): Define using libm_alias_double.
21815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21816 Include <libm-alias-double.h>.
21817 (lrint): Define using libm_alias_double.
21818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21819 Include <libm-alias-double.h>.
21820 (lround): Define using libm_alias_double.
21821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21822 <libm-alias-double.h>.
21823 (llrint): Define using libm_alias_double.
21824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21825 <libm-alias-double.h>.
21826 (llround): Define using libm_alias_double.
21827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21828 <libm-alias-double.h>.
21829 (llround): Define using libm_alias_double.
21830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21831 <libm-alias-double.h>.
21832 (lround): Define using libm_alias_double.
21833 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21834 <libm-alias-double.h>.
21835 (copysign): Define using libm_alias_double.
21836 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21837 <libm-alias-double.h>.
21838 (llrint): Define using libm_alias_double.
21839 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21840 <libm-alias-double.h>.
21841 (llround): Define using libm_alias_double.
21842 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21843 <libm-alias-double.h>.
21844 (lrint): Define using libm_alias_double.
21845 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21846 <libm-alias-double.h>.
21847 (lround): Define using libm_alias_double.
21848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21849 <libm-alias-double.h>.
21850 (copysign): Define using libm_alias_double.
21851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21852 <libm-alias-double.h>.
21853 (llrint): Define using libm_alias_double.
21855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21856 <libm-alias-double.h>.
21857 (llround): Define using libm_alias_double.
21858 (lround): Likewise.
21859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21860 <libm-alias-double.h>.
21861 (logb): Define using libm_alias_double.
21862 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21863 <libm-alias-double.h>.
21864 (copysign): Define using libm_alias_double.
21865 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21866 <libm-alias-double.h>.
21867 (llrint): Define using libm_alias_double.
21869 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21870 <libm-alias-double.h>.
21871 (llround): Define using libm_alias_double.
21872 (lround): Likewise.
21873 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21874 <libm-alias-double.h>.
21875 (llround): Define using libm_alias_double.
21876 (lround): Likewise.
21877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21878 <libm-alias-double.h>.
21879 (copysign): Define using libm_alias_double.
21880 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21881 <libm-alias-double.h>.
21882 (llrint): Define using libm_alias_double.
21884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21885 <libm-alias-double.h>.
21886 (llround): Define using libm_alias_double.
21887 (lround): Likewise.
21888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21889 <libm-alias-double.h>.
21890 (llrint): Define using libm_alias_double.
21892 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21893 <libm-alias-double.h>.
21894 (llround): Define using libm_alias_double.
21895 (lround): Likewise.
21897 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21900 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21901 compat symbol based on llround.
21903 * sysdeps/powerpc/power7/fpu/s_logb.c
21904 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21905 symbol based on __logb, not on logb.
21906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21907 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21909 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21911 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21912 (rint): Define using libm_alias_double.
21913 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21914 <libm-alias-double.h>.
21915 (modf): Define using libm_alias_double.
21916 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21917 <libm-alias-double.h>.
21918 (ceil): Define using libm_alias_double.
21919 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21920 <libm-alias-double.h>.
21921 (floor): Define using libm_alias_double.
21922 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21923 <libm-alias-double.h>.
21924 (nearbyint): Define using libm_alias_double.
21925 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21926 <libm-alias-double.h>.
21927 (rint): Define using libm_alias_double.
21928 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21929 <libm-alias-double.h>.
21930 (round): Define using libm_alias_double.
21931 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21932 <libm-alias-double.h>.
21933 (trunc): Define using libm_alias_double.
21934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21935 <libm-alias-double.h>.
21936 (ceil): Define using libm_alias_double.
21937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21938 Include <libm-alias-double.h>.
21939 (floor): Define using libm_alias_double.
21940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21941 <libm-alias-double.h>.
21942 (modf): Define using libm_alias_double.
21943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21944 Include <libm-alias-double.h>.
21945 (round): Define using libm_alias_double.
21946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21947 Include <libm-alias-double.h>.
21948 (trunc): Define using libm_alias_double.
21949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21950 <libm-alias-double.h>.
21951 (ceil): Define using libm_alias_double.
21952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21953 <libm-alias-double.h>.
21954 (floor): Define using libm_alias_double.
21955 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21956 <libm-alias-double.h>.
21957 (round): Define using libm_alias_double.
21958 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21959 <libm-alias-double.h>.
21960 (trunc): Define using libm_alias_double.
21961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21962 <libm-alias-double.h>.
21963 (ceil): Define using libm_alias_double.
21964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21965 <libm-alias-double.h>.
21966 (floor): Define using libm_alias_double.
21967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21968 <libm-alias-double.h>.
21969 (modf): Define using libm_alias_double.
21970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21971 <libm-alias-double.h>.
21972 (round): Define using libm_alias_double.
21973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21974 <libm-alias-double.h>.
21975 (trunc): Define using libm_alias_double.
21976 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21977 <libm-alias-double.h>.
21978 (ceil): Define using libm_alias_double.
21979 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21980 <libm-alias-double.h>.
21981 (floor): Define using libm_alias_double.
21982 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21983 <libm-alias-double.h>.
21984 (nearbyint): Define using libm_alias_double.
21985 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21986 <libm-alias-double.h>.
21987 (rint): Define using libm_alias_double.
21988 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21989 <libm-alias-double.h>.
21990 (round): Define using libm_alias_double.
21991 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21992 <libm-alias-double.h>.
21993 (trunc): Define using libm_alias_double.
21994 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21995 <libm-alias-double.h>.
21996 (ceil): Define using libm_alias_double.
21997 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21998 <libm-alias-double.h>.
21999 (floor): Define using libm_alias_double.
22000 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22001 <libm-alias-double.h>.
22002 (round): Define using libm_alias_double.
22003 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22004 <libm-alias-double.h>.
22005 (trunc): Define using libm_alias_double.
22007 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22008 (fabs): Define using libm_alias_double.
22009 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22010 (fma): Define using libm_alias_double.
22011 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22012 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22013 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22014 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22016 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22018 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22020 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22021 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22022 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22025 due redirect macro.
22027 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22029 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22031 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22033 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22034 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22035 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22036 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22039 (libm-sysdep_routines): Add s_nearbyintf-generic and
22040 s_nearbyint-generic.
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22054 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22065 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22076 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22087 (sysdep_calls): New rule.
22088 (sysdep_routines): Use sysdep_calls as base.
22089 (libm-sysdep_routines): Add generic rule for symbols shared with
22090 libc. Add s_copysign-generic and s_copysign-generic objects.
22091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22100 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22103 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22104 the list of locales to be built for testing.
22105 * localedata/is_IS.UTF-8.in: New file.
22106 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22109 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22111 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22112 <libm-alias-float.h>.
22113 (fabsf): Define using libm_alias_float.
22115 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22117 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22119 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22121 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22122 <libm-alias-float.h>.
22123 (fabsf): Define using libm_alias_float.
22124 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22125 <libm-alias-float.h>.
22126 (lrintf): Define using libm_alias_float.
22127 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22128 <libm-alias-float.h>.
22129 (rintf): Define using libm_alias_float.
22131 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22132 <libm-alias-double.h>.
22133 (fabs): Define using libm_alias_double.
22134 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22135 <libm-alias-double.h>.
22136 (lrint): Define using libm_alias_double.
22137 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22138 <libm-alias-double.h>.
22139 (rint): Define using libm_alias_double.
22141 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22142 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22143 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22144 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22145 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22146 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22147 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22148 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22149 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22150 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22151 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22152 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22153 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22154 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22155 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22156 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22157 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22158 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22160 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22161 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22162 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22164 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22165 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22166 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22168 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22169 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22170 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22171 s_expm1_template.c.
22172 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22173 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22174 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22176 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22177 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22178 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22179 s_floor_template.c.
22180 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22181 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22182 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22183 s_frexp_template.c.
22184 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22185 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22186 s_lrint_template.c.
22187 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22188 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22189 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22191 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22192 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22193 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22194 s_nearbyint_template.c.
22195 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22196 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22197 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22198 s_remquo_template.c.
22199 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22200 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22201 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22203 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22204 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22205 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22207 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22208 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22209 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22210 s_sincos_template.c.
22211 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22212 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22213 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22215 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22216 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22217 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22219 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22220 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22221 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22222 s_trunc_template.c.
22223 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22224 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22225 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22226 s_atan.c instead of including s_atan.c.
22227 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22228 s_atanf.c instead of including s_atanf.c.
22229 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22230 s_atanl.c instead of including s_atanl.c.
22231 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22232 instead of s_atan.c.
22233 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22234 instead of s_atanf.c.
22235 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22236 instead of s_atanl.c.
22238 * scripts/update-copyrights: Do not handle intl/plural.c
22241 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22244 * configure.ac (BISON): Require to be present.
22245 * configure: Regenerated.
22246 * intl/Makefile (generated): Add plural.c.
22247 [$(BISON) != no]: Make code unconditional.
22248 (plural.c): Change rule to $(objpfx)plural.c.
22249 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22250 * intl/plural.c: Remove.
22251 * manual/install.texi (Tools for Compilation): Document bison as
22253 * INSTALL: Regenerated.
22255 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22257 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22258 <libm-alias-double.h>.
22259 (llrint): Define using libm_alias_double.
22260 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22261 <libm-alias-float.h>.
22262 (llrintf): Define using libm_alias_float.
22263 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22264 <libm-alias-ldouble.h>.
22265 (llrintl): Define using libm_alias_ldouble.
22267 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22268 declare_mgen_alias instead of weak_alias.
22269 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22270 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22271 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22273 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22275 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22277 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22278 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22279 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22281 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22282 Add submul_1-generic.
22283 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22284 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22285 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22287 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22288 Add addmul_1-generic.
22289 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22290 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22291 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22293 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22295 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22296 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22297 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22299 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22301 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22302 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22303 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22305 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22307 According to CLDR, collation rules for Serbian and Bosnian
22308 should be the same as for Croatian.
22311 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22312 and to the list of locales to be built for testing.
22313 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22314 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22315 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22316 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22318 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22320 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22321 to make test case pass.
22322 * localedata/hr_HR.UTF-8.in: Add more test strings.
22324 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22326 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22328 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22330 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22331 the list of locales to built for testing.
22332 * localedata/hr_HR.UTF-8.in: New file.
22334 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22337 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22339 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22340 CLDR (except use ligatures for the digraphs, CLDR does not use
22341 the ligatures), add first_workday, some fixes in the date and time
22343 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22345 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22346 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22347 Add int_p_cs_precedes and int_n_cs_precedes.
22348 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22349 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22351 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22352 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22354 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22355 and lang_lib. Change postal_fmt.
22357 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22359 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22361 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22362 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22363 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22364 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22365 * sysdeps/generic/setjmpP.h: New file.
22366 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22367 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22368 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22369 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22370 Add jmp_buf-ssp.sym.
22371 (tests): Add tst-saved_mask-1.
22373 2017-11-30 Arjun Shankar <arjun@redhat.com>
22377 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22378 instead of request2size.
22380 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22383 (__lllrint): Remove alias.
22384 (lllrint): Likewise.
22385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22386 (__lllrintf): Likewise.
22387 (lllrintf): Likewise.
22389 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22390 <libm-alias-float.h>.
22391 (copysignf): Define using libm_alias_float.
22392 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22393 <libm-alias-float.h>.
22394 (fabsf): Define using libm_alias_float.
22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22396 Include <libm-alias-float.h>.
22397 (copysignf): Define using libm_alias_float.
22398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22399 <libm-alias-float.h>.
22400 (fabsf): Define using libm_alias_float.
22401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22402 <libm-alias-float.h>.
22403 (fdimf): Define using libm_alias_float.
22404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22405 <libm-alias-float.h>.
22406 (fmaf): Define using libm_alias_float.
22407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22408 <libm-alias-float.h>.
22409 (llrintf): Define using libm_alias_float.
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22411 Include <libm-alias-float.h>.
22412 (nearbyintf): Define using libm_alias_float.
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22414 <libm-alias-float.h>.
22415 (rintf): Define using libm_alias_float.
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22417 <libm-alias-float.h>.
22418 (llrintf): Define using libm_alias_float.
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22420 <libm-alias-float.h>.
22421 (lrintf): Define using libm_alias_float.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22423 <libm-alias-float.h>.
22424 (nearbyintf): Define using libm_alias_float.
22425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22426 <libm-alias-float.h>.
22427 (rintf): Define using libm_alias_float.
22428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22429 <libm-alias-float.h>.
22430 (ceilf): Define using libm_alias_float.
22431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22432 <libm-alias-float.h>.
22433 (floorf): Define using libm_alias_float.
22434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22435 <libm-alias-float.h>.
22436 (fmaf): Define using libm_alias_float.
22437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22438 <libm-alias-float.h>.
22439 (lrintf): Define using libm_alias_float.
22440 (llrintf): Likewise.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22442 <libm-alias-float.h>.
22443 (nearbyintf): Define using libm_alias_float.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22445 <libm-alias-float.h>.
22446 (rintf): Define using libm_alias_float.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22448 <libm-alias-float.h>.
22449 (truncf): Define using libm_alias_float.
22450 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22451 <libm-alias-float.h>.
22452 (copysignf): Define using libm_alias_float.
22453 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22454 <libm-alias-float.h>.
22455 (fabsf): Define using libm_alias_float.
22456 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22457 <libm-alias-float.h>.
22458 (lrintf): Define using libm_alias_float.
22459 (llrintf): Likewise.
22460 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22461 <libm-alias-float.h>.
22462 (nearbyintf): Define using libm_alias_float.
22463 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22464 <libm-alias-float.h>.
22465 (rintf): Define using libm_alias_float.
22467 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22469 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22470 <libm-alias-double.h>.
22471 (copysign): Define using libm_alias_double.
22472 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22473 <libm-alias-double.h>.
22474 (fabs): Define using libm_alias_double.
22475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22476 Include <libm-alias-double.h>.
22477 (copysign): Define using libm_alias_double.
22478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22479 <libm-alias-double.h>.
22480 (fabs): Define using libm_alias_double.
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22482 <libm-alias-double.h>.
22483 (fdim): Define using libm_alias_double.
22484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22485 <libm-alias-double.h>.
22486 (fma): Define using libm_alias_double.
22487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22488 <libm-alias-double.h>.
22489 (llrint): Define using libm_alias_double.
22490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22491 Include <libm-alias-double.h>.
22492 (nearbyint): Define using libm_alias_double.
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22494 <libm-alias-double.h>.
22495 (rint): Define using libm_alias_double.
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22497 <libm-alias-double.h>.
22498 (fabs): Define using libm_alias_double.
22499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22500 <libm-alias-double.h>.
22501 (llrint): Define using libm_alias_double.
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22503 <libm-alias-double.h>.
22504 (nearbyint): Define using libm_alias_double.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22506 <libm-alias-double.h>.
22507 (rint): Define using libm_alias_double.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22509 <libm-alias-double.h>.
22510 (ceil): Define using libm_alias_double.
22511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22512 <libm-alias-double.h>.
22513 (floor): Define using libm_alias_double.
22514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22515 <libm-alias-double.h>.
22516 (fma): Define using libm_alias_double.
22517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22518 <libm-alias-double.h>.
22519 (lrint): Define using libm_alias_double.
22520 (llrint): Likewise.
22521 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22522 <libm-alias-double.h>.
22523 (nearbyint): Define using libm_alias_double.
22524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22525 <libm-alias-double.h>.
22526 (rint): Define using libm_alias_double.
22527 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22528 <libm-alias-double.h>.
22529 (trunc): Define using libm_alias_double.
22530 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22531 <libm-alias-double.h>.
22532 (copysign): Define using libm_alias_double.
22533 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22534 <libm-alias-double.h>.
22535 (fabs): Define using libm_alias_double.
22536 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22537 <libm-alias-double.h>.
22538 (lrint): Define using libm_alias_double.
22539 (llrint): Likewise.
22540 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22541 <libm-alias-double.h>.
22542 (nearbyint): Define using libm_alias_double.
22543 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22544 <libm-alias-double.h>.
22545 (rint): Define using libm_alias_double.
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22550 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22552 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22553 SPARC --disable-multi-arch glibc variants.
22555 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22556 <libm-alias-float.h>.
22557 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22559 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22560 <libm-alias-float.h>.
22561 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22563 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22564 <libm-alias-float.h>.
22565 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22567 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22568 <libm-alias-float.h>.
22569 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22571 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22572 <libm-alias-float.h>.
22573 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22575 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22576 <libm-alias-float.h>.
22577 (ceilf): Define using libm_alias_float.
22578 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22579 <libm-alias-float.h>.
22580 (floorf): Define using libm_alias_float.
22581 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22582 <libm-alias-float.h>.
22583 (fmaf): Define using libm_alias_float.
22584 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22585 <libm-alias-float.h>.
22586 (nearbyintf): Define using libm_alias_float.
22587 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22588 <libm-alias-float.h>.
22589 (rintf): Define using libm_alias_float.
22590 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22591 <libm-alias-float.h>.
22592 (truncf): Define using libm_alias_float.
22593 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22594 (copysignf): Define using libm_alias_float.
22595 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22596 (cosf): Define using libm_alias_float.
22597 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22598 (fabsf): Define using libm_alias_float.
22599 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22600 (fmaxf): Define using libm_alias_float.
22601 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22602 (fminf): Define using libm_alias_float.
22603 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22604 (llrintf): Define using libm_alias_float.
22605 [!__ILP32__] (lrintf): Likewise.
22606 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22607 (sincosf): Define using libm_alias_float.
22608 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22609 (sinf): Define using libm_alias_float.
22610 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22611 (lrintf): Define using libm_alias_float.
22613 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22614 <libm-alias-double.h>.
22615 (atan): Define using libm_alias_double.
22616 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22617 <libm-alias-double.h>.
22618 (ceil): Define using libm_alias_double.
22619 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22620 <libm-alias-double.h>.
22621 (floor): Define using libm_alias_double.
22622 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22623 <libm-alias-double.h>.
22624 (fma): Define using libm_alias_double.
22625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22626 <libm-alias-double.h>.
22627 (nearbyint): Define using libm_alias_double.
22628 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22629 <libm-alias-double.h>.
22630 (rint): Define using libm_alias_double.
22631 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22632 <libm-alias-double.h>.
22633 (sin): Define using libm_alias_double.
22635 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22636 <libm-alias-double.h>.
22637 (tan): Define using libm_alias_double.
22638 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22639 <libm-alias-double.h>.
22640 (trunc): Define using libm_alias_double.
22641 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22642 (copysign): Define using libm_alias_double.
22643 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22644 (fabs): Define using libm_alias_double.
22645 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22646 (fmax): Define using libm_alias_double.
22647 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22648 (fmin): Define using libm_alias_double.
22649 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22650 (llrint): Define using libm_alias_double.
22651 [!__ILP32__] (lrint): Likewise.
22652 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22653 (lrint): Define using libm_alias_double.
22655 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22658 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22667 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22668 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22678 (libm-sysdep_routines): Add s_nearbyint-generic and
22679 s_nearbyintf-generic objects.
22680 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22681 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22682 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22683 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22684 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22688 Add s_finitef-generic and s_finite-generic objects.
22689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22697 Add s_isinff-generic and s_isinf-generic objects.
22698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22706 Add s_isnanf-generic and s_isnan-generic objects.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22714 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22718 (sysdep_routines): Use sysdep_calls as base.
22719 (libm-sysdep_routines): Add generic rule for symbols shared with
22720 libc. Add s_signbit-generic and s_signbitf-generic objects.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22728 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22730 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22731 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22732 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22733 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22734 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22735 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22736 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22737 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22738 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22739 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22740 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22741 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22742 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22743 libm_alias_float_r.
22744 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22745 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22747 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22748 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22749 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22750 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22751 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22752 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22753 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22754 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22755 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22756 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22758 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22760 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22761 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22762 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22763 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22764 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22765 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22766 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22767 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22768 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22769 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22770 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22771 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22772 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22773 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22774 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22775 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22776 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22777 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22778 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22780 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22781 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22782 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22783 * sysdeps/ia64/fpu/w_lgammaf_main.c
22784 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22785 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22787 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22788 Alexandre Oliva <aoliva@redhat.com>
22791 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22792 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22794 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22796 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22797 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22798 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22799 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22800 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22801 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22802 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22803 instead of “ifdef DIACRIT_BACKWARD”.
22805 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22807 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22808 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22809 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22810 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22811 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22812 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22819 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22820 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22821 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22822 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22823 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22824 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22826 ($(have-as-vis3) == yes): Remove conditional.
22827 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22843 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22844 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22846 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22848 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22849 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22850 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22851 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22852 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22853 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22854 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22855 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22856 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22857 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22858 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22859 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22860 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22861 libm_alias_double_r.
22862 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22864 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22865 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22866 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22867 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22868 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22869 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22870 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22871 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22872 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22873 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22874 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22876 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22878 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22879 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22880 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22881 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22882 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22883 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22884 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22885 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22886 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22887 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22888 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22889 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22890 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22891 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22892 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22893 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22894 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22895 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22897 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22898 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22899 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22900 * sysdeps/ia64/fpu/w_lgamma_main.c
22901 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22902 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22904 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22906 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22907 address of $global$ into %dp register earlier. Use pc-relative
22908 instruction sequence for PIC case.
22910 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22912 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22913 (asinhf): Define using libm_alias_float.
22914 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22915 (atanf): Define using libm_alias_float.
22916 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22917 (cbrtf): Define using libm_alias_float.
22918 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22919 (ceilf): Define using libm_alias_float.
22920 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22921 (copysignf): Define using libm_alias_float.
22922 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22923 (expm1f): Define using libm_alias_float.
22924 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22925 (fabsf): Define using libm_alias_float.
22926 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22927 (floorf): Define using libm_alias_float.
22928 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22929 (fmaxf): Define using libm_alias_float.
22930 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22931 (fminf): Define using libm_alias_float.
22932 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22933 (frexpf): Define using libm_alias_float.
22934 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22935 (llrintf): Define using libm_alias_float.
22936 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22937 (logbf): Define using libm_alias_float.
22938 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22939 (lrintf): Define using libm_alias_float.
22940 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22941 (nearbyintf): Define using libm_alias_float.
22942 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22943 (remquof): Define using libm_alias_float.
22944 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22945 (rintf): Define using libm_alias_float.
22946 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22947 (truncf): Define using libm_alias_float.
22948 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22949 <libm-alias-float.h>.
22950 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22952 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22953 <libm-alias-float.h>.
22954 (expf): Define using libm_alias_float, or libm_alias_float_other
22956 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22957 <libm-alias-float.h>.
22958 (log2f): Define using libm_alias_float, or libm_alias_float_other
22960 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22961 <libm-alias-float.h>.
22962 (logf): Define using libm_alias_float, or libm_alias_float_other
22964 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22965 <libm-alias-float.h>.
22966 (powf): Define using libm_alias_float, or libm_alias_float_other
22968 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22969 <libm-alias-float.h>.
22970 (cosf): Define using libm_alias_float.
22971 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22972 <libm-alias-float.h>.
22973 (sincosf): Define using libm_alias_float.
22974 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22975 <libm-alias-float.h>.
22976 (sinf): Define using libm_alias_float.
22977 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22978 (fmaxf): Define using libm_alias_float.
22979 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22980 (fminf): Define using libm_alias_float.
22981 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22982 <libm-alias-float.h>.
22983 (fmaf): Define using libm_alias_float.
22985 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22986 (asinh): Define using libm_alias_double.
22987 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22988 (atan): Define using libm_alias_double.
22989 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22990 (cbrt): Define using libm_alias_double.
22991 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22992 (ceil): Define using libm_alias_double.
22993 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22994 (copysign): Define using libm_alias_double.
22995 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22996 (expm1): Define using libm_alias_double.
22997 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22998 (fabs): Define using libm_alias_double.
22999 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23000 (fdim): Define using libm_alias_double.
23001 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23002 (floor): Define using libm_alias_double.
23003 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23004 (fmax): Define using libm_alias_double.
23005 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23006 (fmin): Define using libm_alias_double.
23007 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23008 (frexp): Define using libm_alias_double.
23009 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23010 (llrint): Define using libm_alias_double.
23011 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23012 (logb): Define using libm_alias_double.
23013 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23014 (lrint): Define using libm_alias_double.
23015 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23016 (nearbyint): Define using libm_alias_double.
23017 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23018 (remquo): Define using libm_alias_double.
23019 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23020 (rint): Define using libm_alias_double.
23021 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23022 (trunc): Define using libm_alias_double.
23023 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23024 (fmax): Define using libm_alias_double.
23025 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23026 (fmin): Define using libm_alias_double.
23027 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23028 (fma): Define using libm_alias_double.
23030 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23033 * elf/dl-hwcaps.c (ROUND): Removed.
23034 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23035 and ELF_NOTE_NEXT_OFFSET.
23036 * elf/dl-load.c (ROUND): Removed.
23037 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23038 * elf/readelflib.c (ROUND): Removed.
23039 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23040 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23041 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23042 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23044 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23046 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23047 [!__fmaf] (fmaf): Define using libm_alias_float.
23049 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23050 [!__fma] (fma): Define using libm_alias_double.
23051 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23053 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23056 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23057 and implement the collation rules for cs from CLDR on top of that.
23058 * Makefile: Add cs_CZ.UTF-8 to test-input.
23059 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23061 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23063 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23065 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23066 Icarus Sparry <icarus.w.sparry@intel.com>
23068 * benchtests/Makefile:Add BENCHSET to allow subsets of
23069 benchmarks to be run.
23070 * benchtests/README: Add documentation for: Running subsets of
23073 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23075 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23076 range of tests names.
23078 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23079 result from property and remove "max", min" and "mean" from
23080 required properties based on benchtests/bench-skeleton.c.
23082 2017-11-28 Florian Weimer <fweimer@redhat.com>
23085 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23086 due to Internet requirement.
23087 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23089 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23091 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23093 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23094 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23095 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23096 (sysdep_routines): Add memset-ultra1.
23097 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23099 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23100 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23101 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23102 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23103 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23104 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23105 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23106 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23108 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23110 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23111 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23112 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23113 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23114 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23115 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23116 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23118 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23119 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23120 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23121 (sysdep_routines): Add memcpy-ultra1.
23122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23123 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23125 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23127 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23128 (cfloat_versions): Take function argument without trailing 'f'.
23129 Call libm_alias_float_other.
23130 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23131 * sysdeps/alpha/fpu/cargf.c: Likewise.
23132 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23133 * sysdeps/alpha/fpu/conjf.c: Likewise.
23134 * sysdeps/alpha/fpu/crealf.c: Likewise.
23135 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23136 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23137 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23138 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23139 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23140 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23141 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23142 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23143 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23144 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23145 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23146 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23147 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23148 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23149 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23150 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23151 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23152 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23153 (clog10f): Use libm_alias_float_other.
23154 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23155 (ceilf): Define using libm_alias_float.
23156 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23157 (copysignf): Define using libm_alias_float.
23158 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23159 (fabsf): Define using libm_alias_float.
23160 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23161 (floorf): Define using libm_alias_float.
23162 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23163 (fmaxf): Define using libm_alias_float.
23164 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23165 (fminf): Define using libm_alias_float.
23166 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23167 (lrintf): Define using libm_alias_float.
23168 (llrintf): Likewise.
23169 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23170 (lroundf): Define using libm_alias_float.
23171 (llroundf): Likewise.
23172 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23173 (rintf): Define using libm_alias_float.
23174 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23175 (truncf): Define using libm_alias_float.
23177 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23178 (ceilf): Define using libm_alias_float.
23179 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23180 (floorf): Define using libm_alias_float.
23181 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23182 (fmaf): Define using libm_alias_float.
23183 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23184 (fmaxf): Define using libm_alias_float.
23185 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23186 (fminf): Define using libm_alias_float.
23187 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23188 (llrintf): Define using libm_alias_float.
23189 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23190 (llroundf): Define using libm_alias_float.
23191 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23192 (lrintf): Define using libm_alias_float.
23193 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23194 (lroundf): Define using libm_alias_float.
23195 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23196 <libm-alias-float.h>.
23197 (nearbyintf): Define using libm_alias_float.
23198 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23199 (rintf): Define using libm_alias_float.
23200 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23201 (roundf): Define using libm_alias_float.
23202 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23203 (truncf): Define using libm_alias_float.
23205 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23206 (ceil): Define using libm_alias_double.
23207 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23208 (copysign): Define using libm_alias_double.
23209 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23210 (fabs): Define using libm_alias_double.
23211 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23212 (floor): Define using libm_alias_double.
23213 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23214 (fmax): Define using libm_alias_double.
23215 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23216 (fmin): Define using libm_alias_double.
23217 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23218 (lrint): Define using libm_alias_double.
23219 (llrint): Likewise.
23220 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23221 (lround): Define using libm_alias_double.
23222 (llround): Likewise.
23223 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23224 (rint): Define using libm_alias_double.
23225 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23226 (trunc): Define using libm_alias_double.
23228 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23229 (libm_alias_double_r): Add semicolon after weak_alias call.
23231 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23233 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23234 (ceil): Define using libm_alias_double.
23235 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23236 (floor): Define using libm_alias_double.
23237 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23238 (fma): Define using libm_alias_double.
23239 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23240 (fmax): Define using libm_alias_double.
23241 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23242 (fmin): Define using libm_alias_double.
23243 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23244 (llrint): Define using libm_alias_double.
23245 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23246 (llround): Define using libm_alias_double.
23247 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23248 (lrint): Define using libm_alias_double.
23249 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23250 (lround): Define using libm_alias_double.
23251 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23252 (nearbyint): Define using libm_alias_double.
23253 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23254 (rint): Define using libm_alias_double.
23255 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23256 (round): Define using libm_alias_double.
23257 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23258 (trunc): Define using libm_alias_double.
23260 2017-11-27 Florian Weimer <fweimer@redhat.com>
23262 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23263 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23264 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23265 (tests): Add tst-mlock2.
23266 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23267 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23268 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23269 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23270 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23271 for mlock. Document mlock2.
23273 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23275 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23276 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23278 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23280 * sysdeps/x86/Makeconfig: New file.
23281 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23282 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23283 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23284 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23285 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23286 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23287 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23289 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23290 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23291 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23292 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23293 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23294 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23295 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23296 * manual/math.texi (Mathematics): Document support for _Float64x.
23297 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23298 * stdlib/Versions (GLIBC_2.27): Likewise.
23299 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23300 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23301 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23302 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23303 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23304 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23305 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23306 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23307 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23309 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23310 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23315 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23316 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23317 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23318 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23319 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23320 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23321 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23322 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23323 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23324 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23325 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23326 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23327 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23328 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23330 2017-11-27 Andreas Schwab <schwab@suse.de>
23332 * elf/Makefile (dl-routines): Add dl-sort-maps.
23333 * elf/dl-sort-maps.c: New file.
23334 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23335 (_dl_sort_maps): Declare.
23336 * elf/dl-fini.c (_dl_sort_fini): Remove.
23337 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23338 * elf/dl-close.c (_dl_close_worker): Likewise.
23339 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23341 * elf/dl-open.c (dl_open_worker): Likewise.
23343 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23345 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23346 using libm_alias_float128.
23347 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23349 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23351 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23352 (setpayloadsigf128): Likewise.
23353 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23355 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23358 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23359 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23360 -mfloat128 to CFLAGS.
23362 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23364 (CFLAGS-libm-test-support-float64x.c): New variable.
23365 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23366 $(f128-loader-link) to gnulib-tests.
23368 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23369 (libm_alias_float128_other_r): If
23370 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23372 (libm_alias_float128_r): Add semicolon after weak_alias call.
23373 * sysdeps/generic/libm-alias-ldouble.h
23374 (libm_alias_ldouble_other_r_f128): New macro.
23375 (libm_alias_ldouble_other_r_f64x): Likewise.
23376 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23377 and libm_alias_ldouble_other_r_f64x.
23378 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23379 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23380 (libm_alias_ldouble_other_r_f128): New macro.
23381 (libm_alias_ldouble_other_r_f64x): Likewise.
23382 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23383 and libm_alias_ldouble_other_r_f64x.
23385 * stdlib/strfroml.c: Always include <stdlib.h>.
23386 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23387 undefine as macro and define as weak alias.
23388 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23389 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23391 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23392 Define and later undefine as macro and define as weak alias.
23394 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23395 Define and later undefine as macro. Define as weak alias if
23397 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23398 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23399 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23400 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23401 Define and later undefine as macro. Define as weak alias if
23403 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23404 Define and later undefine as macro. Define as weak alias if
23406 * sysdeps/ieee754/float128/strtof128_l.c
23407 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23408 Define and later undefine as macro. Define as weak alias if
23410 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23411 Define and later undefine as macro. Define as weak alias if
23413 * sysdeps/ieee754/ldbl-128/strtold_l.c
23414 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23415 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23416 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23417 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23418 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23419 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23420 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23421 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23422 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23423 * sysdeps/ieee754/ldbl-96/strtold_l.c
23424 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23425 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23426 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23427 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23429 * math/test-float64x.h: New file.
23430 * math/Makefile (type-float64x-yes): New variable.
23431 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23433 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23434 function-like macro.
23435 (min_of_type_): Likewise.
23436 (min_of_type_l): Likewise.
23437 (min_of_type_f128): Likewise.
23438 (min_of_type): Pass () as last argument of __MATH_TG.
23440 * stdlib/tst-strtod-round-skeleton.c
23441 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23444 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23445 for combinations of long double with _Float64 and _Float64x.
23447 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23448 (__DECL_SIMD_cosf32): Likewise.
23449 (__DECL_SIMD_cosf64): Likewise.
23450 (__DECL_SIMD_cosf32x): Likewise.
23451 (__DECL_SIMD_cosf64x): Likewise.
23452 (__DECL_SIMD_cosf128x): Likewise.
23453 (__DECL_SIMD_sinf16): Likewise.
23454 (__DECL_SIMD_sinf32): Likewise.
23455 (__DECL_SIMD_sinf64): Likewise.
23456 (__DECL_SIMD_sinf32x): Likewise.
23457 (__DECL_SIMD_sinf64x): Likewise.
23458 (__DECL_SIMD_sinf128x): Likewise.
23459 (__DECL_SIMD_sincosf16): Likewise.
23460 (__DECL_SIMD_sincosf32): Likewise.
23461 (__DECL_SIMD_sincosf64): Likewise.
23462 (__DECL_SIMD_sincosf32x): Likewise.
23463 (__DECL_SIMD_sincosf64x): Likewise.
23464 (__DECL_SIMD_sincosf128x): Likewise.
23465 (__DECL_SIMD_logf16): Likewise.
23466 (__DECL_SIMD_logf32): Likewise.
23467 (__DECL_SIMD_logf64): Likewise.
23468 (__DECL_SIMD_logf32x): Likewise.
23469 (__DECL_SIMD_logf64x): Likewise.
23470 (__DECL_SIMD_logf128x): Likewise.
23471 (__DECL_SIMD_expf16): Likewise.
23472 (__DECL_SIMD_expf32): Likewise.
23473 (__DECL_SIMD_expf64): Likewise.
23474 (__DECL_SIMD_expf32x): Likewise.
23475 (__DECL_SIMD_expf64x): Likewise.
23476 (__DECL_SIMD_expf128x): Likewise.
23477 (__DECL_SIMD_powf16): Likewise.
23478 (__DECL_SIMD_powf32): Likewise.
23479 (__DECL_SIMD_powf64): Likewise.
23480 (__DECL_SIMD_powf32x): Likewise.
23481 (__DECL_SIMD_powf64x): Likewise.
23482 (__DECL_SIMD_powf128x): Likewise.
23484 * stdlib/Versions (libc): Move entries for wcstof128 and
23485 wcstof128_l to ....
23486 * wcsmbs/Versions (libc): ... here.
23487 Include <float128-abi.h>.
23489 2017-11-24 Florian Weimer <fweimer@redhat.com>
23491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23492 bits/mman-shared.h.
23493 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23494 <bits/mman-shared.h>.
23495 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23497 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23498 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23499 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23500 <bits/mman-shared.h>.
23502 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23505 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23506 posix_memalign/free.
23507 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23509 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23512 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23513 and implement the collation rules for pl from CLDR on top of that.
23514 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23515 of locales to be built for testing.
23516 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23518 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23520 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23521 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23522 libm_alias_ldouble_other.
23523 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23524 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23525 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23526 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23527 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23528 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23529 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23530 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23531 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23532 libm_alias_ldouble_r.
23533 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23534 libm_alias_ldouble_other.
23535 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23536 (log10l): Likewise.
23537 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23538 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23539 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23540 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23541 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23542 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23543 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23544 (atan2l): Likewise.
23545 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23546 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23547 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23548 libm_alias_ldouble.
23549 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23551 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23552 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23553 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23555 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23556 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23557 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23558 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23559 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23560 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23561 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23562 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23563 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23564 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23565 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23566 libm_alias_ldouble.
23567 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23568 libm_alias_ldouble_other.
23569 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23570 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23571 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23572 libm_alias_ldouble.
23573 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23574 libm_alias_ldouble_other.
23575 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23576 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23577 * sysdeps/ia64/fpu/w_lgammal_main.c
23578 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23579 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23581 2017-11-23 Florian Weimer <fweimer@redhat.com>
23583 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23584 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23585 alike. Remove freeres marker.
23586 * malloc/arena.c (arena_thread_freeres): Call
23587 tcache_thread_shutdown.
23589 2017-11-23 Florian Weimer <fweimer@redhat.com>
23592 Export nscd hash function as __nss_hash.
23593 * include/nss.h (__nss_hash): Declare.
23594 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23596 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23597 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23599 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23600 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23601 * nss/Makefiles (routines): Add nss_hash.
23602 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23603 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23604 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23605 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23607 2017-11-23 Florian Weimer <fweimer@redhat.com>
23610 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23611 Return error code, not -1.
23612 * signal/tst-sigwait-eintr.c: New file.
23613 * signal/Makefile (tests): Add tst-sigwait-eintr.
23615 2017-11-23 Florian Weimer <fweimer@redhat.com>
23617 Linux: Add memfd_create system call wrapper
23618 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23620 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23621 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23622 [__USE_GNU] (memfd_create): Declare.
23623 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23624 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23625 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23626 * sysdeps/unix/sysv/linux/**.abilist: Update.
23627 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23629 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23631 * localedata/gen-locale.sh: Fix typo in variable name.
23633 * resolv/res_debug.c (p_secstodate): Condition definition on
23634 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23635 directly as __p_secstodate, and as a compat symbol. Do not use
23636 libresolv_hidden_def.
23637 * resolv/resolv.h (p_secstodate): Remove macro and function
23639 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23640 using p_secstodate.
23641 * include/resolv.h (__p_secstodate): Do not use
23642 libresolv_hidden_proto.
23643 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23644 (tests-internal): ... here.
23645 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23646 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23647 and declare and use __p_secstodate and use compat_symbol_reference
23649 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23650 implementation returning 77.
23653 * resolv/res_debug.c: Include <libc-diag.h>.
23654 (p_secstodate): Assert time_t at least as wide as u_long. On
23655 overflow, use integer seconds since the epoch as output, or use
23656 "<overflow>" as output and set errno to EOVERFLOW if integer
23657 seconds since the epoch would be 14 or more characters.
23658 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23660 * resolv/tst-p_secstodate.c: New file.
23661 * resolv/Makefile (tests): Add tst-p_secstodate.
23662 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23664 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23665 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23666 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23668 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23670 * posix/regcomp.c (init_word_char): Add comments.
23672 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23675 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23676 strlen to compute length of ut_user and set trailing NUL byte of
23679 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23682 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23683 using “copy "iso14651_t1"” and then implementing the
23684 collation rules for lv from CLDR on top of that.
23685 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23686 of locales to be built for testing.
23687 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23690 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23692 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23693 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23694 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23695 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23696 [__USE_MISC] (MADV_HWPOISON): New macro.
23697 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23699 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23701 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23702 -Wmissing-braces on GCC 4.9.
23704 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23706 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23707 * sysdeps/s390/s390-32/start.S (_start): Likewise
23708 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23709 (thread_start): Likewise.
23710 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23711 (thread_start): Likewise.
23712 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23713 (__makecontext_ret): Likewise.
23714 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23715 (__makecontext_ret): Likewise.
23717 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23719 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23720 __wcschrnul): Remove attribute_hidden.
23722 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23724 regex: don't assume uint64_t or uint32_t
23725 This avoids -Werror=overflow errors for 32-bit systems in
23726 the 64-bit case. Problem reported by Joseph Myers in:
23727 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23728 Also, when this code is used in Gnulib it ports to platforms
23729 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23730 them, and on some 32-bit compilers there is no uint64_t.
23731 Problem reported by Gianluigi Tiesi in:
23732 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23733 * posix/regcomp.c (init_word_char): Don't assume that the types
23734 uint64_t and uint32_t exist. Adapted from Gnulib patch
23735 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23736 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23738 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23740 * sysdeps/aarch64/memset-reg.h: New file.
23741 * sysdeps/aarch64/memset.S: Use it.
23742 (__memset): Rename to MEMSET macro.
23743 [ZVA_MACRO]: Use zva_macro.
23744 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23745 Add memset_generic and memset_falkor.
23746 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23747 (__libc_ifunc_impl_list): Add memset ifuncs.
23748 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23749 local variable zva_size.
23750 * sysdeps/aarch64/multiarch/memset.c: New file.
23751 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23752 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23753 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23754 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23755 (DCZID_DZP_MASK): New macro.
23756 (DCZID_BS_MASK): Likewise.
23757 (init_cpu_features): Read and set zva_size.
23758 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23759 (struct cpu_features): New member zva_size.
23761 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23762 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23763 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23765 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23766 backwards. Fix timing computation.
23767 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23768 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23769 on memset by N at a time. Fix timing computation.
23771 2017-11-20 Florian Weimer <fweimer@redhat.com>
23773 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23774 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23776 2017-11-19 Florian Weimer <fweimer@redhat.com>
23778 manual: Document mprotect
23779 * manual/memory.texi (Memory Protection): New section.
23780 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23781 documentation of PROT_* flags and reference the Memory Protection
23784 2017-11-19 Florian Weimer <fweimer@redhat.com>
23786 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23787 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23788 (Scatter-Gather): ... to here. Remove misleading comment.
23790 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23792 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23795 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23796 when /proc/<pid>/setgroups does not exist.
23798 2017-11-18 Florian Weimer <fweimer@redhat.com>
23800 * sysdeps/unix/sysv/linux/tst-ttyname.c
23801 (become_root_in_mount_ns): Remove.
23802 (do_in_chroot_1): Call support_enter_mount_namespace.
23803 (do_in_chroot_2): Likewise.
23804 (do_test): Call support_become_root early.
23806 2017-11-18 Florian Weimer <fweimer@redhat.com>
23808 * support/namespace.h (support_enter_mount_namespace): Declare.
23809 * support/support_enter_mount_namespace.c: New file.
23810 * support/Makefile (libsupport-routines): Add
23811 support_enter_mount_namespace.
23813 2017-11-18 Florian Weimer <fweimer@redhat.com>
23815 * support/temp_file.c (support_create_temp_directory): Use
23816 test_dir and do not rely on the presence of the XXXXXX suffix.
23817 * support/temp_file.h (support_create_temp_directory): Update
23819 * support/tst-xreadlink.c (do_test): Adjust.
23820 * support/support_chroot.c (support_chroot_create): Likewise.
23822 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23824 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23829 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23831 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23832 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23833 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23834 (ceill): Define using libm_alias_ldouble.
23835 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23836 <libm-alias-ldouble.h>.
23837 (copysignl): Define using libm_alias_ldouble.
23838 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23839 (fabsl): Define using libm_alias_ldouble.
23840 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23841 (floorl): Define using libm_alias_ldouble.
23842 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23843 (fmaxl): Define using libm_alias_ldouble.
23844 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23845 (fminl): Define using libm_alias_ldouble.
23846 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23847 (llrintl): Define using libm_alias_ldouble.
23848 (lrintl): Likewise.
23849 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23850 <libm-alias-ldouble.h>.
23851 (nearbyintl): Define using libm_alias_ldouble.
23852 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23853 (truncl): Define using libm_alias_ldouble.
23854 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23855 <libm-alias-ldouble.h>.
23856 (lrintl): Define using libm_alias_ldouble.
23858 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23859 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23860 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23861 (asinhl): Define using libm_alias_ldouble.
23862 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23863 (atanl): Define using libm_alias_ldouble.
23864 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23865 (cbrtl): Define using libm_alias_ldouble.
23866 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23867 (ceill): Define using libm_alias_ldouble.
23868 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23869 (copysignl): Define using libm_alias_ldouble.
23870 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23871 (fabsl): Define using libm_alias_ldouble.
23872 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23873 (floorl): Define using libm_alias_ldouble.
23874 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23875 (fmaxl): Define using libm_alias_ldouble.
23876 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23877 (fminl): Define using libm_alias_ldouble.
23878 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23879 (frexpl): Define using libm_alias_ldouble.
23880 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23881 (llrintl): Define using libm_alias_ldouble.
23882 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23883 (logbl): Define using libm_alias_ldouble.
23884 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23885 (lrintl): Define using libm_alias_ldouble.
23886 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23887 (nearbyintl): Define using libm_alias_ldouble.
23888 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23889 (nextafterl): Define using libm_alias_ldouble.
23890 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23891 (remquol): Define using libm_alias_ldouble.
23892 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23893 (rintl): Define using libm_alias_ldouble.
23894 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23895 (truncl): Define using libm_alias_ldouble.
23896 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23897 (fmaxl): Define using libm_alias_ldouble.
23898 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23899 (fminl): Define using libm_alias_ldouble.
23901 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23902 to C syntax instead of availability and properties of types.
23903 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23904 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23905 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23906 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23907 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23908 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23910 2017-11-17 Florian Weimer <fweimer@redhat.com>
23912 support_become_root: Enable file creation in namespaces.
23913 * support/support_become_root.c (setup_mapping): New function.
23914 (support_become_root): Call it.
23916 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23918 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23921 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23923 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23924 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23926 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23928 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23930 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23933 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23935 * INSTALL: Fix botched up regeneration.
23937 * NEWS: Update sourceare link to https.
23938 * configure.ac: Likewise.
23939 * crypt/md5test-giant.c: Likewise.
23940 * dlfcn/bug-atexit1.c: Likewise.
23941 * dlfcn/bug-atexit2.c: Likewise.
23942 * localedata/README: Likewise.
23943 * malloc/tst-mallocfork.c: Likewise.
23944 * manual/install.texi: Likewise.
23945 * nptl/tst-pthread-getattr.c: Likewise.
23946 * stdio-common/tst-fgets.c: Likewise.
23947 * stdio-common/tst-fwrite.c: Likewise.
23948 * sunrpc/Makefile: Likewise.
23949 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23950 * wcsmbs/tst-mbrtowc2.c: Likewise.
23951 * configure: Regenerate.
23952 * INSTALL: Regenerate.
23954 2017-11-15 Martin Sebor <msebor@redhat.com>
23956 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23957 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23958 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23960 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23963 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23964 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23967 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23968 Defer is_pty check until end of the function.
23969 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23972 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23973 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23974 (ttyname): Likewise.
23975 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23976 (__ttyname_r): Likewise.
23978 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23981 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23983 * manual/terminal.texi (Is It a Terminal):
23984 Mention ENODEV for ttyname and ttyname_r.
23986 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23988 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23989 constant and macro.
23991 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23992 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23993 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23994 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23995 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23996 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23998 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24000 * signal/sigrelse.c (sigrelse): Optimize implementation.
24002 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24003 (__sigpause): Rely on __sigsuspend to implement single thread
24004 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24006 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24008 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24009 kernel version to 4.14.
24011 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24014 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24015 Check if ifname is too long.
24017 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24019 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24021 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24023 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24024 was accidentally lost.
24026 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24028 * localedata/locales/az_IR: Add standard copyright header.
24030 2017-11-15 Florian Weimer <fweimer@redhat.com>
24033 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24034 not just the top one. Output a new "subheaps" statistic.
24036 2017-11-15 Florian Weimer <fweimer@redhat.com>
24039 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24040 under the per-arena lock.
24041 * malloc/Makefile (tests): Add tst-malloc_info.
24042 (tst-malloc_info): Link with libpthread.
24043 * malloc/tst-malloc_info.c: New file.
24045 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24048 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24049 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24050 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24051 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24052 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24053 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24054 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24055 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24056 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24057 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24058 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24059 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24060 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24061 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24062 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24063 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24064 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24065 (__floating_type): Likewise.
24066 (__real_integer_type): Likewise.
24067 (__complex_integer_type): Likewise.
24068 (__expr_is_real): Likewise.
24069 (__tgmath_real_type_sub): Likewise.
24070 (__tgmath_real_type): Likewise.
24071 (__tgmath_complex_type_sub): Likewise.
24072 (__tgmath_complex_type): Likewise.
24073 (__TGMATH_F128): Likewise.
24074 (__TGMATH_CF128): Likewise.
24075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24082 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24083 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24084 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24085 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24087 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24088 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24090 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24091 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24092 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24094 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24095 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24096 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24100 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24102 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24103 for stpncpy calls for GCC 8.
24104 (test_strncat): Disable -Wstringop-truncation warning for strncat
24105 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24106 strncat call for GCC 7.
24107 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24109 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24112 * string/bug-strncat1.c: Include <libc-diag.h>.
24113 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24115 2017-11-13 Claude Paroz <claude@2xlibre.net>
24118 * localedata/locales/aa_DJ: Improved readibility by replacing
24119 <Uxxxx> sequences in the ASCII printable range by their ASCII
24120 character equivalents.
24121 * localedata/locales/aa_ER: Likewise.
24122 * localedata/locales/aa_ER@saaho: Likewise.
24123 * localedata/locales/aa_ET: Likewise.
24124 * localedata/locales/af_ZA: Likewise.
24125 * localedata/locales/agr_PE: Likewise.
24126 * localedata/locales/ak_GH: Likewise.
24127 * localedata/locales/am_ET: Likewise.
24128 * localedata/locales/anp_IN: Likewise.
24129 * localedata/locales/ar_AE: Likewise.
24130 * localedata/locales/ar_BH: Likewise.
24131 * localedata/locales/ar_DZ: Likewise.
24132 * localedata/locales/ar_EG: Likewise.
24133 * localedata/locales/ar_IN: Likewise.
24134 * localedata/locales/ar_IQ: Likewise.
24135 * localedata/locales/ar_JO: Likewise.
24136 * localedata/locales/ar_KW: Likewise.
24137 * localedata/locales/ar_LB: Likewise.
24138 * localedata/locales/ar_LY: Likewise.
24139 * localedata/locales/ar_MA: Likewise.
24140 * localedata/locales/ar_OM: Likewise.
24141 * localedata/locales/ar_QA: Likewise.
24142 * localedata/locales/ar_SA: Likewise.
24143 * localedata/locales/ar_SD: Likewise.
24144 * localedata/locales/ar_SS: Likewise.
24145 * localedata/locales/ar_SY: Likewise.
24146 * localedata/locales/ar_TN: Likewise.
24147 * localedata/locales/ar_YE: Likewise.
24148 * localedata/locales/as_IN: Likewise.
24149 * localedata/locales/ast_ES: Likewise.
24150 * localedata/locales/ayc_PE: Likewise.
24151 * localedata/locales/az_AZ: Likewise.
24152 * localedata/locales/az_IR: Likewise.
24153 * localedata/locales/be_BY: Likewise.
24154 * localedata/locales/be_BY@latin: Likewise.
24155 * localedata/locales/bem_ZM: Likewise.
24156 * localedata/locales/ber_DZ: Likewise.
24157 * localedata/locales/ber_MA: Likewise.
24158 * localedata/locales/bg_BG: Likewise.
24159 * localedata/locales/bhb_IN: Likewise.
24160 * localedata/locales/bho_IN: Likewise.
24161 * localedata/locales/bi_VU: Likewise.
24162 * localedata/locales/bn_BD: Likewise.
24163 * localedata/locales/bn_IN: Likewise.
24164 * localedata/locales/bo_CN: Likewise.
24165 * localedata/locales/bo_IN: Likewise.
24166 * localedata/locales/br_FR: Likewise.
24167 * localedata/locales/brx_IN: Likewise.
24168 * localedata/locales/bs_BA: Likewise.
24169 * localedata/locales/byn_ER: Likewise.
24170 * localedata/locales/ca_AD: Likewise.
24171 * localedata/locales/ca_ES: Likewise.
24172 * localedata/locales/ca_FR: Likewise.
24173 * localedata/locales/ca_IT: Likewise.
24174 * localedata/locales/ce_RU: Likewise.
24175 * localedata/locales/chr_US: Likewise.
24176 * localedata/locales/cmn_TW: Likewise.
24177 * localedata/locales/crh_UA: Likewise.
24178 * localedata/locales/cs_CZ: Likewise.
24179 * localedata/locales/csb_PL: Likewise.
24180 * localedata/locales/cv_RU: Likewise.
24181 * localedata/locales/cy_GB: Likewise.
24182 * localedata/locales/da_DK: Likewise.
24183 * localedata/locales/de_AT: Likewise.
24184 * localedata/locales/de_BE: Likewise.
24185 * localedata/locales/de_CH: Likewise.
24186 * localedata/locales/de_DE: Likewise.
24187 * localedata/locales/de_IT: Likewise.
24188 * localedata/locales/de_LI: Likewise.
24189 * localedata/locales/de_LU: Likewise.
24190 * localedata/locales/doi_IN: Likewise.
24191 * localedata/locales/dv_MV: Likewise.
24192 * localedata/locales/dz_BT: Likewise.
24193 * localedata/locales/el_CY: Likewise.
24194 * localedata/locales/el_GR: Likewise.
24195 * localedata/locales/en_AG: Likewise.
24196 * localedata/locales/en_AU: Likewise.
24197 * localedata/locales/en_BW: Likewise.
24198 * localedata/locales/en_CA: Likewise.
24199 * localedata/locales/en_DK: Likewise.
24200 * localedata/locales/en_GB: Likewise.
24201 * localedata/locales/en_HK: Likewise.
24202 * localedata/locales/en_IE: Likewise.
24203 * localedata/locales/en_IL: Likewise.
24204 * localedata/locales/en_IN: Likewise.
24205 * localedata/locales/en_NG: Likewise.
24206 * localedata/locales/en_NZ: Likewise.
24207 * localedata/locales/en_PH: Likewise.
24208 * localedata/locales/en_SG: Likewise.
24209 * localedata/locales/en_US: Likewise.
24210 * localedata/locales/en_ZA: Likewise.
24211 * localedata/locales/en_ZM: Likewise.
24212 * localedata/locales/en_ZW: Likewise.
24213 * localedata/locales/eo: Likewise.
24214 * localedata/locales/es_AR: Likewise.
24215 * localedata/locales/es_BO: Likewise.
24216 * localedata/locales/es_CL: Likewise.
24217 * localedata/locales/es_CO: Likewise.
24218 * localedata/locales/es_CR: Likewise.
24219 * localedata/locales/es_CU: Likewise.
24220 * localedata/locales/es_DO: Likewise.
24221 * localedata/locales/es_EC: Likewise.
24222 * localedata/locales/es_ES: Likewise.
24223 * localedata/locales/es_GT: Likewise.
24224 * localedata/locales/es_HN: Likewise.
24225 * localedata/locales/es_MX: Likewise.
24226 * localedata/locales/es_NI: Likewise.
24227 * localedata/locales/es_PA: Likewise.
24228 * localedata/locales/es_PE: Likewise.
24229 * localedata/locales/es_PR: Likewise.
24230 * localedata/locales/es_PY: Likewise.
24231 * localedata/locales/es_SV: Likewise.
24232 * localedata/locales/es_US: Likewise.
24233 * localedata/locales/es_UY: Likewise.
24234 * localedata/locales/es_VE: Likewise.
24235 * localedata/locales/et_EE: Likewise.
24236 * localedata/locales/eu_ES: Likewise.
24237 * localedata/locales/eu_ES@euro: Likewise.
24238 * localedata/locales/fa_IR: Likewise.
24239 * localedata/locales/ff_SN: Likewise.
24240 * localedata/locales/fi_FI: Likewise.
24241 * localedata/locales/fil_PH: Likewise.
24242 * localedata/locales/fo_FO: Likewise.
24243 * localedata/locales/fr_BE: Likewise.
24244 * localedata/locales/fr_CA: Likewise.
24245 * localedata/locales/fr_CH: Likewise.
24246 * localedata/locales/fr_FR: Likewise.
24247 * localedata/locales/fr_LU: Likewise.
24248 * localedata/locales/fur_IT: Likewise.
24249 * localedata/locales/fy_DE: Likewise.
24250 * localedata/locales/fy_NL: Likewise.
24251 * localedata/locales/ga_IE: Likewise.
24252 * localedata/locales/gd_GB: Likewise.
24253 * localedata/locales/gez_ER: Likewise.
24254 * localedata/locales/gez_ET: Likewise.
24255 * localedata/locales/gl_ES: Likewise.
24256 * localedata/locales/gu_IN: Likewise.
24257 * localedata/locales/gv_GB: Likewise.
24258 * localedata/locales/ha_NG: Likewise.
24259 * localedata/locales/hak_TW: Likewise.
24260 * localedata/locales/he_IL: Likewise.
24261 * localedata/locales/hi_IN: Likewise.
24262 * localedata/locales/hif_FJ: Likewise.
24263 * localedata/locales/hne_IN: Likewise.
24264 * localedata/locales/hr_HR: Likewise.
24265 * localedata/locales/hsb_DE: Likewise.
24266 * localedata/locales/ht_HT: Likewise.
24267 * localedata/locales/hu_HU: Likewise.
24268 * localedata/locales/hy_AM: Likewise.
24269 * localedata/locales/i18n: Likewise.
24270 * localedata/locales/ia_FR: Likewise.
24271 * localedata/locales/id_ID: Likewise.
24272 * localedata/locales/ig_NG: Likewise.
24273 * localedata/locales/ik_CA: Likewise.
24274 * localedata/locales/is_IS: Likewise.
24275 * localedata/locales/it_CH: Likewise.
24276 * localedata/locales/it_IT: Likewise.
24277 * localedata/locales/iu_CA: Likewise.
24278 * localedata/locales/ja_JP: Likewise.
24279 * localedata/locales/ka_GE: Likewise.
24280 * localedata/locales/kk_KZ: Likewise.
24281 * localedata/locales/kl_GL: Likewise.
24282 * localedata/locales/kn_IN: Likewise.
24283 * localedata/locales/ko_KR: Likewise.
24284 * localedata/locales/kok_IN: Likewise.
24285 * localedata/locales/ks_IN: Likewise.
24286 * localedata/locales/ks_IN@devanagari: Likewise.
24287 * localedata/locales/ku_TR: Likewise.
24288 * localedata/locales/kw_GB: Likewise.
24289 * localedata/locales/ky_KG: Likewise.
24290 * localedata/locales/lb_LU: Likewise.
24291 * localedata/locales/lg_UG: Likewise.
24292 * localedata/locales/li_BE: Likewise.
24293 * localedata/locales/li_NL: Likewise.
24294 * localedata/locales/lij_IT: Likewise.
24295 * localedata/locales/ln_CD: Likewise.
24296 * localedata/locales/lo_LA: Likewise.
24297 * localedata/locales/lt_LT: Likewise.
24298 * localedata/locales/lv_LV: Likewise.
24299 * localedata/locales/lzh_TW: Likewise.
24300 * localedata/locales/mag_IN: Likewise.
24301 * localedata/locales/mai_IN: Likewise.
24302 * localedata/locales/mg_MG: Likewise.
24303 * localedata/locales/mhr_RU: Likewise.
24304 * localedata/locales/mi_NZ: Likewise.
24305 * localedata/locales/mk_MK: Likewise.
24306 * localedata/locales/ml_IN: Likewise.
24307 * localedata/locales/mn_MN: Likewise.
24308 * localedata/locales/mni_IN: Likewise.
24309 * localedata/locales/mr_IN: Likewise.
24310 * localedata/locales/ms_MY: Likewise.
24311 * localedata/locales/mt_MT: Likewise.
24312 * localedata/locales/my_MM: Likewise.
24313 * localedata/locales/nan_TW: Likewise.
24314 * localedata/locales/nan_TW@latin: Likewise.
24315 * localedata/locales/nb_NO: Likewise.
24316 * localedata/locales/nds_DE: Likewise.
24317 * localedata/locales/nds_NL: Likewise.
24318 * localedata/locales/ne_NP: Likewise.
24319 * localedata/locales/nhn_MX: Likewise.
24320 * localedata/locales/niu_NU: Likewise.
24321 * localedata/locales/niu_NZ: Likewise.
24322 * localedata/locales/nl_AW: Likewise.
24323 * localedata/locales/nl_BE: Likewise.
24324 * localedata/locales/nl_NL: Likewise.
24325 * localedata/locales/nn_NO: Likewise.
24326 * localedata/locales/nr_ZA: Likewise.
24327 * localedata/locales/nso_ZA: Likewise.
24328 * localedata/locales/oc_FR: Likewise.
24329 * localedata/locales/om_ET: Likewise.
24330 * localedata/locales/om_KE: Likewise.
24331 * localedata/locales/or_IN: Likewise.
24332 * localedata/locales/os_RU: Likewise.
24333 * localedata/locales/pa_IN: Likewise.
24334 * localedata/locales/pa_PK: Likewise.
24335 * localedata/locales/pap_AW: Likewise.
24336 * localedata/locales/pap_CW: Likewise.
24337 * localedata/locales/pl_PL: Likewise.
24338 * localedata/locales/ps_AF: Likewise.
24339 * localedata/locales/pt_BR: Likewise.
24340 * localedata/locales/pt_PT: Likewise.
24341 * localedata/locales/quz_PE: Likewise.
24342 * localedata/locales/raj_IN: Likewise.
24343 * localedata/locales/ro_RO: Likewise.
24344 * localedata/locales/ru_RU: Likewise.
24345 * localedata/locales/ru_UA: Likewise.
24346 * localedata/locales/rw_RW: Likewise.
24347 * localedata/locales/sa_IN: Likewise.
24348 * localedata/locales/sat_IN: Likewise.
24349 * localedata/locales/sc_IT: Likewise.
24350 * localedata/locales/sd_IN: Likewise.
24351 * localedata/locales/sd_IN@devanagari: Likewise.
24352 * localedata/locales/se_NO: Likewise.
24353 * localedata/locales/sgs_LT: Likewise.
24354 * localedata/locales/shs_CA: Likewise.
24355 * localedata/locales/si_LK: Likewise.
24356 * localedata/locales/sid_ET: Likewise.
24357 * localedata/locales/sk_SK: Likewise.
24358 * localedata/locales/sl_SI: Likewise.
24359 * localedata/locales/sm_WS: Likewise.
24360 * localedata/locales/so_DJ: Likewise.
24361 * localedata/locales/so_ET: Likewise.
24362 * localedata/locales/so_KE: Likewise.
24363 * localedata/locales/so_SO: Likewise.
24364 * localedata/locales/sq_AL: Likewise.
24365 * localedata/locales/sq_MK: Likewise.
24366 * localedata/locales/sr_ME: Likewise.
24367 * localedata/locales/sr_RS: Likewise.
24368 * localedata/locales/sr_RS@latin: Likewise.
24369 * localedata/locales/ss_ZA: Likewise.
24370 * localedata/locales/st_ZA: Likewise.
24371 * localedata/locales/sv_FI: Likewise.
24372 * localedata/locales/sv_SE: Likewise.
24373 * localedata/locales/sw_KE: Likewise.
24374 * localedata/locales/sw_TZ: Likewise.
24375 * localedata/locales/szl_PL: Likewise.
24376 * localedata/locales/ta_IN: Likewise.
24377 * localedata/locales/ta_LK: Likewise.
24378 * localedata/locales/tcy_IN: Likewise.
24379 * localedata/locales/te_IN: Likewise.
24380 * localedata/locales/tg_TJ: Likewise.
24381 * localedata/locales/th_TH: Likewise.
24382 * localedata/locales/the_NP: Likewise.
24383 * localedata/locales/ti_ER: Likewise.
24384 * localedata/locales/ti_ET: Likewise.
24385 * localedata/locales/tig_ER: Likewise.
24386 * localedata/locales/tk_TM: Likewise.
24387 * localedata/locales/tl_PH: Likewise.
24388 * localedata/locales/tn_ZA: Likewise.
24389 * localedata/locales/to_TO: Likewise.
24390 * localedata/locales/tpi_PG: Likewise.
24391 * localedata/locales/tr_CY: Likewise.
24392 * localedata/locales/tr_TR: Likewise.
24393 * localedata/locales/ts_ZA: Likewise.
24394 * localedata/locales/tt_RU: Likewise.
24395 * localedata/locales/tt_RU@iqtelif: Likewise.
24396 * localedata/locales/ug_CN: Likewise.
24397 * localedata/locales/uk_UA: Likewise.
24398 * localedata/locales/unm_US: Likewise.
24399 * localedata/locales/ur_IN: Likewise.
24400 * localedata/locales/ur_PK: Likewise.
24401 * localedata/locales/uz_UZ: Likewise.
24402 * localedata/locales/uz_UZ@cyrillic: Likewise.
24403 * localedata/locales/ve_ZA: Likewise.
24404 * localedata/locales/vi_VN: Likewise.
24405 * localedata/locales/wa_BE: Likewise.
24406 * localedata/locales/wae_CH: Likewise.
24407 * localedata/locales/wal_ET: Likewise.
24408 * localedata/locales/wo_SN: Likewise.
24409 * localedata/locales/xh_ZA: Likewise.
24410 * localedata/locales/yi_US: Likewise.
24411 * localedata/locales/yo_NG: Likewise.
24412 * localedata/locales/yue_HK: Likewise.
24413 * localedata/locales/yuw_PG: Likewise.
24414 * localedata/locales/zh_CN: Likewise.
24415 * localedata/locales/zh_HK: Likewise.
24416 * localedata/locales/zh_SG: Likewise.
24417 * localedata/locales/zh_TW: Likewise.
24418 * localedata/locales/zu_ZA: Likewise.
24420 2017-11-13 Florian Weimer <fweimer@redhat.com>
24422 * support/next_to_fault.h, support/next_to_fault.c: New files.
24423 * support/Makefile (libsupport-routines): Add next_to_fault.
24424 * resolv/tst-inet_pton.c (struct next_to_fault)
24425 (next_to_fault_allocate, next_to_fault_free): Remove.
24426 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24428 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24430 * elf/dl-support.c: Include <dl-procruntime.c>.
24431 * include/link.h: Include <link_map.h>.
24432 * sysdeps/generic/dl-procruntime.c: New file.
24433 * sysdeps/generic/link_map.h: Likewise.
24434 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24435 the writable ld.so namespace.
24437 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24439 timezone: pacify GCC -Wstringop-truncation
24440 Problem reported by Martin Sebor in:
24441 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24442 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24444 2017-11-12 Florian Weimer <fweimer@redhat.com>
24446 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24448 (tests): Add tst-xreadlink.
24449 * support/support.h (xstrndup): Declare.
24450 * support/xunistd.h (xunlink, xreadlink): Declare.
24451 * support/temp_file.h (support_create_temp_directory): Declare.
24452 * support/temp_file.c (support_create_temp_directory): New function.
24453 * support/support_chroot.c (support_chroot_create): Use it.
24454 * support/xreadlink.c: New file.
24455 * support/xstrndup.c: Likewise.
24456 * support/xunlink.c: Likewise.
24457 * support/tst-xreadlink.c: Likewise.
24459 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24461 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24463 2017-11-11 Florian Weimer <fweimer@redhat.com>
24467 * resolv/res_comp.c (printable_string, binary_hnok)
24468 (binary_leading_dash): New functions.
24469 (res_hnok): Reimplement using these functions and ns_name_pton.
24470 (res_ownok): Likewise.
24471 (res_mailok): Reimplement using printable_string, ns_name_pton and
24473 (res_dnok): Reimplement using printable_string and ns_name_pton.
24474 * resolv/tst-res_hnok.c (tests): Add additional tests.
24475 (LETTERDIGITS, PRINTABLE): Define.
24476 (do_test): Adjust one_char results.
24478 2017-11-11 Florian Weimer <fweimer@redhat.com>
24481 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24482 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24484 2017-11-11 Florian Weimer <fweimer@redhat.com>
24486 * resolv/tst-ns_name_pton.c: New file.
24487 * resolv/Makefile (tests): Add tst-ns_name_pton.
24488 (tst-ns_name_pton): Link against libresolv.
24490 2017-11-11 Florian Weimer <fweimer@redhat.com>
24492 * resolv/tst-res_hnok.c: New file.
24493 * resolv/Makefile (tests): Add tst-res_hnok.
24494 (tst-res_hnok): Link against libresolv.
24496 2017-11-11 Florian Weimer <fweimer@redhat.com>
24498 * resolv/tst-resolv-network.c: Use test framework instead explicit
24501 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24503 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24504 <jmp_buf-macros.h>.
24505 [!_ISOMAC] (STR_HELPER): New.
24506 [!_ISOMAC] (STR): Likewise.
24507 [!_ISOMAC] (TEST_SIZE): Likewise.
24508 [!_ISOMAC] (TEST_ALIGN): Likewise.
24509 [!_ISOMAC] (TEST_OFFSET): Likewise.
24510 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24511 field offsets of jmp_buf as well as sigjmp_buf.
24512 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24513 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24514 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24515 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24516 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24517 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24518 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24519 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24520 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24521 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24523 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24525 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24530 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24531 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24532 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24533 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24534 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24539 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24540 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24541 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24543 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24547 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24549 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24551 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24553 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24555 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24557 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24559 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24560 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24561 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24562 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24563 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24565 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24567 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24569 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24571 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24573 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24575 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24577 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24579 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24581 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24583 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24585 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24587 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24589 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24591 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24593 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24595 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24597 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24599 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24601 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24603 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24605 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24607 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24609 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24611 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24613 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24615 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24617 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24619 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24621 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24623 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24625 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24627 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24629 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24631 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24633 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24635 * stdlib/tst-strtod.h (F16): New macro.
24641 (IF_FLOAT16): Likewise.
24642 (IF_FLOAT32): Likewise.
24643 (IF_FLOAT64): Likewise.
24644 (IF_FLOAT32X): Likewise.
24645 (IF_FLOAT64X): Likewise.
24646 (IF_FLOAT128X): Likewise.
24647 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24648 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24649 (STRTOD_TEST_FOREACH): Likewise.
24650 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24651 (CHOOSE_f64): Likewise.
24652 (CHOOSE_f32x): Likewise.
24653 (CHOOSE_f64x): Likewise.
24655 2017-11-07 Andreas Schwab <schwab@suse.de>
24657 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24659 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24662 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24664 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24667 2017-11-07 Claude Paroz <claude@2xlibre.net>
24670 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24672 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24674 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24677 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24680 * nptl/allocatestack.c (allocate_stack): Check if
24681 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24682 __PTHREAD_MUTEX_HAVE_PREV is defined.
24683 * nptl/descr.h (pthread): Likewise.
24684 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24686 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24687 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24688 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24689 * sysdeps/nptl/bits/thread-shared-types.h
24690 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24692 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24693 of __WORDSIZE for internal layout.
24694 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24695 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24696 instead of __WORDSIZE whether to use an union for __spins and __list
24698 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24700 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24701 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24703 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24704 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24706 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24707 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24709 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24710 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24712 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24713 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24715 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24716 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24718 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24719 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24721 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24724 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24725 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24727 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24728 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24730 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24731 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24733 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24736 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24739 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24740 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24742 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24743 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24746 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24748 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24749 checks for expected input type size.
24750 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24751 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24753 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24754 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24755 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24756 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24757 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24758 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24759 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24760 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24761 superflous runtime assert check.
24762 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24764 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24766 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24768 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24770 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24772 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24774 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24775 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24776 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24778 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24780 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24782 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24784 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24786 * nptl/pthread_attr_setinheritsched.c
24787 (__pthread_attr_setinheritsched): Likewise.
24788 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24790 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24792 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24793 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24794 __old_pthread_attr_setstack): Likewise.
24795 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24797 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24799 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24801 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24802 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24804 * nptl/tst-typesizes.c: Remove file.
24806 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24807 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24808 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24809 checks for internal pthread_mutex_t offsets.
24810 * sysdeps/aarch64/nptl/pthread-offsets.h
24811 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24812 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24813 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24814 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24815 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24816 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24817 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24818 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24819 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24820 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24821 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24822 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24823 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24824 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24825 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24826 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24827 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24828 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24830 2017-11-07 Florian Weimer <fweimer@redhat.com>
24832 * bits/mman-linux.h: Move ...
24833 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24835 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24838 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24840 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24841 Redefine STRNLEN as __strnlen_power8.
24843 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24845 * signal/sighold.c (sighold): Optimize implementation.
24847 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24848 __NR_rt_sigqueueinfo.
24850 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24852 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24853 assume __NR_rt_sigtimedwait.
24854 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24855 and add LIBC_CANCEL_HANDLED for cancellation marking.
24856 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24858 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24859 (sysdeps_routines): Add memchr_noneon.
24860 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24861 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24862 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24863 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24864 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24865 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24866 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24868 * sysdeps/arm/arm-ifunc.h: New file.
24869 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24870 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24871 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24872 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24873 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24874 (__memcpy_neon): Avoid create hidden alias.
24875 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24876 (__memcpy_vfp): Likewise.
24877 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24878 (sysdep_routines): Add memcpy_arm.
24879 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24881 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24884 * Makerules (make-link-multidir): New.
24885 * config.make.in (multidir): New.
24886 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24887 * configure: Regenerated.
24888 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24889 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24890 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24893 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24896 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24897 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24899 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24901 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24904 2017-11-04 Florian Weimer <fweimer@redhat.com>
24906 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24908 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24910 * math/math.h [__HAVE_DISTINCT_FLOAT16
24911 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24912 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24913 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24914 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24915 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24916 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24917 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24918 (__MATH_TG_F32): New macro.
24919 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24920 (__MATH_TG_F64X): Likewise.
24921 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24922 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24924 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24926 * po/de.po: Update translations.
24927 * po/ru.po: Likewise.
24929 2017-11-03 Florian Weimer <fweimer@redhat.com>
24931 * manual/filesys.texi (Hard Links): Document linkat.
24933 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24935 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24936 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24937 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24938 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24939 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24940 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24941 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24942 the same as _Float128.
24943 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24944 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24945 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24948 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24950 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24952 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24954 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24955 (strtof32x): Likewise.
24956 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24957 (strtof64x): Likewise.
24958 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24959 (strtof128x): Likewise.
24960 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24961 (strfromf16): Likewise.
24962 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24963 (strfromf32): Likewise.
24964 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24965 (strfromf64): Likewise.
24966 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24967 (strfromf32x): Likewise.
24968 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24969 (strfromf64x): Likewise.
24970 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24971 (strfromf128x): Likewise.
24972 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24973 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24974 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24975 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24976 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24977 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24979 2017-11-03 Richard Henderson <rth@twiddle.net>
24981 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24983 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24985 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24987 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24989 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24990 DT_TLSDESC_GOT initialization.
24991 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24992 (_dl_tlsdesc_resolve_hold): Likewise.
24993 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24994 (_dl_tlsdesc_resolve_hold): Likewise.
24995 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24996 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24998 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25000 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25002 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25005 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25006 non-lazily for R_ARM_TLS_DESC.
25008 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25011 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25012 R_ARM_TLS_DESC case.
25013 (elf_machine_lazy_rel): Remove the prelink check.
25015 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25017 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25018 DT_TLSDESC_GOT initialization.
25019 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25020 (_dl_tlsdesc_resolve_rela): Likewise.
25021 (_dl_tlsdesc_resolve_hold): Likewise.
25022 (_dl_tlsdesc_undefweak): Remove ldar.
25023 (_dl_tlsdesc_dynamic): Likewise.
25024 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25025 (_dl_tlsdesc_resolve_rela): Likewise.
25026 (_dl_tlsdesc_resolve_hold): Likewise.
25027 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25028 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25029 (_dl_tlsdesc_resolve_rela): Likewise.
25030 (_dl_tlsdesc_resolve_hold): Likewise.
25032 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25034 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25035 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25037 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25039 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25040 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25042 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25044 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25046 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25047 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25048 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25049 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25050 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25051 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25052 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25053 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25054 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25055 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25056 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25058 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25061 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25062 * localedata/locales/tpi_PG: Add standard header.
25064 2017-11-02 Florian Weimer <fweimer@redhat.com>
25066 test-errno-linux: quotactl can fail with EPERM in containers.
25067 * sysdeps/unix/sysv/linux/test-errno-linux.c
25068 (LIST, LIST_FORWARD): New macros.
25069 (check_error_in_list): New function.
25070 (test_wrp_rv): Accept list of permitted error codes.
25071 (test_wrp_rv2): Remove.
25072 (test_wrp): Call test_wrp_rv with list of error codes.
25073 (test_wrp2): Accept list of error codes.
25074 (do_test): Adjust. Allow EPERM for quotactl.
25076 2017-11-02 Florian Weimer <fweimer@redhat.com>
25078 * stdio-common/bug16.c (do_test): Use array_length.
25079 * stdio-common/errlist.c (_sys_nerr): Likewise.
25080 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25081 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25082 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25083 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25084 (do_test): Use array_length.
25085 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25086 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25087 * stdio-common/tst-printf-round.c (do_test): Likewise.
25088 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25089 (CHECK): Use array_length.
25090 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25091 * stdio-common/tstscanf.c (main): Likewise.
25092 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25094 2017-11-02 Florian Weimer <fweimer@redhat.com>
25096 Add array_length and array_end macros.
25097 * include/array_length.h: New file.
25099 2017-11-02 Florian Weimer <fweimer@redhat.com>
25102 * posix/tst-glob-tilde.c (do_noescape): New variable.
25103 (one_test): Process it.
25104 (do_test): Set do_noescape. Add unescaping test case.
25106 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25109 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25110 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25111 with appropriate macros defined and undefined.
25112 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25113 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25114 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25115 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25116 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25117 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25118 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25119 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25120 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25121 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25124 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25125 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25126 that for long double. Do not condition define and undefine of
25127 _Mdouble_complex_ on [__CFLOAT128].
25129 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25131 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25132 of <sysdeps/generic/sysdep.h>.
25133 (ALIGNARG): Removed.
25134 (ASM_SIZE_DIRECTIVE): Likewise.
25137 (ENTRY_CHK): Likewise.
25138 (END_CHK): Likewise.
25139 (syscall_error): Likewise.
25140 (mcount): Likewise.
25141 (PSEUDO_END): Likewise.
25143 (atom_text_section): Likewise.
25144 * sysdeps/x86/sysdep.h: New file.
25145 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25146 of <sysdeps/generic/sysdep.h>.
25147 (ALIGNARG): Removed.
25148 (ASM_SIZE_DIRECTIVE): Likewise.
25151 (ENTRY_CHK): Likewise.
25152 (END_CHK): Likewise.
25153 (syscall_error): Likewise.
25154 (mcount): Likewise.
25155 (PSEUDO_END): Likewise.
25157 (atom_text_section): Likewise.
25159 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25161 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25162 category of LC_CTYPE set to "i18n:2012".
25163 * localedata/locales/i18n_ctype: Regenerate.
25165 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25167 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25168 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25169 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25170 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25172 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25173 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25175 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25177 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25180 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25182 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25184 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25186 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25187 (CMPLXF32X): Likewise.
25188 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25189 (CMPLXF64X): Likewise.
25190 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25191 (CMPLXF128X): Likewise.
25194 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25195 (__MATH_EVAL_FMT2): Define to add 0.0f.
25197 2017-10-31 Alan Modra <amodra@gmail.com>
25199 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25215 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25216 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25217 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25218 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25219 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25226 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25227 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25228 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25229 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25230 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25231 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25232 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25233 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25234 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25236 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25237 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25238 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25239 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25240 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25241 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25242 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25243 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25244 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25245 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25246 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25247 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25248 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25250 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25251 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25252 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25253 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25254 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25255 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25256 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25257 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25258 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25259 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25260 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25261 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25262 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25263 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25264 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25265 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25266 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25267 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25268 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25269 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25272 include sysdep.h and math_ldbl_opt.h.
25274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25275 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25301 2017-10-31 Alan Modra <amodra@gmail.com>
25303 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25304 string/strncase_l.c, not string/strncase.c.
25305 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25306 (libc_hidden_def): Redefine.
25308 2017-10-31 Alan Modra <amodra@gmail.com>
25310 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25311 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25312 (__strcasecmp): Don't define.
25314 2017-10-31 Alan Modra <amodra@gmail.com>
25316 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25318 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25322 2017-10-31 Alan Modra <amodra@gmail.com>
25324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25327 2017-10-31 Alan Modra <amodra@gmail.com>
25329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25330 Redefine only when SHARED.
25332 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25334 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25335 Include <bits/math-finite.h> with appropriate macros defined and
25337 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25338 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25339 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25340 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25341 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25343 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25344 [!_Mlong_double_] (_Mlong_double_): Likewise.
25345 [!_Mfloat16_] (_Mfloat16_): Likewise.
25346 [!_Mfloat32_] (_Mfloat32_): Likewise.
25347 [!_Mfloat64_] (_Mfloat64_): Likewise.
25348 [!_Mfloat128_] (_Mfloat128_): Likewise.
25349 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25350 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25351 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25352 (_Mdouble_): Define without indirection through those macros.
25353 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25354 [!_Mfloat128_] (_Mfloat128_): Likewise.
25355 [_Mlong_double_] (_Mlong_double_): Likewise.
25356 (_Mdouble_): Define without indirection through those macros.
25357 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25358 not add -D_Mlong_double_=double.
25359 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25360 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25362 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25364 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25366 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25368 * sysdeps/x86/libc-start.c: Reformat.
25370 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25373 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25374 (1): Renamed to ...
25377 (L(Src2)): Likewise.
25378 (L(1)): Renamed to ...
25381 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25383 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25384 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25385 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25386 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25387 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25388 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25389 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25390 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25391 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25392 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25393 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25394 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25395 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25396 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25397 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25398 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25399 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25400 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25401 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25402 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25403 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25404 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25405 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25406 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25407 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25408 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25409 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25410 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25411 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25412 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25413 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25414 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25415 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25416 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25417 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25418 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25419 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25420 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25421 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25422 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25423 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25424 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25425 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25426 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25427 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25428 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25429 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25430 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25431 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25432 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25433 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25434 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25435 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25436 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25437 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25438 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25439 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25440 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25441 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25442 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25443 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25444 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25445 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25446 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25447 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25448 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25450 2017-10-30 Florian Weimer <fweimer@redhat.com>
25452 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25454 * io/tst-mkdirat.c (do_test): Likewise.
25455 * io/tst-mkfifoat.c (do_test): Likewise.
25456 * io/tst-mknodat.c (do_test): Likewise.
25457 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25458 * locale/programs/locale.c (select_dirs): Likewise.
25459 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25460 * posix/bug-glob2.c (my_readdir): Likewise.
25461 * posix/tst-dir.c (main): Likewise.
25462 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25463 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25465 2017-10-30 Florian Weimer <fweimer@redhat.com>
25467 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25470 2017-10-30 Florian Weimer <fweimer@redhat.com>
25472 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25473 Convert to support/test-driver.c.
25474 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25475 New macro parameters.
25476 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25477 * posix/tst-gnuglob.c: New file.
25478 * posix/tst-gnuglob64.c: Likewise.
25479 * posix/Makefile (tests): Add tst-gnuglob64.
25481 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25484 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25485 and use a better translation for March in “mon”.
25486 * localedata/locales/csb_PL: Use more ASCII to improve the
25487 readability of the source.
25489 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25492 * localedata/locales/km_KH: Use ASCII as much
25493 as possible for better readability of the source and
25494 remove useless comments.
25495 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25496 was commented out and apparently wrong anyway because it was
25497 using Lao characters. If Buddhist era should be used
25498 for km_KH, a native speaker should write the correct formaat
25500 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25501 (According to CLDR, the first weekday for Cambodia is Sunday).
25502 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25503 (These were using Lao characters which must be wrong. If we get
25504 the correct data from a native speaker, we could add it back, until
25505 then it is better not to have name_mr and name_mrs at all than
25508 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25510 * locale/loadlocale.c: Correct size of
25511 _nl_value_type_LC_<category> arrays.
25513 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25515 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25516 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25517 with appropriate macros defined and undefined.
25518 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25519 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25520 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25521 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25522 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25524 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25526 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25529 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25531 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25532 with lowercase letters to make it agree with CLDR.
25534 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25537 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25538 first letters of yesstr and nostr in yesexpr and noexpr,
25539 not for the full words.
25540 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25541 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25542 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25543 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25544 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25545 first letters of yesstr and nostr in yesexpr and noexpr,
25546 until now only English was matched in yesexpr and noexpr.
25547 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25548 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25549 fil but not for tl. As tl and fil are very similar, using fil
25550 is probably better than using English.
25552 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25555 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25556 in yesstr and nostr.
25558 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25560 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25561 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25562 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25564 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25566 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25568 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25570 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25571 (SNANF128X): Likewise.
25573 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25574 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25575 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25576 (HUGE_VAL_F32): Likewise.
25577 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25578 (HUGE_VAL_F64): Likewise.
25579 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25580 (HUGE_VAL_F32X): Likewise.
25581 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25582 (HUGE_VAL_F64X): Likewise.
25583 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25584 (HUGE_VAL_F128X): Likewise.
25586 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25588 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25589 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25590 for the br_FR locale.
25592 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25595 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25597 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25599 * locale/programs/record-status.h: Define globals, and function
25600 prototypes. Move function bodies...
25601 * locale/programs/record-status.c: ... to here. New file.
25602 * iconv/Makefile (iconv_prog-modules): Add record-status.
25603 * locale/Makefile (lib-modules): Likewise.
25604 * iconv/iconv_prog.c: Remove verbose.
25605 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25606 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25607 record a warning about ASCII compatibility.
25608 * locale/programs/ld-monetary.c (monetary_finish): If
25609 warn_int_curr_symbol is true then record a warning about the symbol
25610 not being in our ISO 4217 list.
25611 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25612 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25613 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25614 (OPT_NO_WARN): Define.
25615 (OPT_WARN): Define.
25616 (options): Add entry for --no-warnings, and --warnings.
25617 (set_warnings): New function to enable/disable warnings.
25618 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25619 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25620 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25621 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25622 Pass flags to generate_locale.
25623 (generate_locale): Accept new flag argument and pass it to localedef
25625 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25626 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25628 * localedata/Makefile (test-input-data): Use full file name.
25629 * localedata/da_DK.in: Rename to...
25630 * localedata/da_DK.ISO-8859-1.in: ...this.
25631 * localedata/de_DE.in: Rename to...
25632 * localedata/de_DE.ISO-8859-1.in: ...this.
25633 * localedata/en_US.in: Rename to...
25634 * localedata/en_US.ISO-8859-1.in: ...this.
25635 * localedata/fr_FR.in: Rename to...
25636 * localedata/fr_FR.UTF-8.in: ... this.
25637 * localedata/hr_HR.in: Rename to...
25638 * localedata/hr_HR.ISO-8859-2.in: ...this.
25639 * localedata/hu_HU.in: Rename to...
25640 * localedata/hu_HU.UTF-8.in: ...this.
25641 * localedata/si_LK.in: Rename to...
25642 * localedata/si_LK.UTF-8.in: ...this.
25643 * localedata/sv_SE.in: Rename to...
25644 * localedata/sv_SE.ISO-8859-1.in: ...this.
25645 * localedata/tr_TR.in: Rename to...
25646 * localedata/tr_TR.UTF-8.in: ...this.
25647 * localedata/uk_UA.in: Rename to...
25648 * localedata/uk_UA.UTF-8.in: ...this.
25649 * localedata/sort-test.sh: Test file is locale name with the
25652 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25653 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25655 * localedata/locales/i18n_ctype: Regenerate.
25656 * localedata/locales/tr_TR: Likewise.
25657 * localedata/locales/translit_circle: Likewise.
25658 * localedata/locales/translit_cjk_compat: Likewise.
25659 * localedata/locales/translit_combining: Likewise.
25660 * localedata/locales/translit_compat: Likewise.
25661 * localedata/locales/translit_font: Likewise.
25662 * localedata/locales/translit_fraction: Likewise.
25664 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25666 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25667 lxvd2x/stxvd2x with lvx/stvx.
25668 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25670 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25672 * include/alloc_buffer.h: Replace "if if " with "if " in
25674 * sysdeps/mips/memcpy.S: Likkewise.
25675 * sysdeps/mips/memset.S: Likewise.
25676 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25678 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25680 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25683 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25686 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25687 yesexpr and noexpr.
25688 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25689 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25690 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25691 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25692 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25693 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25694 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25696 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25698 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25699 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25700 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25701 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25702 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25703 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25704 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25705 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25706 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25707 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25708 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25709 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25711 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25713 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25714 as possible for better readability of the source.
25715 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25716 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25717 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25718 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25719 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25720 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25721 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25722 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25723 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25724 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25725 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25726 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25727 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25728 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25729 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25730 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25731 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25732 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25733 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25734 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25735 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25736 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25737 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25738 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25739 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25740 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25741 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25742 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25743 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25744 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25745 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25746 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25747 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25748 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25749 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25750 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25751 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25752 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25753 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25754 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25755 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25756 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25757 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25758 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25759 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25760 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25761 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25762 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25763 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25764 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25765 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25766 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25767 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25768 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25769 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25770 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25771 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25772 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25773 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25774 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25775 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25776 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25777 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25778 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25779 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25780 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25781 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25782 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25783 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25784 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25785 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25786 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25787 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25788 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25789 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25790 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25791 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25792 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25793 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25794 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25795 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25796 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25797 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25798 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25799 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25800 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25801 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25802 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25803 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25804 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25805 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25806 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25807 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25808 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25809 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25810 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25811 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25812 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25813 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25814 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25815 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25816 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25817 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25818 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25819 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25820 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25821 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25822 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25823 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25824 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25825 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25826 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25827 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25828 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25829 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25830 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25831 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25832 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25833 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25834 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25835 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25836 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25837 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25838 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25839 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25840 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25841 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25842 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25843 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25844 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25845 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25846 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25847 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25848 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25849 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25850 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25851 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25852 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25853 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25854 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25855 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25856 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25857 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25858 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25859 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25860 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25861 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25862 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25863 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25864 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25865 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25866 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25867 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25868 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25869 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25870 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25871 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25872 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25873 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25874 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25875 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25876 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25877 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25878 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25879 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25880 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25881 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25882 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25883 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25884 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25885 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25886 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25887 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25888 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25890 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25892 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25893 (Use first letters of yesstr and nostr correctly instead of using
25896 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25898 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25899 (Use first letters of yesstr and nostr correctly).
25901 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25903 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25904 also check for the first characters of yesstr and nostr.
25905 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25906 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25908 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25910 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25911 also check for Chinese characters.
25913 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25915 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25916 match also for the contents of yesstr and nostr. As the first letter
25917 of yesstr and nostr is equal, checking only for the first letter
25920 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25922 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25923 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25925 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25927 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25928 of main contributor.
25930 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25932 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25933 instead of using English.
25935 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25937 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25938 by including the first letters of nostr and yesexpr in the regexp.
25939 Also make it more readable by using ASCII where possible.
25941 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25943 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25944 the first letter of nostr in the regexp. It agrees with CLDR now.
25945 Also make it more readable by using ASCII where possible.
25947 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25949 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25950 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25951 these strings contain a U+17D6 (which somewhat looks like a colon)
25952 instead of a real colon to separate the full words for “yes”
25953 and “no” from the single letter responses.
25955 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25957 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25958 it agree with CLDR (include the first letter of yesstr).
25959 Also make it more readable by using ASCII where possible.
25961 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25963 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25964 and improve yesexpr and noexpr. The yesstr and nostr apparently
25965 came from CLDR. And CLDR has a bug there: these strings contain
25966 a U+0903 (which looks like a colon) instead of a real colon
25967 to separate the full words for “yes” and “no” from the single
25970 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25972 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25973 letters of the full yesstr and nostr in yesexpr and noexpr.
25975 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25977 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25978 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25979 * localedata/locales/an_ES: Make source more readable by using ASCII
25982 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25985 * localedata/locales/yuw_PG: New file.
25986 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25987 * locale/iso-639.def: Add Yau (Uruwa).
25989 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25991 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25993 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25995 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25996 (__libc_realloc): Likewise.
25997 (_mid_memalign): Likewise.
25998 (__libc_calloc): Likewise.
26000 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26002 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26003 by adding the generic +1 and -0 as in all other locales.
26004 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26005 day names and make it more readable by using ASCII where possible.
26007 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26009 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26010 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26012 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26014 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26015 WNOHANG in waitpid call.
26017 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26019 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26020 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26022 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26023 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26024 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26025 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26026 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26027 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26028 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26029 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26032 2017-10-23 Michael Collison <michael.collison@arm.com>
26034 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26035 with __builtin_sqrt.
26036 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26037 with __builtin_sqrtf.
26038 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26039 with __builtin_ceil.
26040 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26041 with __builtin_ceilf.
26042 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26043 with __builtin_floor.
26044 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26045 with __builtin_floorf.
26046 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26047 with __builtin_fma.
26048 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26049 with __builtin_fmaf.
26050 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26051 with __builtin_fmax.
26052 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26053 with __builtin_fmaxf.
26054 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26055 with __builtin_fmin.
26056 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26057 with __builtin_fminf.
26058 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26059 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26060 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26061 with builtin_rint and conversion to int.
26062 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26063 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26064 with builtin_llround.
26065 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26066 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26067 with builtin_rint and conversion to long int.
26068 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26069 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26070 with builtin_lround.
26071 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26072 with builtin_lroundf.
26073 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26074 statements with __builtin_nearbyint.
26075 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26076 statements with __builtin_nearbyintf.
26077 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26078 with __builtin_rint.
26079 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26080 with __builtin_rintf.
26081 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26082 with __builtin_round.
26083 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26084 with __builtin_roundf.
26085 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26086 with __builtin_trunc.
26087 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26088 with __builtin_truncf.
26089 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26090 and s_l[l]round[f].c too.
26092 2017-10-23 Alan Modra <amodra@gmail.com>
26094 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26095 Adjust stack after restoring regs. Add missing LR cfi_restore.
26097 2017-10-23 Alan Modra <amodra@gmail.com>
26099 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26100 Move LR save and frame setup/teardown and LR restore to
26101 immediately around memset call. Provide cfi.
26103 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26105 * sysdeps/i386/fpu/e_powf.S: Removed.
26106 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26107 * sysdeps/i386/fpu/w_powf.c: Likewise.
26108 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26109 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26110 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26112 (CFLAGS-e_powf-sse2.c): New.
26113 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26114 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26116 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26118 * sysdeps/i386/fpu/e_log2f.S: Removed.
26119 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26120 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26121 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26122 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26123 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26125 (CFLAGS-e_log2f-sse2.c): New.
26126 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26127 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26129 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26131 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26133 (CFLAGS-e_powf-fma.c): New.
26134 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26135 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26137 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26139 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26141 (CFLAGS-e_log2f-fma.c): New.
26142 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26143 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26145 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26147 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26149 (CFLAGS-e_logf-fma.c): New.
26150 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26151 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26153 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26155 * sysdeps/i386/fpu/e_logf.S: Removed.
26156 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26157 * sysdeps/i386/fpu/w_logf.c: Likewise.
26158 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26159 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26160 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26161 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26163 (CFLAGS-e_logf-sse2.c): New.
26164 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26165 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26167 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26169 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26170 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26171 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26172 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26173 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26175 (CFLAGS-e_exp2f-sse2.c): New.
26176 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26177 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26179 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26181 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26183 (CFLAGS-e_exp2f-fma.c): New.
26184 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26185 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26187 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26189 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26190 * sysdeps/i386/fpu/e_expf.S: Likewise.
26191 * sysdeps/i386/fpu/math_errf.c: Likewise.
26192 * sysdeps/i386/fpu/w_expf.c: Likewise.
26193 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26194 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26195 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26196 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26197 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26198 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26199 Remove e_expf-ia32.
26200 (CFLAGS-e_expf-sse2.c): New.
26201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26202 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26204 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26206 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26207 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26208 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26209 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26211 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26213 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26214 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26216 (__redirect_expf): This.
26217 (SYMBOL_NAME): Changed to expf.
26218 (__ieee754_expf): Renamed to ...
26220 (__GI___expf): This.
26221 (__ieee754_expf): Add strong_alias.
26222 (__expf_finite): Likewise.
26224 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26226 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26229 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26232 2017-10-21 Florian Weimer <fweimer@redhat.com>
26234 * posix/Makefile (tests): Add tst-glob-tilde.
26235 (tests-special): Add tst-glob-tilde-mem.out
26236 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26237 (tst-glob-tilde-mem.out): Add mtrace check.
26238 * posix/tst-glob-tilde.c: New file.
26240 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26242 * bits/floatn-common.h: New file.
26243 * math/Makefile (headers): Add bits/floatn-common.h.
26244 * bits/floatn.h: Include <bits/floatn-common.h>.
26245 * sysdeps/ia64/bits/floatn.h: Likewise.
26246 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26247 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26248 * sysdeps/powerpc/bits/floatn.h: Likewise.
26249 * sysdeps/x86/bits/floatn.h: Likewise.
26251 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26253 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26254 indicates whether compiler emits an warning for alias for
26255 functions with incompatible types.
26258 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26259 the auxiliary process is terminated by a signal before calling _exit
26262 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26265 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26267 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26268 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26269 and bit_arch_XSAVEC_Usable if needed.
26270 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26271 and bit_arch_Use_dl_runtime_resolve_opt.
26272 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26274 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26275 (bit_arch_Prefer_No_AVX512): Updated.
26276 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26277 (bit_arch_XSAVEC_Usable): New.
26278 (STATE_SAVE_OFFSET): Likewise.
26279 (STATE_SAVE_MASK): Likewise.
26280 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26281 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26282 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26283 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26284 (index_arch_XSAVEC_Usable): New.
26285 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26286 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26287 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26289 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26290 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26291 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26292 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26293 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26294 _dl_runtime_resolve_xsavec.
26295 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26297 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26298 instead of VEC_SIZE.
26299 (REGISTER_SAVE_BND0): Removed.
26300 (REGISTER_SAVE_BND1): Likewise.
26301 (REGISTER_SAVE_BND3): Likewise.
26302 (REGISTER_SAVE_RAX): Always defined to 0.
26304 (_dl_runtime_resolve_avx): Likewise.
26305 (_dl_runtime_resolve_avx_slow): Likewise.
26306 (_dl_runtime_resolve_avx_opt): Likewise.
26307 (_dl_runtime_resolve_avx512): Likewise.
26308 (_dl_runtime_resolve_avx512_opt): Likewise.
26309 (_dl_runtime_resolve_sse): Likewise.
26310 (_dl_runtime_resolve_sse_vex): Likewise.
26312 (_dl_runtime_resolve_fxsave): Likewise.
26313 (USE_XSAVE): Likewise.
26314 (_dl_runtime_resolve_xsave): Likewise.
26315 (USE_XSAVEC): Likewise.
26316 (_dl_runtime_resolve_xsavec): Likewise.
26317 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26319 (_dl_runtime_resolve_avx512_opt): Likewise.
26320 (_dl_runtime_resolve_avx): Likewise.
26321 (_dl_runtime_resolve_avx_opt): Likewise.
26322 (_dl_runtime_resolve_sse): Likewise.
26323 (_dl_runtime_resolve_sse_vex): Likewise.
26324 (_dl_runtime_resolve_fxsave): New.
26325 (_dl_runtime_resolve_xsave): Likewise.
26326 (_dl_runtime_resolve_xsavec): Likewise.
26328 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26332 * posix/glob.c (__glob): Fix one-byte overflow.
26334 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26336 * malloc/malloc.c (sysdep-cancel.h): Add include.
26338 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26340 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26342 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26344 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26345 (tests): Remove $(objpfx)ga_test depdendency.
26346 * resolv/ga_test.c: Remove file.
26348 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26351 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26352 * localedata/locales/kab_DZ: New file.
26354 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26356 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26357 _dl_relocate_static_pie instead of _dl_start to compute load
26358 address in static PIE.
26360 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26362 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26364 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26367 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26368 * localedata/locales/shn_MM: New file.
26370 2017-10-20 Florian Weimer <fweimer@redhat.com>
26373 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26374 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26375 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26376 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26377 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26378 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26380 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26382 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26384 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26386 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26389 * sysdeps/mips/bits/long-double.h: Move to ....
26390 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26392 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26394 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26396 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26397 H.J. Lu <hongjiu.lu@intel.com>
26400 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26401 GLRO(dl_platform) to NULL.
26402 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26403 (modules-names): Add tst-platformmod-1 and
26404 x86_64/tst-platformmod-2.
26405 (CFLAGS-tst-platform-1.c): New.
26406 (CFLAGS-tst-platformmod-1.c): Likewise.
26407 (CFLAGS-tst-platformmod-2.c): Likewise.
26408 (LDFLAGS-tst-platformmod-2.so): Likewise.
26409 ($(objpfx)tst-platform-1): Likewise.
26410 ($(objpfx)tst-platform-1.out): Likewise.
26411 (tst-platform-1-ENV): Likewise.
26412 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26413 * sysdeps/x86_64/tst-platform-1.c: New file.
26414 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26415 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26417 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26420 * locale/iso-639.def: Add Karbi.
26421 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26422 * localedata/locales/mjw_IN: New file.
26424 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26426 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26427 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26428 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26429 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26430 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26431 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26432 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26434 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26435 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26436 * manual/math.texi (Mathematics): Document additional architecture
26437 support for _Float128.
26438 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26440 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26441 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26442 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26443 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26444 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26445 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26446 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26447 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26448 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26449 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26450 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26451 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26452 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26454 2017-10-18 Renlin Li <renlin.li@arm.com>
26456 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26457 _DYNAMIC symbol to calculate load address.
26459 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26461 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26462 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26464 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26465 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26467 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26470 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26471 and improve readability by using more ASCII.
26472 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26473 and improve readability by using more ASCII.
26475 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26477 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26478 not all targets support atomics on bool.
26480 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26482 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26483 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26485 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26486 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26487 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26488 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26489 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26490 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26492 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26494 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26497 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26500 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26501 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26502 (do_check_remalloced_chunk): Fix build bug.
26503 (do_check_malloc_state): Add assert that checks arena->top.
26504 (malloc_consolidate): Remove initialization.
26505 (int_mallinfo): Remove call to malloc_consolidate.
26506 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26508 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26510 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26511 (have_fastchunks): Remove.
26512 (clear_fastchunks): Remove.
26513 (set_fastchunks): Remove.
26514 (malloc_state): Add have_fastchunks.
26515 (malloc_init_state): Use have_fastchunks.
26516 (do_check_malloc_state): Remove incorrect invariant checks.
26517 (_int_malloc): Use have_fastchunks.
26518 (_int_free): Likewise.
26519 (malloc_consolidate): Likewise.
26521 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26523 * malloc/malloc.c (tcache_put): Inline.
26524 (tcache_get): Inline.
26526 2017-10-17 Jordi Mallach <jordi@gnu.org>
26528 Aurelien Jarno <aurelien@aurel32.net>
26530 * localedata/locales/ca_ES@valencia: New file.
26531 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26533 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26536 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26539 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26541 * scripts/build-many-glibcs.py (Context.add_all_configs):
26542 Add arm-linux-gnueabihf multiarch extra_glibcs.
26544 * sysdeps/generic/ifunc-init.h: New file.
26545 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26547 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26550 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26551 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26552 * stdlib/tst-strfmon_l.c: adapt test case.
26554 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26556 * sysdeps/generic/float128-abi.h: New file.
26557 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26558 non-__prefixed symbols to ....
26559 * math/Versions: ... here. Include <float128-abi.h>.
26560 * stdlib/Versions ... and here. Include <float128-abi.h>
26562 2017-10-16 Florian Weimer <fweimer@redhat.com>
26564 * version.h (VERSION): Switch to ".9000" as the development
26567 2017-10-16 Florian Weimer <fweimer@redhat.com>
26570 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26571 compat_symbol_reference to access non-default version.
26573 2017-10-16 Florian Weimer <fweimer@redhat.com>
26575 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26577 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26579 * include/shlib-compat.h (compat_symbol_reference): Update
26582 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26584 * math/Makefile (test-types): Add
26585 $(type-float128-$(float128-alias-fcts)).
26586 * math/test-float128.h (TYPE_STR): Define conditional on
26587 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26588 (ULP_IDX): Likewise.
26589 (ULP_I_IDX): Likewise.
26591 * stdlib/strtold.c: Include <bits/floatn.h>
26592 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26593 and later undefine as macro. Define as weak alias if
26595 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26596 and later undefine as macro. Define as weak alias if
26598 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26599 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26600 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26601 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26602 Define and later undefine as macro. Define as weak alias if
26604 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26606 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26607 Define and later undefine as macro. Define as weak alias if
26609 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26610 Define and later undefine as macro. Define as weak alias if
26613 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26615 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26616 record_verbose messages.
26618 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26621 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26622 to silence -O3 -Wall warning with GCC 7.
26624 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26626 * Makeconfig (+link-static-before-libc): Use the first of
26627 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26628 * gmon/Makefile (tests): Add tst-gmon-static.
26629 (tests-static): Likewise.
26630 (CFLAGS-tst-gmon-static.c): New.
26631 (CRT-tst-gmon-static): Likewise.
26632 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26633 (tst-gmon-static-ENV): Likewise.
26634 (tests-special): Likewise.
26635 ($(objpfx)tst-gmon-static.out): Likewise.
26636 (clean-tst-gmon-static-data): Likewise.
26637 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26638 * gmon/tst-gmon-static-gprof.sh: New file.
26639 * gmon/tst-gmon-static.c: Likewise.
26641 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26644 * locale/programs/linereader.c (get_string): Don't warn on
26645 non-symbolic character.
26648 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26652 * locale/programs/record-status.h: New file
26653 * locale/programs/locale.c: Add comment.
26654 * locale/programs/charmap-dir.c: Don't include error.h.
26655 (charmap_opendir): Use record_error.
26656 * locale/programs/charmap.c: Don't include error.h.
26657 (charmap_read): Use record_error, and record_warning.
26658 (parse_charmap): Likewise.
26659 * locale/programs/ld-address.c: Don't include error.h.
26660 (address_finish): Use record_error, and record_warning.
26661 * locale/programs/ld-collate.c: Don't include error.h.
26662 (collate_finish): Use record_error, and record_error_at_line.
26663 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26664 (ctype_class_new): Likewise.
26665 (ctype_map_new): Likewise.
26666 (set_one_default): Likewise.
26667 (set_class_defaults): Likewise.
26668 (translit_flatten): Likewise.
26669 (allocate_arrays): Use record_error, and record_verbose.
26670 * locale/programs/ld-identification.c: Don't include error.h.
26671 (indentation_finish): Use record_error and record_warning.
26672 * locale/programs/ld-measurement.c: Don't include error.h.
26673 (measurement_finish): Use record_error.
26674 * locale/programs/ld-messages.c
26675 (message_finish): Likewise.
26676 * locale/programs/ld-monetary.c
26677 (monetary_finish): Likewise.
26678 * locale/programs/ld-name.c (name_finish): Use record_error
26679 and record_warning.
26680 * locale/programs/ld-numeric.c
26681 (numeric_finish): Use record_error.
26682 * locale/programs/ld-paper.c: Don't include error.h.
26683 (paper_finish): Use record_error.
26684 * locale/programs/ld-telephone.c: Don't include error.h.
26685 (telephone_finish): Use record_error.
26686 * locale/programs/ld-time.c (time_finish): Likewise.
26687 * locale/programs/linereader.h (lr_error): Make inline func.
26688 * locale/programs/localedef.c: Define recorded_warning_count,
26689 and recorded_error_count.
26690 (main): Use record_error. Use recorded_error_count and
26691 recorded_warning_count to issue correct error returns.
26692 (add_to_readlist): Use record_error.
26693 (find_locale): Likewise.
26694 (load_locale): Likewise.
26695 * locale/programs/localedef.h: Remove be_quiet
26696 and WITH_CUR_LOCALE.
26697 * locale/programs/locarchive.c (compare_from_file): Use
26699 * locale/programs/locfile.c (write_locale_data): Use
26701 * locale/programs/repertoire.c: Dont include error.h.
26702 (repertoire_complain): Use record_error.
26703 * localedata/tst-fmon.sh: Expect failures from localedef.
26704 * localedata/tst-locale.sh: Likewise.
26705 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26707 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26708 (REPORTS): Likewise.
26710 (i18n): Rename to...
26711 (i18n_ctype): ...this.
26712 (i18n-report): Rename to...
26713 (i18n_ctype-report): ...this.
26714 * localedata/locales/i18n_ctype: Regenerate.
26715 * localedata/locales/i18n: copy i18n_ctype.
26717 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26719 * stdlib/strfroml.c: Include <bits/floatn.h>.
26720 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26721 Define before include of <stdlib.h> and undefine afterwards, then
26722 define as weak alias.
26724 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26725 Undefine and restore default definition. Use
26726 libm_alias_ldouble_other.
26728 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26731 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26734 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26736 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26737 Assign sym_map to be map for local symbols, as TLS relocations
26738 use sym_map to determine whether the symbol is defined and to
26739 extract the TLS information.
26740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26743 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26746 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26747 (math_force_eval): Add powerpc version.
26750 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26752 (do_test): Likewise.
26753 * stdio-common/tst-printf.sh: Likewise.
26754 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26755 ifdef clause in order to set the carry bit right. Replace r0 by
26756 0 without changing the behavior.
26758 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26760 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26761 <libm-alias-ldouble.h>.
26762 (fabsl): Define using libm_alias_ldouble.
26763 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26764 <libm-alias-ldouble.h>.
26765 (fabsl): Define using libm_alias_ldouble.
26767 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26768 Remove conditional code.
26770 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26771 Rename to __clog10_internal_l.
26772 (__clog10_internal_l): Define aliases using
26773 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26776 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26778 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26779 * benchtests/sincosf-inputs: New file.
26780 * benchtests/cosf-inputs: New file.
26781 * benchtests/sinf-inputs: New file.
26783 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26785 * posix/tst-spawn.c (do_test): Wait for both children.
26787 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26790 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26791 tests-pie): Add tst-gmon-pie.
26792 (CFLAGS-tst-gmon-pie.c): New.
26793 (CRT-tst-gmon-pie): Likewise.
26794 (tst-gmon-pie-ENV): Likewise.
26795 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26796 ($(objpfx)tst-gmon-pie.out): Likewise.
26797 (clean-tst-gmon-pie-data): Likewise.
26798 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26799 * gmon/gmon.c [PIC]: Include <link.h>.
26800 [PIC] (callback): New function.
26801 (write_hist): Add an argument for load address. Subtract load
26803 (write_call_graph): Likewise.
26804 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26805 it to write_hist and write_call_graph.
26806 * gmon/tst-gmon-pie.c: New file.
26808 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26810 * math/Makefile (test-types-basic): New variable.
26811 (test-types): Likewise.
26812 (libm-test-support): Use $(test-types) instead of $(types).
26813 (libm-tests-base-normal): Likewise.
26814 (libm-tests-base-finite): Likewise.
26815 (libm-tests-base-inline): Likewise.
26816 (generated): Likewise.
26817 ($(objpfx)libm-test-support-$(t).c): Likewise.
26818 (libm-tests-for-type iterator): Likewise.
26819 (libm-test-support iterator): Likewise.
26820 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26821 (ulp_idx): Use ULP_IDX.
26822 * math/test-ldouble.h: Include <float.h>.
26823 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26824 (ULP_IDX): New macro.
26825 (ULP_I_IDX): Likewise.
26826 * math/test-double.h (ULP_IDX): Likewise.
26827 (ULP_I_IDX): Likewise.
26828 * math/test-float.h (ULP_IDX): Likewise.
26829 (ULP_I_IDX): Likewise.
26830 * math/test-float128.h (ULP_IDX): Likewise.
26831 (ULP_I_IDX): Likewise.
26833 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26835 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26836 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26837 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26838 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26839 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26840 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26841 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26844 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26845 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26846 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26847 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26849 (SINGLE_THREAD_BY_GLOBAL): Define.
26850 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26852 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26854 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26856 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26858 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26859 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26863 2017-10-11 Andreas Schwab <schwab@suse.de>
26865 * nis/Makefile (aux): Remove.
26866 * nscd/Makefile (aux): Add nscd_hash.
26867 (nscd-modules): Likewise.
26868 ($(objpfx)nscd): Don't depend on libnsl.
26869 * nscd/nscd_hash.c: New file.
26870 * nscd/nscd_hash.h: Likewise.
26871 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26872 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26873 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26874 instead of <nis/rpcsvc/nis.h>.
26875 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26877 2017-10-11 Florian Weimer <fweimer@redhat.com>
26880 Avoid large NSS buffers with many addresses, aliases.
26881 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26882 using dynarrays and struct alloc_buffer.
26883 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26884 (tst-nss-files-hosts-multi): Link with -ldl.
26885 * nss/tst-nss-files-hosts-multi.c: New file.
26887 2017-10-11 Florian Weimer <fweimer@redhat.com>
26890 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26891 scratch_buffer. Eliminate gotos.
26893 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26895 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26896 libm_alias_ldouble_other.
26897 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26898 undefine and redefine.
26899 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26900 (exp10l): Do not define here.
26901 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26902 (weak_alias): Undefine and redefine.
26903 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26904 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26905 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26906 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26908 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26909 [!__fma] (fma): Define using libm_alias_double.
26910 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26911 [!__fmaf] (fmaf): Define using libm_alias_float.
26912 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26913 (fmal): Define using libm_alias_ldouble.
26915 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26917 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26919 (libm_alias_double_other): Likewise.
26920 (libm_alias_double_r): Use libm_alias_double_other_r.
26921 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26923 (libm_alias_float_other): Likewise.
26924 (libm_alias_float_r): Use libm_alias_float_other_r.
26925 * sysdeps/generic/libm-alias-float128.h
26926 (libm_alias_float128_other_r): New macro.
26927 (libm_alias_float128_other): Likewise.
26928 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26929 * sysdeps/generic/libm-alias-ldouble.h
26930 (libm_alias_ldouble_other_r): New macro.
26931 (libm_alias_ldouble_other): Likewise.
26932 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26933 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26934 (libm_alias_double_other_r): New macro.
26935 (libm_alias_double_other): Likewise.
26936 (libm_alias_double_r): Use libm_alias_double_other_r.
26937 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26938 (libm_alias_ldouble_other_r): New macro.
26939 (libm_alias_ldouble_other): Likewise.
26940 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26941 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26942 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26943 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26944 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26945 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26946 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26947 * math/w_exp2f.c: Use libm_alias_float_other.
26948 * math/w_expf.c: Likewise.
26949 * math/w_log2f.c: Likewise.
26950 * math/w_logf.c: Likewise.
26951 * math/w_powf.c: Likewise.
26952 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26953 [!__exp2f]: Use libm_alias_float_other.
26954 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26955 [!__expf]: Use libm_alias_float_other.
26956 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26957 [!__log2f]: Use libm_alias_float_other.
26958 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26959 [!__logf]: Use libm_alias_float_other.
26960 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26961 [!__powf]: Use libm_alias_float_other.
26963 2017-10-10 Florian Weimer <fweimer@redhat.com>
26965 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26967 (_nss_files_gethostbyname3_r): Call it.
26969 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26971 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26972 error. Remove default definition of declare_mgen_alias.
26973 [!declare_mgen_alias_r]: Likewise.
26974 * sysdeps/generic/math-type-macros-double.h
26975 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26976 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26977 (declare_mgen_alias_r): Likewise.
26978 * sysdeps/generic/math-type-macros-float128.h
26979 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26980 * sysdeps/generic/math-type-macros-ldouble.h
26981 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26982 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26984 (declare_mgen_alias_r_s): Likewise.
26985 (declare_mgen_alias_r): Likewise.
26986 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26987 (lgamma_r): Define using libm_alias_double_r.
26988 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26989 (lgammaf_r): Define using libm_alias_float_r.
26990 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26991 (lgammal_r): Define using libm_alias_ldouble_r.
26992 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26993 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26995 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26997 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26998 extern declaration.
27000 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27002 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27004 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27007 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27008 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27009 * math/Makefile (test-math-cxx11): New test.
27010 * math/test-math-cxx11.cc: New file.
27012 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27014 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27016 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27017 call to allocate the slave pty file descriptor.
27019 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27021 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27022 [!__fma] (fma): Define using libm_alias_double.
27023 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27024 [!__fma] (fma): Define using libm_alias_double.
27026 * sysdeps/ieee754/float128/float128_private.h: Include
27027 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27028 (libm_alias_ldouble_r): Undefine and redefine.
27029 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27030 <libm-alias-ldouble.h>.
27031 (asinhl): Define using libm_alias_ldouble.
27032 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27033 <libm-alias-ldouble.h>.
27034 (atanl): Define using libm_alias_ldouble.
27035 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27036 <libm-alias-ldouble.h>.
27037 (cbrtl): Define using libm_alias_ldouble.
27038 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27039 <libm-alias-ldouble.h>.
27040 (ceill): Define using libm_alias_ldouble.
27041 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27042 <libm-alias-ldouble.h>.
27043 (copysignl): Define using libm_alias_ldouble.
27044 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27045 <libm-alias-ldouble.h>.
27046 (cosl): Define using libm_alias_ldouble.
27047 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27048 <libm-alias-ldouble.h>.
27049 (erfl): Define using libm_alias_ldouble.
27051 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27052 <libm-alias-ldouble.h>.
27053 (expm1l): Define using libm_alias_ldouble.
27054 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27055 <libm-alias-ldouble.h>.
27056 (fabsl): Define using libm_alias_ldouble.
27057 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27058 <libm-alias-ldouble.h>.
27059 (floorl): Define using libm_alias_ldouble.
27060 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27061 <libm-alias-ldouble.h>.
27062 (fmal): Define using libm_alias_ldouble.
27063 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27064 <libm-alias-ldouble.h>.
27065 (frexpl): Define using libm_alias_ldouble.
27066 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27067 libm_alias_ldouble.
27068 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27069 <libm-alias-ldouble.h>.
27070 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27071 libm_alias_ldouble.
27072 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27073 <libm-alias-ldouble.h>.
27074 (getpayloadl): Define using libm_alias_ldouble.
27075 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27076 <libm-alias-ldouble.h>.
27077 (llrintl): Define using libm_alias_ldouble.
27078 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27079 <libm-alias-ldouble.h>.
27080 (llroundl): Define using libm_alias_ldouble.
27081 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27082 <libm-alias-ldouble.h>.
27083 (logbl): Define using libm_alias_ldouble.
27084 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27085 <libm-alias-ldouble.h>.
27086 (lrintl): Define using libm_alias_ldouble.
27087 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27088 <libm-alias-ldouble.h>.
27089 (lroundl): Define using libm_alias_ldouble.
27090 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27091 <libm-alias-ldouble.h>.
27092 (modfl): Define using libm_alias_ldouble.
27093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27094 <libm-alias-ldouble.h>.
27095 (nearbyintl): Define using libm_alias_ldouble.
27096 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27097 <libm-alias-ldouble.h>.
27098 (nextafterl): Define using libm_alias_ldouble.
27099 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27100 <libm-alias-ldouble.h>.
27101 (nextupl): Define using libm_alias_ldouble.
27102 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27103 <libm-alias-ldouble.h>.
27104 (remquol): Define using libm_alias_ldouble.
27105 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27106 <libm-alias-ldouble.h>.
27107 (rintl): Define using libm_alias_ldouble.
27108 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27109 <libm-alias-ldouble.h>.
27110 (roundevenl): Define using libm_alias_ldouble.
27111 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27112 <libm-alias-ldouble.h>.
27113 (roundl): Define using libm_alias_ldouble.
27114 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27115 using libm_alias_ldouble.
27116 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27117 <libm-alias-ldouble.h>.
27118 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27119 Define using libm_alias_ldouble.
27120 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27121 <libm-alias-ldouble.h>.
27122 (sincosl): Define using libm_alias_ldouble.
27123 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27124 <libm-alias-ldouble.h>.
27125 (sinl): Define using libm_alias_ldouble.
27126 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27127 <libm-alias-ldouble.h>.
27128 (tanhl): Define using libm_alias_ldouble.
27129 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27130 <libm-alias-ldouble.h>.
27131 (tanl): Define using libm_alias_ldouble.
27132 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27133 <libm-alias-ldouble.h>.
27134 (totalorderl): Define using libm_alias_ldouble.
27135 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27136 <libm-alias-ldouble.h>.
27137 (totalordermagl): Define using libm_alias_ldouble.
27138 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27139 <libm-alias-ldouble.h>.
27140 (truncl): Define using libm_alias_ldouble.
27141 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27142 libm_alias_ldouble.
27143 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27144 libm_alias_ldouble.
27145 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27146 <libm-alias-ldouble.h>.
27147 (weak_alias): Do not undefine and redefine.
27148 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27149 (copysignl): Define with long_double_symbol only if [IS_IN
27151 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27152 <libm-alias-ldouble.h>.
27153 (weak_alias): Do not undefine and redefine.
27154 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27155 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27156 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27157 <libm-alias-ldouble.h>.
27158 (weak_alias): Do not undefine and redefine.
27159 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27160 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27161 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27162 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27163 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27164 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27165 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27166 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27168 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27169 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27170 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27171 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27173 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27174 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27175 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27176 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27177 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27178 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27179 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27186 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27189 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27190 (tcache_thread_freeres): Set tcache_shutting_down before
27191 freeing the tcache.
27192 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27193 * malloc/tst-malloc-tcache-leak.c: New file.
27195 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27197 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27198 back to powerpc32 file.
27199 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27200 (memrchr): Add __memrchr_power8 to ifunc list.
27201 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27202 extra bytes for unaligned inputs.
27204 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27206 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27207 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27212 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27214 * sysdeps/arm/libm-test-ulps: Update.
27216 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27217 <libm-alias-ldouble.h>.
27218 (asinhl): Define using libm_alias_ldouble.
27219 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27220 <libm-alias-ldouble.h>.
27221 (cbrtl): Define using libm_alias_ldouble.
27222 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27223 <libm-alias-ldouble.h>.
27224 (copysignl): Define using libm_alias_ldouble.
27225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27226 <libm-alias-ldouble.h>.
27227 (cosl): Define using libm_alias_ldouble.
27228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27229 <libm-alias-ldouble.h>.
27230 (erfl): Define using libm_alias_ldouble.
27232 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27233 <libm-alias-ldouble.h>.
27234 (fmal): Define using libm_alias_ldouble.
27235 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27236 <libm-alias-ldouble.h>.
27237 (frexpl): Define using libm_alias_ldouble.
27238 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27239 libm_alias_ldouble.
27240 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27241 <libm-alias-ldouble.h>.
27242 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27243 libm_alias_ldouble.
27244 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27245 <libm-alias-ldouble.h>.
27246 (getpayloadl): Define using libm_alias_ldouble.
27247 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27248 <libm-alias-ldouble.h>.
27249 (llrintl): Define using libm_alias_ldouble.
27250 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27251 <libm-alias-ldouble.h>.
27252 (llroundl): Define using libm_alias_ldouble.
27253 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27254 <libm-alias-ldouble.h>.
27255 (lrintl): Define using libm_alias_ldouble.
27256 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27257 <libm-alias-ldouble.h>.
27258 (lroundl): Define using libm_alias_ldouble.
27259 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27260 <libm-alias-ldouble.h>.
27261 (modfl): Define using libm_alias_ldouble.
27262 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27263 <libm-alias-ldouble.h>.
27264 (nextupl): Define using libm_alias_ldouble.
27265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27266 <libm-alias-ldouble.h>.
27267 (remquol): Define using libm_alias_ldouble.
27268 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27269 <libm-alias-ldouble.h>.
27270 (roundevenl): Define using libm_alias_ldouble.
27271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27272 <libm-alias-ldouble.h>.
27273 (roundl): Define using libm_alias_ldouble.
27274 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27275 using libm_alias_ldouble.
27276 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27277 <libm-alias-ldouble.h>.
27278 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27279 <libm-alias-ldouble.h>.
27280 (setpayloadsigl): Define using libm_alias_ldouble.
27281 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27282 <libm-alias-ldouble.h>.
27283 (sincosl): Define using libm_alias_ldouble.
27284 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27285 <libm-alias-ldouble.h>.
27286 (sinl): Define using libm_alias_ldouble.
27287 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27288 <libm-alias-ldouble.h>.
27289 (tanhl): Define using libm_alias_ldouble.
27290 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27291 <libm-alias-ldouble.h>.
27292 (tanl): Define using libm_alias_ldouble.
27293 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27294 <libm-alias-ldouble.h>.
27295 (totalorderl): Define using libm_alias_ldouble.
27296 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27297 <libm-alias-ldouble.h>.
27298 (totalordermagl): Define using libm_alias_ldouble.
27299 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27300 libm_alias_ldouble.
27301 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27302 libm_alias_ldouble.
27304 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27306 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27308 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27309 (__libc_ifunc_impl_list): Likewise.
27310 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27311 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27313 * benchtests/bench-memmove-walk.c: New file.
27314 * benchtests/Makefile (string-benchset): Add it.
27316 * benchtests/bench-memset-walk.c: New file.
27317 * benchtests/Makefile (string-benchset): Add it.
27319 * benchtests/bench-memcpy-walk.c: New file.
27320 * benchtests/Makefile (string-benchset): Add it.
27322 2017-10-05 Florian Weimer <fweimer@redhat.com>
27324 nscd: Eliminate compilation time dependency in the build output.
27325 * nscd/nscd_stat.c (STATDATA_VERSION)
27326 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27327 (STATDATA_VERSION_FULL): New macro definitions.
27328 (compilation): Remove.
27329 (struct statdata): Adjust version member.
27330 (send_stats): Set version from STATDATA_VERSION_FULL.
27331 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27333 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27335 * configure.ac (--enable-add-ons): Remove option.
27336 (machine): Do not mention add-ons in comment.
27337 (LIBC_PRECONFIGURE): Likewise.
27338 (add_ons): Remove variable and sanity checks and logic to locate
27340 (add_ons_automatic): Remove variable.
27341 (configured_add_ons): Likewise.
27342 (add_ons_sfx): Likewise.
27343 (add_ons_pfx): Likewise.
27344 (add_on_subdirs): Likewise.
27345 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27346 consideration of add-ons in Implies handling.
27347 (sysdeps_add_ons): Likewise.
27348 * configure: Regenerated.
27349 * libidn/configure.ac: Remove.
27350 * libidn/configure: Likewise.
27351 * sysdeps/unix/inet/configure.ac: New file.
27352 * sysdeps/unix/inet/configure: New generated file.
27353 * sysdeps/unix/inet/Subdirs: Add libidn.
27354 * Makeconfig (sysdeps-srcdirs): Remove variable.
27355 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27356 ($(common-objpfx)config.status): Do not depend on add-on files.
27357 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27359 (all-subdirs): Do not include $(add-on-subdirs).
27360 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27361 * config.make.in (add-ons): Remove variable.
27362 (add-on-subdirs): Likewise.
27363 (sysdeps-add-ons): Likewise.
27364 * manual/Makefile (add-chapters): Remove.
27365 ($(objpfx)texis): Do not depend on $(add-chapters).
27366 (nonexamples): Do not handle $(add-chapters).
27367 (examples): Do not handle $(add-ons).
27368 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27370 * manual/install.texi (Installation): Do not mention add-ons.
27371 (--enable-add-ons): Do not document configure option.
27372 * INSTALL: Regenerated.
27373 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27374 * manual/maint.texi (Hierarchy Conventions): Do not mention
27376 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27378 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27380 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27381 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27383 2017-10-05 Andreas Schwab <schwab@suse.de>
27386 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27387 (_IO_flush_all_lockp): Always lock list_all_lock.
27388 (_IO_flush_all_linebuffered): Likewise.
27389 (_IO_unbuffer_all): Likewise.
27391 2017-10-05 Florian Weimer <fweimer@redhat.com>
27394 Do not flush stdio streams on abort.
27395 * stdlib/abort.c (fflush): Remove macro definition.
27396 (abort): Remove stages related to stdio flushing.
27398 2017-10-05 Florian Weimer <fweimer@redhat.com>
27400 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27402 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27404 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27406 2017-10-05 Florian Weimer <fweimer@redhat.com>
27408 * support/support_format_hostent.c (support_format_hostent): Add
27409 more error information for NETDB_INTERNAL.
27411 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27413 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27414 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27415 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27416 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27417 AC_DEFINE if multi-arch is enabled.
27418 * sysdeps/i386/configure: Regenerated.
27420 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27422 * Makeconfig (+link-static-before-libc): Use
27423 $(DEFAULT-LDFLAGS-$(@F)).
27424 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27425 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27426 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27428 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27430 * elf/Makefile (tests): Add tst-main1.
27431 (modules-names): Add tst-main1mod.
27432 ($(objpfx)tst-main1): New.
27433 (CRT-tst-main1): Likewise.
27434 (LDFLAGS-tst-main1): Likewise.
27435 (LDLIBS-tst-main1): Likewise.
27436 (tst-main1mod.so-no-z-defs): Likewise.
27437 * elf/tst-main1.c: New file.
27438 * elf/tst-main1mod.c: Likewise.
27440 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27442 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27444 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27446 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27447 (fma): Define using libm_alias_double.
27448 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27449 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27451 (fmal): Do not define as compat symbol here.
27452 * sysdeps/alpha/fpu/s_fma.c: New file.
27454 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27456 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27458 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27461 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27463 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27465 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27466 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27467 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27468 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27470 Include <math_ldbl_opt.h>
27471 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27473 (compat_symbol): Undefine and redefine.
27474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27476 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27477 (compat_symbol): Undefine and redefine.
27478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27479 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27480 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27481 GLIBC_2_1 for libm.
27482 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27483 GLIBC_2.0 copysignl symbol.
27484 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27485 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27487 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27489 2017-10-04 Florian Weimer <fweimer@redhat.com>
27491 * scripts/check-local-headers.sh: Ignore nspr4 header file
27492 directory in addition to nspr.
27494 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27497 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27498 * configure: Regenerate.
27499 * crypt/Makefile (nss-cpp-flags): New variable.
27500 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27501 (CPPFLAGS-md5-crypt.c): Use it.
27502 * scripts/check-local-headers.sh: Ignore nspr header file
27505 2017-10-04 Andreas Schwab <schwab@suse.de>
27507 * nis/Makefile (services): Remove compat.
27508 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27509 ($(objpfx)libnss_compat.so): Remove rule.
27510 * nis/Versions (libnss_compat): Remove.
27511 * nss/Makefile (services): Add compat.
27512 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27513 * nss/Versions (libnss_compat): Define.
27514 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27515 Don't include <rpc/types.h>. Replace bool_t by bool.
27516 * nss/nss_compat/compat-initgroups.c: Likewise.
27517 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27518 instead of <rpcsrv/ypclnt.h>.
27519 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27520 yp_get_default_domain.
27521 * nss/nss_compat/compat-pwd.c: Likewise.
27522 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27523 yp_get_default_domain.
27524 * nss/nss_compat/nisdomain.c: New file.
27525 * nss/nss_compat/nisdomain.h: Likewise.
27527 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27530 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27531 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27533 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27536 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27537 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27539 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27541 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27542 "movl main@GOTOFF(%ebx), %eax".
27544 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27546 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27547 allow undefined _DYNAMIC in PIE libc.a.
27548 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27551 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27553 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27556 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27558 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27561 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27563 * math/test-math-iscanonical.cc (error): Replace bool with int.
27565 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27567 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27568 (modf): Define using libm_alias_double, only if [!__modf].
27569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27570 <libm-alias-double.h>.
27571 (modf): Define using libm_alias_double, only if [!__modf].
27572 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27573 compat symbol here.
27574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27575 (weak_alias): Do not undefine and redefine.
27576 (strong_alias): Likewise.
27577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27578 (weak_alias): Likewise.
27579 (strong_alias): Likewise.
27581 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27582 (logb): Define using libm_alias_double, only if [!__logb].
27583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27584 <libm-alias-double.h>.
27585 (logb): Define using libm_alias_double, only if [!__logb].
27586 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27588 (weak_alias): Do not undefine and redefine.
27589 (strong_alias): Likewise.
27590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27591 (weak_alias): Likewise.
27592 (strong_alias): Likewise.
27594 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27596 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27597 Check SHARED instead PIC.
27599 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27601 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27602 [!__fmaf] (fmaf): Define using libm_alias_float.
27604 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27605 (frexp): Define using libm_alias_double.
27606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27607 <libm-alias-double.h>.
27608 (frexp): Define using libm_alias_double.
27609 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27610 compat symbol here.
27612 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27615 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27616 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27617 (CFLAGS-test-math-iscanonical.cc): New variable.
27618 * math/test-math-iscanonical.cc: New file.
27619 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27620 Provide a C++ implementation based on function overloading,
27621 rather than using __MATH_TG, which uses C-only builtins.
27622 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27624 * sysdeps/powerpc/powerpc64le/Makefile
27625 (CFLAGS-test-math-iscanonical.cc): New variable.
27627 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27629 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27630 (ceil): Define using libm_alias_double.
27631 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27632 (floor): Define using libm_alias_double.
27633 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27634 <libm-alias-double.h>.
27635 (llround): Define using libm_alias_double.
27636 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27637 <libm-alias-double.h>.
27638 (lround): Define using libm_alias_double.
27639 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27640 <libm-alias-double.h>.
27641 (nearbyint): Define using libm_alias_double.
27642 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27643 <libm-alias-double.h>.
27644 (remquo): Define using libm_alias_double.
27645 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27646 (rint): Define using libm_alias_double.
27647 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27648 (round): Define using libm_alias_double.
27649 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27650 (trunc): Define using libm_alias_double.
27651 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27652 <libm-alias-double.h>.
27653 (ceil): Define using libm_alias_double.
27654 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27655 <libm-alias-double.h>.
27656 (floor): Define using libm_alias_double.
27657 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27658 <libm-alias-double.h>.
27659 (llround): Define using libm_alias_double.
27660 [_LP64] (lround): Likewise.
27661 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27662 <libm-alias-double.h>.
27663 [!_LP64] (lround): Define using libm_alias_double.
27664 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27665 <libm-alias-double.h>.
27666 (nearbyint): Define using libm_alias_double.
27667 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27668 <libm-alias-double.h>.
27669 (remquo): Define using libm_alias_double.
27670 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27671 <libm-alias-double.h>.
27672 (rint): Define using libm_alias_double.
27673 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27674 <libm-alias-double.h>.
27675 (round): Define using libm_alias_double.
27676 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27677 <libm-alias-double.h>.
27678 (trunc): Define using libm_alias_double.
27679 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27680 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27681 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27682 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27683 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27684 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27685 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27686 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27687 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27689 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27691 * math/w_remainder.c: New file.
27692 * math/w_remainderf.c: New file.
27693 * math/w_remainderl.c: New file.
27695 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27697 * elf/rtld.c (BOOTSTRAP_MAP): New.
27698 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27699 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27701 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27703 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27706 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27708 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27709 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27710 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27711 rtld_hidden_data_ver): Define to empty.
27712 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27713 __assert_perror_fail): Likewise.
27714 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27715 (__rewinddir): Likewise.
27716 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27717 (__profile_frequency): Likewise.
27718 * include/setjmp.h (__sigsetjmp): Likewise.
27719 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27720 __libc_sigaction): Likewise.
27721 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27722 not set hidden attribute.
27723 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27724 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27725 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27726 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27727 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27728 __fxstatat64): Likewise.
27729 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27730 (__uname): Likewise.
27731 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27732 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27733 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27734 (NO_RTLD_HIDDEN): Set.
27735 * sysdeps/mach/hurd/configure: Refresh.
27736 * config.h.in: Refresh.
27738 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27740 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27741 (atan): Define using libm_alias_double.
27742 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27743 (tan): Define using libm_alias_double.
27744 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27745 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27748 define as weak alias of __atan. Do not define any aliases if
27750 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27751 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27753 as weak alias of __tan. Do not define any aliases if [__tan].
27754 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27755 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27756 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27758 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27759 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27760 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27761 and define as weak alias of __atan.
27762 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27764 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27766 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27767 define as weak alias of __tan.
27769 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27771 * math/w_lgamma.c: New file.
27772 * math/w_lgammaf.c: New file.
27773 * math/w_lgammal.c: New file.
27775 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27777 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27778 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27779 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27780 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27781 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27782 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27783 * sysdeps/i386/fpu/w_log2f.c: New file.
27784 * sysdeps/i386/fpu/w_logf.c: New file.
27785 * sysdeps/i386/fpu/w_powf.c: New file.
27786 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27787 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27788 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27790 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27791 H.J. Lu <hongjiu.lu@intel.com>
27793 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27794 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27795 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27796 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27799 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27800 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27801 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27802 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27803 * sysdeps/i386/fpu/w_exp2f.c: New file.
27804 * sysdeps/i386/fpu/w_expf.c: New file.
27805 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27806 * sysdeps/x86_64/fpu/w_expf.c: New file.
27808 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27810 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27813 * math/w_log2f.c: New file.
27814 * math/w_logf.c: New file.
27815 * math/w_powf.c: New file.
27816 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27817 * math/w_logf_compat.c (__logf_compat): Likewise.
27818 * math/w_powf_compat.c (__powf_compat): Likewise.
27819 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27820 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27821 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27822 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27823 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27824 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27825 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27826 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27827 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27828 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27829 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27830 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27831 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27832 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27833 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27842 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27844 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27846 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27851 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27852 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27853 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27855 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27857 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27858 (sysdep_routines): Add memrchr_power8.
27859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27860 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27861 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27863 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27864 (memrchr): Add __memrchr_power8 to ifunc list.
27865 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27867 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27870 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27871 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27873 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27874 (__posix_fallocate64_l64): Likewise.
27876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27879 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27880 (__sched_setaffinity_new): Add libc_hidden_proto and
27883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27886 * include/glob.h (__glob64): Add libc_hidden_proto.
27887 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27893 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27896 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27899 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27904 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27907 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27910 * csu/version.c (__libc_print_version): Add attribute_hidden.
27912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27915 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27920 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27922 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27925 * nscd/nscd_helper.c (__nis_hash): New prototype.
27927 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27930 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27931 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27933 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27934 * termios/tcgetattr.c (__tcgetattr): Likewise.
27936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27939 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27940 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27941 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27942 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27943 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27948 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27950 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27953 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27954 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27959 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27964 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27965 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27970 * include/ifreq.h: New file.
27971 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27972 (__ifreq): Likewise.
27973 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27974 (__ifreq): Likewise.
27976 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27979 * include/idna.h: New file.
27980 * inet/getnameinfo.c: Include <idna.h> instead of
27982 (__idna_to_unicode_lzlz): Removed.
27983 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27985 (__idna_to_ascii_lz): Removed.
27986 (__idna_to_unicode_lzlz): Likewise.
27988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27991 * include/plural-exp.h: New file.
27992 * intl/plural-exp.c: Include <plural-exp.h> instead of
27995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27998 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27999 "getsourcefilter.h".
28000 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28001 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28002 "getsourcefilter.h".
28003 (__get_sol): Removed.
28005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28008 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28010 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28012 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28015 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28018 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28021 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28026 * include/search.h (__tdestroy): Add libc_hidden_proto.
28027 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28032 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28037 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28040 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28043 * include/signal.h (__kill): Add libc_hidden_proto.
28044 (__sigblock): Likewise.
28045 (__sigprocmask): Likewise.
28046 (__sigaltstack): Likewise.
28047 * signal/kill.c (__kill): Add libc_hidden_def.
28048 * signal/sigblock.c (__sigblock): Likewise.
28049 * signal/sigprocmask.c (__sigprocmask): Likewise.
28050 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28051 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28052 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28053 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28054 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28056 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28058 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28059 (__sigprocmask): Likewise.
28060 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28062 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28063 (__sigprocmask): Likewise.
28064 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28070 * include/string.h (__strsep): Add libc_hidden_proto.
28071 * string/strsep.c (__strsep): Add libc_hidden_def.
28073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28076 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28078 (__spawni): Likewise.
28080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28083 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28084 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28090 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28095 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28096 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28097 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28098 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28099 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28101 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28102 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28107 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28108 (__dcigettext): Likewise.
28110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28113 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28115 (__get_nprocs): Likewise.
28116 (__get_phys_pages): Likewise.
28117 (__get_avphys_pages): Likewise.
28118 (__get_child_max): Add attribute_hidden.
28119 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28120 (__get_nprocs): Likewise.
28121 (__get_phys_pages): Likewise.
28122 (__get_avphys_pages): Likewise.
28123 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28125 (__get_nprocs): Likewise.
28126 (__get_phys_pages): Likewise.
28127 (__get_avphys_pages): Likewise.
28128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28130 (__get_nprocs_conf): Likewise.
28131 (__get_phys_pages): Likewise.
28132 (__get_avphys_pages): Likewise.
28134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28137 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28139 (__netlink_close): Likewise.
28140 (__netlink_free_handle): Likewise.
28141 (__netlink_request): Likewise.
28143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28146 * include/rpc/rpc.h (__rpc_thread_variables): Add
28148 (__rpc_thread_svc_cleanup): Likewise.
28149 (__rpc_thread_clnt_cleanup): Likewise.
28150 (__rpc_thread_key_cleanup): Likewise.
28152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28155 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28156 (__writev): Likewise.
28157 * misc/readv.c (__readv): Add libc_hidden_def.
28158 * misc/writev.c (__writev): Likewise.
28159 * sysdeps/posix/readv.c (__readv): Likewise.
28160 * sysdeps/posix/writev.c (__writev): Likewise.
28161 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28162 (__readv): Likewise.
28163 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28164 (__writev): Likewise.
28166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28169 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28170 (__regcomp): Add libc_hidden_proto.
28171 (__regexec): Likewise.
28172 (__regfree): Likewise.
28173 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28174 (__regfree): Likewise.
28175 * posix/regexec.c (__regexec): Likewise.
28177 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28180 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28181 (__getutent): Likewise.
28182 (__getutid): Likewise.
28183 (__getutline): Likewise.
28184 (__pututline): Likewise.
28185 (__getutent_r): Likewise.
28186 (__getutid_r): Likewise.
28187 (__getutline_r): Likewise.
28188 (__utmpname): Add attribute_hidden.
28189 (__setutent): Likewise.
28190 (__endutent): Likewise.
28191 * login/getutent.c (__getutent): Add libc_hidden_def.
28192 * login/getutent_r.c (__getutent_r): Likewise.
28193 (__pututline): Likewise.
28194 * login/getutid.c (__getutid): Likewise.
28195 * login/getutid_r.c (__getutid_r): Likewise.
28196 * login/getutline.c (__getutline): Likewise.
28197 * login/getutline_r.c (__getutline_r): Likewise.
28198 * login/updwtmp.c (__updwtmp): Likewise.
28200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28203 * include/dirent.h (__opendir): Always add attribute_hidden.
28204 (__fdopendir): Likewise.
28205 (__closedir): Likewise.
28206 (__readdir): Likewise.
28207 (__readdir64): Add libc_hidden_proto.
28208 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28209 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28210 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28211 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28217 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28218 * include/netdb.h (__gethostbyaddr_r): Likewise.
28219 (__gethostbyname_r): Likewise.
28220 (__gethostbyname2_r): Likewise.
28221 (__getnetbyaddr_r): Likewise.
28222 (__getnetbyname_r): Likewise.
28223 (__getservbyname_r): Likewise.
28224 (__getservbyport_r): Likewise.
28225 (__getprotobyname_r): Likewise.
28226 (__getprotobynumber_r): Likewise.
28227 (__getnetgrent_r): Likewise.
28228 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28229 (__getrpcbynumber_r): Likewise.
28230 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28235 * include/stdio.h (__fcloseall): Add attribute_hidden.
28236 (__getline): Likewise.
28237 (__path_search): Likewise.
28238 (__gen_tempname): Likewise.
28239 (__libc_message): Likewise.
28240 (__flockfile): Likewise.
28241 (__funlockfile): Likewise.
28242 (__fxprintf): Likewise.
28243 (__fxprintf_nocancel): Likewise.
28245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28248 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28249 (__sgetsgent_r): Likewise.
28251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28254 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28255 (__statfs64): Likewise.
28256 (__fstatfs64): Likewise.
28257 * include/sys/statvfs.h (__statvfs64): Likewise.
28258 (__fstatvfs64): Likewise.
28259 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28260 (__statfs_filesize_max): Likewise.
28261 (__statfs_symlinks): Likewise.
28262 (__statfs_chown_restricted): Likewise.
28264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28267 * include/time.h (__tzstring): Add attribute_hidden.
28268 (__tzfile_read): Likewise.
28269 (__tzfile_compute): Likewise.
28270 (__tzfile_default): Likewise.
28271 (__tzset_parse_tz): Likewise.
28272 (__offtime): Likewise.
28273 (__asctime_r): Likewise.
28274 (__tzset): Likewise.
28275 (__tz_convert): Likewise.
28276 (__getdate_r): Likewise.
28277 (__getclktck): Likewise.
28279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28282 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28283 (__nscd_unmap): Likewise.
28284 (__nscd_cache_search): Likewise.
28285 (__nscd_get_nl_timestamp): Likewise.
28286 (__nscd_getpwnam_r): Likewise.
28287 (__nscd_getpwuid_r): Likewise.
28288 (__nscd_getgrnam_r): Likewise.
28289 (__nscd_getgrgid_r): Likewise.
28290 (__nscd_gethostbyname_r): Likewise.
28291 (__nscd_gethostbyname2_r): Likewise.
28292 (__nscd_gethostbyaddr_r): Likewise.
28293 (__nscd_getai): Likewise.
28294 (__nscd_getgrouplist): Likewise.
28295 (__nscd_getservbyname_r): Likewise.
28296 (__nscd_getservbyport_r): Likewise.
28297 (__nscd_innetgr): Likewise.
28298 (__nscd_setnetgrent): Likewise.
28300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28303 * include/gmp.h: Declare internal functions only if _ISOMAC is
28305 (__mpn_extract_double): Add attribute_hidden.
28306 (__mpn_extract_long_double): Likewise.
28307 (__mpn_extract_float128): Likewise.
28308 (__mpn_construct_float): Likewise.
28309 (__mpn_construct_double): Likewise.
28310 (__mpn_construct_long_double): Likewise.
28311 (__mpn_construct_float128): Likewise.
28312 (mpn_add_1): Likewise.
28313 (mpn_addmul_1): Likewise.
28314 (mpn_add_n): Likewise.
28315 (mpn_cmp): Likewise.
28316 (mpn_divrem): Likewise.
28317 (mpn_lshift): Likewise.
28318 (mpn_mul): Likewise.
28319 (mpn_mul_1): Likewise.
28320 (mpn_rshift): Likewise.
28321 (mpn_sub_1): Likewise.
28322 (mpn_submul_1): Likewise.
28323 (mpn_sub_n): Likewise.
28325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28328 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28329 (__wcscat): Likewise.
28330 (__btowc): Likewise.
28331 (__wcrtomb): Likewise.
28332 (__mbsrtowcs): Likewise.
28333 (__wcsrtombs): Likewise.
28334 (__mbsnrtowcs): Likewise.
28335 (__wcsnrtombs): Likewise.
28336 (__wcsncpy): Likewise.
28337 (__wcpncpy): Likewise.
28338 (__wmemcpy): Likewise.
28339 (__wmempcpy): Likewise.
28340 (__wmemmove): Likewise.
28341 (__wcschrnul): Likewise.
28342 (__vfwscanf): Likewise.
28343 (__vswprintf): Likewise.
28344 (__fwprintf): Likewise.
28345 (__vfwprintf): Likewise.
28347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28350 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28351 (__getgrgid_r): Likewise.
28352 (__getgrnam_r): Likewise.
28353 * include/pwd.h (__getpwuid_r): Likewise.
28354 (__getpwnam_r): Likewise.
28355 (__fgetpwent_r): Likewise.
28356 * include/shadow.h (__getspnam_r): Likewise.
28357 (__sgetspent_r): Likewise.
28358 (__fgetspent_r): Likewise.
28360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28363 * include/unistd.h (__access): Add attribute_hidden.
28364 (__lseek64): Likewise.
28365 (__libc_pread64): Likewise.
28366 (__pipe2): Likewise.
28367 (__sleep): Likewise.
28368 (__chdir): Likewise.
28369 (__fchdir): Likewise.
28370 (__getcwd): Likewise.
28371 (__rmdir): Likewise.
28372 (__execvpe): Likewise.
28373 (__execve): Likewise.
28374 (__setsid): Likewise.
28375 (__getuid): Likewise.
28376 (__geteuid): Likewise.
28377 (__getgid): Likewise.
28378 (__getegid): Likewise.
28379 (__getgroups): Likewise.
28380 (__group_member): Likewise.
28381 (__ttyname_r): Likewise.
28382 (__isatty): Likewise.
28383 (__readlink): Likewise.
28384 (__unlink): Likewise.
28385 (__gethostname): Likewise.
28386 (__profil): Likewise.
28387 (__getdtablesize): Likewise.
28389 (__ftruncate): Likewise.
28390 (__ftruncate64): Likewise.
28392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28395 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28396 * argp/argp-fs-xinl.c: Likewise.
28397 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28398 * argp/argp-parse.c: Include <argp.h>.
28399 * argp/argp-xinl.c: Likewise.
28400 * include/argp-fmtstream.h: New file.
28401 * include/argp.h (__argp_error): Add attribute_hidden.
28402 (__argp_failure): Likewise.
28403 (__argp_input): Likewise.
28404 (__argp_state_help): Likewise.
28406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28409 * include/wchar.h (____wcstof_l_internal): New prototype.
28410 (____wcstod_l_internal): Likewise.
28411 (____wcstold_l_internal): Likewise.
28412 (____wcstol_l_internal): Likewise.
28413 (____wcstoul_l_internal): Likewise.
28414 (____wcstoll_l_internal): Likewise.
28415 (____wcstoull_l_internal): Likewise.
28416 (____wcstof128_l_internal): Likewise.
28417 * sysdeps/ieee754/float128/wcstof128.c
28418 (____wcstof128_l_internal): Removed.
28419 * sysdeps/ieee754/float128/wcstof128_l.c
28420 (____wcstof128_l_internal): Likewise.
28421 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28422 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28423 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28424 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28425 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28426 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28427 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28428 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28429 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28430 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28432 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28435 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28436 instead of <sys/statvfs.h>.
28437 (__internal_statvfs): Removed.
28438 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28439 instead of <sys/statvfs.h>.
28440 (__internal_statvfs64): Removed.
28441 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28442 "internal_statvfs.h" instead of <sys/statvfs.h>.
28443 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28444 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28445 instead of <sys/statvfs.h>.
28446 (__internal_statvfs): Removed.
28447 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28448 instead of <sys/statvfs.h>.
28449 (__internal_statvfs64): Removed.
28451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28454 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28455 (__gconv_close): Likewise.
28456 (__gconv): Likewise.
28457 (__gconv_find_transform): Likewise.
28458 (__gconv_lookup_cache): Likewise.
28459 (__gconv_compare_alias_cache): Likewise.
28460 (__gconv_load_cache): Likewise.
28461 (__gconv_get_path): Likewise.
28462 (__gconv_close_transform): Likewise.
28463 (__gconv_release_cache): Likewise.
28464 (__gconv_find_shlib): Likewise.
28465 (__gconv_release_shlib): Likewise.
28466 (__gconv_get_builtin_trans): Likewise.
28467 (__gconv_compare_alias): Likewise.
28468 * include/dlfcn.h (_dlerror_run): Likewise.
28469 * include/stdio.h (__fortify_fail_abort): Likewise.
28470 * include/time.h (__tz_compute): Likewise.
28471 (__strptime_internal): Likewise.
28472 * intl/gettextP.h (_nl_find_domain): Likewise.
28473 (_nl_load_domain): Likewise.
28474 (_nl_find_msg): Likewise.
28475 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28476 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28477 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28478 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28479 (__gai_find_request): Likewise.
28480 (__gai_remove_request): Likewise.
28481 (__gai_notify): Likewise.
28482 (__gai_notify_only): Likewise.
28483 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28484 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28485 (_dl_non_dynamic_init): Likewise.
28486 (_dl_aux_init): Likewise.
28487 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28488 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28490 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28491 (__wcsmbs_clone_conv): Likewise.
28492 (__wcsmbs_named_conv): Likewise.
28494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28497 * include/stdlib.h (__random): Add attribute_hidden.
28498 (__random_r): Likewise.
28499 (__srandom_r): Likewise.
28500 (__initstate_r): Likewise.
28501 (__setstate_r): Likewise.
28502 (__erand48_r): Likewise.
28503 (__nrand48_r): Likewise.
28504 (__jrand48_r): Likewise.
28505 (__srand48_r): Likewise.
28506 (__seed48_r): Likewise.
28507 (__lcong48_r): Likewise.
28508 (__drand48_iterate): Likewise.
28509 (__setenv): Likewise.
28510 (__unsetenv): Likewise.
28511 (__clearenv): Likewise.
28512 (__ptsname_r): Likewise.
28513 (__posix_openpt): Likewise.
28514 (__add_to_environ): Likewise.
28515 (__realpath): Add libc_hidden_proto.
28516 (__ecvt_r): Likewise.
28517 (__fcvt_r): Likewise.
28518 (__qecvt_r): Likewise.
28519 (__qfcvt_r): Likewise.
28520 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28521 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28526 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28527 * include/time.h (__mktime_internal): Likewise.
28528 * libio/iolibio.h (__fopen_internal): Likewise.
28530 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28532 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28534 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28535 Correct offset used to restore PIC register.
28537 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28540 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28541 code to load address of __getcontext_ret when generating PIC code.
28543 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28545 * elf/Makefile (tests-static-internal): Add
28546 tst-tls1-static-non-pie.
28547 (LDFLAGS-tst-tls1-static-non-pie): New.
28548 * elf/tst-tls1-static-non-pie.c: New file.
28550 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28552 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28553 (asinh): Define using libm_alias_double.
28554 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28555 (cbrt): Define using libm_alias_double.
28556 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28557 <libm-alias-double.h>.
28558 (copysign): Define using libm_alias_double.
28559 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28560 (erf): Define using libm_alias_double.
28562 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28563 (expm1): Define using libm_alias_double.
28564 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28565 (fabs): Define using libm_alias_double.
28566 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28568 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28569 <libm-alias-double.h>.
28570 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28572 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28573 <libm-alias-double.h>.
28574 (getpayload): Define using libm_alias_double.
28575 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28576 <libm-alias-double.h>.
28577 (llrint): Define using libm_alias_double.
28578 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28579 (lrint): Define using libm_alias_double.
28580 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28581 <libm-alias-double.h>.
28582 (nextup): Define using libm_alias_double.
28583 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28584 <libm-alias-double.h>.
28585 (roundeven): Define using libm_alias_double.
28586 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28588 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28589 <libm-alias-double.h>.
28590 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28591 using libm_alias_double.
28592 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28593 (cos): Define using libm_alias_double.
28595 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28596 <libm-alias-double.h>.
28597 (sincos): Define using libm_alias_double.
28598 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28599 (tanh): Define using libm_alias_double.
28600 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28601 <libm-alias-double.h>.
28602 (totalorder): Define using libm_alias_double.
28603 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28604 <libm-alias-double.h>.
28605 (totalordermag): Define using libm_alias_double.
28606 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28608 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28610 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28611 <libm-alias-double.h>.
28612 (getpayload): Define using libm_alias_double.
28613 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28614 <libm-alias-double.h>.
28615 (roundeven): Define using libm_alias_double.
28616 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28617 <libm-alias-double.h>.
28618 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28619 <libm-alias-double.h>.
28620 (totalorder): Define using libm_alias_double.
28621 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28622 <libm-alias-double.h>.
28623 (totalordermag): Define using libm_alias_double.
28624 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28625 libc compat symbol here.
28626 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28627 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28628 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28629 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28630 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28631 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28632 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28633 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28634 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28635 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28637 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28639 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28640 _dl_relocate_static_pie instead of _dl_start to compute load
28641 address in static PIE. Return 0 if _DYNAMIC is undefined for
28644 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28646 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28647 _DYNAMIC is undefined for static executable.
28649 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28651 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28653 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28657 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28659 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28660 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28661 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28662 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28663 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28664 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28665 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28666 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28667 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28668 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28669 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28670 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28671 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28672 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28675 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28677 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28679 * math/bits/cmathcalls.h (cimag): Remove inline.
28680 (creal): Remove inline.
28681 (conj): Remove inline.
28683 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28685 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28686 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28687 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28688 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28689 (issignalingf_inline): Likewise.
28690 (POWF_LOG2_TABLE_BITS): Likewise.
28691 (POWF_LOG2_POLY_ORDER): Likewise.
28692 (POWF_SCALE_BITS): Likewise.
28693 (POWF_SCALE): Likewise.
28694 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28695 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28696 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28698 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28700 * math/Makefile (type-float-routines): Add e_log2f_data.
28701 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28702 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28703 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28704 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28705 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28706 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28707 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28709 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28711 * math/Makefile (type-float-routines): Add e_logf_data.
28712 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28713 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28714 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28715 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28716 * sysdeps/i386/fpu/e_logf_data.c: New file.
28717 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28718 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28720 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28722 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28723 undefined _DYNAMIC in PIE libc.a.
28724 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28727 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28729 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28730 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28731 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28732 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28733 (__signbit): Remove.
28734 (__signbitl): Remove.
28735 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28736 (__signbit): Remove.
28737 (__signbitl): Remove.
28738 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28739 (__signbit): Remove.
28740 (__signbitl): Remove.
28741 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28742 (__signbit): Remove.
28743 (__signbitl): Remove.
28744 * sysdeps/tile/bits/mathinline.h: Delete file.
28745 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28746 (__signbit): Remove.
28747 (__signbitl): Remove.
28749 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28751 * math/math.h: Improve handling of C99 isgreater macros.
28752 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28753 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28754 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28755 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28756 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28758 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28760 * sysdeps/aarch64/libm-test-ulps: Update.
28762 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28765 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28766 math_opt_barrier on argument when doing arithmetic on it.
28767 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28768 Likewise. Use math_force_eval not math_opt_barrier after
28770 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28771 math_opt_barrier on argument when doing arithmetic on it.
28772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28775 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28777 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28779 (__freeifaddrs): Likewise.
28781 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28783 * include/dirent.h (__dirfd): New declaration.
28784 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28786 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28787 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28788 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28789 * include/unistd.h (__revoke): New declaration.
28790 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28792 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28793 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28795 * include/dirent.h (__seekdir): New declaration.
28796 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28797 redefine as weak alias.
28798 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28800 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28801 and use libc_hidden_def on them.
28802 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28804 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28805 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28806 instead of getifaddrs and freeifaddrs.
28808 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28811 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28812 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28813 (__dso_handle): Remove declaration.
28814 * dlfcn/tstatexit.c (__dso_handle): Removed.
28815 (main): Don't check __dso_handle.
28816 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28817 (main): Don't check __dso_handle.
28818 * include/dso_handle.h: New file.
28819 * malloc/mtrace.c: Include <dso_handle.h>.
28820 (mtrace): Pass __dso_handle directly.
28821 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28822 (__dso_handle): Remove declaration.
28823 (__pthread_atfork): Pass __dso_handle directly.
28824 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28825 (__dso_handle): Removed.
28826 * posix/wordexp-test.c: Include <dso_handle.h>.
28827 (__dso_handle): Remove declaration.
28828 (__app_register_atfork): Pass __dso_handle directly.
28829 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28830 (__dso_handle): Remove declaration.
28831 (at_quick_exit): Pass __dso_handle directly.
28832 * stdlib/atexit.c: Include <dso_handle.h>.
28833 (__dso_handle): Remove declaration.
28834 (atexit): Pass __dso_handle directly.
28835 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28836 (__dso_handle): Removed.
28838 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28840 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28843 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28845 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28846 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28847 values to correct default value for given type.
28849 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28852 * elf/Makefile (tests): Add tst-debug1.
28853 ($(objpfx)tst-debug1): New.
28854 ($(objpfx)tst-debug1.out): Likewise.
28855 ($(objpfx)tst-debug1mod1.so): Likewise.
28856 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28857 with p_filesz == 0.
28858 * elf/tst-debug1.c: New file.
28860 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28862 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28863 Define using __ifunc.
28865 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28867 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28870 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28873 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28875 2017-09-26 Florian Weimer <fweimer@redhat.com>
28877 * resolv/Makefile (tests-internal): Fix typo in comment.
28879 2017-09-26 Florian Weimer <fweimer@redhat.com>
28881 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28883 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28885 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28886 Use an union instead of a max_align_t array for __space,
28887 so that __space is the same size on all platforms.
28888 * malloc/scratch_buffer_grow_preserve.c
28889 (__libc_scratch_buffer_grow_preserve): Likewise.
28892 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28894 * posix/Makefile (routines): Add glob-lstat-compat and
28895 glob64-lstat-compat.
28896 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28897 * posix/glob-lstat-compat.c: New file.
28898 * posix/glob64-lstat-compat.c: Likewise.
28899 * posix/tst-glob_lstat_compat.c: Likewise.
28900 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28901 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28902 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28903 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28905 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28906 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28907 * posix/glob.c (glob_lstat): New function.
28908 (glob): Rename to __glob and add versioned symbol to 2.27.
28909 (glob_in_dir): Use glob_lstat.
28910 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28911 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28912 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28914 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28915 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28916 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28917 gl_lstat on glob call.
28918 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28919 and glob64 symbols.
28920 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28921 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28922 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28923 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28924 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28925 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28926 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28927 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28928 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28929 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28930 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28931 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28934 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28938 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28939 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28940 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28943 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28944 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28945 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28947 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28949 * configure.ac (AS): Require binutils 2.25 or later.
28950 * configure: Regenerated.
28952 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28955 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28958 2017-09-25 DJ Delorie <dj@redhat.com>
28961 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28964 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28966 * sysdeps/ieee754/dbl-64/sincos32.h
28967 [SINCCOS32_H]: Remove define.
28968 [SINCOS32_H]: Define.
28970 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28972 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28974 * math/w_exp2f.c: New file.
28975 * math/w_expf.c: New file.
28976 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28977 * math/w_expf_compat.c (__expf_compat): Likewise.
28978 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28979 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28981 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28982 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28984 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28986 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28987 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28988 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28989 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28991 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29001 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29003 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29009 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29010 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29011 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29013 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29015 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29016 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29017 (roundtoint, converttoint): Likewise.
29018 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29019 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29020 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29021 * sysdeps/ieee754/flt-32/math_config.h: New file.
29022 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29023 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29024 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29025 * sysdeps/i386/fpu/math_errf.c: New file.
29026 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29027 * sysdeps/ia64/fpu/math_errf.c: New file.
29028 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29029 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29031 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29033 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29034 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29035 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29036 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29037 to make sure that these symbols are defined.
29038 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29040 (__need_NULL): Do not define.
29041 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29043 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29044 CMGROUP_MAX, cmsgcred): Do not define.
29045 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29047 * bits/socket.h: Likewise.
29048 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29049 __gettimeofday instead of gettimeofday.
29050 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29051 instead of settimeofday.
29053 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29055 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29056 (asinhf): Define using libm_alias_float.
29057 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29058 (atanf): Define using libm_alias_float.
29059 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29060 (cbrtf): Define using libm_alias_float.
29061 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29062 (ceilf): Define using libm_alias_float.
29063 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29064 <libm-alias-float.h>.
29065 (copysignf): Define using libm_alias_float.
29066 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29067 (cosf): Define using libm_alias_float.
29068 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29069 (erff): Define using libm_alias_float.
29071 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29072 (expm1f): Define using libm_alias_float.
29073 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29074 (fabsf): Define using libm_alias_float.
29075 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29076 (floorf): Define using libm_alias_float.
29077 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29078 (frexpf): Define using libm_alias_float.
29079 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29081 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29082 <libm-alias-float.h>.
29083 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29085 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29086 <libm-alias-float.h>.
29087 (getpayloadf): Define using libm_alias_float.
29088 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29089 <libm-alias-float.h>.
29090 (llrintf): Define using libm_alias_float.
29091 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29092 <libm-alias-float.h>.
29093 (llroundf): Define using libm_alias_float.
29094 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29095 (logbf): Define using libm_alias_float.
29096 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29097 (lrintf): Define using libm_alias_float.
29098 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29099 (lroundf): Define using libm_alias_float.
29100 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29101 (modff): Define using libm_alias_float.
29102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29103 <libm-alias-float.h>.
29104 (nearbyintf): Define using libm_alias_float.
29105 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29106 <libm-alias-float.h>.
29107 (nextafterf): Define using libm_alias_float.
29108 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29109 <libm-alias-float.h>.
29110 (nextupf): Define using libm_alias_float.
29111 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29112 <libm-alias-float.h>.
29113 (remquof): Define using libm_alias_float.
29114 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29115 (rintf): Define using libm_alias_float.
29116 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29117 <libm-alias-float.h>.
29118 (roundevenf): Define using libm_alias_float.
29119 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29120 (roundf): Define using libm_alias_float.
29121 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29122 using libm_alias_float.
29123 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29124 <libm-alias-float.h>.
29125 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29126 Define using libm_alias_float.
29127 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29128 <libm-alias-float.h>.
29129 (sincosf): Define using libm_alias_float.
29130 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29131 (sinf): Define using libm_alias_float.
29132 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29133 (tanf): Define using libm_alias_float.
29134 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29135 (tanhf): Define using libm_alias_float.
29136 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29137 <libm-alias-float.h>.
29138 (totalorderf): Define using libm_alias_float.
29139 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29140 <libm-alias-float.h>.
29141 (totalordermagf): Define using libm_alias_float.
29142 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29143 (truncf): Define using libm_alias_float.
29144 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29146 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29149 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29152 math/math.h: Let fpclassify use the builtin in C++ mode, even
29153 when optimazing for size.
29155 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29157 * csu/Makefile (generated): Do not add version-info.h.
29158 (before-compile): Likewise.
29159 (all-Banner-files): Remove variable.
29160 ($(objpfx)version-info.h): Remove rule.
29161 * csu/version.c (banner): Do not include "version-info.h".
29162 * libidn/Banner: Remove.
29163 * manual/contrib.texi (Simon Josefsson): New entry.
29165 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29167 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29168 Remove conditionals on LDBL_MANT_DIG.
29169 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29170 (__ieee754_lgammal_r): Likewise.
29172 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29176 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29177 _Float128 and L(). Replace _Float128 with long double and L(x)
29178 with xL, throughout the file.
29179 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29184 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29187 sysdeps/ieee754/ldbl-128ibm.
29188 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29189 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29190 of including it. Keep _Float128 and L() intact. These will be
29191 reviewed by a separate patch.
29192 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29197 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29200 (__finitef128): Define to __redirect___finitef128.
29201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29202 (__isinff128): Define to __redirect___isinff128.
29203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29204 (__isnanf128): Define to __redirect___isnanf128.
29206 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29208 * sysdeps/powerpc/powerpc64le/Makefile
29209 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29210 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29212 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29213 Carlos O'Donell <carlos@redhat.com>
29216 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29217 * stdlib/test-dlclose-exit-race.c: New file.
29218 * stdlib/test-dlclose-exit-race-helper.c: New file.
29219 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29221 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29223 * crypt/Banner: Remove file.
29224 * nptl/Banner: Likewise.
29225 * resolv/Banner: Likewise.
29226 * soft-fp/Banner: Likewise.
29227 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29228 ($(objpfx)version.d): Remove dependency on banner.h.
29229 ($(objpfx)version.os): Likewise.
29230 * nptl/version.c (banner): Do not include banner.h.
29231 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29232 Jelinek and BIND code.
29234 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29235 Carlos O'Donell <carlos@redhat.com>
29237 * support/xdlfcn.h: New file.
29238 * support/xdlfcn.c: New file.
29239 * support/Makefile (libsupport-routines): Add xdlfcn.
29240 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29242 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29246 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29247 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29248 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29249 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29250 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29251 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29252 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29254 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29255 Ricky Zhou <rickyz@google.com>
29256 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29259 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29261 (__new_exitfn): Fail registration when we finished at_exit processing.
29262 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29263 * stdlib/on_exit.c (__on_exit): Likewise.
29264 * stdlib/exit.c (__exit_funcs_done): New variable.
29265 (__run_exit_handlers): Use __exit_funcs_lock.
29266 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29268 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29269 (test-cxa_atexit-race, test-on_exit-race): New tests.
29270 * stdlib/test-atexit-race-common.c: New file.
29271 * stdlib/test-atexit-race.c: New file.
29272 * stdlib/test-at_quick_exit-race.c: New file.
29273 * stdlib/test-cxa_atexit-race.c: New file.
29274 * stdlib/test-on_exit-race.c: New file.
29276 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29278 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29279 * benchtests/exp2f-inputs: Copy of expf-inputs.
29280 * benchtests/log2f-inputs: Copy of logf-inputs.
29282 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29284 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29285 Explicitly take address of first element of array arguments in
29286 call to INLINE_SYSCALL.
29288 2017-09-19 Andreas Schwab <schwab@suse.de>
29291 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29293 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29295 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29296 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29297 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29298 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29299 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29300 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29301 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29302 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29303 * posix/Makefile (tests): Add tst-fexecve.
29304 * posix/tst-fexecve.c: New file.
29306 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29308 * benchtests/Makefile: Add logf benchmark.
29309 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29311 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29313 * benchtests/Makefile: Add expf benchmark.
29314 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29316 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29318 * csu/Makefile: Add -funwind-tables to libc-start.c.
29319 * debug/Makefile: Add -funwind-tables to backtrace.c.
29320 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29321 * sysdeps/arm/Makefile: Likewise.
29322 * sysdeps/i386/Makefile: Likewise.
29323 * sysdeps/m68k/Makefile: Likewise.
29324 * sysdeps/mips/Makefile: Likewise.
29325 * sysdeps/nios2/Makefile: Likewise.
29326 * sysdeps/sh/Makefile: Likewise.
29327 * sysdeps/sparc/Makefile: Likewise.
29329 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29331 * benchtests/Makefile (bench-math): Add trunc and truncf.
29332 (CFLAGS-bench-trunc.c): New variable.
29333 (CFLAGS-bench-truncf.c): Likewise.
29334 * benchtests/trunc-inputs: New file.
29335 * benchtests/truncf-inputs: Likewise.
29337 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29339 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29341 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29343 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29344 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29346 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29347 (exp10l): Define as weak alias.
29348 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29349 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29351 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29352 (remainderl): Define as weak alias.
29354 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29355 (fmal): Define using libm_alias_ldouble.
29356 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29357 (acoshl): Define using libm_alias_ldouble.
29358 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29359 (acosl): Define using libm_alias_ldouble.
29360 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29361 (asinl): Define using libm_alias_ldouble.
29362 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29363 (atan2l): Define using libm_alias_ldouble.
29364 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29365 (atanhl): Define using libm_alias_ldouble.
29366 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29367 (coshl): Define using libm_alias_ldouble.
29368 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29369 (exp10l): Define using libm_alias_ldouble.
29370 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29371 (exp2l): Define using libm_alias_ldouble.
29372 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29373 (expl): Define using libm_alias_ldouble.
29374 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29375 (fmodl): Define using libm_alias_ldouble.
29376 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29377 (hypotl): Define using libm_alias_ldouble.
29378 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29379 (j0l): Define using libm_alias_ldouble.
29381 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29382 (j1l): Define using libm_alias_ldouble.
29384 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29385 (jnl): Define using libm_alias_ldouble.
29387 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29388 (log10l): Define using libm_alias_ldouble.
29389 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29390 (log2l): Define using libm_alias_ldouble.
29391 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29392 (logl): Define using libm_alias_ldouble.
29393 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29394 (powl): Define using libm_alias_ldouble.
29395 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29396 (remainderl): Define using libm_alias_ldouble.
29397 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29398 (sinhl): Define using libm_alias_ldouble.
29399 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29400 (sqrtl): Define using libm_alias_ldouble.
29401 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29402 (tgammal): Define using libm_alias_ldouble.
29403 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29404 (exp10l): Do not use long_double_symbol here.
29405 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29406 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29407 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29408 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29409 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29410 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29411 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29412 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29413 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29414 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29415 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29416 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29417 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29418 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29419 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29420 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29421 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29422 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29423 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29424 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29425 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29426 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29428 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29430 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29431 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29433 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29435 * io/read.c (read): Add libc_hidden_weak.
29436 * sysdeps/mach/hurd/read.c (read): Likewise.
29437 * io/write.c (write): Likewise.
29438 * sysdeps/mach/hurd/write.c (write): Likewise.
29439 * io/pread64.c (__pread64): Likewise.
29440 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29441 * posix/pread64.c (__pread64): Add libc_hidden_def.
29443 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29445 * benchtests/scripts/compare_strings.py: New option -g.
29446 (draw_graph): Print a message that a graph is being generated.
29447 (process_results): Generate graph only if -g is passed.
29448 (main): Process option -g.
29450 * benchtests/scripts/compare_strings.py (process_results):
29451 Better spacing for output.
29453 * benchtests/scripts/compare_strings.py: Use argparse.
29454 * benchtests/README: Document existence of compare_strings.py.
29456 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29458 * math/s_fma.c: Include <libm-alias-double.h>.
29459 (fma): Define using libm_alias_double.
29460 * math/s_nextafter.c: Include <libm-alias-double.h>.
29461 (nextafter): Define using libm_alias_double.
29462 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29463 (acos): Define using libm_alias_double.
29464 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29465 (aocsh): Define using libm_alias_double.
29466 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29467 (asin): Define using libm_alias_double.
29468 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29469 (atan2): Define using libm_alias_double.
29470 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29471 (atanh): Define using libm_alias_double.
29472 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29473 (cosh): Define using libm_alias_double.
29474 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29475 (exp10): Define using libm_alias_double.
29476 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29477 (exp2): Define using libm_alias_double.
29478 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29479 (exp): Define using libm_alias_double.
29480 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29481 (fmod): Define using libm_alias_double.
29482 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29483 (hypot): Define using libm_alias_double.
29484 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29485 (j0): Define using libm_alias_double.
29487 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29488 (j1): Define using libm_alias_double.
29490 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29491 (jn): Define using libm_alias_double.
29493 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29494 (log10): Define using libm_alias_double.
29495 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29496 (log2): Define using libm_alias_double.
29497 * math/w_log_compat.c: Include <libm-alias-double.h>.
29498 (log): Define using libm_alias_double.
29499 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29500 (pow): Define using libm_alias_double.
29501 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29502 (remainder): Define using libm_alias_double.
29503 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29504 (sinh): Define using libm_alias_double.
29505 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29506 (sqrt): Define using libm_alias_double.
29507 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29508 (tgamma): Define using libm_alias_double.
29509 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29510 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29511 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29512 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29513 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29514 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29515 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29516 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29517 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29518 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29519 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29520 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29521 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29522 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29523 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29524 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29525 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29526 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29527 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29528 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29529 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29530 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29531 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29532 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29533 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29535 * math/e_acoshl.c: Remove.
29536 * math/e_acosl.c: Likewise.
29537 * math/e_asinl.c: Likewise.
29538 * math/e_atan2l.c: Likewise.
29539 * math/e_atanhl.c: Likewise.
29540 * math/e_coshl.c: Likewise.
29541 * math/e_expl.c: Likewise.
29542 * math/e_fmodl.c: Likewise.
29543 * math/e_gammal_r.c: Likewise.
29544 * math/e_hypotl.c: Likewise.
29545 * math/e_j0l.c: Likewise.
29546 * math/e_j1l.c: Likewise.
29547 * math/e_jnl.c: Likewise.
29548 * math/e_lgammal_r.c: Likewise.
29549 * math/e_log10l.c: Likewise.
29550 * math/e_log2l.c: Likewise.
29551 * math/e_logl.c: Likewise.
29552 * math/e_powl.c: Likewise.
29553 * math/e_rem_pio2l.c: Likewise.
29554 * math/e_sinhl.c: Likewise.
29555 * math/e_sqrtf128.c: Likewise.
29556 * math/e_sqrtl.c: Likewise.
29557 * math/k_cosl.c: Likewise.
29558 * math/k_sinl.c: Likewise.
29559 * math/k_tanl.c: Likewise.
29560 * math/s_asinhl.c: Likewise.
29561 * math/s_atanl.c: Likewise.
29562 * math/s_cbrtl.c: Likewise.
29563 * math/s_erfl.c: Likewise.
29564 * math/s_expm1l.c: Likewise.
29565 * math/s_log1pl.c: Likewise.
29566 * math/s_tanhl.c: Likewise.
29568 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29572 [$(subdir) = math] (sysdep_calls): New variable. Has the
29573 previous contents of sysdep_routines, but re-sorted..
29574 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29576 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29577 defined in sysdep_calls and replace by the respective m_* names.
29578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29579 (compat_symbol): Undefine to avoid duplicated compat symbols in
29582 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29584 * math/s_fmaf.c: Include <libm-alias-float.h>.
29585 (fmaf): Define using libm_alias_float.
29586 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29587 (acosf): Define using libm_alias_float.
29588 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29589 (acoshf): Define using libm_alias_float.
29590 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29591 (asinf): Define using libm_alias_float.
29592 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29593 (atan2f): Define using libm_alias_float.
29594 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29595 (atanhf): Define using libm_alias_float.
29596 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29597 (coshf): Define using libm_alias_float.
29598 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29599 (exp10f): Define using libm_alias_float.
29600 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29601 (fmodf): Define using libm_alias_float.
29602 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29603 (hypotf): Define using libm_alias_float.
29604 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29605 (j0f): Define using libm_alias_float.
29607 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29608 (j1f): Define using libm_alias_float.
29610 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29611 (jnf): Define using libm_alias_float.
29613 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29614 (log10f): Define using libm_alias_float.
29615 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29616 (log2f): Define using libm_alias_float.
29617 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29618 (logf): Define using libm_alias_float.
29619 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29620 (powf): Define using libm_alias_float.
29621 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29622 (remainderf): Define using libm_alias_float.
29623 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29624 (sinhf): Define using libm_alias_float.
29625 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29626 (sqrtf): Define using libm_alias_float.
29627 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29628 (tgammaf): Define using libm_alias_float.
29630 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29632 * include/math.h (roundeven): Change hidden_proto call to
29634 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29636 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29637 (y0): Rename to __y0 and define as weak alias.
29638 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29639 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29641 (y0f): Rename to __y0f and define as weak alias.
29642 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29644 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29645 (y1): Rename to __y1 and define as weak alias.
29646 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29647 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29649 (y1f): Rename to __y1f and define as weak alias.
29650 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29652 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29653 (yn): Rename to __yn and define as weak alias.
29654 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29655 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29657 (ynf): Rename to __ynf and define as weak alias.
29658 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29659 (fromfp): Define as weak alias.
29660 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29661 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29662 (fromfpx): Define as weak alias.
29663 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29664 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29665 __getpayload and define as weak alias.
29666 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29667 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29668 __roundeven and define as weak alias.
29669 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29670 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29672 (setpayload): Define as weak alias.
29673 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29674 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29676 (setpayloadsig): Define as weak alias.
29677 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29678 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29679 __totalorder and define as weak alias.
29680 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29681 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29682 to __totalordermag and define as weak alias.
29683 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29684 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29685 (ufromfp): Define as weak alias.
29686 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29687 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29689 (ufromfpx): Define as weak alias.
29690 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29691 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29692 Rename to __getpayload and define as weak alias.
29693 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29694 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29695 Rename to __roundeven and define as weak alias.
29696 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29697 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29698 Rename to __totalorder and define as weak alias.
29699 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29700 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29701 (totalordermag): Rename to __totalordermag and define as weak
29703 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29704 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29706 (__roundevenl): Likewise.
29707 (__totalorderl): Likewise.
29708 (__totalordermagl): Likewise
29709 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29711 (fromfpf128): Define as weak alias.
29712 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29714 (fromfpxf128): Define as weak alias.
29715 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29717 (setpayloadf128): Define as weak alias.
29718 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29719 __setpayloadsigf128.
29720 (setpayloadsigf128): Define as weak alias.
29721 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29723 (ufromfpf128): Define as weak alias.
29724 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29726 (ufromfpxf128): Define as weak alias.
29727 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29728 (fromfpf): Define as weak alias.
29729 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29731 (fromfpxf): Define as weak alias.
29732 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29733 __getpayloadf and define as weak alias.
29734 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29735 __roundevenf and define as weak alias.
29736 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29738 (setpayloadf): Define as weak alias.
29739 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29741 (setpayloadsigf): Define as weak alias.
29742 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29743 __totalorderf and define as weak alias.
29744 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29745 Rename to __totalordermagf and define as weak alias.
29746 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29748 (ufromfpf): Define as weak alias.
29749 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29751 (ufromfpxf): Define as weak alias.
29752 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29754 (fromfpl): Define as weak alias.
29755 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29757 (fromfpxl): Define as weak alias.
29758 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29759 to __getpayloadl and define as weak alias.
29760 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29761 __roundevenl and define as weak alias.
29762 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29764 (setpayloadl): Define as weak alias.
29765 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29767 (setpayloadsigl): Define as weak alias.
29768 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29769 to __totalorderl and define as weak alias.
29770 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29771 Rename to __totalordermagl and define as weak alias.
29772 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29774 (ufromfpl): Define as weak alias.
29775 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29777 (ufromfpxl): Define as weak alias.
29778 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29780 (fromfpl): Define as weak alias.
29781 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29783 (fromfpxl): Define as weak alias.
29784 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29785 Rename to __getpayloadl and define as weak alias.
29786 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29787 to __roundevenl and define as weak alias. Call __roundeven
29788 instead of roundeven.
29789 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29791 (setpayloadl): Define as weak alias.
29792 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29794 (setpayloadsigl): Define as weak alias.
29795 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29796 Rename to __totalorderl and define as weak alias.
29797 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29798 Rename to __totalordermagl and define as weak alias.
29799 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29801 (ufromfpl): Define as weak alias.
29802 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29804 (ufromfpxl): Define as weak alias.
29805 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29807 (fromfpl): Define as weak alias.
29808 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29810 (fromfpxl): Define as weak alias.
29811 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29812 __getpayloadl and define as weak alias.
29813 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29814 __roundevenl and define as weak alias.
29815 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29817 (setpayloadl): Define as weak alias.
29818 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29820 (setpayloadsigl): Define as weak alias.
29821 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29822 __totalorderl and define as weak alias.
29823 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29824 Rename to __totalordermagl and define as weak alias.
29825 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29827 (ufromfpl): Define as weak alias.
29828 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29830 (ufromfpxl): Define as weak alias.
29832 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29834 * benchtests/bench-string.h (realloc_bufs): New function.
29835 (test_init): Call it.
29836 * benchtests/bench-memset-large.c (do_test): Likewise.
29837 * benchtests/bench-memset.c (do_test): Likewise.
29839 * benchtests/bench-memset-large.c: Print output in JSON
29841 * benchtests/bench-memset.c: Likewise.
29843 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29846 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29847 * iconvdata/Makefile: Add IBM858.
29848 * iconvdata/gconv-modules: Likewise.
29849 * iconvdata/tst-tables.sh: Likewise.
29850 * iconvdata/ibm858.c: New file.
29851 * localedata/charmaps/IBM858: Likewise.
29853 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29856 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29857 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29859 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29862 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29863 and add tel_int_fmt.
29865 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29867 * sysdeps/generic/libm-alias-float128.h: New file.
29868 * sysdeps/generic/math-type-macros-float128.h: Include
29869 <libm-alias-float128.h>.
29870 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29872 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29874 * sysdeps/generic/libm-alias-ldouble.h: New file.
29875 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29876 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29877 * sysdeps/generic/math-type-macros-ldouble.h: Include
29878 <libm-alias-ldouble.h>.
29879 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29880 libm_alias_ldouble.
29882 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29884 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29885 * math/w_exp_compat.c: ... here.
29886 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29887 * math/w_expf_compat.c: ... here.
29888 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29889 * math/w_expl_compat.c: ... here.
29890 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29891 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29892 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29893 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29895 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29897 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29899 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29901 (ldexpl): Only define as compat symbol for libc, not libm.
29902 (scalbnl): Define as compat symbol for libc here.
29903 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29904 define for [IS_IN (libc)].
29905 (__ldexpl_2): Remove alias.
29906 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29907 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29908 name in long_double_symbol call.
29909 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29910 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29911 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29912 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29913 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29915 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29916 Define as compat symbol.
29918 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29920 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29921 * sysdeps/unix/sysv/linux/alpha/Makefile
29922 [$(subdir) = csu] (sysdep_routines): Remove rule.
29924 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29926 * sysdeps/generic/libm-alias-double.h: New file.
29927 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29928 * sysdeps/generic/math-type-macros-double.h: Include
29929 <libm-alias-double.h>.
29930 [declare_mgen_alias] (declare_mgen_alias): Define to use
29932 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29933 (M_LIBM_NEED_COMPAT): Remove macro.
29934 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29935 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29936 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29938 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29939 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29940 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29941 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29942 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29943 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29944 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29945 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29946 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29947 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29948 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29949 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29950 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29951 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29952 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29953 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29954 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29955 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29956 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29957 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29958 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29959 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29960 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29961 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29962 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29963 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29964 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29965 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29966 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29968 (declare_mgen_alias): New macro.
29969 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29970 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29972 (M_LIBM_NEED_COMPAT): Remove macro.
29973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29974 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29975 <first-versions.h>.
29976 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29977 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29979 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29981 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29982 (declare_mgen_alias_2): Remove.
29983 * sysdeps/generic/math-type-macros-double.h
29984 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29986 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29988 (ldexp): Define with declare_mgen_alias.
29989 (scalbn): Likewise.
29991 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29993 * grp/initgroups.c: Include config.h.
29994 (DEFAULT_CONFIG): New macro.
29995 (internal_getgrouplist): Use DEFAULT_CONFIG.
29996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29997 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29998 (DEFAULT_DEFCONFIG): New macro.
29999 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30000 * nss/grp-lookup.c: Include config.h
30001 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30002 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30003 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30004 * manual/nss.texi: Update default values section.
30006 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30009 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30011 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30012 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30013 Handle MathVec_Prefer_No_AVX512.
30014 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30015 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30018 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30020 * posix/sched_primax.c (__sched_get_priority_max): Add
30022 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30023 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30024 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30025 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30026 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30027 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30028 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30029 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30032 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30034 * sysdeps/generic/libm-alias-float.h: New file.
30035 * sysdeps/generic/math-type-macros-float.h: Include
30036 <libm-alias-float.h>.
30037 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30039 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30042 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30043 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30044 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30045 (HWCAP_IMPORTANT): Likewise.
30046 (HWCAP_X86_64): New enum.
30047 (HWCAP_X86_AVX512_1): Updated.
30048 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30049 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30050 (modules-names): Add x86_64/tst-x86_64mod-1.
30051 (LDFLAGS-tst-x86_64mod-1.so): New.
30052 ($(objpfx)tst-x86_64-1): Likewise.
30053 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30054 (tst-x86_64-1-clean): Likewise.
30055 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30056 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30058 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30060 * po/sv.po: Update translations.
30061 * po/fr.po: Likewise.
30063 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30065 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30067 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30069 * elf/rtld-Rules: Fix $(error) use.
30071 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30074 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30075 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30076 * localedata/locales/bn_BD: “Bengali” was still used in some
30077 comments. Change it to “Bangla”.
30079 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30081 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30083 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30085 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30086 thunderx2t99p1 to list of cpu names.
30087 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30088 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30090 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30092 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30093 Use strcmp instead of tunable_is_name.
30095 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30098 (F_GET_RW_HINT): New macro.
30099 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30100 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30101 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30102 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30103 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30104 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30105 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30106 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30107 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30110 (F_ADD_SEALS): New macro.
30111 [__USE_GNU] (F_GET_SEALS): Likewise.
30112 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30113 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30114 [__USE_GNU] (F_SEAL_GROW): Likewise.
30115 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30117 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30119 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30120 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30121 * posix/glob_internal.h (__glob_pattern_type):
30122 * posix/glob.c (glob):
30123 * posix/glob_pattern_p.c (__glob_pattern_p):
30126 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30127 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30128 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30129 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30130 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30132 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30133 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30134 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30135 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30136 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30137 * sysdeps/wordsize-64/glob.c: Likewise.
30138 * sysdeps/wordsize-64/glob64.c: Likewise.
30139 * sysdeps/wordsize-64/globfree.c: Likewise.
30140 * sysdeps/wordsize-64/globfree64.c: Likewise.
30141 * sysdeps/unix/sysv/linux/glob.c: New file.
30142 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30143 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30144 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30145 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30146 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30147 adds !GLOB_NO_OLD_VERSION as an extra condition.
30148 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30149 using relative path instead of absolute one.
30150 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30151 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30152 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30153 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30154 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30155 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30158 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30159 (glob): Use the same scratch buffer for both getlogin_r and
30160 getpwnam_r. Don’t require preallocation of the login name. This
30161 simplifies storage allocation, and corrects the handling of
30165 * posix/glob.c (glob): Port recent patches to platforms
30166 lacking getpwnam_r.
30167 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30168 returns an error number rather than setting errno.
30170 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30171 instead of GCC extension.
30172 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30173 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30174 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30178 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30179 * posix/bug-glob1.c: Remove file.
30180 * posix/tst-glob_symlinks.c: New file.
30181 * posix/glob.c (__lstat64): New macro.
30182 (is_dir): New function.
30183 (glob, glob_in_dir): Match symlinks even if they are dangling.
30184 (link_stat, link_exists_p): Remove. All uses removed.
30188 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30189 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30194 * posix/Makefile (routines): Add globfree, globfree64, and
30196 * posix/flexmember.h: New file.
30197 * posix/glob_internal.h: Likewise.
30198 * posix/glob_pattern_p.c: Likewise.
30199 * posix/globfree.c: Likewise.
30200 * posix/globfree64.c: Likewise.
30201 * sysdeps/gnu/globfree64.c: Likewise.
30202 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30203 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30204 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30205 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30206 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30207 * sysdeps/wordsize-64/globfree.c: Likewise.
30208 * sysdeps/wordsize-64/globfree64.c: Likewise.
30209 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30210 [NDEBUG): Remove comments.
30211 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30212 (dirent_type): New type. Use uint_fast8_t not
30213 uint8_t, as C99 does not require uint8_t.
30214 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30215 (struct readdir_result): Use dirent_type. Do not define skip_entry
30216 unless it is needed; this saves a byte on platforms lacking d_ino.
30217 (readdir_result_type, readdir_result_skip_entry):
30218 New functions, replacing ...
30219 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30220 these functions, which were removed. This makes the callers
30221 easier to read. All callers changed.
30222 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30223 (size_add_wrapv, glob_use_alloca): New static functions.
30224 (glob, glob_in_dir): Check for size_t overflow in several places,
30225 and fix some size_t checks that were not quite right.
30226 Remove old code using SHELL since Bash no longer
30228 (glob, prefix_array): Separate MS code better.
30229 (glob_in_dir): Remove old Amiga and VMS code.
30230 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30232 (glob_in_dir): Do not rely on undefined behavior in accessing
30233 struct members beyond their bounds. Use a flexible array member
30235 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30236 0/1. Caller changed.
30237 (glob): Fix memory leaks.
30238 * posix/glob64 (globfree64): Move to separate file.
30239 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30240 (globfree64): Remove hidden alias.
30241 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30243 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30245 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30247 Move compat code to separate file.
30248 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30251 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30253 * resolv/tst-resolv-qtypes.c (domain): Changed to
30254 "const char domain[] =".
30256 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30258 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30261 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30262 (TCP_MD5SIG_EXT): Likewise.
30263 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30264 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30265 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30267 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30269 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30271 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30273 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30276 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30278 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30280 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30281 before assuming that the file is empty. Avoid testing buffer content
30284 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30287 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30289 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30291 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30293 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30295 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30297 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30299 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30302 2017-09-06 Florian Weimer <fweimer@redhat.com>
30304 * malloc/dynarray_emplace_enlarge.c
30305 (__libc_dynarray_emplace_enlarge): Add missing else.
30307 2017-09-06 Florian Weimer <fweimer@redhat.com>
30310 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30311 case of failure to obtain the global conf object.
30313 2017-09-06 Florian Weimer <fweimer@redhat.com>
30316 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30317 dynarray allocation failure.
30319 2017-09-06 Florian Weimer <fweimer@redhat.com>
30321 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30322 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30323 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30325 (response): Call them. Add 'p', '6' flag processing.
30326 (test_reverse): New function.
30327 (test_get2_any): Call it.
30328 (test_no_inet6): Add 'p' test.
30329 (test_inet6): Likewise.
30331 2017-09-06 Florian Weimer <fweimer@redhat.com>
30333 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30334 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30336 (test_gai): Adjust query names. Add additional tests.
30337 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30338 test_get2. Adjust query names. Add additional tests.
30339 (test_no_inet6): New function, extracted from threadfunc.
30340 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30341 Add additional tests.
30343 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30346 * localedata/unicode-gen/utf8_gen.py: Set the width for
30347 characters with Prepended_Concatenation_Mark property to 1
30348 * localedata/charmaps/UTF-8: Updated using the improved script.
30350 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30353 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30354 use the range notation for all ranges of neighbouring characters
30355 with the same width.
30357 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30359 * sysdeps/generic/math-type-macros-double.h: Include
30360 <math-svid-compat.h>.
30361 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30362 * sysdeps/generic/math-type-macros-float.h: Include
30363 <math-svid-compat.h>.
30364 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30365 * sysdeps/generic/math-type-macros-ldouble.h: Include
30366 <math-svid-compat.h>.
30367 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30368 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30370 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30371 * math/w_acosf_compat.c: Likewise.
30372 * math/w_acosh_compat.c: Likewise.
30373 * math/w_acoshf_compat.c: Likewise.
30374 * math/w_acoshl_compat.c: Likewise.
30375 * math/w_acosl_compat.c: Likewise.
30376 * math/w_asin_compat.c: Likewise.
30377 * math/w_asinf_compat.c: Likewise.
30378 * math/w_asinl_compat.c: Likewise.
30379 * math/w_atan2_compat.c: Likewise.
30380 * math/w_atan2f_compat.c: Likewise.
30381 * math/w_atan2l_compat.c: Likewise.
30382 * math/w_atanh_compat.c: Likewise.
30383 * math/w_atanhf_compat.c: Likewise.
30384 * math/w_atanhl_compat.c: Likewise.
30385 * math/w_cosh_compat.c: Likewise.
30386 * math/w_coshf_compat.c: Likewise.
30387 * math/w_coshl_compat.c: Likewise.
30388 * math/w_exp10_compat.c: Likewise.
30389 * math/w_exp10f_compat.c: Likewise.
30390 * math/w_exp10l_compat.c: Likewise.
30391 * math/w_exp2_compat.c: Likewise.
30392 * math/w_exp2f_compat.c: Likewise.
30393 * math/w_exp2l_compat.c: Likewise.
30394 * math/w_fmod_compat.c: Likewise.
30395 * math/w_fmodf_compat.c: Likewise.
30396 * math/w_fmodl_compat.c: Likewise.
30397 * math/w_hypot_compat.c: Likewise.
30398 * math/w_hypotf_compat.c: Likewise.
30399 * math/w_hypotl_compat.c: Likewise.
30400 * math/w_j0_compat.c: Likewise.
30401 * math/w_j0f_compat.c: Likewise.
30402 * math/w_j0l_compat.c: Likewise.
30403 * math/w_j1_compat.c: Likewise.
30404 * math/w_j1f_compat.c: Likewise.
30405 * math/w_j1l_compat.c: Likewise.
30406 * math/w_jn_compat.c: Likewise.
30407 * math/w_jnf_compat.c: Likewise.
30408 * math/w_jnl_compat.c: Likewise.
30409 * math/w_lgamma_r_compat.c: Likewise.
30410 * math/w_lgammaf_r_compat.c: Likewise.
30411 * math/w_lgammal_r_compat.c: Likewise.
30412 * math/w_log10_compat.c: Likewise.
30413 * math/w_log10f_compat.c: Likewise.
30414 * math/w_log10l_compat.c: Likewise.
30415 * math/w_log2_compat.c: Likewise.
30416 * math/w_log2f_compat.c: Likewise.
30417 * math/w_log2l_compat.c: Likewise.
30418 * math/w_log_compat.c: Likewise.
30419 * math/w_logf_compat.c: Likewise.
30420 * math/w_logl_compat.c: Likewise.
30421 * math/w_pow_compat.c: Likewise.
30422 * math/w_powf_compat.c: Likewise.
30423 * math/w_powl_compat.c: Likewise.
30424 * math/w_remainder_compat.c: Likewise.
30425 * math/w_remainderf_compat.c: Likewise.
30426 * math/w_remainderl_compat.c: Likewise.
30427 * math/w_sinh_compat.c: Likewise.
30428 * math/w_sinhf_compat.c: Likewise.
30429 * math/w_sinhl_compat.c: Likewise.
30430 * math/w_sqrt_compat.c: Likewise.
30431 * math/w_sqrtf_compat.c: Likewise.
30432 * math/w_sqrtl_compat.c: Likewise.
30433 * math/w_tgamma_compat.c: Likewise.
30434 * math/w_tgammaf_compat.c: Likewise.
30435 * math/w_tgammal_compat.c: Likewise.
30436 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30437 [LIBM_SVID_COMPAT].
30438 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30439 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30440 [LIBM_SVID_COMPAT].
30441 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30442 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30443 [LIBM_SVID_COMPAT].
30444 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30445 * sysdeps/i386/fpu/w_sqrt.c: New file.
30446 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30447 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30448 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30449 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30450 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30451 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30452 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30453 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30454 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30455 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30456 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30457 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30458 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30459 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30460 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30461 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30462 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30463 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30464 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30465 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30466 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30467 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30468 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30469 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30470 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30471 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30472 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30473 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30474 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30475 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30476 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30477 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30478 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30479 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30480 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30481 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30482 * sysdeps/ia64/fpu/w_log.c: Likewise.
30483 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30484 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30485 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30486 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30487 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30488 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30489 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30490 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30491 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30492 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30493 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30494 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30495 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30496 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30497 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30498 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30499 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30500 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30501 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30502 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30503 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30504 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30505 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30506 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30507 [LIBM_SVID_COMPAT].
30508 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30509 * sysdeps/ieee754/k_standard.c: Likewise.
30510 * sysdeps/ieee754/k_standardf.c: Likewise.
30511 * sysdeps/ieee754/k_standardl.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30514 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30515 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30516 long_double_symbol call on [LIBM_SVID_COMPAT].
30517 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30518 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30519 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30520 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30521 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30522 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30523 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30524 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30525 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30526 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30527 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30528 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30529 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30530 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30531 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30532 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30533 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30534 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30535 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30536 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30537 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30538 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30540 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30542 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30543 * malloc/tst-mallocstate.c: Convert from test-skeleton
30544 to test-driver. Ifdef code using TEST_COMPAT macro.
30545 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30546 * math/test-matherr.c: Likewise.
30548 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30551 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30552 comparing word with byte-swapped constant.
30554 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30557 * locale/iso-639.def: add Miskito.
30558 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30559 * localedata/locales/miq_NI: New file.
30561 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30564 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30565 (__mkdir): Likewise.
30566 * io/chmod.c (__chmod): Add libc_hidden_def.
30567 * io/mkdir.c (__mkdir): Likewise.
30568 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30569 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30570 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30571 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30573 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30575 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30579 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30580 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30582 2017-09-04 Florian Weimer <fweimer@redhat.com>
30584 * math/math.h: Issue warning if log is defined.
30586 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30588 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30589 kernel version to 4.13.
30591 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30593 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30594 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30596 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30597 just <bits/types.h>.
30598 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30599 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30600 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30601 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30602 * misc/preadv2.c: Include <errno.h>.
30603 * misc/preadv64v2.c: Include <errno.h>.
30604 * misc/pwritev2.c: Include <errno.h>.
30605 * misc/pwritev64v2.c: Include <errno.h>.
30606 * sysdeps/posix/preadv2.c: Include <errno.h>.
30607 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30608 Fix <unistd.h> inclusion.
30609 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30610 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30611 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30612 __strtoul_internal): New functions.
30613 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30614 * sysdeps/posix/system.c: Include <sigsetops.h>.
30615 * sysdeps/mach/hurd/i386/Makefile
30616 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30617 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30618 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30619 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30620 __feraiseexcept_renamed to feraiseexcept instead of
30621 __GI_feraiseexcept.
30622 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30623 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30624 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30625 RWF_NOWAIT): Define to 0 if undefined already.
30626 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30628 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30629 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30631 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30633 * manual/math.texi (pow10): Do not document.
30634 (pow10f): Likewise.
30635 (pow10l): Likewise.
30636 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30637 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30638 * math/libm-test-exp10.inc (pow10_test): Remove.
30639 (do_test): Do not call pow10.
30640 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30641 [NO_LONG_DOUBLE] (pow10l): Likewise.
30642 * math/w_exp10f_compat.c (pow10f): Likewise.
30643 * math/w_exp10l_compat.c (pow10l): Likewise.
30644 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30645 (pow10): Make into compat symbol.
30646 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30647 (pow10f): Make into compat symbol.
30648 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30649 (pow10l): Make into compat symbol.
30650 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30652 (CFLAGS-nldbl-pow10.c): Remove variable..
30653 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30654 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30655 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30656 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30657 Undefine and redefine.
30658 (pow10l): Make into compat symbol.
30659 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30660 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30661 * sysdeps/arm/libm-test-ulps: Likewise.
30662 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30663 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30664 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30665 * sysdeps/microblaze/libm-test-ulps: Likewise.
30666 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30667 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30668 * sysdeps/nios2/libm-test-ulps: Likewise.
30669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30670 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30671 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30672 * sysdeps/sh/libm-test-ulps: Likewise.
30673 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30674 * sysdeps/tile/libm-test-ulps: Likewise.
30675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30677 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30679 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30681 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30683 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30684 "../ChangeLog.old/ChangeLog.8".
30685 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30686 "../ChangeLog.old/ChangeLog.14".
30688 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30690 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30693 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30695 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30697 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30699 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30700 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30702 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30704 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30705 32 atexit handlers.
30707 2017-09-01 Zack Weinberg <zackw@panix.com>
30709 * math/math.h (HUGE_VAL): Improve commentary.
30711 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30712 Andreas Schwab <schwab@suse.de>
30715 * include/stdio.h (__gen_tempfd): New function.
30716 * stdio-common/Makefile (routines): Add gentempfd.
30717 * stdio-common/gentempfd.c: New file.
30718 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30719 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30720 unnamed file first.
30722 2017-09-01 Florian Weimer <fweimer@redhat.com>
30726 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30727 result to determine success or failure, not the errno value.
30728 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30729 (tst-nss-files-hosts-erange): Link with -ldl.
30730 * nss/tst-nss-files-hosts-erange.c: New file.
30731 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30732 (do_test): Add NO_DATA tests.
30733 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30734 (do_test): Call it.
30736 2017-09-01 Florian Weimer <fweimer@redhat.com>
30739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30740 coming from gethostbyname2_r.
30742 2017-09-01 Florian Weimer <fweimer@redhat.com>
30744 * support/namespace.h (struct support_chroot_configuration): Add
30746 (struct support_chroot): Add path_hosts, path_host_conf.
30747 * support/support_chroot.c (write_file): New function.
30748 (support_chroot_create): Call it to process /etc/resolv.conf,
30749 /etc/hosts, /etc/host.conf.
30750 (support_chroot_free): Update.
30752 2017-09-01 Florian Weimer <fweimer@redhat.com>
30754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30755 status indicates it is set.
30757 2017-09-01 Florian Weimer <fweimer@redhat.com>
30760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30761 function lookup failures more reliable.
30763 2017-09-01 Florian Weimer <fweimer@redhat.com>
30765 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30766 (getcanonname): Likewise.
30767 (gaih_inet): Likewise.
30769 2017-09-01 Florian Weimer <fweimer@redhat.com>
30771 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30772 (getcanonname): Likewise.
30773 (gaih_inet): Likewise.
30775 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30776 Richard Henderson <rth@twiddle.net>
30778 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30779 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30780 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30781 (IREG_SIZE, OREG_SIZE): New macros.
30782 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30783 (IREG_SIZE, OREG_SIZE): New macros.
30784 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30785 (IREG_SIZE): New macro.
30786 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30787 (IREG_SIZE): New macro.
30788 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30790 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30791 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30792 (__CONCATX): Handle exceptions correctly on large values that may
30794 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30795 Initialize if not already set.
30796 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30798 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30800 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30801 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30803 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30805 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30807 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30809 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30811 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30813 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30815 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30816 (NO_CANCELLATION): Likewise.
30817 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30819 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30821 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30824 (NO_CANCELLATION): Likewise.
30825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30826 (NO_CANCELLATION): Likewise.
30827 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30829 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30831 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30833 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30835 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30837 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30838 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30840 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30842 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30845 2017-08-31 Florian Weimer <fweimer@redhat.com>
30847 * include/libc-symbols.h (internal_function): Remove.
30849 2017-08-31 Florian Weimer <fweimer@redhat.com>
30851 * stdlib/fmtmsg.c (internal_addseverity): Remove
30854 2017-08-31 Florian Weimer <fweimer@redhat.com>
30856 * stdio-common/printf_fp.c (group_number): Remove
30858 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30860 2017-08-31 Florian Weimer <fweimer@redhat.com>
30862 * posix/fnmatch.c (internal_function): Remove definition.
30863 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30864 * posix/regcomp.c (peek_token, init_word_char)
30865 (duplicate_node_closure, fetch_token, peek_token)
30866 (peek_token_bracket, build_range_exp, build_collating_symbol):
30868 * posix/regex_internal.c (re_string_construct_common)
30869 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30870 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30871 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30872 (re_string_translate_buffer, re_string_reconstruct)
30873 (re_string_peek_byte_case, re_string_fetch_byte_case)
30874 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30875 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30876 (re_node_set_add_intersect, re_node_set_init_union)
30877 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30878 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30879 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30880 (re_acquire_state_context): Likewise.
30881 * posix/regex_internal.h (internal_function): Remove definition.
30882 (re_string_realloc_buffers, build_wcs_buffer)
30883 (build_wcs_upper_buffer, build_upper_buffer)
30884 (re_string_translate_buffer, re_string_context_at)
30885 (re_string_char_size_at, re_string_wchar_at)
30886 (re_string_elem_size_at): Likewise.
30887 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30888 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30889 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30890 (re_search_internal, re_search_2_stub, re_search_stub)
30891 (re_copy_regs, prune_impossible_nodes, check_matching)
30892 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30893 (free_fail_stack_return, sift_states_iter_mb)
30894 (sift_states_backward, build_sifted_states)
30895 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30896 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30897 (check_subexp_limits, sift_states_bkref, merge_state_array)
30898 (find_recover_state, transit_state, merge_state_with_log)
30899 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30900 (transit_state_mb, transit_state_bkref, get_subexp)
30901 (get_subexp_sub, find_subexp_node, check_arrival)
30902 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30903 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30904 (check_node_accept_bytes, find_collation_sequence_value)
30905 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30906 (acquire_init_state_context, check_halt_node_context)
30907 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30908 (sub_epsilon_src_nodes): Likewise.
30909 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30910 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30911 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30912 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30913 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30914 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30915 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30916 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30917 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30918 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30919 (PREADV): Likewise.
30920 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30921 (PREADV): Likewise.
30922 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30923 (PWRITEV): Likewise.
30924 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30925 (PWRITEV): Likewise.
30926 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30927 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30929 2017-08-31 Florian Weimer <fweimer@redhat.com>
30931 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30932 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30933 Remove internal_function.
30934 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30935 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30936 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30937 (__deallocate_stack, __libc_pthread_init)
30938 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30939 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30940 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30942 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30943 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30944 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30946 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30947 (__pthread_mutex_unlock_usercnt): Likewise.
30949 2017-08-31 Florian Weimer <fweimer@redhat.com>
30951 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30952 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30953 (fts_safe_changedir): Remove internal_function.
30954 * io/ftw.c (internal_function): Remove definition.
30955 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30957 2017-08-31 Florian Weimer <fweimer@redhat.com>
30959 * inet/deadline.c (__deadline_current_time)
30960 (__deadline_from_timeval, __deadline_to_ms): Remove
30962 * inet/getnameinfo.c (nrl_domainname): Likewise.
30963 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30964 * inet/inet6_option.c (add_pad): Likewise.
30965 * inet/net-internal.h (__deadline_current_time)
30966 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30967 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30968 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30969 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30971 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30973 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30974 include <bits/nan.h>.
30975 * math/Makefile (headers): Remove bits/nan.h.
30976 * bits/nan.h: Remove.
30977 * sysdeps/ieee754/bits/nan.h: Likewise.
30978 * sysdeps/mips/bits/nan.h: Likewise.
30980 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30981 not include <bits/inf.h>.
30982 * math/Makefile (headers): Remove bits/inf.h.
30983 * bits/inf.h: Remove.
30984 * sysdeps/ieee754/bits/inf.h: Likewise.
30986 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30987 bits/huge_vall.h or bits/huge_val_flt128.h.
30988 (HUGE_VAL): Define directly here.
30989 [__USE_ISOC99] (HUGE_VALF): Likewise.
30990 [__USE_ISOC99] (HUGE_VALL): Likewise.
30991 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30992 (HUGE_VAL_F128): Likewise.
30993 * math/Makefile (headers): Remove bits/huge_val.h,
30994 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30995 * bits/huge_val.h: Remove.
30996 * bits/huge_val_flt128.h: Likewise.
30997 * bits/huge_valf.h: Likewise.
30998 * bits/huge_vall.h: Likewise.
30999 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31000 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31001 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31002 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31003 * sysdeps/sh/bits/huge_val.h: Likewise.
31004 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31005 * sysdeps/x86/bits/huge_vall.h: Likewise.
31007 2017-08-31 Florian Weimer <fweimer@redhat.com>
31009 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31011 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31013 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31014 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31015 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31016 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31017 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31018 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31019 * elf/dl-libc.c (dlerror_run): Likewise.
31020 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31021 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31022 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31023 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31025 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31026 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31027 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31028 * elf/dl-profile.c (_dl_start_profile): Likewise.
31029 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31030 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31032 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31033 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31034 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31035 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31036 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31037 (_dl_allocate_tls_storage): Likewise.
31038 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31039 (_dl_check_all_versions): Likewise.
31040 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31041 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31042 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31043 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31044 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31045 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31046 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31047 internal_function from __dl_start.
31048 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31049 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31050 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31051 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31052 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31053 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31054 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31055 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31056 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31057 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31058 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31059 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31060 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31061 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31062 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31064 (struct rtld_global_ro): Remove internal_function from the
31065 _dl_lookup_symbol_x member.
31066 (_dl_symbol_value): Remove. No longer defined anywhere.
31067 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31069 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31070 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31071 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31072 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31073 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31074 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31075 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31076 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31077 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31078 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31079 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31080 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31082 2017-08-31 Florian Weimer <fweimer@redhat.com>
31084 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31085 Remove internal_function.
31086 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31088 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31091 2017-08-31 Florian Weimer <fweimer@redhat.com>
31093 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31094 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31095 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31097 2017-08-31 Florian Weimer <fweimer@redhat.com>
31099 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31100 (__gai_enqueue_request): Remove internal_function.
31101 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31102 (__gai_remove_request, __gai_notify, __gai_notify_only)
31103 (__gai_sigqueue): Likewise.
31104 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31105 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31106 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31107 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31110 2017-08-31 Florian Weimer <fweimer@redhat.com>
31112 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31113 * include/dirent.h (__opendirat, __getdents, __getdents64)
31114 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31115 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31116 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31117 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31121 2017-08-31 Florian Weimer <fweimer@redhat.com>
31123 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31125 (GETCWD_RETURN_TYPE): Likewise.
31127 2017-08-31 Florian Weimer <fweimer@redhat.com>
31129 * include/time.h (__tz_compute, __strptime_internal): Remove
31131 * time/strptime_l.c (__strptime_internal): Likewise.
31132 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31134 2017-08-31 Florian Weimer <fweimer@redhat.com>
31136 * iconv/gconv.c (__gconv): Remove internal_function.
31137 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31138 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31139 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31140 (__gconv_release_cache): Likewise.
31141 * iconv/gconv_close.c (__gconv_close): Likewise.
31142 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31143 (read_conf_file, __gconv_get_path): Likewise.
31144 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31145 (__gconv_release_step, gen_steps, increment_counter)
31146 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31147 (__gconv_close_transform, free_modules_db): Likewise.
31148 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31150 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31151 (__gconv_find_transform, __gconv_lookup_cache)
31152 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31153 (__gconv_close_transform, __gconv_release_cache)
31154 (__gconv_loaded_object, __gconv_release_shlib)
31155 (__gconv_compare_alias): Likewise.
31156 * iconv/gconv_open.c (__gconv_open): Likewise.
31157 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31158 * iconv/iconvconfig.c (add_module): Likewise.
31159 * intl/dcigettext.c (plural_lookup, guess_category_value)
31160 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31161 * intl/eval-plural.h (plural_eval): Likewise.
31162 * intl/finddomain.c (_nl_find_domain): Likewise.
31163 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31164 (_nl_load_domain, _nl_find_msg): Likewise.
31165 (internal_function): Remove definition.
31166 * intl/loadinfo.h (internal_function): Likewise.
31167 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31169 * intl/localealias.c (internal_function): Remove definition.
31170 (read_alias_file): Remove internal_function.
31171 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31172 * intl/plural-exp.h (internal_function): Remove definition.
31173 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31175 * intl/plural.c: Regenerate.
31176 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31177 * locale/coll-lookup.c (__collidx_table_lookup)
31178 (__collseq_table_lookup): Likewise.
31179 * locale/coll-lookup.h (__collidx_table_lookup)
31180 (__collseq_table_lookup): Likewise.
31181 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31182 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31183 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31184 (_nl_unload_locale): Likewise.
31185 * locale/localeinfo.h (struct __locale_data): Remove
31186 internal_function from cleanup member.
31187 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31188 (_nl_remove_locale, _nl_load_locale_from_archive)
31189 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31190 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31191 (_nl_cleanup_time): Remove internal_function.
31192 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31193 (_nl_parse_alt_digit): Likewise.
31194 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31195 (_nl_select_era_entry): Likewise.
31196 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31197 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31198 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31199 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31200 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31202 2017-08-31 Florian Weimer <fweimer@redhat.com>
31204 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31205 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31206 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31207 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31209 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31210 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31211 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31212 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31214 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31216 2017-08-31 Florian Weimer <fweimer@redhat.com>
31218 * misc/getttyent.c (skip, value): Remove internal_function.
31219 * misc/syslog.c (openlog_internal): Likewise.
31220 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31222 2017-08-31 Florian Weimer <fweimer@redhat.com>
31224 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31225 (__nss_rewrite_field): Remove internal_function.
31226 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31227 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31228 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31229 * nss/nsswitch.c (nss_parse_file, nss_getline)
31230 (nss_parse_service_list, nss_new_service): Likewise.
31231 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31232 * nss/valid_field.c (__nss_valid_field): Likewise.
31233 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31235 2017-08-31 Florian Weimer <fweimer@redhat.com>
31237 * malloc/arena.c (__malloc_fork_lock_parent)
31238 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31239 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31240 internal_function from defintions.
31241 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31242 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31243 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31244 internal_function from declarations.
31245 * malloc/malloc.c (internal_function): Do not define.
31246 (mem2mem_check): Remove internal_function from declaration.
31247 (munmap_chunk, mremap_chunk): Remove internal_function.
31248 * malloc/mtrace.c (tr_where): Likewise.
31250 2017-08-31 Florian Weimer <fweimer@redhat.com>
31252 * include/rpc/pmap_clnt.h (__get_socket): Remove
31254 * sunrpc/auth_des.c (synchronize): Likewise.
31255 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31256 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31257 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31258 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31259 (key_call): Likewise.
31260 * sunrpc/pm_getport.c (__get_socket): Likewise.
31261 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31262 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31263 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31264 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31265 (invalidate): Likewise.
31266 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31267 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31268 (set_input_fragment, get_input_bytes): Likewise.
31270 2017-08-31 Florian Weimer <fweimer@redhat.com>
31272 * malloc/malloc.c (_int_free): Remove locked variable and related
31275 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31278 * Makerules (build-module-helper-objlist): Filter out
31279 $(elf-objpfx)sofini.os.
31280 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31283 2017-08-31 Florian Weimer <fweimer@redhat.com>
31285 * libio/fcloseall.c: Assume weak_alias is defined.
31286 * libio/feof.c: Likewise.
31287 * libio/fileno.c: Likewise.
31288 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31289 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31291 (_IO_file_open): Call __open directly.
31292 (_IO_new_file_sync): Assume ESPIPE is defined.
31293 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31294 (_IO_new_file_write): Call __write directly.
31295 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31296 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31297 * libio/genops.c: Assume _LIBC is defined.
31298 (save_for_backup): Remove internal_function.
31299 * libio/getc.c: Assume weak_alias is defined.
31300 * libio/getwc.c: Likewise.
31301 * libio/iofclose.c: Assume _LIBC is defined.
31302 * libio/iofdopen.c: Likewise.
31303 (_IO_fcntl): Remove macro definition.
31304 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31305 Call __fcntl directly.
31306 * libio/iofflush.c: Assume weak_alias is defined.
31307 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31309 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31310 * libio/iofgets.c: Likewise.
31311 * libio/iofopen.c: Assume _LIBC is defined.
31312 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31313 * libio/iofputs.c: Assume weak_alias is defined.
31314 * libio/iofread.c: Likewise.
31315 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31316 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31317 * libio/ioftell.c: Assume weak_alias is defined.
31318 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31319 * libio/iofwide.c: Assume _LIBC is defined.
31320 (_IO_fwide): Drop SHARED conditional because it is implied by
31322 * libio/iofwrite.c: Assume weak_alias is defined.
31323 * libio/iogetdelim.c: Likewise.
31324 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31325 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31326 (_IO_getwline): Call __wmemcpy directly.
31327 * libio/iopopen.c: Assume _LIBC is defined.
31328 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31329 (_IO_close): Remove macro definitions.
31330 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31332 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31334 * libio/ioputs.c: Assume weak_alias is defined.
31335 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31336 * libio/iosetbuffer.c: Assume weak_alias is defined.
31337 * libio/iosetvbuf.c: Likewise.
31338 * libio/ioungetc.c: Likewise.
31339 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31340 libc_hidden_def, libc_hidden_weak, NULL are defined.
31341 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31342 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31344 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31346 (_IO_old_file_init_internal): Drop SHARED conditional because it
31347 is implied by SHLIB_COMPAT.
31348 (_IO_old_file_fopen): Call __open directly.
31349 (_IO_old_file_sync): Assume ESPIPE is defined.
31350 (_IO_old_file_write): Call __write directly.
31351 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31352 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31353 Call __fcntl directly.
31354 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31355 (_IO_old_fgetpos): Assume EIO is defined.
31356 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31357 (_IO_old_fgetpos64): Assume EIO is defined.
31358 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31359 (_IO_old_fsetpos): Assume EIO is defined.
31360 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31361 (_IO_old_fsetpos64): Assume EIO is defined.
31362 * libio/oldiopopen.c: Assume _LIBC is defined.
31363 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31364 (_IO_close): Remove macro definitions.
31365 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31367 (_IO_old_proc_close): Call __close, __waitpid directly.
31368 * libio/put.c: Assume weak_alias is defined.
31369 * libio/stdfiles.c: Assume _LIBC is defined.
31370 * libio/stdio.c: Likewise.
31371 * libio/wfileops.c: Likewise.
31372 (_IO_wfile_sync): Assume ESPIPE is defined.
31373 * libio/wgenops.c: Assume _LIBC is defined.
31374 (save_for_wbackup): Remove internal_function.
31376 2017-08-31 Florian Weimer <fweimer@redhat.com>
31378 * malloc/malloc.c (top_check): Change return type to void. Remove
31380 * malloc/hooks.c (top_check): Likewise.
31381 (malloc_check, realloc_check, memalign_check): Adjust.
31383 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31386 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31387 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31388 sigcontext and namespace requirements.
31389 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31390 * sysdeps/m68k/sys/ucontext.h: Likewise.
31391 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31392 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31393 <bits/sigcontext.h>.
31394 (__ctx): Define earlier.
31395 (mcontext_t): Define structure contents rather than using struct
31397 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31398 __glibc_reserved1 instead of __reserved.
31399 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31400 <bits/sigcontext.h>.
31401 (__ctx): Define earlier.
31402 (mcontext_t): Define structure contents rather than using struct
31404 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31405 mcontext_t instead of struct sigcontext.
31406 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31407 <bits/sigcontext.h>.
31408 (__ctx): Define earlier.
31409 (mcontext_t): Define structure contents rather than using struct
31411 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31412 <bits/sigcontext.h>.
31413 (__ctx): Define earlier.
31414 (mcontext_t): Define structure contents rather than using struct
31416 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31417 mcontext_t instead of struct sigcontext.
31418 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31419 mcontext_t instead of struct sigcontext.
31420 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31421 <bits/sigcontext.h>.
31422 (__ctx): New macro.
31423 (struct __ia64_fpreg_mcontext): New type.
31424 (mcontext_t): Define structure contents rather than using struct
31426 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31427 (uc_sigmask): Define using __ctx.
31428 (uc_stack): Likewise.
31429 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31430 <bits/sigcontext.h>.
31431 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31432 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31433 <bits/sigcontext.h>.
31434 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31435 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31436 <bits/sigcontext.h>.
31437 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31438 <bits/sigcontext.h>.
31439 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31440 <bits/sigcontext.h>.
31441 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31442 <bits/sigcontext.h>.
31443 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31444 <bits/sigcontext.h>.
31445 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31446 <bits/sigcontext.h>.
31447 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31448 <bits/sigcontext.h>.
31449 (__ctx): Define earlier.
31450 (mcontext_t): Define structure contents rather than using struct
31452 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31453 <bits/sigcontext.h>. Include <bits/types.h>.
31454 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31455 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31456 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31457 (test-xfail-UNIX98/signal.h/conform): Likewise.
31458 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31459 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31460 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31461 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31462 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31463 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31464 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31465 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31466 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31468 2017-08-30 Florian Weimer <fweimer@redhat.com>
31470 * malloc/dynarray_emplace_enlarge.c
31471 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31472 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31473 * malloc/tst-dynarray.c (test_long_overflow): New function.
31474 (do_test): Call it.
31476 2017-08-30 Florian Weimer <fweimer@redhat.com>
31478 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31479 (set_arena_corrupt): Remove definitions.
31480 (mtrim): Do not check for corrupt arena.
31481 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31484 2017-08-30 Florian Weimer <fweimer@redhat.com>
31487 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31489 (ptmalloc_init): Do not set or use check_action.
31490 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31491 call to malloc_printerr. Remove return statement.
31492 (free_check): Likewise. Remove arena unlock.
31493 (top_check): Update comment. Adjust call to malloc_printerr.
31494 Remove heap repair code.
31495 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31496 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31497 (sysmalloc): Adjust call to malloc_printerr.
31498 (munmap_chunk, __libc_realloc): Likewise. Remove return
31500 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31501 Remove errout label and corresponding gotos.
31502 (_int_free): Likewise. Remove arena unlock.
31503 (do_set_mallopt_check): Do not set check_action.
31504 (malloc_printerr): Adjust parameter list. Do not mark arena as
31506 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31508 * manual/probes.texi (Memory Allocation Probes): Remove
31509 memory_mallopt_check_action.
31511 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31513 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31514 Use pointer to uint64_t instead of long int for sp.
31516 2017-08-30 Florian Weimer <fweimer@redhat.com>
31519 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31520 without printing a backtrace. Do not leak any information in the
31522 * manual/memory.texi (Heap Consistency Checking): Update.
31523 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31525 2017-08-30 Florian Weimer <fweimer@redhat.com>
31527 Do not scale NPTL tests with available number of CPUs.
31528 * nptl/tst-cond16.c (count): Set to constant value of 8.
31529 * nptl/tst-cond18.c (count): Likewise.
31531 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31534 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31535 Define to take a second argument that is a macro that
31536 concatentates a suffix, not the suffix itself.
31537 (__CONCAT_d): New macro.
31538 (__CONCAT_f): Likewise.
31539 (__CONCAT_l): Likewise.
31541 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31543 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31546 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31547 Aurelien Jarno <aurelien@aurel32.net>
31548 Maciej W. Rozycki <macro@imgtec.com>
31551 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31552 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31553 `mips16-syscall6' and `mips16-syscall7'.
31554 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31555 (CFLAGS-mips16-syscall7.c): Remove.
31556 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31557 Remove `__mips16_syscall5', `__mips16_syscall6' and
31558 `__mips16_syscall7'.
31559 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31560 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31561 `__mips_syscall_return'.
31562 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31563 (__mips16_syscall1): Likewise.
31564 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31565 (__mips16_syscall2): Likewise.
31566 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31567 (__mips16_syscall3): Likewise.
31568 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31569 (__mips16_syscall4): Likewise.
31570 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31574 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31576 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31577 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31578 `__mips16_syscall5'. Remove prototype.
31579 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31580 `__mips16_syscall6'. Remove prototype.
31581 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31582 `__mips16_syscall7'. Remove prototype.
31583 (__nomips16, __mips16_syscall_return): Move to...
31584 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31585 (__nomips16, __mips_syscall_return): ... here.
31586 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31587 `__mips16_syscall_return' to `__mips_syscall_return'.
31588 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31589 `internal_syscall##nr'.
31590 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31591 `internal_syscall##nr'.
31592 (FORCE_FRAME_POINTER): Remove.
31593 (__mips_syscall5): New prototype.
31594 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31595 (__mips_syscall6): New prototype.
31596 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31597 (__mips_syscall7): New prototype.
31598 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31599 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31600 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31601 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31602 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31603 (sysdep_routines): Add libc-do-syscall.
31604 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31605 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31607 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31610 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31611 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31612 (advise_stack_range): New function.
31613 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31614 stack non required to advise_stack_range at allocatestack.c
31616 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31618 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31620 2017-08-29 Florian Weimer <fweimer@redhat.com>
31623 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31624 __end_fct. Mangle __end_fct after setting it to NULL.
31625 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31626 (modules-names, modules-names-tests): Add
31627 tst-gconv-init-failure-mod.
31628 (gconv-modules): New target.
31629 (tst-gconv-init-failure-mod.so): Link against libsupport.
31630 (tst-gconv-init-failure): Depend on gconv-modules,
31631 tst-gconv-init-failure-mod.so.
31632 * iconv/tst-gconv-init-failure-mod.c: New file.
31633 * iconv/tst-gconv-init-failure.c: Likewise.
31634 * iconv/test-gconv-modules: Likewise.
31636 2017-08-29 Florian Weimer <fweimer@redhat.com>
31639 * iconv/gconv_db.c (free_derivation): Remove redundant
31641 (gen_steps): Unconditionally mangle __btowc_fct after
31643 (increment_counter): Likewise. Do not call init_fct for internal
31646 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31649 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31650 (_MSUF_): Remove macro.
31651 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31653 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31654 (__REDIRFROM_X): New macro.
31655 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31657 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31658 (__REDIRTO_X): Likewise.
31659 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31661 (__MATH_REDIRCALL_2): Likewise.
31662 (__MATH_REDIRCALL_INTERNAL): Likewise.
31663 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31664 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31665 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31666 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31667 * math/test-finite-macros.c: New file.
31668 * math/Makefile (tests): Add test-finite-macros.
31669 (CFLAGS-test-finite-macros.c): New variable.
31671 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31672 Jeff Law <law@redhat.com>
31675 Mangle NULL pointers in iconv/gconv.
31676 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31677 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31678 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31679 is non-NULL before demangling the end_fct. Check for NULL
31680 end_fct after demangling.
31681 (__gconv_release_step): Demangle the end_fct before checking
31682 it for NULL. Remove assert on __shlibc_handle != NULL.
31683 (gen_steps): Don't check btowc_fct for NULL before mangling.
31684 Demangle init_fct before checking for NULL.
31685 (increment_counter): Likewise.
31686 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31687 end_fct for NULL before mangling.
31688 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31691 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31694 * locale/iso-639.def: add Morisyen.
31696 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31699 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31700 (iszero): New C++ implementation that does not use
31701 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31702 signaling nans are enabled, since __builtin_types_compatible_p
31703 is a C-only feature.
31704 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31705 defined, include ieee754_float128.h for access to the union and
31706 member ieee854_float128.ieee.
31707 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31708 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31709 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31710 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31711 options of test-math-zero on powerpc64le.
31713 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31715 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31716 Change double to float.
31718 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31720 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31722 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31723 conditional code; define contents only for [LIBM_SVID_COMPAT].
31725 2017-08-28 Florian Weimer <fweimer@redhat.com>
31727 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31728 (abi-lp64_be-options): Remove.
31729 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31730 (abi-hard-options): Likewise.
31731 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31732 (abi-o32_hard-options, abi-o32_soft_2008-options)
31733 (abi-o32_hard_2008-options, abi-n32_soft-options)
31734 (abi-n32_hard-options, abi-n32_soft_2008-options)
31735 (abi-n32_hard_2008-options, abi-n64_soft-options)
31736 (abi-n64_hard-options, abi-n64_soft_2008-options)
31737 (abi-n64_hard_2008-options): Likewise.
31738 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31739 (abi-64-v1-options, abi-64-v2-options): Likewise.
31740 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31741 (abi-64-options): Likewise.
31742 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31743 (abi-64-options): Likewise.
31744 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31745 (abi-64-options): Likewise.
31746 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31747 (abi-64-options, abi-x32-options): Likewise.
31749 2017-08-28 Florian Weimer <fweimer@redhat.com>
31751 Store supported list of SYS_* system calls in the source tree.
31752 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31753 (bits/syscall.h): Generate from list file.
31754 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31755 [$(subdir) = misc] (tests): Add tst-syscall-list.
31756 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31757 [$(subdir) = misc] (tst-syscall-list-macros.list)
31758 [$(subdir) = misc] (tst-syscall-list-nr.list)
31759 (tst-syscall-list-sys.list): Helper targets for new
31760 tst-syscall-list test.
31761 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31762 tst-syscall-list.sh.
31763 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31764 target. Do not include bits/syscall.d.
31765 [$(subdir) = misc] (generated): Do not update.
31766 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31767 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31768 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31769 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31771 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31773 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31774 (tst-cxa_atexit, tst-on_exit): Likewise.
31775 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31776 tst-cxa_atexit, and tst-on_exit.
31777 * stdlib/tst-atexit-common.c: New file.
31778 * stdlib/tst-atexit.c: New file.
31779 * stdlib/tst-at_quick_exit.c: New file.
31780 * stdlib/tst-cxa_atexit.c: New file.
31781 * stdlib/tst-on_exit.c: New file.
31783 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31785 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31786 * mach/stack_chk_fail_local.c: New file.
31787 * hurd/stack_chk_fail_local.c: New file.
31788 * mach/Machrules ($(interface-library)-routines): Add
31789 stack_chk_fail_local.
31790 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31791 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31792 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31793 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31794 * hurd/Makefile (CFLAGS-hurdstartup.o,
31795 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31797 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31799 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31800 (index_cpu_*, index_arch_*): Removed.
31802 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31804 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31805 Use uint64_t instead of unsigned long.
31807 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31809 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31810 [__HAVE_DISTINCT_FLOAT128].
31812 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31813 of <bits/math-finite.h>.
31814 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31815 inclusion of <bits/math-finite.h>.
31816 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31817 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31818 __NO_LONG_DOUBLE_MATH].
31819 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31820 (__MATH_REDIRCALL_2): Likewise.
31821 (__MATH_REDIRCALL_INTERNAL): Likewise.
31822 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31823 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31824 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31838 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31839 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31841 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31843 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31844 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31845 w_sqrtf_compat-ppc32.
31847 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31849 * math/math.h [defined __cplusplus] (issignaling): In the long
31850 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31851 is not defined. Call __issignaling, otherwise.
31853 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31855 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31856 syscall definitions and replace __builtin_expect with __glibc_likely.
31857 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31859 (SYSCALL_CANCELLABLE): Removedefinition
31860 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31862 (PSEUDO_END): Likewise.
31863 [IS_IN (libpthread)] (CENABLE): Likewise.
31864 [IS_IN (libpthread)] (CDISABLE): Likewise.
31865 [IS_IN (libc)] (CENABLE): Likewise.
31866 [IS_IN (libc)] (CENABLE): Likewise.
31867 [IS_IN (librt)] (CDISABLE): Likewise.
31868 [IS_IN (librt)] (CDISABLE): Likewise.
31869 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31870 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31872 (PSEUDO_END): Likewise.
31873 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31874 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31875 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31876 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31877 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31878 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31879 (CENABLE): Likewise.
31880 (CDISABLE): Likewise.
31881 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31882 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31884 (PSEUDO_END): Likewise.
31885 [IS_IN (libpthread)] (CENABLE): Likewise.
31886 [IS_IN (libpthread)] (CDISABLE): Likewise.
31887 [IS_IN (libc)] (CENABLE): Likewise.
31888 [IS_IN (libc)] (CENABLE): Likewise.
31889 [IS_IN (librt)] (CDISABLE): Likewise.
31890 [IS_IN (librt)] (CDISABLE): Likewise.
31891 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31892 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31894 (PSEUDO_END): Likewise.
31895 [IS_IN (libpthread)] (CENABLE): Likewise.
31896 [IS_IN (libpthread)] (CDISABLE): Likewise.
31897 [IS_IN (libc)] (CENABLE): Likewise.
31898 [IS_IN (libc)] (CENABLE): Likewise.
31899 [IS_IN (librt)] (CDISABLE): Likewise.
31900 [IS_IN (librt)] (CDISABLE): Likewise.
31901 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31902 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31904 (PSEUDO_END): Likewise.
31905 [IS_IN (libpthread)] (CENABLE): Likewise.
31906 [IS_IN (libpthread)] (CDISABLE): Likewise.
31907 [IS_IN (libc)] (CENABLE): Likewise.
31908 [IS_IN (libc)] (CENABLE): Likewise.
31909 [IS_IN (librt)] (CDISABLE): Likewise.
31910 [IS_IN (librt)] (CDISABLE): Likewise.
31911 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31912 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31914 (PSEUDO_END): Likewise.
31915 [IS_IN (libpthread)] (CENABLE): Likewise.
31916 [IS_IN (libpthread)] (CDISABLE): Likewise.
31917 [IS_IN (libc)] (CENABLE): Likewise.
31918 [IS_IN (libc)] (CENABLE): Likewise.
31919 [IS_IN (librt)] (CDISABLE): Likewise.
31920 [IS_IN (librt)] (CDISABLE): Likewise.
31921 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31922 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31924 (PSEUDO_END): Likewise.
31925 [IS_IN (libpthread)] (CENABLE): Likewise.
31926 [IS_IN (libpthread)] (CDISABLE): Likewise.
31927 [IS_IN (libc)] (CENABLE): Likewise.
31928 [IS_IN (libc)] (CENABLE): Likewise.
31929 [IS_IN (librt)] (CDISABLE): Likewise.
31930 [IS_IN (librt)] (CDISABLE): Likewise.
31931 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31932 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31934 (PSEUDO_END): Likewise.
31935 [IS_IN (libpthread)] (CENABLE): Likewise.
31936 [IS_IN (libpthread)] (CDISABLE): Likewise.
31937 [IS_IN (libc)] (CENABLE): Likewise.
31938 [IS_IN (libc)] (CENABLE): Likewise.
31939 [IS_IN (librt)] (CDISABLE): Likewise.
31940 [IS_IN (librt)] (CDISABLE): Likewise.
31941 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31942 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31944 (PSEUDO_END): Likewise.
31945 [IS_IN (libpthread)] (CENABLE): Likewise.
31946 [IS_IN (libpthread)] (CDISABLE): Likewise.
31947 [IS_IN (libc)] (CENABLE): Likewise.
31948 [IS_IN (libc)] (CENABLE): Likewise.
31949 [IS_IN (librt)] (CDISABLE): Likewise.
31950 [IS_IN (librt)] (CDISABLE): Likewise.
31951 (SINGLE_THREAD_P): Likewise.
31952 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31954 (PSEUDO_END): Likewise.
31955 [IS_IN (libpthread)] (CENABLE): Likewise.
31956 [IS_IN (libpthread)] (CDISABLE): Likewise.
31957 [IS_IN (libc)] (CENABLE): Likewise.
31958 [IS_IN (libc)] (CENABLE): Likewise.
31959 [IS_IN (librt)] (CDISABLE): Likewise.
31960 [IS_IN (librt)] (CDISABLE): Likewise.
31961 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31962 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31964 (PSEUDO_END): Likewise.
31965 [IS_IN (libpthread)] (CENABLE): Likewise.
31966 [IS_IN (libpthread)] (CDISABLE): Likewise.
31967 [IS_IN (libc)] (CENABLE): Likewise.
31968 [IS_IN (libc)] (CENABLE): Likewise.
31969 [IS_IN (librt)] (CDISABLE): Likewise.
31970 [IS_IN (librt)] (CDISABLE): Likewise.
31971 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31972 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31973 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31974 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31977 (PSEUDO_END): Likewise.
31978 [IS_IN (libpthread)] (CENABLE): Likewise.
31979 [IS_IN (libpthread)] (CDISABLE): Likewise.
31980 [IS_IN (libc)] (CENABLE): Likewise.
31981 [IS_IN (libc)] (CENABLE): Likewise.
31982 [IS_IN (librt)] (CDISABLE): Likewise.
31983 [IS_IN (librt)] (CDISABLE): Likewise.
31984 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31987 (PSEUDO_END): Likewise.
31988 [IS_IN (libpthread)] (CENABLE): Likewise.
31989 [IS_IN (libpthread)] (CDISABLE): Likewise.
31990 [IS_IN (libc)] (CENABLE): Likewise.
31991 [IS_IN (libc)] (CENABLE): Likewise.
31992 [IS_IN (librt)] (CDISABLE): Likewise.
31993 [IS_IN (librt)] (CDISABLE): Likewise.
31994 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31995 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31997 (PSEUDO_END): Likewise.
31998 [IS_IN (libpthread)] (CENABLE): Likewise.
31999 [IS_IN (libpthread)] (CDISABLE): Likewise.
32000 [IS_IN (libc)] (CENABLE): Likewise.
32001 [IS_IN (libc)] (CENABLE): Likewise.
32002 [IS_IN (librt)] (CDISABLE): Likewise.
32003 [IS_IN (librt)] (CDISABLE): Likewise.
32004 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32007 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32008 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32010 (PSEUDO_END): Likewise.
32011 [IS_IN (libpthread)] (CENABLE): Likewise.
32012 [IS_IN (libpthread)] (CDISABLE): Likewise.
32013 [IS_IN (libc)] (CENABLE): Likewise.
32014 [IS_IN (libc)] (CENABLE): Likewise.
32015 [IS_IN (librt)] (CDISABLE): Likewise.
32016 [IS_IN (librt)] (CDISABLE): Likewise.
32017 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32018 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32020 (PSEUDO_END): Likewise.
32021 [IS_IN (libpthread)] (CENABLE): Likewise.
32022 [IS_IN (libpthread)] (CDISABLE): Likewise.
32023 [IS_IN (libc)] (CENABLE): Likewise.
32024 [IS_IN (libc)] (CENABLE): Likewise.
32025 [IS_IN (librt)] (CDISABLE): Likewise.
32026 [IS_IN (librt)] (CDISABLE): Likewise.
32027 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32029 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32031 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32033 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32035 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32037 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32040 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32041 middle and outer with size_t instead of int. Repleace %d and
32042 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32043 "MAX (outer, nchars - 64)" to support unsigned outer and
32044 nchars. Also exit loop when outer == 0.
32046 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32048 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32049 * include/signal.h (__sigsuspend_nocancel): Likewise.
32050 * include/time.h (__nanosleep_nocancel): Likewise.
32051 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32052 * login/utmp_file.c: Include non cancellable syscall header.
32053 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32056 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32058 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32059 .byte sequences with AVX512F instructions.
32060 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32061 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32062 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32065 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32068 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32069 Steve Ellcey <sellcey@cavium.com>
32071 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32072 Use PTR_REG macro in cmp instruction.
32074 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32076 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32077 Change the return type of the ifunc resolver to match the return
32078 type of the target function.
32080 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32082 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32083 (preadv64): Likewise.
32084 (pwrite64(: Likewise.
32085 (pwritev64): Likewise.
32087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32088 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32089 (LOAD_ARGS_0): Likewise.
32090 (LOAD_ARGS_1): Likewise.
32091 (LOAD_ARGS_2): Likewise.
32092 (LOAD_ARGS_3): Likewise.
32093 (LOAD_ARGS_4): Likewise.
32094 (LOAD_ARGS_5): Likewise.
32095 (LOAD_ARGS_6): Likewise.
32096 (LOAD_REGS_0): Likewise.
32097 (LOAD_REGS_1): Likewise.
32098 (LOAD_REGS_2): Likewise.
32099 (LOAD_REGS_3): Likewise.
32100 (LOAD_REGS_4): Likewise.
32101 (LOAD_REGS_5): Likewise.
32102 (LOAD_REGS_6): Likewise.
32103 (ASM_ARGS_0): Likewise.
32104 (ASM_ARGS_1): Likewise.
32105 (ASM_ARGS_2): Likewise.
32106 (ASM_ARGS_3): Likewise.
32107 (ASM_ARGS_4): Likewise.
32108 (ASM_ARGS_5): Likewise.
32109 (ASM_ARGS_6): Likewise.
32110 (LOAD_ARGS_TYPES_1): Likewise.
32111 (LOAD_ARGS_TYPES_2): Likewise.
32112 (LOAD_ARGS_TYPES_3): Likewise.
32113 (LOAD_ARGS_TYPES_4): Likewise.
32114 (LOAD_ARGS_TYPES_5): Likewise.
32115 (LOAD_ARGS_TYPES_6): Likewise.
32116 (LOAD_REGS_TYPES_1): Likewise.
32117 (LOAD_REGS_TYPES_2): Likewise.
32118 (LOAD_REGS_TYPES_3): Likewise.
32119 (LOAD_REGS_TYPES_4): Likewise.
32120 (LOAD_REGS_TYPES_5): Likewise.
32121 (LOAD_REGS_TYPES_6): Likewise.
32122 (TYPEFY): New define.
32123 (ARGIFY): Likewise.
32124 (internal_syscall0): Likewise.
32125 (internal_syscall1): Likewise.
32126 (internal_syscall2): Likewise.
32127 (internal_syscall3): Likewise.
32128 (internal_syscall4): Likewise.
32129 (internal_syscall5): Likewise.
32130 (internal_syscall6): Likewise.
32131 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32132 (INTERNAL_SYSCALL_NCS): Remove define.
32133 (internal_syscall1): Add define.
32135 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32137 * math/w_remainder_compat.c: Remove duplicate inclusion of
32138 math-svid-compat.h.
32139 * math/w_remainderf_compat.c: Likewise.
32140 * math/w_remainderl_compat.c: Likewise.
32142 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32146 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32149 * math/tgmath.h (__floating_type): Simplify definitions.
32150 (__real_integer_type): New macro.
32151 (__complex_integer_type): Likewise.
32152 (__expr_is_real): Likewise.
32153 (__tgmath_real_type_sub): Update comment to describe handling of
32155 (__tgmath_complex_type_sub): New macro.
32156 (__tgmath_complex_type): Likewise.
32157 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32158 (__TGMATH_CF128): Use __expr_is_real.
32159 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32161 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32162 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32163 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32166 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32168 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32170 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32172 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32175 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32176 nanosleep_not_cancel with __nanosleep_nocancel.
32177 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32178 (__nanosleep_nocancel): New macro.
32179 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32181 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32183 (__nanosleep_nocancel): New prototype.
32185 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32186 pause_not_cancel with __pause_nocancel.
32187 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32188 (__pause_nocancel): New macro.
32189 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32191 (__pause_nocancel): New prototype.
32192 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32194 2017-08-22 Martin Sebor <msebor@redhat.com>
32196 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32197 to return a pointer to the same type as the target function.
32199 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32203 * include/printf.h (__printf_fphex): Add attribute_hidden.
32204 (__guess_grouping): New prototype.
32205 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32206 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32207 libc_hidden_proto and libc_hidden_def.
32208 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32209 (__vstrfmon_l): Remove the third argument passed to
32212 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32214 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32215 definition for issignaling that does not rely on __MATH_TG,
32216 since __MATH_TG uses __builtin_types_compatible_p, which is only
32217 available in C mode.
32218 (CFLAGS-test-math-issignaling.cc): New variable.
32219 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32220 * math/test-math-issignaling.cc: New test for C++ implementation
32221 of type-generic issignaling.
32222 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32223 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32224 options of test-math-issignaling on powerpc64le.
32226 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32228 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32230 (hidden_proto): Likewise.
32231 (hidden_tls_proto): Likewise.
32232 (__hidden_proto): Likewise.
32234 2017-08-22 Florian Weimer <fweimer@redhat.com>
32236 math: Statically link tests of internal functionality.
32237 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32239 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32240 (gmp-objs): Remove assignment.
32241 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32243 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32246 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32248 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32250 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32253 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32254 variable definitions above inclusion of ../Rules.
32256 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32258 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32259 case calling __builtin_unreachable.
32261 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32263 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32264 __waitpid_nocancel.
32265 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32266 (__waitpid_nocancel): New macro.
32267 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32269 (__waitpid_nocancel): Replace macro with a function.
32270 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32273 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32275 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32276 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32278 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32279 __writev_nocancel_nostatus.
32280 (write_call_graph): Likewise.
32281 (write_bb_counts): Likewise.
32282 * resolv/herror.c (herror): Likewise.
32283 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32285 (__writev_nocancel_nostatus): New macro.
32286 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32288 (__writev_nocancel_nostatus): New function.
32290 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32293 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32295 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32297 (hidden_proto): Likewise.
32298 (hidden_tls_proto): Likewise.
32299 (__hidden_proto): Likewise.
32302 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32303 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32314 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32315 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32316 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32317 GLIBC_2.0 sqrtl symbol.
32319 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32320 [__USE_MISC] (_LIB_VERSION): Likewise.
32321 [__USE_MISC] (struct exception): Likewise.
32322 [__USE_MISC] (matherr): Likewise.
32323 [__USE_MISC] (DOMAIN): Likewise.
32324 [__USE_MISC] (SING): Likewise.
32325 [__USE_MISC] (OVERFLOW): Likewise.
32326 [__USE_MISC] (UNDERFLOW): Likewise.
32327 [__USE_MISC] (TLOSS): Likewise.
32328 [__USE_MISC] (PLOSS): Likewise.
32329 [__USE_MISC] (HUGE): Likewise.
32330 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32331 * math/math-svid-compat.h: New file.
32332 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32334 * include/math.h [!_ISOMAC] (__matherr): Remove.
32335 * manual/arith.texi (FP Exceptions): Do not document matherr.
32336 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32337 (tests-internal): New variable.
32338 (install-lib): Do not add libieee.a.
32339 (non-lib.a): Likewise.
32340 (extra-objs): Do not add libieee.a and ieee-math.o.
32341 (CPPFLAGS-s_lib_version.c): Remove variable.
32342 ($(objpfx)libieee.a): Remove rule.
32343 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32344 * math/ieee-math.c: Remove.
32345 * math/libm-test-support.c (matherr): Remove.
32346 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32347 and license notices. Include <math-svid-compat.h> and
32349 (matherr): Undefine as macro. Use compat_symbol_reference.
32350 (_LIB_VERSION): Likewise.
32351 * math/test-matherr-2.c: New file.
32352 * math/test-matherr-3.c: Likewise.
32353 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32355 (__kernel_standard_f): Likewise.
32356 (__kernel_standard_l): Likewise.
32357 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32358 <math_private.h>. Include <math-svid-compat.h>.
32359 (_LIB_VERSION): Undefine as macro.
32360 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32361 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32362 [LIBM_SVID_COMPAT], use compat_symbol.
32363 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32364 <math_private.h>. Include <math-svid-compat.h>.
32365 (matherr): Undefine as macro.
32366 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32368 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32369 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32370 compat_symbol_reference.
32371 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32372 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32373 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32374 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32375 (MATHERR_D): Remove declaration.
32376 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32377 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32378 [LIBM_BUILD] (pmatherrf): Likewise.
32379 [LIBM_BUILD] (pmatherr): Likewise.
32380 [LIBM_BUILD] (pmatherrl): Likewise.
32381 (DOMAIN): Likewise.
32383 (OVERFLOW): Likewise.
32384 (UNDERFLOW): Likewise.
32387 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32388 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32390 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32391 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32393 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32394 * math/w_acos_compat.c: Likewise.
32395 * math/w_acosf_compat.c: Likewise.
32396 * math/w_acosh_compat.c: Likewise.
32397 * math/w_acoshf_compat.c: Likewise.
32398 * math/w_acoshl_compat.c: Likewise.
32399 * math/w_acosl_compat.c: Likewise.
32400 * math/w_asin_compat.c: Likewise.
32401 * math/w_asinf_compat.c: Likewise.
32402 * math/w_asinl_compat.c: Likewise.
32403 * math/w_atan2_compat.c: Likewise.
32404 * math/w_atan2f_compat.c: Likewise.
32405 * math/w_atan2l_compat.c: Likewise.
32406 * math/w_atanh_compat.c: Likewise.
32407 * math/w_atanhf_compat.c: Likewise.
32408 * math/w_atanhl_compat.c: Likewise.
32409 * math/w_cosh_compat.c: Likewise.
32410 * math/w_coshf_compat.c: Likewise.
32411 * math/w_coshl_compat.c: Likewise.
32412 * math/w_exp10_compat.c: Likewise.
32413 * math/w_exp10f_compat.c: Likewise.
32414 * math/w_exp10l_compat.c: Likewise.
32415 * math/w_exp2_compat.c: Likewise.
32416 * math/w_exp2f_compat.c: Likewise.
32417 * math/w_exp2l_compat.c: Likewise.
32418 * math/w_fmod_compat.c: Likewise.
32419 * math/w_fmodf_compat.c: Likewise.
32420 * math/w_fmodl_compat.c: Likewise.
32421 * math/w_hypot_compat.c: Likewise.
32422 * math/w_hypotf_compat.c: Likewise.
32423 * math/w_hypotl_compat.c: Likewise.
32424 * math/w_j0_compat.c: Likewise.
32425 * math/w_j0f_compat.c: Likewise.
32426 * math/w_j0l_compat.c: Likewise.
32427 * math/w_j1_compat.c: Likewise.
32428 * math/w_j1f_compat.c: Likewise.
32429 * math/w_j1l_compat.c: Likewise.
32430 * math/w_jn_compat.c: Likewise.
32431 * math/w_jnf_compat.c: Likewise.
32432 * math/w_jnl_compat.c: Likewise.
32433 * math/w_lgamma_main.c: Likewise.
32434 * math/w_lgamma_r_compat.c: Likewise.
32435 * math/w_lgammaf_main.c: Likewise.
32436 * math/w_lgammaf_r_compat.c: Likewise.
32437 * math/w_lgammal_main.c: Likewise.
32438 * math/w_lgammal_r_compat.c: Likewise.
32439 * math/w_log10_compat.c: Likewise.
32440 * math/w_log10f_compat.c: Likewise.
32441 * math/w_log10l_compat.c: Likewise.
32442 * math/w_log2_compat.c: Likewise.
32443 * math/w_log2f_compat.c: Likewise.
32444 * math/w_log2l_compat.c: Likewise.
32445 * math/w_log_compat.c: Likewise.
32446 * math/w_logf_compat.c: Likewise.
32447 * math/w_logl_compat.c: Likewise.
32448 * math/w_pow_compat.c: Likewise.
32449 * math/w_powf_compat.c: Likewise.
32450 * math/w_powl_compat.c: Likewise.
32451 * math/w_remainder_compat.c: Likewise.
32452 * math/w_remainderf_compat.c: Likewise.
32453 * math/w_remainderl_compat.c: Likewise.
32454 * math/w_scalb_compat.c: Likewise.
32455 * math/w_scalbf_compat.c: Likewise.
32456 * math/w_scalbl_compat.c: Likewise.
32457 * math/w_sinh_compat.c: Likewise.
32458 * math/w_sinhf_compat.c: Likewise.
32459 * math/w_sinhl_compat.c: Likewise.
32460 * math/w_sqrt_compat.c: Likewise.
32461 * math/w_sqrtf_compat.c: Likewise.
32462 * math/w_sqrtl_compat.c: Likewise.
32463 * math/w_tgamma_compat.c: Likewise.
32464 * math/w_tgammaf_compat.c: Likewise.
32465 * math/w_tgammal_compat.c: Likewise.
32466 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32467 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32468 * sysdeps/ieee754/k_standard.c: Likewise.
32469 * sysdeps/ieee754/k_standardf.c: Likewise.
32470 * sysdeps/ieee754/k_standardl.c: Likewise.
32471 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32472 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32473 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32478 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32479 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32486 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32487 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32489 2017-08-21 Florian Weimer <fweimer@redhat.com>
32492 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32493 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32494 Move before inclusion of ../Rules.
32496 2017-08-21 Florian Weimer <fweimer@redhat.com>
32499 * assert/assert.h (assert): Use static_cast (bool) for C++.
32500 Use the ternary operator in the warning branch for GNU C.
32501 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32502 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32503 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32504 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32505 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32507 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32511 (__syscall_clock_gettime): Add attribute_hidden.
32512 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32513 (__start_context): Likewise.
32515 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32517 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32519 (hidden_proto): Likewise.
32520 (hidden_tls_proto): Likewise.
32521 (__hidden_proto): Likewise.
32523 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32525 * include/libc-symbols.h (attribute_hidden): Enable hidden
32526 visibility in libc.a compiled with PIE.
32528 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32531 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32532 Add attribute_hidden.
32534 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32537 * Makerules (all-nonlib): Add $(others-extras).
32538 * catgets/Makefile (others-extras): New.
32539 * elf/Makefile (others-extras): Likewise.
32540 * nss/Makefile (others-extras): Likewise.
32542 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32545 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32546 * elf/dl-open.c: Include <libc-internal.h>.
32547 (__libc_multiple_libcs): Removed.
32548 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32550 * include/libc-internal.h (__libc_multiple_libcs): New.
32551 * misc/sbrk.c: Include <libc-internal.h>.
32552 (__libc_multiple_libcs): Removed.
32554 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32557 * grp/initgroups.c (__nss_group_database): Removed.
32558 (__nss_initgroups_database): Likewise.
32559 * nscd/gai.c (__nss_hosts_database): Likewise.
32560 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32561 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32562 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32563 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32564 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32565 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32567 * nss/nsswitch.c (__nss_database_custom): Define only if
32568 USE_NSCD is defined.
32569 (__nss_configure_lookup): Use __nss_database_custom only if
32570 USE_NSCD is defined.
32571 * nss/nsswitch.h (__nss_database_custom): Declare only if
32572 USE_NSCD is defined. Add attribute_hidden.
32573 (__nss_setent): Add attribute_hidden.
32574 (__nss_endent): Likewise.
32575 (__nss_getent_r): Likewise.
32576 (__nss_getent): Likewise.
32577 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32579 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32582 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32583 libc_hidden_proto and libc_hidden_def.
32585 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32588 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32589 Add libc_hidden_proto.
32590 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32591 Add libc_hidden_def.
32593 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32596 * gmon/Makefile (routines): Remove bb_init_func and
32598 (elide-routines.os): Removed.
32599 * gmon/bb_exit_func.c: Likewise.
32600 * gmon/bb_init_func.c: Likewise.
32601 * include/sys/gmon.h (__bb): Likewise.
32602 (__bb_init_func): Likewise.
32603 (__bb_exit_func): Likewise.
32604 * sysdeps/alpha/bb_init_func.S: Likewise.
32606 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32608 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32609 * include/setjmp.h (____longjmp_chk): Here. Add
32612 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32615 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32617 (__strspn_sse2): Likewise.
32619 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32621 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32622 (close_not_cancel_no_status): Likewise.
32623 (__close_nocancel): New macro.
32624 (__close_nocancel_nostatus): Likewise.
32625 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32627 (close_not_cancel): Likewise.
32628 (close_not_cancel_no_status): Likewise.
32629 (__close_nocancel): New prototype.
32630 (__close_nocancel_nostatus): New function.
32631 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32632 * catgets/open_catalog.c (__open_catalog): Replace
32633 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32634 * gmon/gmon.c (write_gmon): Likewise.
32635 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32636 * intl/loadmsgcat.c (close): Likewise.
32637 * io/ftw.c (open_dir_stream): Likewise.
32638 (ftw_startup): Likewise.
32639 * libio/fileops.c (_IO_file_open): Likewise.
32640 (_IO_file_close_mmap): Likewise.
32641 (_IO_file_close): Likewise.
32642 * libio/iopopen.c (_IO_dup2): Likewise.
32643 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32644 * locale/loadlocale.c (_nl_load_locale): Likewise.
32645 * login/utmp_file.c (pututline_file): Likewise.
32646 (endutent_file): Likewise.
32647 * misc/daemon.c (daemon): Likewise.
32648 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32649 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32650 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32651 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32653 * nscd/nscd_helper.c (open_socket): Likewise.
32654 (__nscd_open_socket): Likewise.
32655 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32656 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32657 (__nscd_innetgr): Likewise.
32658 * nss/nss_db/db-open.c (internal_setent): Likewise.
32659 * resolv/res-close.c (__res_iclose): Likewise.
32660 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32661 * sysdeps/posix/closedir.c (__closedir): Likewise.
32662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32663 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32664 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32665 (opendir_tail): Likewise.
32666 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32667 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32669 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32670 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32671 (gethostid): Likewise.
32672 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32676 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32677 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32678 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32680 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32681 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32682 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32684 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32685 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32687 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32689 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32690 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32691 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32694 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32695 (openat_not_cancel_3): Likewise.
32696 (openat64_not_cancel_3): Likewise).
32697 (openat_not_cancel_3): Likewise).
32698 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32700 (openat_not_cancel_3): Likewise.
32701 (openat64_not_cancel): Likewise.
32702 (openat64_not_cancel_3): Likewise.
32703 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32704 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32705 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32706 __open{64}_nocancel.
32707 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32708 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32709 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32711 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32714 * include/argz.h (__argz_create_sep): New function prototype.
32715 (__argz_append): Likewise.
32716 (__argz_add): Likewise.
32717 (__argz_add_sep): Likewise.
32718 (__argz_delete): Likewise.
32719 (__argz_insert): Likewise.
32720 (__argz_replace): Likewise.
32721 * string/argz.h (__argz_create_sep): Removed.
32722 (__argz_append): Likewise.
32723 (__argz_add): Likewise.
32724 (__argz_add_sep): Likewise.
32725 (__argz_delete): Likewise.
32726 (__argz_insert): Likewise.
32727 (__argz_replace): Likewise.
32729 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32731 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32732 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32733 (GNU_PROPERTY_STACK_SIZE): Likewie.
32734 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32735 (GNU_PROPERTY_LOPROC): Likewise.
32736 (GNU_PROPERTY_HIPROC): Likewise.
32737 (GNU_PROPERTY_LOUSER): Likewise.
32738 (GNU_PROPERTY_HIUSER): Likewise.
32739 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32740 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32741 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32742 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32743 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32744 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32745 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32746 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32747 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32748 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32749 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32750 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32751 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32752 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32753 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32754 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32755 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32756 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32757 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32758 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32759 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32760 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32761 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32763 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32765 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32768 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32771 * math/math.h (isinf): Check if in C or C++ mode before using
32772 __builtin_types_compatible_p, since this is a C mode feature.
32774 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32776 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32777 (__write_nocancel): New macro.
32778 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32779 Rewrite as a function prototype.
32780 (write_not_cancel): Remove macro.
32781 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32782 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32783 (write_gmon): Likewise.
32784 * libio/fileops.c (_IO_new_file_write): Likewise.
32785 * login/utmp_file.c (pututline_file): Likewise.
32786 (updwtmp_file): Likewise.
32787 * stdio-common/psiginfo.c (psiginfo): Likewise.
32788 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32789 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32790 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32792 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32795 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32796 (__read_nocancel): New macro.
32797 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32799 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32801 (__read_nocancel): New prototype.
32802 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32803 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32804 with __read_nocancel.
32805 * intl/loadmsgcat.c (read): Likewise.
32806 * libio/fileops.c (_IO_file_read): Likewise.
32807 * locale/loadlocale.c (_nl_load_locale): Likewise.
32808 * login/utmp_file.c (getutent_r_file): Likewise.
32809 (internal_getut_r): Likewise.
32810 (getutline_r_file): Likewise.
32811 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32812 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32813 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32816 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32817 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32818 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32820 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32822 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32824 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32828 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32831 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32832 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32835 2017-08-17 DJ Delorie <dj@redhat.com>
32837 * bug17079.c: Update to new test harness.
32838 * test-digits-dots.c: Likewise.
32839 * test-netdb.c: Likewise.
32840 * tst-field.c: Likewise.
32841 * tst-nss-getpwent.c: Likewise.
32842 * tst-nss-static.c: Likewise.
32843 * tst-nss-test1.c: Likewise.
32844 * tst-nss-test2.c: Likewise.
32845 * tst-nss-test3.c: Likewise.
32846 * tst-nss-test4.c: Likewise.
32847 * tst-nss-test5.c: Likewise.
32849 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32851 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32852 (open_not_cancel_2): Likewise.
32853 (open_nocancel): New macro.
32854 (open64_nocancel): Likewise.
32855 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32856 (open_not_cancel_2): Likewise.
32857 (__open_nocancel): New prototype.
32858 (__open64_nocancel): Likewise.
32859 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32861 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32862 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32863 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32864 with __open_nocancel.
32865 * csu/check_fds.c (check_one_fd): Likewise.
32866 * gmon/gmon.c (write_gmon): Likewise.
32867 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32868 * intl/loadmsgcat.c (open): Likewise.
32869 * libio/fileops.c (_IO_file_open): Likewise.
32870 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32871 * locale/loadlocale.c (_nl_load_locale): Likewise.
32872 * login/utmp_file.c (setutent_file): Likewise.
32873 * misc/daemon.c (daemon): Likewise.
32874 * nss/nss_db/db-open.c (internal_setent): Likewise.
32875 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32876 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32877 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32878 (__opendir): Likewise.
32879 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32880 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32881 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32882 (gethostid): Likewise.
32883 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32887 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32888 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32889 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32891 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32893 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32897 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32899 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32901 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32902 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32904 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32906 * benchtests/bench-skeleton.c (main): Add support for
32907 latency benchmarking.
32908 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32910 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32912 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32913 the startup object.
32915 2017-08-17 Florian Weimer <fweimer@redhat.com>
32917 * include/sys/socket.h (__opensock): Remove internal_function.
32918 * socket/opensock.c (__opensock): Likewise.
32919 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32921 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32924 * signal/bits/types/__sigval_t.h: New file.
32925 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32926 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32927 and define sigval_t using __sigval_t.
32928 * include/bits/types/__sigval_t.h: New file.
32929 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32930 instead of <bits/types/__sigval_t.h>.
32931 (struct sigevent): Use __sigval_t instead of sigval_t.
32932 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32933 instead of <bits/types/__sigval_t.h>.
32934 (siginfo_t): Use __sigval_t instead of sigval_t.
32935 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32936 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32937 (struct sigevent): Use __sigval_t instead of sigval_t.
32938 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32939 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32940 (siginfo_t): Use __sigval_t instead of sigval_t.
32941 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32943 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32945 * NEWS: Remove "[Add new features here]" for 2.27.
32947 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32949 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32952 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32954 * NEWS: Mention x86-64 FMA optimization.
32956 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32959 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32961 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32962 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32963 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32965 2017-08-16 Andreas Schwab <schwab@suse.de>
32969 * elf/ldd.bash.in: Never run file directly.
32971 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32974 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32975 (L(SP_INF_0)): Likewise.
32977 2017-08-15 Florian Weimer <fweimer@redhat.com>
32979 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32982 2017-08-15 Florian Weimer <fweimer@redhat.com>
32984 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32985 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32986 BROKEN_THREAD_SIGNALS code.
32987 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32988 request_list): Remove caller_pid member used for
32989 BROKEN_THREAD_SIGNALS.
32990 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32991 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32992 Remove BROKEN_THREAD_SIGNALS support.
32993 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32994 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32996 2017-08-15 Florian Weimer <fweimer@redhat.com>
32998 * gmon/Makefile (tests): Add tst-gmon.
32999 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33001 (tests-special): Add tst-gmon-prof.out.
33002 (tst-gmon.out): Depend on clean-tst-gmon-data.
33003 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33004 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33005 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33007 * aclocal.m4 (GPROF): Set and substitute.
33008 * config.amke.in (GPROF): Set.
33009 * configure: Regenerate.
33011 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33013 * elf/elf.h A (NT_PPC_TAR): New macro.
33014 (NT_PPC_PPR): Likewise.
33015 (NT_PPC_DSCR): Likewise.
33016 (NT_PPC_EBB): Likewise.
33017 (NT_PPC_PMU): Likewise.
33018 (NT_PPC_TM_CGPR): Likewise.
33019 (NT_PPC_TM_CFPR): Likewise.
33020 (NT_PPC_TM_CVMX): Likewise.
33021 (NT_PPC_TM_CVSX): Likewise.
33022 (NT_PPC_TM_SPR): Likewise.
33023 (NT_PPC_TM_CTAR): Likewise.
33024 (NT_PPC_TM_CPPR): Likewise.
33025 (NT_PPC_TM_CDSCR): Likewise.
33027 2017-08-15 Florian Weimer <fweimer@redhat.com>
33029 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33030 regparm (2) instead of internal_function.
33031 (_MCOUNT_DECL): Adjust.
33033 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33035 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33036 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33038 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33040 * conform/data/sys/wait.h-data (si_value): Do not expect for
33043 2017-08-14 Florian Weimer <fweimer@redhat.com>
33046 NSS: Create stubs for accidentally exported lookup functions.
33047 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33048 Remove declaration.
33049 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33050 (ether_hostton): Call __nss_ethers_lookup2 instead.
33051 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33052 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33053 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33054 (setup): Call __nss_netgroup_lookup2 instead.
33055 * nss/Makefile (routines): Add compat-lookup.
33056 * nss/Versions (GLIBC_2.27): Add symbol version.
33057 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33058 (DB_COMPAT_FCT): Remove.
33059 * nss/compat-lookup.c: New file.
33060 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33061 from databases.def.
33062 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33063 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33064 (netname2user): Call __nss_publickey_lookup2 instead.
33065 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33066 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33069 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33070 Sergei Trofimovich <slyfox@inbox.ru>
33073 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33074 Rename to MMAP2_PAGE_UNIT.
33075 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33076 __OFF_T_MATCHES_OFF64_T is not defined.
33077 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33079 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33080 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33082 2017-08-14 Florian Weimer <fweimer@redhat.com>
33084 i386: Do not set internal_function.
33085 * config.h.in (USE_REGPARMS, internal_function): Remove.
33086 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33087 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33089 2017-08-14 Florian Weimer <fweimer@redhat.com>
33091 * elf/dl-init.c (_dl_init): Remove internal_function.
33092 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33093 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33095 2017-08-14 Florian Weimer <fweimer@redhat.com>
33097 * elf/rtld.c (_dl_start): Remove internal_function.
33098 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33101 2017-08-14 Florian Weimer <fweimer@redhat.com>
33103 * elf/dl-fini.c (_dl_fini): Remove internal_function
33104 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33106 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33108 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33109 (bit_cpu_SHSTK): Likewise.
33110 (index_cpu_IBT): Likewise.
33111 (index_cpu_SHSTK): Likewise.
33112 (reg_IBT): Likewise.
33113 (reg_SHSTK): Likewise.
33114 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33115 Handle index_cpu_IBT and index_cpu_SHSTK.
33117 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33120 * po/fr.po: Fix spelling mistake.
33122 2017-08-13 Florian Weimer <fweimer@redhat.com>
33124 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33125 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33126 (_dl_catch_error, _dl_receive_error): Likewise.
33127 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33128 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33129 (_dl_deallocate_tls): Likewise.
33130 * include/dlfcn.h (_dl_addr): Likewise.
33131 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33132 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33133 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33136 2017-08-13 Florian Weimer <fweimer@redhat.com>
33138 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33139 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33141 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33143 2017-08-13 Florian Weimer <fweimer@redhat.com>
33145 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33147 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33148 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33149 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33150 internal_function from _dl_make_stack_executable_hook member.
33151 (_dl_make_stack_executable): Remove internal_function.
33152 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33154 * sysdeps/unix/sysv/linux/dl-execstack.c
33155 (_dl_make_stack_executable): Likewise.
33157 2017-08-13 Florian Weimer <fweimer@redhat.com>
33159 * sysdeps/unix/sysv/linux/netlinkaccess.h
33160 (__netlink_assert_response): Remove internal_function.
33161 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33162 (__netlink_assert_response): Likewise.
33164 2017-08-13 Florian Weimer <fweimer@redhat.com>
33166 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33168 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33170 2017-08-13 Florian Weimer <fweimer@redhat.com>
33172 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33174 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33175 * inet/netgroup.h (__internal_setnetgrent)
33176 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33177 * inet/getnetgrent_r.c (__internal_setnetgrent)
33178 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33179 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33180 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33181 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33182 * nss/nsswitch.h (db_lookup_function): Likewise.
33184 2017-08-13 Florian Weimer <fweimer@redhat.com>
33186 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33187 Remove internal_function.
33188 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33189 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33190 message argument on the stack.
33191 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33194 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33196 Adapt test case data to the changes in the thousands
33200 * localedata/tst-langinfo.sh: Adapt test case data.
33201 * stdlib/tst-strfmon_l.c: Likewise.
33202 * stdlib/tst-strtod4.c: Likewise.
33203 * stdlib/tst-strtod5i.c: Likewise.
33205 2017-08-11 Florian Weimer <fweimer@redhat.com>
33208 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33209 Suppress pedantic warning resulting from statement expression.
33210 (__ASSERT_FUNCTION): Add missing __extension__.
33212 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33214 * benchtests/bench-memmove-large.c: Print output in JSON
33216 * benchtests/bench-memmove.c: Likewise.
33218 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33219 * benchtests/bench-memchr.c (do_one_test): Likewise.
33220 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33221 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33222 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33223 * benchtests/bench-memmove.c (do_one_test): Likewise.
33224 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33225 * benchtests/bench-memset.c (do_one_test): Likewise.
33226 * benchtests/bench-string.h (test_init): Remove memsets.
33228 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33231 (Computing the Width of an Integer Data Type): Rename section to
33232 "Width of an Integer Type". Remove inaccurate statement regarding
33233 lack of C language facilities for determining width of integer
33234 types, and reorder content to improve flow and context of
33237 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33239 * lang.texi (va_copy): Change standard from ISO to C99.
33240 (__va_copy): Add standard and header annotation.
33241 Update description for clarity of origins and current use.
33243 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33246 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33247 xssqrtqp requires operands to be in Vector Registers
33248 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33249 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33250 (__ieee754_sqrtf128): Likewise.
33252 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33254 * sysdeps/aarch64/memcmp.S (memcmp):
33255 Rewrite of optimized memcmp.
33257 2017-08-10 Florian Weimer <fweimer@redhat.com>
33259 Introduce ld.so exceptions.
33260 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33261 (_dl_exception_create, _dl_exception_create_format)
33262 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33263 (_dl_catch_exception): Declare.
33264 (_dl_catch_error): Update comment.
33265 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33266 errstring, malloced members with exception member.
33267 (_dl_out_of_memory): Remove.
33268 (fatal_error): New function, extracted from _dl_signal_error.
33269 (_dl_signal_exception, _dl_signal_cexception): New functions.
33270 (_dl_signal_error): Call _dl_exception_create to allocate an
33272 (_dl_catch_exception): New function, based on _dl_catch_error.
33273 (_dl_catch_error): Implement using _dl_catch_exception.
33274 * elf/dl-exception.c: New file.
33275 * elf/Makefile (dl-routines): Add dl-exception.
33276 (elide-routines.os): Likewise.
33277 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33278 _dl_exception_create_format, _dl_exception_free.
33279 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33280 _dl_signal_exception.
33281 * elf/dl-lookup.c (make_string): Remove.
33282 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33283 _dl_signal_cexception, _dl_exception_free.
33284 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33285 _dl_signal_exception.
33286 * elf/dl-sym.c (do_sym): Likewise.
33287 * elf/dl-version.c (make_string): Remove.
33288 (match_symbol): Use _dl_exception_create_format,
33289 _dl_signal_cexception, _dl_exception_free.
33290 (_dl_check_map_versions): Likewise.
33291 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33292 _dl_catch_exception.
33293 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33294 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33295 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33296 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33297 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33298 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33299 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33300 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33302 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33309 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33310 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33311 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33313 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33315 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33317 2017-08-10 Florian Weimer <fweimer@redhat.com>
33319 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33320 attribute_hidden, internal_function.
33321 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33324 2017-08-10 Florian Weimer <fweimer@redhat.com>
33326 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33327 function which calls __builtin_unreachable.
33329 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33331 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33332 Indian monetary formatting
33333 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33336 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33338 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33339 Fix typo in comment.
33342 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33343 PTRACE_SEIZE_DEVEL): Remove.
33344 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33346 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33347 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33350 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33352 * posix/bits/types.h (__qaddr_t): Remove.
33355 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33356 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33358 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33359 (ucontext_t): Use __ctx with uc_flags.
33360 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33361 (__ctxt): Likewise.
33362 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33364 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33365 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33367 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33368 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33370 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33372 (ucontext_t): Use __ctx with uc_flags.
33373 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33374 (ucontext_t): Use __ctx with uc_flags.
33375 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33376 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33377 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33378 (ucontext_t): Use __ctx with uc_flags.
33379 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33380 undefine further down.
33381 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33383 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33384 undefine further down.
33385 (ucontext_t): Use __ctx with uc_flags.
33386 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33387 undefine further down.
33388 (ucontext_t): Use __ctx with uc_flags.
33389 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33390 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33391 Rename uc_pad to __glibc_reserved1.
33392 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33393 undefine further down.
33394 (ucontext_t): Use __ctx with uc_flags.
33395 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33397 (ucontext_t): Use __ctx with uc_flags.
33398 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33399 __ctx with uc_flags.
33400 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33401 (ucontext_t): Use __ctx with uc_flags.
33402 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33403 __ctx with uc_flags.
33405 2017-08-09 Florian Weimer <fweimer@redhat.com>
33408 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33409 before early return.
33411 2017-08-09 Andreas Schwab <schwab@suse.de>
33414 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33418 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33419 tst-compat-forwarder.
33420 (modules-names): Add tst-compat-forwarder-mod.
33421 ($(objpfx)tst-compat-forwarder): Depend on
33422 $(objpfx)tst-compat-forwarder-mod.so.
33423 * nptl/tst-compat-forwarder.c: New file.
33424 * nptl/tst-compat-forwarder-mod.c: New file.
33426 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33428 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33431 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33432 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33434 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33436 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33437 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33438 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33441 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33444 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33447 * manual/setjmp.texi (getcontex): Document uc_stack value
33448 compatibility differences.
33450 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33452 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33453 (old_malloc_hook): Likewise.
33454 (old_memalign_hook): Likewise.
33455 (old_realloc_hook): Likewise.
33456 (struct hdr): Likewise.
33458 (freehook): Likewise.
33459 (mallochook): Likewise.
33460 (memalignhook): Likewise.
33461 (reallochook): Likewise.
33462 (mprobe): Likewise.
33463 * malloc/mtrace.c (mallwatch): Likewise.
33464 (tr_old_free_hook): Likewise.
33465 (tr_old_malloc_hook): Likewise.
33466 (tr_old_realloc_hook): Likewise.
33467 (tr_old_memalign_hook): Likewise.
33468 (tr_where): Likewise.
33469 (lock_and_info): Likewise.
33470 (tr_freehook): Likewise.
33471 (tr_mallochook): Likewise.
33472 (tr_reallochook): Likewise.
33473 (tr_memalignhook): Likewise.
33474 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33475 * misc/mmap.c (__mmap): Likewise.
33476 * misc/mmap64.c (__mmap64): Likewise.
33477 * misc/mprotect.c (__mprotect): Likewise.
33478 * misc/msync.c (msync): Likewise.
33479 * misc/munmap.c (__munmap): Likewise.
33480 * posix/posix_madvise.c (posix_madvise): Likewise.
33481 * socket/send.c (__send): Likewise.
33482 * socket/sendto.c (__sendto): Likewise.
33483 * socket/setsockopt.c (__setsockopt): Likewise.
33484 * string/memcmp.c (__ptr_t): Remove macro.
33485 (MEMCMP): Use void * instead of ptr_t.
33486 * string/memrchr.c (__ptr_t): Remove macro.
33487 (__memrchr): Use void * instead of ptr_t.
33488 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33489 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33490 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33491 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33492 * sysdeps/mach/msync.c (msync): Likewise.
33493 * sysdeps/mach/munmap.c (__munmap): Likewise.
33494 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33496 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33497 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33498 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33499 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33500 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33501 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33502 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33503 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33505 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33506 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33507 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33508 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33509 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33510 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33511 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33512 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33515 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33516 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33517 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33518 (MEMCMP): Use void * instead of ptr_t.
33519 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33520 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33522 2017-08-08 Florian Weimer <fweimer@redhat.com>
33524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33527 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33530 * csu/libc-tls.c: Include <startup.h> first.
33531 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33532 * elf/dl-tunables.c: Include <startup.h> first.
33533 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33534 * sysdeps/generic/startup.h: New file.
33535 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33536 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33537 (I386_USE_SYSENTER): New. Defined to 0.
33539 2017-08-08 Andreas Schwab <schwab@suse.de>
33542 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33543 * nptl/pt-system.c (system): Likewise.
33545 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33548 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33550 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33551 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33552 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33553 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33554 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33555 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33556 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33558 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33561 * bits/sigaction.h (struct sigaction): Define sa_handler and
33562 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33563 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33564 [__USE_XOPEN_EXTENDED].
33565 (SA_RESTART): Likewise.
33566 (SA_NODEFER): Likewise.
33567 (SA_RESETHAND): Likewise.
33568 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33569 (struct sigaction): Define sa_handler and sa_sigaction using union
33570 also for [__USE_XOPEN_EXTENDED].
33571 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33572 [__USE_XOPEN_EXTENDED].
33573 (SA_RESTART): Likewise.
33574 (SA_NODEFER): Likewise.
33575 (SA_RESETHAND): Likewise.
33576 * sysdeps/unix/sysv/linux/bits/sigaction.h
33577 (struct sigaction): Define sa_handler and sa_sigaction using union
33578 also for [__USE_XOPEN_EXTENDED].
33579 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33580 [__USE_XOPEN_EXTENDED].
33581 (SA_RESTART): Likewise.
33582 (SA_NODEFER): Likewise.
33583 (SA_RESETHAND): Likewise.
33584 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33585 (struct sigaction): Define sa_handler and sa_sigaction using union
33586 also for [__USE_XOPEN_EXTENDED].
33587 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33588 [__USE_XOPEN_EXTENDED].
33589 (SA_RESTART): Likewise.
33590 (SA_NODEFER): Likewise.
33591 (SA_RESETHAND): Likewise.
33592 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33593 (struct sigaction): Define sa_handler and sa_sigaction using union
33594 also for [__USE_XOPEN_EXTENDED].
33595 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33596 [__USE_XOPEN_EXTENDED].
33597 (SA_RESTART): Likewise.
33598 (SA_NODEFER): Likewise.
33599 (SA_RESETHAND): Likewise.
33600 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33601 (struct sigaction): Define sa_handler and sa_sigaction using union
33602 also for [__USE_XOPEN_EXTENDED].
33603 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33604 [__USE_XOPEN_EXTENDED].
33605 (SA_RESTART): Likewise.
33606 (SA_NODEFER): Likewise.
33607 (SA_RESETHAND): Likewise.
33608 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33609 (struct sigaction): Define sa_handler and sa_sigaction using union
33610 also for [__USE_XOPEN_EXTENDED].
33611 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33612 [__USE_XOPEN_EXTENDED].
33613 (SA_RESTART): Likewise.
33614 (SA_NODEFER): Likewise.
33615 (SA_RESETHAND): Likewise.
33616 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33617 (struct sigaction): Define sa_handler and sa_sigaction using union
33618 also for [__USE_XOPEN_EXTENDED].
33619 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33620 [__USE_XOPEN_EXTENDED].
33621 (SA_RESTART): Likewise.
33622 (SA_NODEFER): Likewise. Define directly rather than as alias.
33623 (SA_RESETHAND): Likewise.
33624 (SA_INTERRUPT): Define only for [__USE_MISC].
33625 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33626 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33628 (SA_STACK): Define only for [__USE_MISC].
33629 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33630 (struct sigaction): Define sa_handler and sa_sigaction using union
33631 also for [__USE_XOPEN_EXTENDED].
33632 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33633 [__USE_XOPEN_EXTENDED].
33634 (SA_RESTART): Likewise.
33635 (SA_NODEFER): Likewise.
33636 (SA_RESETHAND): Likewise.
33637 (SA_NOPTRACE): Define only for [__USE_MISC].
33639 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33640 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33641 (struct catalog_info): Likewise.
33642 * inet/htontest.c (lo): Likewise.
33644 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33645 * inet/inet_net.c (inet_network): Likewise.
33646 * inet/inet_netof.c (inet_netof): Likewise.
33647 * inet/rcmd.c (__ivaliduser): Likewise.
33648 (iruserok): Likewise.
33649 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33650 * locale/programs/locale-spec.c (locale_special): Likewise.
33651 * nis/nis_findserv.c (struct findserv_req): Likewise.
33652 (__nis_findfastest_with_timeout): Likewise.
33653 * nss/test-netdb.c (test_network): Likewise.
33654 * resolv/inet_neta.c (inet_neta): Likewise.
33655 * resolv/ns_date.c (ns_datetosecs): Likewise.
33656 (SECS_PER_DAY): Likewise.
33657 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33659 * resolv/res_comp.c (__putlong): Likewise.
33660 (__putshort): Likewise.
33661 (_getlong): Likewise.
33662 (_getshort): Likewise.
33663 * resolv/res_debug.c (p_time): Likewise.
33664 (precsize_ntoa): Likewise.
33665 (precsize_aton): Likewise.
33666 (latlon2ul): Likewise.
33667 (loc_aton): Likewise.
33668 (loc_ntoa): Likewise.
33669 * resolv/res_hconf.c (struct netaddr): Likewise.
33670 (_res_hconf_reorder_addrs): Likewise.
33671 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33672 (clnttcp_control): Likewise.
33673 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33674 (clntudp_control): Likewise.
33675 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33676 (clntunix_control): Likewise.
33677 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33678 * sunrpc/rpc/auth.h (union des_block): Likewise.
33679 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33680 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33681 (xdrrec_create): Likewise.
33682 (xdrrec_endofrecord): Likewise.
33683 (flush_out): Likewise.
33684 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33685 (xdrstdio_putlong): Likewise.
33686 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33689 * misc/sys/cdefs.h (__long_double_t): Remove.
33690 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33691 instead of __long_double_t,
33692 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33694 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33696 * benchtests/scripts/compare_strings.py: Avoid display error when
33697 running on a text terminal.
33699 * benchtests/scripts/compare_strings.py (main): Add an
33700 optional -base option.
33701 (process_results): New argument base_func.
33703 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33705 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33706 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33708 2017-08-07 Andreas Schwab <schwab@suse.de>
33710 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33711 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33712 * intl/Makefile ($(objpfx)tst-gettext.out)
33713 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33714 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33715 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33716 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33717 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33718 * posix/Makefile ($(objpfx)globtest.out)
33719 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33720 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33721 ($(objpfx)tst-printf.out): Likewise.
33722 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33723 ($(objpfx)tst-setcontext3.out): Likewise.
33725 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33727 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33728 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33729 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33730 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33731 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33733 (CFLAGS-doasin-fma.c): New.
33734 (CFLAGS-dosincos-fma.c): Likewise.
33735 (CFLAGS-e_asin-fma.c): Likewise.
33736 (CFLAGS-e_atan2-fma.c): Likewise.
33737 (CFLAGS-e_exp-fma.c): Likewise.
33738 (CFLAGS-e_log-fma.c): Likewise.
33739 (CFLAGS-e_pow-fma.c): Likewise.
33740 (CFLAGS-halfulp-fma.c): Likewise.
33741 (CFLAGS-mpa-fma.c): Likewise.
33742 (CFLAGS-mpatan-fma.c): Likewise.
33743 (CFLAGS-mpatan2-fma.c): Likewise.
33744 (CFLAGS-mpexp-fma.c): Likewise.
33745 (CFLAGS-mplog-fma.c): Likewise.
33746 (CFLAGS-mpsqrt-fma.c): Likewise.
33747 (CFLAGS-mptan-fma.c): Likewise.
33748 (CFLAGS-s_atan-fma.c): Likewise.
33749 (CFLAGS-sincos32-fma.c): Likewise.
33750 (CFLAGS-slowexp-fma.c): Likewise.
33751 (CFLAGS-slowpow-fma.c): Likewise.
33752 (CFLAGS-s_sin-fma.c): Likewise.
33753 (CFLAGS-s_tan-fma.c): Likewise.
33754 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33755 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33756 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33758 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33759 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33760 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33761 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33762 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33763 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33764 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33765 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33766 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33767 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33768 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33769 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33770 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33771 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33773 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33774 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33775 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33776 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33780 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33781 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33783 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33784 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33786 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33788 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33789 (min_of_type_f): New macro.
33790 (min_of_type_): Likewise.
33791 (min_of_type_l): Likewise.
33792 (min_of_type_f128): Likewise.
33793 (min_of_type): Define using __MATH_TG and taking an expression
33795 (math_check_force_underflow): Pass expression instead of type to
33797 (math_check_force_underflow_nonneg): Likewise.
33799 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33801 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33802 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33803 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33805 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33808 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33809 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33810 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33811 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33812 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33813 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33814 memmove_chk-nonshared and memset_chk-nonshared
33815 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33816 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33817 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33818 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33819 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33820 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33821 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33822 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33823 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33824 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33825 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33826 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33827 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33828 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33829 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33830 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33831 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33832 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33833 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33834 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33835 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33836 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33837 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33838 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33839 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33840 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33841 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33842 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33843 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33844 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33845 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33846 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33847 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33848 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33849 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33850 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33851 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33852 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33853 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33854 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33855 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33856 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33857 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33858 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33859 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33860 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33861 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33862 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33863 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33864 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33865 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33866 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33867 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33868 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33869 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33870 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33871 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33872 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33873 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33874 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33875 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33876 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33877 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33878 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33879 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33880 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33881 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33882 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33883 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33884 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33885 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33886 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33887 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33888 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33889 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33890 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33891 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33892 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33893 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33894 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33895 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33896 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33897 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33898 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33899 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33900 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33901 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33902 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33903 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33905 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33906 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33907 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33908 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33909 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33910 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33911 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33912 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33914 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33915 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33916 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33917 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33918 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33919 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33920 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33921 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33922 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33924 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33926 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33927 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33928 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33929 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33930 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33931 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33932 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33933 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33934 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33935 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33936 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33937 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33938 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33939 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33940 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33941 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33942 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33943 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33944 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33945 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33946 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33947 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33948 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33949 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33950 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33951 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33952 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33953 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33954 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33955 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33956 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33957 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33958 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33959 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33960 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33961 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33962 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33964 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33966 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33967 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33968 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33969 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33970 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33971 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33972 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33973 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33974 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33975 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33976 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33977 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33979 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33981 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33982 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33983 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33984 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33986 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33987 Don't include <sysdep.h> nor <init-arch.h>.
33988 (_ZGVbN2v_cos): Removed.
33989 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33991 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33992 Don't include <sysdep.h> nor <init-arch.h>.
33993 (_ZGVdN4v_cos): Removed.
33994 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33996 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33997 Don't include <sysdep.h> nor <init-arch.h>.
33998 (_ZGVeN8v_cos): Removed.
33999 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34001 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34002 Don't include <sysdep.h> nor <init-arch.h>.
34003 (_ZGVbN2v_exp): Removed.
34004 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34006 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34007 Don't include <sysdep.h> nor <init-arch.h>.
34008 (_ZGVdN4v_exp): Removed.
34009 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34011 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34012 Don't include <sysdep.h> nor <init-arch.h>.
34013 (_ZGVeN8v_exp): Removed.
34014 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34016 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34017 Don't include <sysdep.h> nor <init-arch.h>.
34018 (_ZGVbN2v_log): Removed.
34019 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34021 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34022 Don't include <sysdep.h> nor <init-arch.h>.
34023 (_ZGVdN4v_log): Removed.
34024 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34026 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34027 Don't include <sysdep.h> nor <init-arch.h>.
34028 (_ZGVeN8v_log): Removed.
34029 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34031 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34032 Don't include <sysdep.h> nor <init-arch.h>.
34033 (_ZGVbN2vv_pow): Removed.
34034 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34037 Don't include <sysdep.h> nor <init-arch.h>.
34038 (_ZGVdN4vv_pow): Removed.
34039 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34041 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34042 Don't include <sysdep.h> nor <init-arch.h>.
34043 (_ZGVeN8vv_pow): Removed.
34044 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34046 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34047 Don't include <sysdep.h> nor <init-arch.h>.
34048 (_ZGVbN2v_sin): Removed.
34049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34051 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34052 Don't include <sysdep.h> nor <init-arch.h>.
34053 (_ZGVbN4v_sin): Removed.
34054 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34057 Don't include <sysdep.h> nor <init-arch.h>.
34058 (_ZGVbN8v_sin): Removed.
34059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34061 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34062 Don't include <sysdep.h> nor <init-arch.h>.
34063 (_ZGVbN2vvv_sincos): Removed.
34064 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34067 Don't include <sysdep.h> nor <init-arch.h>.
34068 (_ZGVdN4vvv_sincos): Removed.
34069 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34071 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34072 Don't include <sysdep.h> nor <init-arch.h>.
34073 (_ZGVeN8vvv_sincos): Removed.
34074 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34076 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34077 Don't include <sysdep.h> nor <init-arch.h>.
34078 (_ZGVeN16v_cosf): Removed.
34079 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34081 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34082 Don't include <sysdep.h> nor <init-arch.h>.
34083 (_ZGVbN4v_cosf): Removed.
34084 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34086 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34087 Don't include <sysdep.h> nor <init-arch.h>.
34088 (_ZGVdN8v_cosf): Removed.
34089 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34091 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34092 Don't include <sysdep.h> nor <init-arch.h>.
34093 (_ZGVeN16v_expf): Removed.
34094 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34096 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34097 Don't include <sysdep.h> nor <init-arch.h>.
34098 (_ZGVbN4v_expf): Removed.
34099 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34101 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34102 Don't include <sysdep.h> nor <init-arch.h>.
34103 (_ZGVdN8v_expf): Removed.
34104 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34106 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34107 Don't include <sysdep.h> nor <init-arch.h>.
34108 (_ZGVeN16v_logf): Removed.
34109 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34111 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34112 Don't include <sysdep.h> nor <init-arch.h>.
34113 (_ZGVbN4v_logf): Removed.
34114 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34116 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34117 Don't include <sysdep.h> nor <init-arch.h>.
34118 (_ZGVdN8v_logf): Removed.
34119 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34121 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34122 Don't include <sysdep.h> nor <init-arch.h>.
34123 (_ZGVeN16vv_powf): Removed.
34124 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34126 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34127 Don't include <sysdep.h> nor <init-arch.h>.
34128 (_ZGVbN4vv_powf): Removed.
34129 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34131 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34132 Don't include <sysdep.h> nor <init-arch.h>.
34133 (_ZGVdN8vv_powf): Removed.
34134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34136 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34137 Don't include <sysdep.h> nor <init-arch.h>.
34138 (_ZGVeN16vvv_sincosf): Removed.
34139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34142 Don't include <sysdep.h> nor <init-arch.h>.
34143 (_ZGVbN4vvv_sincosf): Removed.
34144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34146 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34147 Don't include <sysdep.h> nor <init-arch.h>.
34148 (_ZGVdN8vvv_sincosf): Removed.
34149 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34151 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34152 Don't include <sysdep.h> nor <init-arch.h>.
34153 (_ZGVeN16v_sinf): Removed.
34154 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34156 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34157 Don't include <sysdep.h> nor <init-arch.h>.
34158 (_ZGVbN4v_sinf): Removed.
34159 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34161 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34162 Don't include <sysdep.h> nor <init-arch.h>.
34163 (_ZGVdN8v_sinf): Removed.
34165 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34167 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34168 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34169 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34170 s_rint-sse4_1 and s_rintf-sse4_1.
34171 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34172 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34173 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34174 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34175 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34176 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34177 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34178 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34179 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34180 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34181 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34182 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34184 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34185 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34186 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34187 (__ceilf): Removed.
34188 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34189 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34190 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34191 (__floor): Removed.
34192 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34193 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34194 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34195 (__floorf): Removed.
34196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34198 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34199 (__nearbyint): Removed.
34200 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34201 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34202 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34203 (__nearbyintf): Removed.
34204 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34205 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34206 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34208 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34209 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34210 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34211 (__rintf): Removed.
34213 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34215 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34216 SHARED. Avoid dynamic relocation against main in static PIE.
34218 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34221 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34222 (LDFLAGS-tst-prelink): Likewise.
34224 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34226 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34227 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34228 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34229 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34230 (INTERNAL_SYSCALL_NCS): Likewise.
34231 (LOADARGS_1): Likewise.
34232 (LOADARGS_5): Likewise.
34233 (RESTOREARGS_1): Likewise.
34234 (RESTOREARGS_5): Likewise.
34236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34238 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34239 (MEMPCPY_SYMBOL): Likewise.
34240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34241 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34245 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34247 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34248 (__hidden_ver1): Don't use in libc.a.
34249 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34250 (__mempcpy): Don't create a weak alias in libc.a.
34251 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34253 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34254 (__hidden_ver1): Don't use in libc.a.
34256 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34258 * config.make.in (have-insert): New.
34259 * configure.ac (libc_cv_insert): New. Set to yes if linker
34260 supports INSERT in linker script.
34261 (AC_SUBST(libc_cv_insert): New.
34262 * configure: Regenerated.
34263 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34264 if $(have-insert) == yes.
34266 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34268 * elf/Makefile (tests): Add vismain only if
34269 $(have-protected-data) == yes.
34270 (tests-pie): Likewise.
34272 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34275 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34276 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34278 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34281 * sysdeps/i386/i586/memset.S
34282 (__memset_zero_constant_len_parameter): Removed.
34283 * sysdeps/i386/i686/memset.S
34284 (__memset_zero_constant_len_parameter): Likewise.
34285 * sysdeps/i386/i686/multiarch/memset_chk.S
34286 (__memset_zero_constant_len_parameter): Likewise.
34287 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34290 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34292 * stdlib/getentropy.c (getentropy): Change return type to int.
34294 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34296 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34298 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34300 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34302 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34303 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34305 (ieee_float_shape_type): Likewise.
34306 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34307 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34308 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34309 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34310 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34311 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34312 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34313 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34314 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34316 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34317 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34318 (__ieee754_yn): Likewise.
34319 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34320 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34321 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34323 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34324 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34325 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34326 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34327 (__erfc): Likewise.
34328 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34329 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34330 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34331 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34332 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34333 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34335 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34336 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34337 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34338 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34339 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34340 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34341 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34342 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34343 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34344 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34345 (__issignaling): Likewise.
34346 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34347 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34348 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34350 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34351 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34352 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34355 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34357 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34358 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34359 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34360 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34361 (__erfcf): Likewise.
34362 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34363 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34364 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34365 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34367 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34368 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34370 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34371 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34372 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34373 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34374 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34375 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34376 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34377 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34379 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34381 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34383 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34386 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34388 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34389 (__ieee754_ynl): Likewise.
34390 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34391 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34393 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34395 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34396 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34397 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34399 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34400 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34401 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34402 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34403 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34404 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34405 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34406 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34408 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34409 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34410 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34412 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34413 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34414 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34415 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34416 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34419 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34425 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34429 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34433 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34436 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34438 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34439 (__ieee754_remainderl): Likewise.
34440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34442 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34443 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34445 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34448 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34449 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34450 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34451 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34452 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34453 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34455 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34456 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34457 (__ieee754_y0l): Likewise.
34460 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34461 (__ieee754_y1l): Likewise.
34464 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34465 (__ieee754_ynl): Likewise.
34466 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34467 (__ieee754_lgammal_r): Likewise.
34468 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34470 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34471 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34472 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34473 (__erfcl): Likewise.
34474 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34475 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34477 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34478 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34479 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34480 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34481 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34482 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34483 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34485 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34486 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34487 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34488 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34489 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34491 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34492 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34494 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34495 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34496 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34497 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34498 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34500 2017-08-03 Florian Weimer <fweimer@redhat.com>
34503 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34504 on memory allocation failure.
34506 2017-08-03 Alan Modra <amodra@gmail.com>
34508 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34509 tst-tlsopt-powerpc.c with function name change and no test harness.
34510 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34511 Call tls_get_addr_opt_test.
34512 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34513 (modules-names): Add mod-tlsopt-powerpc.
34514 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34515 (tst-tlsopt-powerpc): Depend on .so.
34516 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34517 define. Expand use in TLS_GD and TLS_LD.
34519 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34521 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34523 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34525 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34528 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34529 comparing size with that of double.
34530 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34531 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34532 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34533 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34534 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34535 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34536 unsigned __int128 types.
34538 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34540 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34541 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34542 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34543 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34544 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34546 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34548 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34550 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34552 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34554 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34555 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34557 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34558 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34562 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34565 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34566 bit-field expressions passed to sizeof or typeof.
34567 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34568 (__TGMATH_F128): Likewise.
34569 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34570 (__TGMATH_CF128): Likewise.
34571 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34572 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34573 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34574 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34575 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34576 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34577 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34578 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34579 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34580 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34581 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34582 (__TGMATH_UNARY_IMAG): Likewise.
34583 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34584 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34585 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34587 (define_vars_for_type): Handle bit_field type specially.
34588 (Tests.__init__): Declare structure with bit-field element.
34590 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34593 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34594 (MEMCPY_CHK): Define only if SHARED is defined.
34595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34600 See ChangeLog.18 for earlier changes.